Debian Codegraph @

ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_igmp_module.rst

raw
1 .. _cisco.nxos.nxos_igmp_module:
2
3
4 ********************
5 cisco.nxos.nxos_igmp
6 ********************
7
8 **Manages IGMP global configuration.**
9
10
11 Version added: 1.0.0
12
13 .. contents::
14 :local:
15 :depth: 1
16
17
18 Synopsis
19 --------
20 - Manages IGMP global configuration configuration settings.
21
22
23
24
25 Parameters
26 ----------
27
28 .. raw:: html
29
30 <table border=0 cellpadding=0 class="documentation-table">
31 <tr>
32 <th colspan="1">Parameter</th>
33 <th>Choices/<font color="blue">Defaults</font></th>
34 <th width="100%">Comments</th>
35 </tr>
36 <tr>
37 <td colspan="1">
38 <div class="ansibleOptionAnchor" id="parameter-"></div>
39 <b>enforce_rtr_alert</b>
40 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
41 <div style="font-size: small">
42 <span style="color: purple">boolean</span>
43 </div>
44 </td>
45 <td>
46 <ul style="margin: 0; padding: 0"><b>Choices:</b>
47 <li>no</li>
48 <li>yes</li>
49 </ul>
50 </td>
51 <td>
52 <div>Enables or disables the enforce router alert option check for IGMPv2 and IGMPv3 packets.</div>
53 </td>
54 </tr>
55 <tr>
56 <td colspan="1">
57 <div class="ansibleOptionAnchor" id="parameter-"></div>
58 <b>flush_routes</b>
59 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
60 <div style="font-size: small">
61 <span style="color: purple">boolean</span>
62 </div>
63 </td>
64 <td>
65 <ul style="margin: 0; padding: 0"><b>Choices:</b>
66 <li>no</li>
67 <li>yes</li>
68 </ul>
69 </td>
70 <td>
71 <div>Removes routes when the IGMP process is restarted. By default, routes are not flushed.</div>
72 </td>
73 </tr>
74 <tr>
75 <td colspan="1">
76 <div class="ansibleOptionAnchor" id="parameter-"></div>
77 <b>restart</b>
78 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
79 <div style="font-size: small">
80 <span style="color: purple">boolean</span>
81 </div>
82 </td>
83 <td>
84 <ul style="margin: 0; padding: 0"><b>Choices:</b>
85 <li><div style="color: blue"><b>no</b>&nbsp;&larr;</div></li>
86 <li>yes</li>
87 </ul>
88 </td>
89 <td>
90 <div>Restarts the igmp process (using an exec config command).</div>
91 </td>
92 </tr>
93 <tr>
94 <td colspan="1">
95 <div class="ansibleOptionAnchor" id="parameter-"></div>
96 <b>state</b>
97 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
98 <div style="font-size: small">
99 <span style="color: purple">string</span>
100 </div>
101 </td>
102 <td>
103 <ul style="margin: 0; padding: 0"><b>Choices:</b>
104 <li><div style="color: blue"><b>present</b>&nbsp;&larr;</div></li>
105 <li>default</li>
106 </ul>
107 </td>
108 <td>
109 <div>Manages desired state of the resource.</div>
110 </td>
111 </tr>
112 </table>
113 <br/>
114
115
116 Notes
117 -----
118
119 .. note::
120 - Tested against NXOSv 7.3.(0)D1(1) on VIRL
121 - Unsupported for Cisco MDS
122 - When ``state=default``, all supported params will be reset to a default state.
123 - If restart is set to true with other params set, the restart will happen last, i.e. after the configuration takes place.
124 - For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
125 - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
126 - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
127
128
129
130 Examples
131 --------
132
133 .. code-block:: yaml
134
135 - name: Default igmp global params (all params except restart)
136 cisco.nxos.nxos_igmp:
137 state: default
138
139 - name: Ensure the following igmp global config exists on the device
140 cisco.nxos.nxos_igmp:
141 flush_routes: true
142 enforce_rtr_alert: true
143
144 - name: Restart the igmp process
145 cisco.nxos.nxos_igmp:
146 restart: true
147
148
149
150 Return Values
151 -------------
152 Common return values are documented `here <https://docs.ansible.com/ansible/latest/reference_appendices/common_return_values.html#common-return-values>`_, the following are the fields unique to this module:
153
154 .. raw:: html
155
156 <table border=0 cellpadding=0 class="documentation-table">
157 <tr>
158 <th colspan="1">Key</th>
159 <th>Returned</th>
160 <th width="100%">Description</th>
161 </tr>
162 <tr>
163 <td colspan="1">
164 <div class="ansibleOptionAnchor" id="return-"></div>
165 <b>updates</b>
166 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
167 <div style="font-size: small">
168 <span style="color: purple">list</span>
169 </div>
170 </td>
171 <td>always</td>
172 <td>
173 <div>commands sent to the device</div>
174 <br/>
175 <div style="font-size: smaller"><b>Sample:</b></div>
176 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;ip igmp flush-routes&#x27;]</div>
177 </td>
178 </tr>
179 </table>
180 <br/><br/>
181
182
183 Status
184 ------
185
186
187 Authors
188 ~~~~~~~
189
190 - Jason Edelman (@jedelman8)
191 - Gabriele Gerbino (@GGabriele)