Fabric Spine Switch Profile
Spine Switch Profiles can either be auto-generated (one per spine) by providing a naming convention, or can be system-generated (one per spine), or can be defined explicitly. In case of auto-generated profiles the following placeholders can be used when defining the naming convention:
\\g<id>: gets replaced by the respective spine node ID\\g<name>: gets replaced by the respective spine hostname
Location in GUI:
Fabric » Fabric Policies » Switches » Spine Switches » Profiles
Diagram
Section titled “Diagram”Classes
Section titled “Classes”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| auto_generate_switch_pod_profiles | Boolean | No | false | |
| auto_generate_fabric_spine_switch_interface_profiles | Boolean | true, false | No | false |
fabric_policies (apic)
Section titled “fabric_policies (apic)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| spine_switch_profile_name | String | min: 1, max: 64 | No | SPINE\g<id> |
| spine_switch_selector_name | String | min: 1, max: 64 | No | SPINE\g<id> |
| spine_interface_profile_name | String | min: 1, max: 64 | No | SPINE\g<id> |
| spine_switch_profiles | List | [spine_switch_profiles] | No |
nodes (apic.node_policies)
Section titled “nodes (apic.node_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| id | Integer | min: 1, max: 4000 | Yes | |
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| fabric_policy_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No |
spine_switch_profiles (apic.fabric_policies)
Section titled “spine_switch_profiles (apic.fabric_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| selectors | List | [selectors] | No | |
| interface_profiles | List | String[Regex: ^[a-zA-Z0-9_.:-]{1,64}$] | No |
selectors (apic.fabric_policies.spine_switch_profiles)
Section titled “selectors (apic.fabric_policies.spine_switch_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| policy | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| node_blocks | List | [node_blocks] | No |
node_blocks (apic.fabric_policies.spine_switch_profiles.selectors)
Section titled “node_blocks (apic.fabric_policies.spine_switch_profiles.selectors)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| from | Integer | min: 1, max: 4000 | Yes | |
| to | Integer | min: 1, max: 4000 | No |
Examples
Section titled “Examples”Auto-generated profiles:
apic: auto_generate_fabric_spine_switch_interface_profiles: true fabric_policies: spine_switch_profile_name: "SPINE\\g<id>" spine_switch_selector_name: "SPINE\\g<id>" node_policies: nodes: - id: 1001 role: spine fabric_policy_group: ALL_SPINESSystem-generated profiles:
apic: new_interface_configuration: true node_policies: nodes: - id: 1001 role: spine fabric_policy_group: ALL_SPINESExplicitly configured profiles:
apic: fabric_policies: spine_switch_profiles: - name: SPINE1001 selectors: - name: SEL1 policy: ALL_SPINES node_blocks: - name: BLOCK1 from: 1001 interface_profiles: - SPINE1001