cisco.mso.ndo_tenant_igmp_interface_policy module – Manage Internet Group Management Protocol (IGMP) Interface Policies in Tenant Policy Templates on Cisco Nexus Dashboard Orchestrator (NDO).
Note
This module is part of the cisco.mso collection (version 2.10.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_tenant_igmp_interface_policy
.
Synopsis
Manage IGMP Interface Policies in Tenant Policy Templates on Cisco Nexus Dashboard Orchestrator (NDO).
This module is only supported on ND v3.1 (NDO v4.3) and later.
Requirements
The below requirements are needed on the host that executes this module.
Multi Site Orchestrator v2.1 or newer
Parameters
Parameter |
Comments |
---|---|
The description of the IGMP Interface Policy. Providing an empty string will remove the |
|
Enable or disable fast leave. Defaults to Choices:
|
|
The group timeout value in seconds. Defaults to 260 when unset during creation. The valid range is from 3 to 65535. |
|
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 |
|
The IGMP version of the IGMP Interface Policy. Defaults to Choices:
|
|
The last member query count value. Defaults to 2 when unset during creation. The valid range is from 1 to 5. |
|
The last member query response time value in seconds. Defaults to 1 when unset during creation. The valid range is from 1 to 25. |
|
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 |
|
The maximum multicast entries value. Defaults to 4294967295 when unset during creation. The valid range is from 1 to 4294967295. This parameter is only applicable when the |
|
The name of the IGMP Interface Policy. |
|
Influence the output of this MSO module.
If the value is not specified in the task, the value of environment variable Choices:
|
|
The password to use for authentication. If the value is not specified in the task, the value of environment variables |
|
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 |
|
The querier timeout value in seconds. Defaults to 255 when unset during creation. The valid range is from 1 to 65535. |
|
The query interval value in seconds. Defaults to 125 when unset during creation. The valid range is from 1 to 18000. |
|
The query response interval value in seconds. Defaults to 10 when unset during creation. The valid range is from 1 to 25. |
|
Enable or disable reporting link-local groups. Defaults to Choices:
|
|
The Route Map Policy for Multicast. This parameter can be used instead of If both parameter are used, Providing an empty map will remove the |
|
The name of the Route Map Policy for Multicast. |
|
The UUID of the report policy route map. Providing an empty string will remove the |
|
The reserved multicast entries value. Defaults to 0 when unset during creation. The valid range is from 0 to 4294967295. |
|
The robustness variable value. Defaults to 2 when unset during creation. The valid range is from 1 to 7. |
|
The startup query count value. Defaults to 2 when unset during creation. The valid range is from 1 to 10. |
|
The startup query interval value in seconds. Defaults to 31 when unset during creation. The valid range is from 1 to 18000. |
|
Use Use Use Choices:
|
|
The Route Map Policy for Multicast. This parameter can be used instead of If both parameter are used, Providing an empty map will remove the |
|
The name of the Route Map Policy for Multicast. |
|
The UUID of the state limit route map. Providing an empty string will remove the |
|
The Route Map Policy for Multicast. This parameter can be used instead of If both parameter are used, Providing an empty map will remove the |
|
The name of the Route Map Policy for Multicast. |
|
The UUID of the static report route map. Providing an empty string will remove the |
|
The name of the tenant template. This parameter or |
|
The ID of the L3Out template. This parameter or |
|
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 |
|
If If the value is not specified in the task, the value of environment variable The default is Choices:
|
|
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:
|
|
The username to use for authentication. If the value is not specified in the task, the value of environment variables |
|
The UUID of the IGMP Interface Policy. This parameter is required when the IGMP Interface Policy |
|
If This should only set to If the value is not specified in the task, the value of environment variable The default is Choices:
|
|
Enable or disable IGMP version 3 ASM. Defaults to Choices:
|
Notes
Note
The
template
must exist before using this module in your playbook. Use cisco.mso.ndo_template to create the Tenant template.The
state_limit_route_map_uuid
orstate_limit_route_map
requires Route Map Policy for Multicast. Thereport_policy_route_map_uuid
orreport_policy_route_map
requires Route Map Policy for Multicast. Thestatic_report_route_map_uuid
orstatic_report_route_map
requires Route Map Policy for Multicast. Use cisco.mso.ndo_route_map_policy_multicast to create the Route Map Policy for Multicast.This module was written to support Multi Site Orchestrator v2.1 or newer. Some or all functionality may not work on earlier versions.
See Also
See also
- cisco.mso.ndo_template
Manage Templates on Cisco Nexus Dashboard Orchestrator (NDO).
- cisco.mso.ndo_route_map_policy_multicast
Manage Multicast Route Map Policies on Cisco Nexus Dashboard Orchestrator (NDO).
Examples
- name: Create an IGMP Interface Policy
cisco.mso.ndo_tenant_igmp_interface_policy:
template: ansible_tenant_template
name: test_igmp_interface_policy
description: Test Description
version3_asm: enabled
fast_leave: enabled
report_link_local_groups: enabled
igmp_version: v3
group_timeout: 260
query_interval: 125
query_response_interval: 10
last_member_count: 2
last_member_response_time: 1
startup_query_count: 2
startup_query_interval: 31
querier_timeout: 255
robustness_variable: 2
state_limit_route_map_uuid: "2be2b2e6-727d-4534-9d09-4abc36ed0194"
report_policy_route_map_uuid: "{{ route_map_policy_for_multicast.current.uuid }}"
static_report_route_map:
name: TestStaticReportRouteMap
maximum_multicast_entries: 4294967295
reserved_multicast_entries: 4294967
state: present
register: igmp_interface_policy
- name: Update an IGMP Interface Policy name with the UUID
cisco.mso.ndo_tenant_igmp_interface_policy:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
name: test_igmp_interface_policy_updated
uuid: "{{ igmp_interface_policy.current.uuid }}"
state: present
register: igmp_interface_policy_update
- name: Query an IGMP Interface Policy with the name
cisco.mso.ndo_tenant_igmp_interface_policy:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
name: test_igmp_interface_policy
state: query
register: query
- name: Query an IGMP Interface Policy with the UUID
cisco.mso.ndo_tenant_igmp_interface_policy:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
uuid: "{{ igmp_interface_policy.current.uuid }}"
state: query
register: query_uuid
- name: Query all IGMP Interface Policies in the template
cisco.mso.ndo_tenant_igmp_interface_policy:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
state: query
register: query_all
- name: Delete an IGMP Interface Policy with the name
cisco.mso.ndo_tenant_igmp_interface_policy:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
name: test_igmp_interface_policy
state: absent
- name: Delete an IGMP Interface Policy with the UUID
cisco.mso.ndo_tenant_igmp_interface_policy:
host: mso_host
username: admin
password: SomeSecretPassword
template: ansible_tenant_template
uuid: "{{ igmp_interface_policy.current.uuid }}"
state: absent