Skip to content

Fabric Leaf Interface Profile

Leaf Interface Profiles can either be auto-generated (one per leaf) by providing a naming convention, or can be system-generated (one per leaf), 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 leaf node ID
  • \\g<name>: gets replaced by the respective leaf hostname

Location in GUI: Fabric » Fabric Policies » Interfaces » Leaf Interfaces » Profiles

Diagram

Diagram

Classes

apic

NameTypeConstraintMandatoryDefault Value
auto_generate_switch_pod_profilesBooleantrue, falseNofalse
auto_generate_fabric_leaf_switch_interface_profilesBooleantrue, falseNofalse

fabric_policies (apic)

NameTypeConstraintMandatoryDefault Value
leaf_interface_profile_nameStringmin: 1, max: 64NoLEAF\g<id>
leaf_interface_profilesList[leaf_interface_profiles]No

nodes (apic.node_policies)

NameTypeConstraintMandatoryDefault Value
idIntegermin: 1, max: 4000Yes
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No

leaf_interface_profiles (apic.fabric_policies)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
selectorsList[selectors]No

selectors (apic.fabric_policies.leaf_interface_profiles)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.,:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
policy_groupStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$No
port_blocksList[port_blocks]No
sub_port_blocksList[sub_port_blocks]No

port_blocks (apic.fabric_policies.leaf_interface_profiles.selectors)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
from_moduleIntegermin: 1, max: 9No1
from_portIntegermin: 1, max: 127Yes
to_moduleIntegermin: 1, max: 9No
to_portIntegermin: 1, max: 127No

sub_port_blocks (apic.fabric_policies.leaf_interface_profiles.selectors)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
from_moduleIntegermin: 1, max: 9No1
from_portIntegermin: 1, max: 127Yes
to_moduleIntegermin: 1, max: 9No
to_portIntegermin: 1, max: 127No
from_sub_portIntegermin: 1, max: 16Yes
to_sub_portIntegermin: 1, max: 16No

Examples

Auto-generated profiles:

apic:
auto_generate_fabric_leaf_switch_interface_profiles: true
fabric_policies:
leaf_interface_profile_name: "LEAF\\g<id>"
interface_policies:
nodes:
- id: 101

System-generated profiles:

apic:
new_interface_configuration: true
interface_policies:
nodes:
- id: 101

Explicitly configured profiles:

apic:
fabric_policies:
leaf_interface_profiles:
- name: LEAF101
selectors:
- name: SEL1
description: Leaf Interface Profile Description
policy_group: 10G-SERVER
port_blocks:
- name: BLOCK1
description: Server ABC
from_port: 1
- name: SUB-151
description: Breakout port 1/5/1
policy_group: 10G-SERVER
sub_port_blocks:
- name: '1-5-1'
from_port: 5
from_sub_port: 1