ansible.builtin.nxos_vpc_interface (v2.7.16) — module

Manages interface VPC configuration

| "added in version" 2.2 of ansible.builtin"

Authors: Jason Edelman (@jedelman8), Gabriele Gerbino (@GGabriele)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.7.16

Description

Manages interface VPC configuration

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- nxos_vpc_interface:
    portchannel: 10
    vpc: 100

Inputs

    
vpc:
    description:
    - VPC group/id that will be configured on associated portchannel.

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Manages desired state of the resource.
    required: true

peer_link:
    description:
    - Set to true/false for peer link config on associated portchannel.

portchannel:
    description:
    - Group number of the portchannel that will be configured.
    required: true

Outputs

commands:
  description: commands sent to the device
  returned: always
  sample:
  - interface port-channel100
  - vpc 10
  type: list