Fabric Leaf Interface Selector
Leaf Interface Selectors can be auto-generated (one per interface) by providing a naming convention. The following placeholders can be used when defining the naming convention:
\\g<mod>: gets replaced by the respective interface module ID\\g<port>: gets replaced by the respective interface port ID\\g<sport>: gets replaced by the respective interface sub-port ID
Location in GUI: Fabric » Fabric Policies » Interfaces » Leaf Interfaces » Profiles » XXX
Diagram
Section titled “Diagram”Classes
Section titled “Classes”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| auto_generate_switch_pod_profiles | Boolean | true, false | No | false |
| auto_generate_fabric_leaf_switch_interface_profiles | Boolean | true, false | No | false |
| interface_selector_description | Boolean | true, false | No | false |
fabric_policies (apic)
Section titled “fabric_policies (apic)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| leaf_interface_selector_name | String | min: 1, max: 64 | No | ETH\g<mod>-\g<port> |
| leaf_interface_selector_sub_port_name | String | min: 1, max: 64 | No | ETH\g<mod>-\g<port>-\g<sport> |
nodes (apic.interface_policies)
Section titled “nodes (apic.interface_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| id | Integer | min: 1, max: 4000 | Yes |
interfaces (apic.interface_policies.nodes)
Section titled “interfaces (apic.interface_policies.nodes)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| port | Integer | min: 1, max: 127 | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
| module | Integer | min: 1, max: 9 | No | 1 |
| policy_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| shutdown | Boolean | true, false | No | false |
sub_ports (apic.interface_policies.nodes.interfaces)
Section titled “sub_ports (apic.interface_policies.nodes.interfaces)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| port | Integer | min: 1, max: 127 | Yes | |
| description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
| module | Integer | min: 1, max: 9 | No | |
| policy_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| shutdown | Boolean | true, false | No | false |
Examples
Section titled “Examples”apic: auto_generate_fabric_leaf_switch_interface_profiles: true fabric_policies: leaf_interface_selector_name: "ETH\\g<mod>-\\g<port>" leaf_interface_selector_sub_port_name: "ETH\\g<mod>-\\g<port>-\\g<sport>" interface_policies: nodes: - id: 101 interfaces: - port: 1 description: interface descr 1 policy_group: FAB1 fabric: true sub_ports: - port: 2