OSPF
Diagram
Classes
routing (nxos.devices.configuration)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ospf_processes | List | [ospf_processes] | No |
loopbacks (nxos.devices.configuration.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ospf | Class | [ospf] | No |
vlans (nxos.devices.configuration.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ospf | Class | [ospf] | No |
ethernets (nxos.devices.configuration.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ospf | Class | [ospf] | No |
ospf_processes (nxos.devices.configuration.routing)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes | ||
vrfs | List | [vrfs] | No |
ospf (nxos.devices.configuration.interfaces.loopbacks)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
process_name | String | Yes | ||
advertise_secondaries | Boolean | true , false | No | true |
area | String | No | ||
bfd | Choice | unspecified , enabled , disabled | No | |
cost | Integer | min: 0 , max: 65535 | No | |
dead_interval | Integer | min: 0 , max: 65535 | No | |
hello_interval | Integer | min: 0 , max: 65535 | No | |
network_type | Choice | unspecified , p2p , bcast | No | |
passive | Choice | unspecified , enabled , disabled | No | |
priority | Integer | min: 0 , max: 255 | No | |
authentication_key | String | No | ||
authentication_key_id | Integer | min: 0 , max: 255 | No | |
authentication_key_secure_mode | Boolean | true , false | No | |
authentication_keychain | String | No | ||
authentication_md5_key | String | No | ||
authentication_md5_key_secure_mode | Boolean | true , false | No | |
authentication_type | Choice | unspecified , simple , md5 , none | No |
vrfs (nxos.devices.configuration.routing.ospf_processes)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
vrf | String | Yes | ||
admin_state | Boolean | true , false | No | true |
bandwidth_reference | Integer | min: 0 , max: 4294967295 | No | |
banwidth_reference_unit | Choice | mbps , gbps | No | |
distance | Integer | min: 1 , max: 255 | No | |
router_id | String | No | ||
areas | List | [areas] | No |
areas (nxos.devices.configuration.routing.ospf_processes.vrfs)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
area | String | Yes | ||
authentication_type | Choice | unspecified , simple , md5 , none | No | |
cost | Integer | min: 0 , max: 16777215 | No | |
type | Choice | regular , stub , nssa | No |
Examples
nxos:
devices:
- name: Device1
configuration:
routing:
ospf_processes:
- name: OSPF1
vrfs:
- name: default
router_id: 2.2.2.2
areas:
- area: 0.0.0.0
interfaces:
ethernets:
- id: 1/14
ospf:
process_name: OSPF1
area: 0.0.0.0