arubanetworks.aoscx.aoscx_ospfv3_vlink (4.3.2) — module

Create or Delete OSPFv3 configuration on AOS-CX

| "added in version" 4.1.0 of arubanetworks.aoscx"

Authors: Aruba Networks (@ArubaNetworks)

preview | supported by certified

Install collection

Install with ansible-galaxy collection install arubanetworks.aoscx:==4.3.2


Add to requirements.yml

  collections:
    - name: arubanetworks.aoscx
      version: 4.3.2

Description

This modules provides configuration management of OSPFv3 Virtual Links on AOS-CX devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
---
- name: Create new OSPFv3 Vlink
  aoscx_ospfv3_vlink:
    state: create
    vrf: default
    ospf_id: 1
    area_id: 0.0.0.1
    peer_router_id: 10.0.0.1

Inputs

    
vrf:
    description: 'The VRF the OSPFv3 Area will belong to once created. If the OSPFv3 Area
      is created and the user wants to change its VRF, the user must first delete the
      OSPFv3 Area, and then recreate it in the desired VRF.

      '
    required: true
    type: str

state:
    choices:
    - create
    - update
    - delete
    default: create
    description: Create or update or delete the Interface.
    required: false
    type: str

area_id:
    description: 'OSPF Area Identifier, in X.X.X.X form, or as a number in [0, 4294967295].

      '
    required: true
    type: str

ospf_id:
    description: The OSPFv3 Router the Area will belong to once created
    required: true
    type: int

ipsec_ah:
    description: 'IPsec Authentication Header configuration. Specifies Security Parameters
      Index (SPI), authentication type and key to use. IPsec AH is preferred over IPsec
      Encapsulating Security Payload (ESP) if both ipsec_ah and ipsec_esp are configured.

      '
    required: false
    suboptions:
      auth_key:
        description: IPsec AH authentication key.
        required: true
        type: str
      auth_type:
        choices:
        - md5
        - sha1
        description: IPsec AH authentication algorithm.
        required: true
        type: str
      spi:
        description: 'Security Parameters Index for the Security Association (SA). AH
          SPI must be unique on a router because it is carried in IPsec protocol packet
          to enable the receiving system to select the SA to process the packet. Must
          be in [256, 4294967295].

          '
        required: true
        type: int
    type: dict

ipsec_esp:
    description: 'IPsec Encapsulating Security Payload (ESP) configuration. Specifies
      SPI, encryption/authentication type, and key to use. IPsec AH is preferred over
      IPsec ESP if both ipsec_ah and ipsec_esp are configured.

      '
    required: false
    suboptions:
      auth_key:
        description: IPsec ESP authentication key.
        required: true
        type: str
      auth_type:
        choices:
        - md5
        - sha1
        description: IPsec ESP authentication algorithm.
        required: true
        type: str
      encryption_key:
        description: IPsec ESP encryption key.
        required: true
        type: str
      encryption_type:
        choices:
        - des
        - 3des
        - aes
        - none
        description: IPsec ESP encryption algorithm.
        required: true
        type: str
      spi:
        description: 'Security Parameters Index for the Security Association (SA). ESP
          SPI must be unique on a router because it is carried in IPsec protocol packet
          to enable the receiving system to select the SA to process the packet. Must
          be in [256, 4294967295].

          '
        required: true
        type: int
    type: dict

other_config:
    description: Miscellaneous options
    required: false
    suboptions:
      dead_interval:
        description: 'The time, in seconds, that a neighbor waits for a Hello packet before
          tearing down adjacency with local router.

          '
        required: true
        type: int
      hello_interval:
        description: The time, in seconds, between successive Hello packets.
        required: true
        type: int
      retransmit_interval:
        description: The estimated time, in seconds, between successive LSAs
        required: true
        type: int
      transmit_delay:
        description: 'The estimated time, in seconds, to transmit an LSA to a neighbor.

          '
        required: true
        type: int
      virtual_ifindex:
        description: 'The virtual link index assigned to the OSPFv3 virtual interface.

          '
        required: true
        type: int
    type: dict

ospf_auth_type:
    choices:
    - none
    - text
    - md5
    - sha1
    - sha256
    - sha384
    - sha512
    - keychain
    description: 'The type of OSPFv2 authentication. If not set, then the area level authentication
      of the transit area holds for the port.

      '
    required: false
    type: str

peer_router_id:
    description: Id of the Peer Router in IPv4 (X.X.X.X) format.
    required: true
    type: str

ospf_auth_keychain:
    description: 'Name of the "Keychain" used for cryptographic authentication. Supports
      MD5, SHA-1, SHA-256, SHA-384, and SHA-512.

      '
    required: false
    type: str

ospf_auth_md5_keys:
    description: 'The authentication keys for OSPFv2 authentication type md5 message-digest.

      '
    elements: dict
    required: false
    suboptions:
      id:
        description: Key ID for secure-hash key. In range 1, 255.
        required: true
        type: int
      key:
        description: md5 key to use.
        required: true
        type: str
    type: list

ospf_auth_sha_keys:
    description: 'The authentication keys for OSPFv2 authentication type sha.

      '
    elements: dict
    required: false
    suboptions:
      id:
        description: Key ID for secure-hash key. In range 1, 255.
        required: true
        type: int
      key:
        description: md5 key to use.
        required: true
        type: str
    type: list

ospf_auth_text_key:
    description: 'The authentication key for OSPFv2 authentication type "text".

      '
    required: false
    type: str