Imported Contract
Location in GUI: Tenants » XXX » Contracts » Imported
Diagram
Section titled “Diagram”Classes
Section titled “Classes”tenants (apic)
Section titled “tenants (apic)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| imported_contracts | List | [imported_contracts] | No |
imported_contracts (apic.tenants)
Section titled “imported_contracts (apic.tenants)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| tenant | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| contract | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes |
Examples
Section titled “Examples”Example-1: This data model imports contract CON1 defined in Tenant DEF to enable tenant ABC to consume it. This mechanism allows for controlled sharing of policies and communication rules across tenant boundaries while maintaining tenant isolation. The consumer tenant’s Endpoint Groups (EPGs) can then consume the imported contract by adding it as a consumed contract interface.
apic: tenants: - name: ABC imported_contracts: - name: IMPORT-CON1 tenant: DEF contract: CON1