Import or create intent types
|
|
|
1 |
Download the ICM intent type from the NSP software download site. Intent types are available in artifact bundles (zip files).
If you prefer to create your own intent types, proceed to
Stage 3.
|
2 |
Import the downloaded artifact bundles into NSP; see
“How do I install an artifact bundle?” in the NSP Network Automation Guide.
|
3 |
To create intent types, see the Network Intents tutorial on the Network Developer Portal for developer information. Note the following:
-
The InfrastructureConfiguration label must be present
-
The intent type must include a resource file, icm_descriptor.json, that provides the role:
-
Physical (for example, port and card configuration) or
-
Logical (for example, QoS or routing)
For intent types with the logical role, this resource file also defines whether the template can be deployed to multiple targets in a deployment flow, and whether it can be deployed with other templates in a deployment flow.
-
The intent type must include at least one schema form and viewConfig resource file.
-
Other resource files may be required depending on the operations performed by the intent type.
|
Import the intent types
|
|
|
4 |
Open Device Management, Configuration Intent Types.
|
5 |
Click IMPORT
|
6 |
Choose the intent types from the list and click IMPORT.
|
Create a configuration template
|
|
|
7 |
Open Device Management, Configuration Templates.
|
8 |
Click TEMPLATE
|
9 |
Configure the parameters and click RELEASE.
|
Deploy the configuration
|
|
|
10 |
-
Open Device Management, Configuration Deployments.
-
Click DEPLOYMENT and choose Logical or Physical.
-
From the Configuration Templates list, choose a template and click (More actions) Deploy to Network.
|
11 |
Configure the parameters and click DEPLOY.
The configuration is sent to the targets, and the deployment details are added to the Configuration Deployments list.
|
Audit
|
|
|
12 |
You can perform an audit at the deployment level for a single target, at the template level for all deployments using the template, or at the NE level for all configurations deployed to the NE.
An audit checks whether the target configuration matches the template, but does not change the target configuration.
Note: an audit at the template level checks all deployments using the template. The operation may take a long time. During the audit, you can click VIEW DETAILS for process information. To audit a deployment:
-
Open Device Management, Configuration Deployments.
-
Choose a deployment.
-
Click if needed to open the Deployment Details panel.
Click VIEW RESULT in the Deployment Details panel to see the results of the last audit.
-
Click AUDIT CONFIG. The audit results and alignment status information are updated.
|
13 |
To audit a template:
-
Open Device Management, Configuration Templates.
-
Choose a template and click if needed to open the Template Details panel.
The Template Details panel shows the number of deployments and the number that were aligned and misaligned after the last audit.
-
Click AUDIT ALL CONFIG and click CONTINUE to confirm. The alignment status information is updated.
|
14 |
To audit an NE:
-
Click (Audit/Align an NE). The Audit/Align an NE form opens.
-
Click in the Select an NE field. The Select an NE form opens with a list of NEs.
-
Choose an NE and click SELECT. The NE ID appears in the Audit/Align an NE form.
-
Click AUDIT. The Device Management, Configuration Deployments view is filtered to show the deployments for the NE with updated alignment status information.
|
Align
|
|
|
15 |
You can perform an align at the deployment, template, or NE level.
An align operation updates the target configuration if it does not match the configuration template.
To align a template:
-
Open Device Management, Configuration Templates.
-
Choose a template.
-
Click if needed to open the Template Details panel.
The Template Details panel shows the number of deployments and the number that were aligned and misaligned after the last audit.
-
Click ALIGN ALL CONFIG and click CONTINUE to confirm.
|
16 |
To align a deployment:
-
Open Device Management, Configuration Deployments.
-
Choose a deployment.
Click if needed to open the Deployment Details panel.
The Deployment Details panel shows the results of the last audit.
-
Click ALIGN CONFIG. The alignment is performed and the alignment status information is updated.
|
17 |
To align an NE:
-
Click (Audit/Align an NE). The Audit/Align an NE form opens.
-
Click in the Select an NE field. The Select an NE form opens with a list of NEs.
-
Choose an NE and click SELECT. The NE ID appears in the Audit/Align an NE form.
-
Click ALIGN. The Device Management, Configuration Deployments view is filtered to show the deployments for the NE with updated alignment status information. |