Skip to main content

Endpoint Security Group

Location in GUI: Tenants » XXX » Application Profiles » XXX » Endpoint Security Groups

Diagram

Classes

application_profiles (apic.tenants)

NameTypeConstraintMandatoryDefault Value
endpoint_security_groupsList[endpoint_security_groups]No

endpoint_security_groups (apic.tenants.application_profiles)

NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
vrfStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
shutdownBooleantrue, falseNofalse
intra_esg_isolationBooleantrue, falseNofalse
preferred_groupBooleantrue, falseNofalse
contractsClass[contracts]No
tag_selectorsList[tag_selectors]No
epg_selectorsList[epg_selectors]No
ip_subnet_selectorsList[ip_subnet_selectors]No
expected_stateClass[expected_state]No

contracts (apic.tenants.application_profiles.endpoint_security_groups)

NameTypeConstraintMandatoryDefault Value
consumersListString[Regex: ^[a-zA-Z0-9_.:-]{1,64}$]No
providersListString[Regex: ^[a-zA-Z0-9_.:-]{1,64}$]No
imported_consumersListString[Regex: ^[a-zA-Z0-9_.:-]{1,64}$]No
intra_esgsListString[Regex: ^[a-zA-Z0-9_.:-]{1,64}$]No
mastersList[masters]No

tag_selectors (apic.tenants.application_profiles.endpoint_security_groups)

NameTypeConstraintMandatoryDefault Value
keyStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
operatorChoicecontains, equals, regexNoequals
valueStringRegex: ^[a-zA-Z0-9_.,:^$\[\](){}|+*-]{1,128}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No

epg_selectors (apic.tenants.application_profiles.endpoint_security_groups)

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

ip_subnet_selectors (apic.tenants.application_profiles.endpoint_security_groups)

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

expected_state (apic.tenants.application_profiles.endpoint_security_groups)

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

masters (apic.tenants.application_profiles.endpoint_security_groups.contracts)

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

Examples

Simple example:

apic:
tenants:
- name: ABC
application_profiles:
- name: AP1
endpoint_security_groups:
- name: ESG1
vrf: VRF1
contracts:
consumers:
- CON1
providers:
- CON2
ip_subnet_selectors:
- value: 10.1.1.0/24
description: IP Subnet Selector 1

Full example:

apic:
tenants:
- name: ABC
application_profiles:
- name: AP1
endpoint_security_groups:
- name: ESG1
description: ESG1 description
vrf: VRF1
shutdown: true
intra_esg_isolation: true
preferred_group: true
contracts:
consumers:
- CON3
providers:
- CON3
imported_consumers:
- IMPORTED-CON1
intra_esgs:
- CON3
masters:
- application_profile: AP1
endpoint_security_group: ESG2
tag_selectors:
- key: KEY1
operator: contains
value: VALUE1
description: TAG Selector 1
epg_selectors:
- application_profile: AP1
endpoint_group: EPG1
description: EPG Selector 1
ip_subnet_selectors:
- value: 10.1.1.0/24
description: IP Subnet Selector 1