Match Rule
Location in GUI: Tenants
» XXX
» Policies
» Protocol
» Match Rules
Diagram
Section titled “Diagram”Classes
Section titled “Classes”policies (apic.tenants)
Section titled “policies (apic.tenants)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
match_rules | List | [match_rules] | No |
match_rules (apic.tenants.policies)
Section titled “match_rules (apic.tenants.policies)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
regex_community_terms | List | [regex_community_terms] | No | |
community_terms | List | [community_terms] | No | |
prefixes | List | [prefixes] | No |
regex_community_terms (apic.tenants.policies.match_rules)
Section titled “regex_community_terms (apic.tenants.policies.match_rules)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
regex | String | min: 0 , max: 64 | Yes | |
type | Choice | regular , extended | No | regular |
description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No |
community_terms (apic.tenants.policies.match_rules)
Section titled “community_terms (apic.tenants.policies.match_rules)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
factors | List | [factors] | No |
prefixes (apic.tenants.policies.match_rules)
Section titled “prefixes (apic.tenants.policies.match_rules)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
ip | IP | Yes | ||
description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
aggregate | Boolean | true , false | No | false |
from_length | Integer | min: 0 , max: 128 | No | 0 |
to_length | Integer | min: 0 , max: 128 | No | 0 |
factors (apic.tenants.policies.match_rules.community_terms)
Section titled “factors (apic.tenants.policies.match_rules.community_terms)”Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
community | String | Yes | ||
description | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$ | No | |
scope | Choice | transitive , non-transitive | No | transitive |
Examples
Section titled “Examples”apic: tenants: - name: ABC policies: match_rules: - name: MATCH1 description: desc1 prefixes: - ip: 10.0.0.0/8 description: desc2 aggregate: true from_length: 24 to_length: 32