Skip to main content

Switch

Diagram

Classes

topology (vxlan)

NameTypeConstraintMandatoryDefault Value
switchesList[switches]No

switches (vxlan.topology)

NameTypeConstraintMandatoryDefault Value
nameStringYes
serial_numberStringRegex: ^[a-zA-Z0-9_.:-]{1,16}$No
roleChoicespine, leaf, border, border_spine, border_gateway, border_gateway_spine, super_spine, border_super_spine, border_gateway_super_spine, tor, core_routerNo
managementClass[management]No
poapClass[poap]No
routing_loopback_idIntegermin: 0, max: 1023No0
vtep_loopback_idIntegermin: 0, max: 1023No1
interfacesListAny[Class[[topology_switch_access_interface]] or Class[[topology_switch_trunk_interface]] or Class[[topology_switch_access_po_interface]] or Class[[topology_switch_trunk_po_interface]] or Class[[topology_switch_routed_interface]] or Class[[topology_switch_routed_sub_interface]] or Class[[topology_switch_routed_po_interface]] or Class[[topology_switch_loopback_interface]]]No

management (vxlan.topology.switches)

NameTypeConstraintMandatoryDefault Value
default_gateway_v4IPNo
default_gateway_v6IPNo
management_ipv4_addressIPNo
management_ipv6_addressIPNo
subnet_mask_ipv4Integermin: 8, max: 30No
subnet_mask_ipv6Integermin: 16, max: 128No

poap (vxlan.topology.switches)

NameTypeConstraintMandatoryDefault Value
bootstrapBooleantrue, falseNo
preprovisionClass[preprovision]No

preprovision (vxlan.topology.switches.poap)

NameTypeConstraintMandatoryDefault Value
serial_numberStringRegex: ^[a-zA-Z0-9_.:-]{1,16}$No
modelStringYes
versionStringYes
modulesModelListStringYes

Examples

vxlan:
topology:
switches:
- name: dc1-spine1
serial_number: 9RPK63KD8TR
role: spine
management:
default_gateway_v4: 192.168.112.254
default_gateway_v6: 2055:55:55:55::55/64
management_ipv4_address: 192.168.112.151
management_ipv6_address: 2055:55:55:55::51/64
routing_loopback_id: 0
vtep_loopback_id: 1

- name: dc1-spine2
serial_number: 92UBV39S1YQ
role: spine
management:
default_gateway_v4: 192.168.112.254
default_gateway_v6: 2055:55:55:55::55/64
management_ipv4_address: 192.168.112.152
management_ipv6_address: 2055:55:55:55::52/64
routing_loopback_id: 0
vtep_loopback_id: 1

- name: dc1-leaf1
serial_number: 9SJP2G16MPF
role: leaf
management:
default_gateway_v4: 192.168.112.254
default_gateway_v6: 2055:55:55:55::55/64
management_ipv4_address: 192.168.112.1
management_ipv6_address: 2055:55:55:55::41/64
routing_loopback_id: 0
vtep_loopback_id: 1

- name: dc1-leaf2
serial_number: 91IRW2OO4TX
role: leaf
management:
default_gateway_v4: 192.168.112.254
default_gateway_v6: 2055:55:55:55::55/64
management_ipv4_address: 192.168.112.2
management_ipv6_address: 2055:55:55:55::42/64
routing_loopback_id: 0
vtep_loopback_id: 1

- name: dc1-leaf3
serial_number: 9JOCTUYC1EV
role: leaf
management:
default_gateway_v4: 192.168.112.254
default_gateway_v6: 2055:55:55:55::55/64
management_ipv4_address: 192.168.112.3
management_ipv6_address: 2055:55:55:55::43/64
routing_loopback_id: 0
vtep_loopback_id: 1

- name: dc1-leaf4
serial_number: 936D48XQN1P
role: leaf
management:
default_gateway_v4: 192.168.112.254
default_gateway_v6: 2055:55:55:55::55/64
management_ipv4_address: 192.168.112.4
management_ipv6_address: 2055:55:55:55::44/64
routing_loopback_id: 0
vtep_loopback_id: 1