Device Selection Policy
Location in GUI:
Tenants
» XXX
» Services
» L4-L7
» Device Selection Policies
Diagram
Classes
services (apic.tenants)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
device_selection_policies | List | [device_selection_policies] | No |
device_selection_policies (apic.tenants.services)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
contract | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
service_graph_template | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
device_name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
node_name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
consumer | Class | [consumer] | No | |
provider | Class | [provider] | No | |
copy_service | Class | [copy_service] | No | |
expected_state | Class | [expected_state] | No |
consumer (apic.tenants.services.device_selection_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
l3_destination | Boolean | true , false | No | true |
permit_logging | Boolean | true , false | No | false |
logical_interface | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
redirect_policy | Class | [redirect_policy] | No | |
bridge_domain | Class | [bridge_domain] | No | |
external_endpoint_group | Class | [external_endpoint_group] | No | |
service_epg_policy | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
custom_qos_policy | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No |
copy_service (apic.tenants.services.device_selection_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
l3_destination | Boolean | true , false | No | true |
permit_logging | Boolean | true , false | No | false |
logical_interface | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
service_epg_policy | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
custom_qos_policy | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No |
expected_state (apic.tenants.services.device_selection_policies)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
minimum_health | Integer | min: 0 , max: 100 | No | |
maximum_critical_faults | Integer | min: 0 | No | |
maximum_major_faults | Integer | min: 0 | No | |
maximum_minor_faults | Integer | min: 0 | No |
redirect_policy (apic.tenants.services.device_selection_policies.consumer)
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}$ | No |
bridge_domain (apic.tenants.services.device_selection_policies.consumer)
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}$ | No |
external_endpoint_group (apic.tenants.services.device_selection_policies.consumer)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
tenant | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | No | |
l3out | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
name | String | Regex: ^[a-zA-Z0-9_.:-]{1,64}$ | Yes | |
redistribute | Class | [redistribute] | No |
redistribute (apic.tenants.services.device_selection_policies.consumer.external_endpoint_group)
Name | Type | Constraint | Mandatory | Default Value |
---|---|---|---|---|
bgp | Boolean | true , false | No | false |
ospf | Boolean | true , false | No | false |
connected | Boolean | true , false | No | false |
static | Boolean | true , false | No | false |
Examples
Simple example:
apic:
tenants:
- name: ABC
services:
device_selection_policies:
- contract: CON1
service_graph_template: TEMPLATE1
consumer:
redirect_policy:
name: PBR1
logical_interface: INT1
bridge_domain:
name: BD1
provider:
redirect_policy:
name: PBR1
logical_interface: INT1
bridge_domain:
name: BD1
Copy service:
apic:
tenants:
- name: ABC
services:
device_selection_policies:
- contract: CON2
service_graph_template: TEMPLATE2
copy_service:
logical_interface: INT1
Full example:
apic:
tenants:
- name: ABC
services:
device_selection_policies:
- contract: CON1
service_graph_template: TEMPLATE1
consumer:
l3_destination: true
permit_logging: false
redirect_policy:
name: PBR1
logical_interface: INT1
bridge_domain:
name: BD1
service_epg_policy: SERVICE_EPG1
custom_qos_policy: QOS_POLICY
provider:
redirect_policy:
name: PBR1
logical_interface: INT1
bridge_domain:
name: BD1
service_epg_policy: SERVICE_EPG2
custom_qos_policy: QOS_POLICY