Access FEX Interface Selector
FEX 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
Location in GUI: Fabric
» Access 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_access_leaf_switch_interface_profiles | Boolean | true , false | No | false |
interface_selector_description | Boolean | true , false | No | false |
access_policies (apic)
Section titled “access_policies (apic)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
fex_interface_selector_name | String | min: 1 , max: 64 | No | ETH\g<mod>-\g<port> |
nodes (apic.interface_policies)
Section titled “nodes (apic.interface_policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
id | Integer | min: 1 , max: 4000 | Yes |
fexes (apic.interface_policies.nodes)
Section titled “fexes (apic.interface_policies.nodes)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
id | Integer | min: 101 , max: 199 | Yes |
interfaces (apic.interface_policies.nodes.fexes)
Section titled “interfaces (apic.interface_policies.nodes.fexes)”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 |
Examples
Section titled “Examples”apic: auto_generate_access_leaf_switch_interface_profiles: true access_policies: fex_interface_selector_name: "ETH\\g<mod>-\\g<port>" interface_policies: nodes: - id: 101 fexes: - id: 101 interfaces: - port: 1 description: interface descr policy_group: ACC1