ansible.builtin.nxos_vrf_af (v2.3.3.0-1) — module

Manages VRF AF.

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

Authors: Gabriele Gerbino (@GGabriele)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.3.3.0.post1

Description

Manages VRF AF

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- nxos_vrf_af:
    interface: nve1
    vni: 6000
    ingress_replication: true
    username: "{{ un }}"
    password: "{{ pwd }}"
    host: "{{ inventory_hostname }}"

Inputs

    
afi:
    choices:
    - ipv4
    - ipv6
    default: null
    description:
    - Address-Family Identifier (AFI).
    required: true

vrf:
    description:
    - Name of the VRF.
    required: true

safi:
    choices:
    - unicast
    - multicast
    default: null
    description:
    - Sub Address-Family Identifier (SAFI).
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Determines whether the config should be present or not on the device.
    required: false

route_target_both_auto_evpn:
    choices:
    - 'true'
    - 'false'
    default: null
    description:
    - Enable/Disable the EVPN route-target 'auto' setting for both import and export target
      communities.
    required: false

Outputs

changed:
  description: check to see if a change was made on the device
  returned: always
  sample: true
  type: boolean
end_state:
  description: k/v pairs of configuration after module execution
  returned: verbose mode
  sample:
    afi: ipv4
    route_target_both_auto_evpn: true
    safi: unicast
    vrf: test
  type: dict
existing:
  description: k/v pairs of existing configuration
  returned: verbose mode
  sample:
    afi: ipv4
    route_target_both_auto_evpn: false
    safi: unicast
    vrf: test
  type: dict
proposed:
  description: k/v pairs of parameters passed into module
  returned: verbose mode
  sample:
    afi: ipv4
    route_target_both_auto_evpn: true
    safi: unicast
    vrf: test
  type: dict
updates:
  description: commands sent to the device
  returned: always
  sample:
  - vrf context test
  - address-family ipv4 unicast
  - route-target both auto evpn
  type: list