DHCP Relay 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 |
|---|---|---|---|---|
| dhcp_relay_policies | List | [dhcp_relay_policies] | No |
dhcp_relay_policies (ndo.tenant_templates.tenant_policies)
Section titled “dhcp_relay_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 | |
| providers | List | [providers] | No |
providers (ndo.tenant_templates.tenant_policies.dhcp_relay_policies)
Section titled “providers (ndo.tenant_templates.tenant_policies.dhcp_relay_policies)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
| ip | IP | Yes | ||
| type | Choice | epg, external_epg | Yes | |
| schema | String | Regex: ^[a-zA-Z0-9\s+_.:-]{1,64}$ | Yes | |
| template | String | Yes | ||
| application_profile | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| endpoint_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| l3out | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| external_endpoint_group | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
| use_server_vrf | Boolean | true, false | No | false |
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 relay policy DRP1 is defined under the tenant policy template. In this DHCP Relay policy there is one provider P1 that is defined with the IP address 1.1.1.1 and the type epg. The EPG name is EPG1 and it is located in the schema ABC, template TEMPLATE1 and the application profile AP1. The provider P1 is also configured to use the server VRF.
ndo: tenant_templates: tenant_policies: - name: TP1 tenant: NDO1 sites: - APIC1 dhcp_relay_policies: - name: DRP1 description: DHCP Relay Policy providers: - name: P1 ip: 1.1.1.1 type: epg schema: ABC template: TEMPLATE1 application_profile: AP1 endpoint_group: EPG1 use_server_vrf: true