Hub and Spoke Topology Definition
hub-and-spoke is one type of topology in which one of the devices acts as a hub site that receives the data traffic from all the spoke, or branch, devices and then redirects the traffic to the proper destination.
Hub and Spoke Topology Definition define the hub and spoke sites that should create the connections between them.
Diagram
Classes
control_policy (sdwan.centralized_policies.definitions)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
hub_and_spoke_topology | List | [hub_and_spoke_topology] | No |
hub_and_spoke_topology (sdwan.centralized_policies.definitions.control_policy)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[A-Za-z0-9\-_]{1,127}$ | Yes | |
description | String | Yes | ||
vpn_list | String | Regex: ^[A-Za-z0-9\-_]{1,32}$ | Yes | |
hub_and_spoke_sites | List | [hub_and_spoke_sites] | Yes |
hub_and_spoke_sites (sdwan.centralized_policies.definitions.control_policy.hub_and_spoke_topology)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[A-Za-z0-9\-_]{1,127}$ | Yes | |
equal_preference | Boolean | true , false | No | |
advertise_tloc | Boolean | true , false | No | |
tloc_list | String | Regex: ^[A-Za-z0-9\-_]{1,32}$ | No | |
spokes | List | [spokes] | Yes |
spokes (sdwan.centralized_policies.definitions.control_policy.hub_and_spoke_topology.hub_and_spoke_sites)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
site_list | String | Regex: ^[A-Za-z0-9\-_]{1,32}$ | Yes | |
hubs | List | [hubs] | Yes |
hubs (sdwan.centralized_policies.definitions.control_policy.hub_and_spoke_topology.hub_and_spoke_sites.spokes)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
site_list | String | Regex: ^[A-Za-z0-9\-_]{1,32}$ | Yes | |
ipv4_prefix_lists | List | String[Regex: ^[A-Za-z0-9\-_]{1,32}$ ] | No | |
ipv6_prefix_lists | List | String[Regex: ^[A-Za-z0-9\-_]{1,32}$ ] | No |
Examples
sdwan:
centralized_policies:
definitions:
control_policy:
hub_and_spoke_topology:
- name: HST_DEFINITION_TEST1
description: HST_DEFINITION_TEST1
vpn_list: VPN-LIST-HST-TEST1
hub_and_spoke_sites:
- name: group1
equal_preference: true
advertise_tloc: false
tloc_list: TLOC-LIST-HST-TEST1
spokes:
- site_list: CALIFORNIA-HST-TEST
hubs:
- site_list: BOSTON-HST-TEST
- site_list: NEWYORK-HST-TEST
ipv4_prefix_lists:
- PREFIX-LIST-HST-TEST
- site_list: WASHINGTON-HST-TEST
hubs:
- site_list: KENTUCKY-HST-TEST
- name: group2
equal_preference: true
advertise_tloc: false
tloc_list: TLOC-LIST-HST-TEST2
spokes:
- site_list: CALIFORNIA-HST-TEST
hubs:
- site_list: BOSTON-HST-TEST
- site_list: NEWYORK-HST-TEST
ipv4_prefix_lists:
- PREFIX-LIST-HST-TEST
- site_list: WASHINGTON-HST-TEST
hubs:
- site_list: KENTUCKY-HST-TEST