IP SLA 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 |
|---|---|---|---|---|
| ip_sla_policies | List | [ip_sla_policies] | No |
ip_sla_policies (ndo.tenant_templates.tenant_policies)
Section titled “ip_sla_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 | |
| frequency | Integer | min: 1, max: 300 | No | 60 |
| multiplier | Integer | min: 1, max: 100 | No | 3 |
| sla_type | Choice | icmp, tcp, l2ping, http | No | icmp |
| port | Integer | min: 1, max: 65535 | No | 0 |
| http_version | Choice | HTTP10, HTTP11 | No | HTTP10 |
| http_uri | String | Regex: ^/.{0,512}$ | No | / |
| request_data_size | Integer | min: 0, max: 17512 | No | 28 |
| type_of_service | Integer | min: 0, max: 255 | No | 0 |
| timeout | Integer | min: 1, max: 604800000 | No | 900 |
| threshold | Integer | min: 1, max: 604800000 | No | 900 |
| ipv6_traffic_class | Integer | min: 0, max: 255 | No | 0 |
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 IP SLA policy HTTP is defined under the tenant policy template. This is a policy of type http. The policy is configured with a frequency of 120 seconds, a multiplier of 4, a timeout of 800 milliseconds and a threshold of 800 milliseconds. It is using HTTP version 1.1 and the URI /tmp. The policy is also configured with a request data size of 1024 bytes and a type of service of 2.
ndo: tenant_templates: tenant_policies: - name: TP1 tenant: NDO1 sites: - APIC1 ip_sla_policies: - name: HTTP description: HTTP SLA Policy frequency: 120 multiplier: 4 sla_type: http http_version: HTTP11 http_uri: /tmp request_data_size: 1024 type_of_service: 2 timeout: 800 threshold: 800 ipv6_traffic_class: 2Example-2: The example below shows a tenant policy template called TP1 that is created under the tenant NDO1 and the site APIC1. The IP SLA policy TCP is defined under the tenant policy template. This is a policy of type tcp. It is using TCP port 44.
ndo: tenant_templates: tenant_policies: - name: TP1 tenant: NDO1 sites: - APIC1 ip_sla_policies: - name: TCP description: ICMP SLA Policy sla_type: tcp port: 44Example-3: The example below shows a tenant policy template called TP1 that is created under the tenant NDO1 and the site APIC1. The IP SLA policy ICMP is defined under the tenant policy template. This is a policy of type icmp.
ndo: tenant_templates: tenant_policies: - name: TP1 tenant: NDO1 sites: - APIC1 ip_sla_policies: - name: ICMP description: ICMP SLA Policy sla_type: icmpExample-4: The example below shows a tenant policy template called TP1 that is created under the tenant NDO1 and the site APIC1. The IP SLA policy L2Ping is defined under the tenant policy template. This is a policy of type l2ping. It is using frequency of 120 seconds, a multiplier of 4, a timeout of 800 milliseconds and a threshold of 800 milliseconds.
ndo: tenant_templates: tenant_policies: - name: TP1 tenant: NDO1 sites: - APIC1 ip_sla_policies: - name: L2Ping sla_type: l2ping frequency: 120 multiplier: 4 timeout: 800 threshold: 800 ipv6_traffic_class: 2