How do I configure Zero Touch Provisioning?
Note
This procedure requires the use of multiple functions within NSP. For complete configuration details, you may need to consult the following documents:
-
NE documentation: Nokia 7450 Ethernet Services Switch, 7750 Service Router, 7950 Extensible Routing System, and Virtualized Service Router Basic System Configuration Guide
Process
Import intent types | |
1 |
Download the ZTP zip file to your computer. Three intent types are included in the zip file: create_http_user, ztp-profile, and day-0-ztp. |
2 |
Import the intent types to NSP: |
3 |
Evaluate and update the day-0-ztp intent type to ensure that it will generate the correct information in the provisioning and day-0 config files. The primary image file in the bof portion of the provisioning file generated from the intent type must match the information on the compact flash of the device. Contact Nokia for assistance with this step. |
Create an HTTP user | |
4 |
An HTTP user is required to connect to the NSP file server. This step only needs to be performed once. The file server only supports one HTTP User. In Network Intents, Intent Types, select the create_http_user intent type and click (Table row actions), Create Intent. |
5 |
In the form that opens, configure the parameters and click Create. |
Create at least one ZTP profile | |
6 |
A ZTP profile contains template values that can apply to multiple devices. In Network Intents, Intent Types, select the ztp-profile intent type and click (Table row actions), Create Intent. |
7 | In the form that opens, configure the required parameters:
|
8 |
Configure additional parameters as needed. Attention: Static routes are only supported with the out-of-band management connection type. |
9 |
Click Create. The ZTP profile is now available. |
10 |
Create additional ZTP profiles as needed for each set of device parameters. |
Create a ZTP intent for each device you want to provision | |
11 |
The ZTP intent will create the provisioning and configuration files. In Network Intents, Intent Types, select the day-0-ztp intent type and click (Table row actions), Create Intent. |
12 | In the form that opens, configure the parameters:
|
13 |
Click Create. The provisioning and configuration files are created and a new rule element is added to the relevant discovery rule. |
14 |
Verify and update the day–0 configuration and provisioning files to match network settings, NE card type and port settings. Contact Nokia for assistance. |
Verify the information and discover the device | |
15 |
Open Device Management, ZTP Process from the drop-down. The list of devices for which ZTP is configured is displayed. |
16 |
Click on an NE to see the details. |
17 |
Click Export to save the NE information to a JSON file if needed. |
18 |
Power on the device. The device completes ZTP and reboots. The discovery status in the ZTP Process list is updated. |
19 |
In the Device Discovery view, set the unified and, if applicable, the classic discovery rules Admin State to Up to initiate device discovery. |
Configure cleanup of the ZTP Process list | |
20 |
Import the ZTP_Purge_Workflow and ZTP_Artifacts_Cleanup workflows from the ZTP zip file into NSP. |
21 |
Open Workflows, All Workflows. |
22 |
Choose ZTP_Purge_Workflow. Note: The ZTP_Purge_Workflow runs ZTP_Artifacts_Cleanup during its operation. Both workflows must be present in NSP. |
23 |
From the menu at the end of the row, choose More Execute. |
24 |
Update the retentionDays parameter as needed and click Execute. The cleanup removes NEs with Success status from the ZTP Process NEs list that have been discovered longer than the configured number of days. |
25 |
Schedule execution of the ZTP_Purge_Workflow for automated cleanup if needed; see “How do I schedule a workflow?” in the NSP Network Automation Guide. |