cisco.mso.ndo_l3out_floating_svi_interface_path_attributes module – Manage L3Out Floating SVI Interface Path Attributes on Cisco Nexus Dashboard Orchestrator (NDO).
Note
This module is part of the cisco.mso collection (version 2.12.0).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install cisco.mso.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: cisco.mso.ndo_l3out_floating_svi_interface_path_attributes.
New in cisco.mso 2.12.0
Synopsis
Manage L3Out Floating SVI Interface Path Attributes on Cisco Nexus Dashboard Orchestrator (NDO).
This module is only supported on ND v3.1 (NDO v4.3) and later.
Requirements
The below requirements are needed on the host that executes this module.
Multi Site Orchestrator v2.1 or newer
Parameters
Parameter |
Comments |
|---|---|
The name of the domain. |
|
The provider of the domain. Choices:
|
|
The type of the domain. Choices:
|
|
The encapsulation type of the interface. Choices:
|
|
The encapsulation value of the interface. The option The option |
|
The name of the enhanced LAG policy. The enhanced LAG policy must be configured on APIC in the provided VMM domain before using this attribute in your playbook. |
|
Indicates whether forged transmit is enabled. Choices:
|
|
IP Address or hostname of the ACI Multi Site Orchestrator host. If the value is not specified in the task, the value of environment variable |
|
The name of the L3Out. This parameter or |
|
The UUID of the L3Out. This parameter or |
|
The login domain name to use for authentication. The default value is Local. If the value is not specified in the task, the value of environment variable When using a HTTPAPI connection plugin the inventory variable |
|
Indicates whether MAC address change is enabled. Choices:
|
|
The Anchor Node ID of the L3Out Floating SVI Interface. |
|
Influence the output of this MSO module.
If the value is not specified in the task, the value of environment variable Choices:
|
|
The password to use for authentication. If the value is not specified in the task, the value of environment variables |
|
Port number to be used for the REST connection. The default value depends on parameter `use_ssl`. If the value is not specified in the task, the value of environment variable |
|
The primary IPv4 address. |
|
The primary IPv6 address. |
|
Indicates whether promiscuous mode is enabled. Choices:
|
|
Determines the desired state of the resource. Use Use Use Choices:
|
|
The name of the template. The template must be an L3Out template. This parameter or |
|
The ID of the L3Out template. This parameter or |
|
The socket level timeout in seconds. The default value is 30 seconds. If the value is not specified in the task, the value of environment variable |
|
If If the value is not specified in the task, the value of environment variable The default is Choices:
|
|
If If the value is not specified in the task, the value of environment variable When using a HTTPAPI connection plugin the inventory variable The default is Choices:
|
|
The username to use for authentication. If the value is not specified in the task, the value of environment variables |
|
If This should only set to If the value is not specified in the task, the value of environment variable The default is Choices:
|
Notes
Note
The
templateortemplate_idmust exist before using this module in your playbook. The cisco.mso.ndo_template module can be used for this.The
l3outorl3out_uuidmust exist before using this module in your playbook. The cisco.mso.ndo_l3out_template module can be used for this.The L3Out Floating SVI Interface identified by
node_id,encapsulation_type, andencapsulation_valuemust exist before using this module in your playbook. The cisco.mso.ndo_l3out_floating_svi_interface module can be used for this.This module was written to support Multi Site Orchestrator v2.1 or newer. Some or all functionality may not work on earlier versions.
See Also
See also
- cisco.mso.ndo_template
Manage Templates on Cisco Nexus Dashboard Orchestrator (NDO).
- cisco.mso.ndo_l3out_template
Manage L3Outs on Cisco Nexus Dashboard Orchestrator (NDO).
- cisco.mso.ndo_l3out_floating_svi_interface
Manage L3Out Floating SVI Interfaces on Cisco Nexus Dashboard Orchestrator (NDO).
Examples
- name: Create Path Attributes for a L3Out Floating SVI Interface
cisco.mso.ndo_l3out_floating_svi_interface_path_attributes:
host: mso_host
username: admin
password: SomeSecretPassword
template: l3out_template
l3out: l3out_name
node_id: 101
encapsulation_type: vlan
encapsulation_value: 1200
domain_type: vmm
domain_provider: vmware
domain: domain_name
forged_transmit: true
mac_address_change: true
promiscuous_mode: true
enhanced_lag_policy: enhanced_lag_policy_name
primary_ipv4_address: 192.0.2.1
primary_ipv6_address: 2001:db8::1
state: present
- name: Update the Path Attributes of a L3Out Floating SVI Interface
cisco.mso.ndo_l3out_floating_svi_interface_path_attributes:
host: mso_host
username: admin
password: SomeSecretPassword
template_id: "{{ l3out_template.current.templateId }}"
l3out_uuid: "{{ l3out.current.uuid }}"
node_id: 101
encapsulation_type: vlan
encapsulation_value: 1200
domain_type: vmm
domain_provider: vmware
domain: domain_name
forged_transmit: false
mac_address_change: false
promiscuous_mode: false
enhanced_lag_policy: enhanced_lag_policy_name
primary_ipv4_address: 192.0.2.2
primary_ipv6_address: 2001:db8::2
state: present
- name: Query the Path Attributes of an existing L3Out Floating SVI Interface
cisco.mso.ndo_l3out_floating_svi_interface_path_attributes:
host: mso_host
username: admin
password: SomeSecretPassword
template: l3out_template
l3out: l3out_name
node_id: 101
encapsulation_type: vlan
encapsulation_value: 1200
domain_type: vmm
domain_provider: vmware
domain: domain_name
state: query
register: query_one
- name: Query all existing Path Attributes of L3Out Floating SVI Interface
cisco.mso.ndo_l3out_floating_svi_interface_path_attributes:
host: mso_host
username: admin
password: SomeSecretPassword
template: l3out_template
l3out: l3out_name
node_id: 101
encapsulation_type: vlan
encapsulation_value: 1200
state: query
register: query_all
- name: Delete the Path Attributes of an existing L3Out Floating SVI Interface
cisco.mso.ndo_l3out_floating_svi_interface_path_attributes:
host: mso_host
username: admin
password: SomeSecretPassword
template: l3out_template
l3out: l3out_name
node_id: 101
encapsulation_type: vlan
encapsulation_value: 1200
domain_type: vmm
domain_provider: vmware
domain: domain_name
state: absent