VPC Groups
vPC groups can be named according to a naming convention defined once, without having to specify a name for every group. The following placeholders can be used when defining the naming convention:
\\g<switch1_id>
: gets replaced by the respective node ID of the first leaf\\g<switch2_id>
: gets replaced by the respective node ID of the second leaf
Location in GUI:
Fabric
» Access Policies
» Policies
» Switch
» Virtual Port Channel default
Diagram
Classes
node_policies (apic)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
vpc_groups | Class | [vpc_groups] | No |
vpc_groups (apic.node_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
mode | Choice | explicit , consecutive , reciprocal | No | explicit |
groups | List | [groups] | No |
groups (apic.node_policies.vpc_groups)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
id | Integer | min: 1 , max: 1000 | Yes | |
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
switch_1 | Integer | min: 1 , max: 16000 | Yes | |
switch_2 | Integer | min: 1 , max: 16000 | Yes | |
policy | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No |
Examples
vPC groups:
apic:
node_policies:
vpc_groups:
mode: explicit
groups:
- id: 101
switch_1: 101
switch_2: 102
vPC group naming convention:
apic:
access_policies:
vpc_group_name: "VPC\\_g<switch1_id>_\\g<switch2_id>"