MPLS Nodes
dvn_mpls
create, update, or destroy DVN MPLS nodes
Synopsis
- Create a new MPLS node
- Delete an existing MPLS node
- Update an exiting MPLS node
Options
| Parameter | Required? | Default | Choices | Comments |
|---|---|---|---|---|
| username | service-prov administrator username. If not specified as a parameter, the environment variable DVNREST_USER will be used. | |||
| password | service-prov password If not specified as a parameter, the environment variable DVNREST_PASSWORD will be used. | |||
| url | service-prov url. If not specified as a parameter, the environment variable DVNREST_URL will be used. | |||
| validate_certs | True | Check certs. Use false to allow self-signed. If not specified as a parameter, the environment variable VALIDATE_CERTS will be used. | ||
| tag_id | yes | Unique ID for MPLS service group | ||
| vtc_id | yes | Unique ID for VTC object | ||
| state | no | present |
|
specify state of the MPLS node |
| intf | eth0 | |||
| url | service-prov url. If not specified as a parameter, the environment variable DVNREST_URL will be used. | |||
| ip | 0.0.0.0 | Static IP address for MPLS node | ||
| port | 0 | Port number for MPLS node |
Examples
- name: change mpls node
dvn_mpls:
tag_id: test-sg
vtc_id: test-vtc
ip: 101.32.55.55
port: 4455
intf: eth1