DHCP Option Policy
NDOLocation in GUI:
Tenant Template » Tenant Policies » DHCP Option Policy
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 |
|---|---|---|---|---|
| dhcp_option_policies | List | [dhcp_option_policies] | No |
dhcp_option_policies (ndo.tenant_templates.tenant_policies)
Section titled “dhcp_option_policies (ndo.tenant_templates.tenant_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 | |
| options | List | [options] | No |
options (ndo.tenant_templates.tenant_policies.dhcp_option_policies)
Section titled “options (ndo.tenant_templates.tenant_policies.dhcp_option_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| id | Integer | min: 0, max: 255 | No | |
| data | String | Regex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,64}$ | 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. The DHCP option policy DOP1 is configured with two options.
ndo: tenant_templates: tenant_policies: - name: TP1 tenant: NDO1 sites: - APIC1 dhcp_option_policies: - name: DOP1 description: DHCP Option Policy 1 options: - name: option1 id: 43 data: abc123 - name: option2 id: 60 data: def456