Switch
Diagram
Classes
topology (vxlan)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
switches | List | [switches] | No |
switches (vxlan.topology)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Yes | ||
serial_number | String | Regex: ^[a-zA-Z0-9_.:-]{1,16}$ | No | |
role | Choice | spine , leaf , border , border_spine , border_gateway , border_gateway_spine , super_spine , border_super_spine , border_gateway_super_spine , tor , core_router | No | |
management | Class | [management] | No | |
poap | Class | [poap] | No | |
routing_loopback_id | Integer | min: 0 , max: 1023 | No | 0 |
vtep_loopback_id | Integer | min: 0 , max: 1023 | No | 1 |
interfaces | List | Any[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)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
default_gateway_v4 | IP | No | ||
default_gateway_v6 | IP | No | ||
management_ipv4_address | IP | No | ||
management_ipv6_address | IP | No | ||
subnet_mask_ipv4 | Integer | min: 8 , max: 30 | No | |
subnet_mask_ipv6 | Integer | min: 16 , max: 128 | No |
poap (vxlan.topology.switches)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
bootstrap | Boolean | true , false | No | |
preprovision | Class | [preprovision] | No |
preprovision (vxlan.topology.switches.poap)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
serial_number | String | Regex: ^[a-zA-Z0-9_.:-]{1,16}$ | No | |
model | String | Yes | ||
version | String | Yes | ||
modulesModel | List | String | Yes |
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