IP SLA Policy
Location in GUI: Tenants » XXX » Policies » Protocol » IP SLA » IP SLA Monitoring Policies
Diagram
Section titled “Diagram”Classes
Section titled “Classes”policies (apic.tenants)
Section titled “policies (apic.tenants)”| Name | Type | Constraint | Mandatory | Default Value |
|---|---|---|---|---|
| ip_sla_policies | List | [ip_sla_policies] | No |
ip_sla_policies (apic.tenants.policies)
Section titled “ip_sla_policies (apic.tenants.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_method | Choice | get | No | get |
| http_version | Choice | HTTP10, HTTP11 | No | HTTP11 |
| http_uri | String | Regex: ^/.{0,512}$ | No | / |
Examples
Section titled “Examples”Example-1: This data model creates two IP SLA Policies named L2PingEach30sec and PingEach20sec. They are usually referenced by Redirect Policies as a method for active traffic monitoring that measures network performance by generating traffic probes such as ICMP, TCP, or L2Ping (specified in sla_type). It will provide reachability and performance data, but it will not automatically influence PBR traffic redirection decisions. If you select tcp as sla_type, you must define a port value as well.
apic: tenants: - name: PBR_ServGraph policies: ip_sla_policies: - name: 'L2PingEach30sec' description: Send L2 ping each 30 seconds frequency: 30 multiplier: 2 sla_type: l2ping - name: 'PingEach20sec' description: Send ping each 20 seconds frequency: 20 multiplier: 4HTTP SLA Policy
Section titled “HTTP SLA Policy”apic: tenants: - name: ABC policies: ip_sla_policies: - name: SLA_HTTP frequency: 10 multiplier: 10 sla_type: http port: 80 http_method: get http_version: HTTP10 http_uri: /example