Note
This module is part of the cisco.mso collection (version 2.11.0).
You might already have this collection installed if you are using the ansible package. It is not included in ansible-core. To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install cisco.mso. You need further requirements to be able to use this module, see Requirements for details.
To use it in a playbook, specify: cisco.mso.ndo_ipsla_track_list.
The below requirements are needed on the host that executes this module.
Parameter | Comments |
|---|---|
description string | The description of the IPSLA Track List. |
host aliases: hostname string | IP Address or hostname of the ACI Multi Site Orchestrator host. If the value is not specified in the task, the value of environment variable |
ipsla_track_list aliases: name string | The name of the IPSLA Track List. |
ipsla_track_list_uuid aliases: uuid string | The UUID of the IPSLA Track List. This parameter is required when the |
login_domain string | The login domain name to use for authentication. The default value is Local. If the value is not specified in the task, the value of environment variable When using a HTTPAPI connection plugin the inventory variable |
members list / elements=dictionary | The IPSLA Track List members. Providing a new list of Providing an empty list will remove the |
|
destination_ip aliases: ip string / required |
The destination IP of the member. Must be a valid IPv4 or IPv6 address. |
|
ipsla_monitoring_policy dictionary |
The IPSLA Monitoring Policy to use for the member. This parameter or |
|
name string / required |
The name of the IPSLA Monitoring Policy to use for the member. |
|
ipsla_monitoring_policy_uuid string |
The IPSLA Monitoring Policy UUID to use for the member. This parameter or |
|
scope dictionary |
The BD or L3Out used as the scope for the member. This parameter or |
|
name string / required |
The name of the BD or L3Out used as the scope for the member. |
|
schema string |
The name of the Schema associated with the BD scope. This parameter or |
|
schema_id string |
The ID of the Schema associated with the BD scope. This parameter or |
|
template string |
The name of the Template associated with the BD or L3Out scope. This parameter or |
|
template_id string |
The ID of the Template associated with the BD or L3Out scope. This parameter or |
|
scope_type string / required |
The scope type of the member. Choices:
|
|
scope_uuid string |
The UUID of the BD or L3Out used as the scope for the member. This parameter or |
|
weight integer |
The weight of the member. The default value is 10. |
output_level string | Influence the output of this MSO module.
If the value is not specified in the task, the value of environment variable Choices:
|
password string | The password to use for authentication. If the value is not specified in the task, the value of environment variables |
port integer | Port number to be used for the REST connection. The default value depends on parameter `use_ssl`. If the value is not specified in the task, the value of environment variable |
state string | Use Use Use Choices:
|
template string | The name of the template. The template must be a tenant template. This parameter or |
template_id string | The ID of the template. The template must be a tenant template. This parameter or |
threshold_down aliases: down integer | The IPSLA Track List percentage or weight down threshold. The value must be in the range 0 - 100 when The value must be in the range 0 - 255 when The value must be less than or equal to The default value is 0. |
threshold_up aliases: up integer | The IPSLA Track List percentage or weight up threshold. The value must be in the range 0 - 100 when The value must be in the range 0 - 255 when The value must be greater than or equal to The default value is 1. |
timeout integer | The socket level timeout in seconds. The default value is 30 seconds. If the value is not specified in the task, the value of environment variable |
type string | The IPSLA Track List type used for determining up or down status. This parameter is required when creating the IPSLA Track List. Choices:
|
use_proxy boolean | If If the value is not specified in the task, the value of environment variable The default is Choices:
|
use_ssl boolean | If If the value is not specified in the task, the value of environment variable When using a HTTPAPI connection plugin the inventory variable The default is Choices:
|
username string | The username to use for authentication. If the value is not specified in the task, the value of environment variables |
validate_certs boolean | If This should only set to If the value is not specified in the task, the value of environment variable The default is Choices:
|
Note
template must exist before using this module in your playbook. Use cisco.mso.ndo_template to create the Tenant template.members.ipsla_monitoring_policy must exist before adding members. Use cisco.mso.ndo_ipsla_monitoring_policy to create an IPSLA Monitoring Policy.members.scope as either a BD or L3Out must exist before adding members. Use cisco.mso.ndo_l3out_template to create an L3Out. Use cisco.mso.mso_schema_template_bd to create a BD.See also
Manage Templates on Cisco Nexus Dashboard Orchestrator (NDO).
Manage IPSLA Monitoring Policies on Cisco Nexus Dashboard Orchestrator (NDO).
Manage L3Outs on Cisco Nexus Dashboard Orchestrator (NDO).
Manage Bridge Domains (BDs) in schema templates.
- name: Create a new IPSLA Track List
cisco.mso.ndo_ipsla_track_list:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
ipsla_track_list: ansible_test_ipsla_track_list
description: Example track list
type: percentage
threshold_up: 10
threshold_down: 2
members:
- destination_ip: 1.1.1.1
scope_type: bd
scope:
name: ansible_test_bd
template: ansible_test_template
schema: ansible_test_schema
ipsla_monitoring_policy:
name: ansible_test_ipsla_monitoring_policy
- destination_ip: 2001:0000:130F:0000:0000:09C0:876A:130B
scope_type: l3out
scope:
name: ansible_test_l3out
template: ansible_test_template
ipsla_monitoring_policy_uuid: "{{ ipsla_mon_pol.current.uuid }}"
- destination_ip: 1.1.1.2
scope_type: l3out
scope_uuid: "{{ l3out.current.uuid }}"
ipsla_monitoring_policy:
name: ansible_test_ipsla_monitoring_policy
state: present
register: ipsla_track_list
- name: Update an IPSLA Track List name with UUID
cisco.mso.ndo_ipsla_track_list:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
ipsla_track_list: ansible_test_ipsla_track_list_updated
ipsla_track_list_uuid: "{{ ipsla_track_list.current.uuid }}"
state: present
register: ipsla_track_list_update
- name: Query an IPSLA Track List with name
cisco.mso.ndo_ipsla_track_list:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
ipsla_track_list: ansible_test_ipsla_track_list
state: query
register: query_one
- name: Query an IPSLA Track List with UUID
cisco.mso.ndo_ipsla_track_list:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
ipsla_track_list_uuid: "{{ query_one.current.uuid }}"
state: query
register: query_one_uuid
- name: Query all IPSLA Track Lists in the template
cisco.mso.ndo_ipsla_track_list:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
state: query
register: query_all
- name: Remove all members from an IPSLA Track List
cisco.mso.ndo_ipsla_track_list:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
ipsla_track_list: ansible_test_ipsla_track_list
type: percentage
members: []
state: present
- name: Delete an IPSLA Track List with name
cisco.mso.ndo_ipsla_track_list:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
ipsla_track_list: ansible_test_ipsla_track_list
state: absent
- name: Delete an IPSLA Track List with UUID
cisco.mso.ndo_ipsla_track_list:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
ipsla_track_list_uuid: "{{ query_one.current.uuid }}"
state: absent
© 2012–2018 Michael DeHaan
© 2018–2025 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/latest/collections/cisco/mso/ndo_ipsla_track_list_module.html