Skip to content

Latest commit

 

History

History
176 lines (144 loc) · 5.93 KB

cisco.nxos.nxos_vpc_interface_module.rst

File metadata and controls

176 lines (144 loc) · 5.93 KB

cisco.nxos.nxos_vpc_interface

Manages interface VPC configuration

Version added: 1.0.0

  • Manages interface VPC configuration
Parameter Choices/Defaults Comments
peer_link
boolean
    Choices:
  • no
  • yes
Set to true/false for peer link config on associated portchannel.
portchannel
string / required
Group number of the portchannel that will be configured.
state
string
    Choices:
  • present ←
  • absent
Manages desired state of the resource.
vpc
string
VPC group/id that will be configured on associated portchannel.

Note

  • Tested against NXOSv 7.3.(0)D1(1) on VIRL
  • Unsupported for Cisco MDS
  • Either vpc or peer_link param is required, but not both.
  • state=absent removes whatever VPC config is on a port-channel if one exists.
  • Re-assigning a vpc or peerlink from one portchannel to another is not supported. The module will force the user to unconfigure an existing vpc/pl before configuring the same value on a new portchannel
  • For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
  • For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
  • For more information on using Ansible to manage Cisco devices see the Cisco integration page.
- cisco.nxos.nxos_vpc_interface:
    portchannel: 10
    vpc: 100

Common return values are documented here, the following are the fields unique to this module:

Key Returned Description
commands
list
always
commands sent to the device

Sample:
['interface port-channel100', 'vpc 10']


Authors

  • Jason Edelman (@jedelman8)
  • Gabriele Gerbino (@GGabriele)