Skip to content

IP SLA Policy

Location in GUI: Tenant Template » Tenant Policies

Diagram
NameTypeConstraintMandatoryDefault Value
ip_sla_policiesList[ip_sla_policies]No

ip_sla_policies (ndo.tenant_templates.tenant_policies)

Section titled “ip_sla_policies (ndo.tenant_templates.tenant_policies)”
NameTypeConstraintMandatoryDefault Value
nameStringRegex: ^[a-zA-Z0-9_.:-]{1,64}$Yes
descriptionStringRegex: ^[a-zA-Z0-9\\!#$%()*,-./:;@ _{|}~?&+]{1,128}$No
frequencyIntegermin: 1, max: 300No60
multiplierIntegermin: 1, max: 100No3
sla_typeChoiceicmp, tcp, l2ping, httpNoicmp
portIntegermin: 1, max: 65535No0
http_versionChoiceHTTP10, HTTP11NoHTTP10
http_uriStringRegex: ^/.{0,512}$No/
request_data_sizeIntegermin: 0, max: 17512No28
type_of_serviceIntegermin: 0, max: 255No0
timeoutIntegermin: 1, max: 604800000No900
thresholdIntegermin: 1, max: 604800000No900
ipv6_traffic_classIntegermin: 0, max: 255No0

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: 2

Example-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: 44

Example-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: icmp

Example-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