Access Spine Interface Profile
Spine Interface 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 » Access Policies » Interfaces » Spine Interfaces » 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_access_spine_switch_interface_profiles | Boolean | No | false |
access_policies (apic)
Section titled “access_policies (apic)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| spine_interface_profile_name | String | min: 1, max: 64 | No | SPINE\g<id> |
| spine_interface_profiles | List | [spine_interface_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 |
spine_interface_profiles (apic.access_policies)
Section titled “spine_interface_profiles (apic.access_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| selectors | List | [selectors] | No |
selectors (apic.access_policies.spine_interface_profiles)
Section titled “selectors (apic.access_policies.spine_interface_profiles)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| fex_id | Integer | min: 101, max: 199 | No | |
| fex_profile | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| policy_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| port_blocks | List | [port_blocks] | No |
port_blocks (apic.access_policies.spine_interface_profiles.selectors)
Section titled “port_blocks (apic.access_policies.spine_interface_profiles.selectors)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
| from_module | Integer | min: 1, max: 9 | No | 1 |
| from_port | Integer | min: 1, max: 127 | Yes | |
| to_module | Integer | min: 1, max: 9 | No | |
| to_port | Integer | min: 1, max: 127 | No |
Examples
Section titled “Examples”Auto-generated profiles:
apic: auto_generate_access_spine_switch_interface_profiles: true access_policies: spine_interface_profile_name: "SPINE\\g<id>" interface_policies: nodes: - id: 1001System-generated profiles:
apic: new_interface_configuration: true interface_policies: nodes: - id: 1001Explicitly configured profiles:
apic: access_policies: spine_interface_profiles: - name: SPINE1001 selectors: - name: SEL1 policy_group: IPN port_blocks: - name: BLOCK1 description: IPN1 from_port: 1