ansible.builtin.nxos_ospf_vrf (v2.8.11) — module

Manages a VRF for an OSPF router.

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

Authors: Gabriele Gerbino (@GGabriele)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.8.11

Description

Manages a VRF for an OSPF router.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- nxos_ospf_vrf:
    ospf: 1
    timer_throttle_spf_start: 50
    timer_throttle_spf_hold: 1000
    timer_throttle_spf_max: 2000
    timer_throttle_lsa_start: 60
    timer_throttle_lsa_hold: 1100
    timer_throttle_lsa_max: 3000
    vrf: test
    state: present

Inputs

    
vrf:
    default: default
    description:
    - Name of the resource instance. Valid value is a string. The name 'default' is a
      valid VRF representing the global OSPF.

ospf:
    description:
    - Name of the OSPF instance.
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of ospf vrf configuration.

auto_cost:
    description:
    - Specifies the reference bandwidth used to assign OSPF cost. Valid values are an
      integer, in Mbps, or the keyword 'default'.

router_id:
    description:
    - Router Identifier (ID) of the OSPF router VRF instance.

log_adjacency:
    choices:
    - log
    - detail
    - default
    description:
    - Controls the level of log messages generated whenever a neighbor changes state.
      Valid values are 'log', 'detail', and 'default'.

default_metric:
    description:
    - Specify the default Metric value. Valid values are an integer or the keyword 'default'.

passive_interface:
    description:
    - Setting to C(yes) will suppress routing update on interface.
    type: bool
    version_added: '2.4'
    version_added_collection: ansible.builtin

timer_throttle_lsa_max:
    description:
    - Specify the max interval for rate-limiting Link-State Advertisement (LSA) generation.
      Valid values are an integer, in milliseconds, or the keyword 'default'.

timer_throttle_spf_max:
    description:
    - Specify the maximum wait time between Shortest Path First (SPF) calculations. Valid
      values are an integer, in milliseconds, or the keyword 'default'.

timer_throttle_lsa_hold:
    description:
    - Specify the hold interval for rate-limiting Link-State Advertisement (LSA) generation.
      Valid values are an integer, in milliseconds, or the keyword 'default'.

timer_throttle_spf_hold:
    description:
    - Specify minimum hold time between Shortest Path First (SPF) calculations. Valid
      values are an integer, in milliseconds, or the keyword 'default'.

timer_throttle_lsa_start:
    description:
    - Specify the start interval for rate-limiting Link-State Advertisement (LSA) generation.
      Valid values are an integer, in milliseconds, or the keyword 'default'.

timer_throttle_spf_start:
    description:
    - Specify initial Shortest Path First (SPF) schedule delay. Valid values are an integer,
      in milliseconds, or the keyword 'default'.

Outputs

commands:
  description: commands sent to the device
  returned: always
  sample:
  - router ospf 1
  - vrf test
  - timers throttle lsa 60 1100 3000
  - ospf 1
  - timers throttle spf 50 1000 2000
  - vrf test
  type: list