nvidia.nvue.evpn (1.1.7) — module

This is the Cumulus Linux EVPN module

| "added in version" 1.0.0 of nvidia.nvue"

Authors: Nvidia NBU Team (@nvidia-nbu), Krishna Vasudevan (@krisvasudevan)

Install collection

Install with ansible-galaxy collection install nvidia.nvue:==1.1.7


Add to requirements.yml

  collections:
    - name: nvidia.nvue
      version: 1.1.7

Description

This is a Cumulus Linux module to interact with the EVPN object. Enables the EVPN control plane. When enabled, it also means that the EVPN service offered is vlan-based service and an EVI is auto-created for each extended VLAN.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Pass in a message
- name: Display global EVPN configuration
  nvidia.nvue.evpn:
    state: gathered

Inputs

    
data:
    description: Provided configuration
    suboptions:
      dad:
        description: Advertise
        required: false
        suboptions:
          enable:
            choices:
            - 'on'
            - 'off'
            default: 'off'
            description: Turn the feature 'on' or 'off'.
            required: false
            type: str
        type: dict
      enable:
        choices:
        - 'on'
        - 'off'
        default: 'off'
        description: Turn the feature 'on' or 'off'.
        required: false
        type: str
      multihoming:
        description: Multihoming global configuration parameters
        required: false
        suboptions:
          enable:
            choices:
            - 'on'
            - 'off'
            default: 'off'
            description: Turn the feature 'on' or 'off'.
            required: false
            type: str
          startup_delay:
            default: 180
            description: The duration for which a switch holds the Ethernet segment-bond
              in a protodown state after a reboot or process restart.
            required: false
            type: int
        type: dict
      route_advertise:
        description: Route advertising
        required: false
        suboptions:
          default_gateway:
            choices:
            - 'on'
            - 'off'
            default: 'off'
            description: This configuration should be turned 'on' only in a centralized-routing
              deployment and only on the centralized GW router(s). If 'on', the IP addresses
              of SVIs in all EVIs are announced as type-2 routes with the gateway extended
              community. The purpose is for remote L2-only VTEPs to do ARP suppression
              and for hosts to learn of the gateway's IP to MAC binding.
            required: false
            type: str
          nexthop_setting:
            choices:
            - system-ip-mac
            - shared-ip-mac
            default: system-ip-mac
            description: Specifies the next hop IP and MAC (Router MAC) to use in the
              advertisement of type-5 routes and 'self' type-2 routes ('self' = SVI IP/MAC).
              Relevant only in an MLAG configuration.
            required: false
            type: str
          svi_ip:
            choices:
            - 'on'
            - 'off'
            default: 'off'
            description: If 'on', the IP addresses of SVIs in all EVIs are announced as
              type-2 routes. This configuration should not be enabled if SVI IPs are reused
              in the network.
            required: false
            type: str
        type: dict
    type: dict

wait:
    default: 0
    description: How long to poll for "merged/deleted" operation results.
    required: false
    type: int

force:
    default: false
    description: When true, replies "yes" to NVUE prompts.
    required: false
    type: bool

revid:
    description: Revision ID to query/to apply config to.
    required: false
    type: str

state:
    choices:
    - gathered
    - deleted
    - merged
    description: Defines the action to be taken.
    required: true
    type: str

filters:
    description: Filters used while fetching information about router
    suboptions:
      include:
        description: Only include JSON properties matched by an include pattern in the
          response.
        elements: str
        required: false
        type: list
      omit:
        description: Drop any JSON properties matched by an omit pattern from the response.
        elements: str
        required: false
        type: list
      rev:
        default: operational
        description: The default is to query the operational state. However, this parameter
          can be used to query desired state on configuration branches, such as startup
          and applied. This could be a branch name, tag name or specific commit.
        required: false
        type: str
    type: dict