Tenant Policy
Location in GUI:
Tenant Template » Tenant Policies
Diagram
Section titled “Diagram”Classes
Section titled “Classes”tenant_policies (ndo.tenant_templates)
Section titled “tenant_policies (ndo.tenant_templates)”| 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 | |
| sites | List | String | No |
Examples
Section titled “Examples”Example-1: The example below shows a tenant policy template called TP1 that is created under the tenant NDO1 and the site APIC1.
ndo: tenant_templates: tenant_policies: - name: TP1 tenant: NDO1 sites: - APIC1