Loopback
Diagram
Classes
topology_switch_loopback_interface (vxlan.topology.switches.interfaces)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: (?i)^(lo|loopback)([0-9]|[1-9][0-9]{1,2}|10[0-1][0-9]|102[0-3])$ | Yes | |
mode | Choice | loopback , fabric_loopback , mpls_loopback | Yes | |
description | String | max: 256 | No | NetAsCode Loopback Interface |
vrf | String | No | ||
enabled | Boolean | true , false | No | true |
ipv4_address | IP | No | ||
ipv4_route_tag | Integer | min: 0 , max: 4294967295 | No | |
secondary_ipv4_addresses | List | [secondary_ipv4_addresses] | No | |
ipv6_address | IP | No | ||
ipv6_route_tag | Integer | min: 0 , max: 4294967295 | No | |
secondary_ipv6_addresses | List | [secondary_ipv6_addresses] | No | |
freeform_config | String | No |
secondary_ipv4_addresses (vxlan.topology.switches.interfaces.topology_switch_loopback_interface)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip_address | IP | Yes | ||
route_tag | Integer | min: 0 , max: 4294967295 | No |
secondary_ipv6_addresses (vxlan.topology.switches.interfaces.topology_switch_loopback_interface)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip_address | IP | Yes | ||
route_tag | Integer | min: 0 , max: 4294967295 | No |
Examples
vxlan:
topology:
switches:
- name: dc1-leaf1
interfaces:
- name: lo0
mode: loopback
description: 'Loopback Interface 1'
enabled: true
vrf: red
ipv4_address: 10.1.1.1
ipv4_route_tag: 12345
ipv6_address: 2021:10:1:1::1