Skip to main content

Fabric Spine Interface Profile

Spine Interface Profiles can either be auto-generated, one per spine, by providing a naming convention 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 » Fabric Policies » Interfaces » Spine Interfaces » Profiles

Diagram

Classes

apic

NameTypeConstraintMandatoryDefault Value
auto_generate_switch_pod_profilesBooleantrue, falseNofalse
auto_generate_fabric_spine_switch_interface_profilesBooleantrue, falseNofalse

fabric_policies (apic)

NameTypeConstraintMandatoryDefault Value
spine_interface_profile_nameStringmin: 1, max: 64NoSPINE\g<id>
spine_interface_profilesList[spine_interface_profiles]No

nodes (apic.node_policies)

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

spine_interface_profiles (apic.fabric_policies)

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

selectors (apic.fabric_policies.spine_interface_profiles)

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

expected_state (apic.fabric_policies.spine_interface_profiles)

NameTypeConstraintMandatoryDefault Value
minimum_healthIntegermin: 0, max: 100No
maximum_critical_faultsIntegermin: 0No
maximum_major_faultsIntegermin: 0No
maximum_minor_faultsIntegermin: 0No

port_blocks (apic.fabric_policies.spine_interface_profiles.selectors)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
from_moduleIntegermin: 1, max: 9No
from_portIntegermin: 1, max: 127Yes
to_moduleIntegermin: 1, max: 9No
to_portIntegermin: 1, max: 127No

Examples

apic:
auto_generate_switch_pod_profiles: true
fabric_policies:
spine_interface_profile_name: "SPINE\\g<id>"

Explicitly configured profiles:

apic:
fabric_policies:
spine_interface_profiles:
- name: SPINE101