How do I associate a workflow with a node, link, or LSP?
Associating workflows
This procedure is used to associate workflows with nodes, links, or LSPs in the NSP's path control views.
Note: Workflow definitions must include the “IP/MPLS Optimization” tag in order to be eligible for association with a node, link, or LSP in the NSP's path control views.
Workflows must contain the following inputs:
-
payload - includes maintenance mode, which is defined using NSP's path control function. NSP's path control function uses system configuration to set this field to either 'AUTOMATIC' or 'MANUAL'.
-
rest_gateway_host - hard-coded in workflow definition. IP address of NSP REST server.
-
status - hard-coded in workflow definition. Valid options: 'MAINTENANCE', 'UP'. Applicable only to node workflows.
The following is an example of required workflow tags and inputs - in this case, for placing a node into maintenance mode:
nodeIntoMaint:
type: direct
tags:
- IP/MPLS Optimization
input:
- token_auth
- payload
- rest_gateway_host: 'xxx.xxx.xxx.xxx'
- status: 'MAINTENANCE'
Steps
1 |
Using NSP's workflows function, import or create a workflow to associate with a node, link, or LSP. See the NSP Network Automation Guide for more information. |
2 |
Perform one of the following:
|
3 |
A dialog box appears with a list of existing workflows. Select the workflow created in Step 1 and click RUN WORKFLOW. End of steps |
© 2024 Nokia. Nokia Confidential Information
Use subject to agreed restrictions on disclosure and use.