tenant.contract¶
A contract is a logical container for the subjects which relate to the filters that govern the rules for communication between endpoint groups (EPGs). Without a contract, the default forwarding policy is to not allow any communication between EPGs but all communication within an EPG is allowed.
ACI class |
|
RN |
|
Cursor |
|
Parent |
|
Atomic |
— |
Attributes¶
Accepted as keyword arguments of .contract(name) and of .set(**attrs) on this cursor. Enum parameters also accept the plain string.
parameter |
wire |
type |
values |
default |
description |
|---|---|---|---|---|---|
|
|
|
— |
— |
Name of a contract to apply between two or more EPGs under the Application Profile. |
|
|
|
— |
— |
A Contract can depend on a subject exposed by another contract. Example: An application contract can depened on a Web/DB subject exposed by another contract. A contract consuming entity, consumes all the dependencies as well. TODO: How to detect dependency loops? |
|
|
|
— |
— |
Specifies a description of the policy definition. |
|
|
|
|
— |
|
|
|
|
— |
— |
The key for enabling clients to own their data for entity correlation. |
|
|
|
— |
— |
A tag for enabling clients to add their own data. For example, to indicate who created this object. |
|
|
|
|
— |
|
|
|
|
|
Represents the scope of this contract. If the scope is set as application-profile, the epg can only communicate with epgs in the same application-profile |
|
|
|
|
— |
|
contract level dscp value |
Children¶
maker |
creates |
position |
|---|---|---|
|
|
|
|
|
Bind aliases¶
Lazy references, resolved closed-world at push time.
alias |
target |
flavor |
relation |
|---|---|---|---|
|
|
name |
|
APIC diagnostics¶
States the APIC can flag on this class — it accepts the configuration and reports the inconsistency afterwards.
Config issues
code |
meaning |
|---|---|
|
Private Network Cannot be a Provider in Shared Service Scenario |
|
Filter Not Present |
|
No EPG Has Label For This Subject |
|
Taboo Not associated to Any Filter |