Debian Codegraph @

ansible_collections/cisco/nxos/docs/cisco.nxos.nxos_vxlan_vtep_module.rst

raw
1 .. _cisco.nxos.nxos_vxlan_vtep_module:
2
3
4 **************************
5 cisco.nxos.nxos_vxlan_vtep
6 **************************
7
8 **Manages VXLAN Network Virtualization Endpoint (NVE).**
9
10
11 Version added: 1.0.0
12
13 .. contents::
14 :local:
15 :depth: 1
16
17
18 Synopsis
19 --------
20 - Manages VXLAN Network Virtualization Endpoint (NVE) overlay interface that terminates VXLAN tunnels.
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>advertise_virtual_rmac</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>The advertise_virtual_rmac parameter lets BGP to use the VMAC with VIP as next-hop when advertising type-2 routes. Should be used together with advertise_pip parameter from cisco.nxos.nxos_bgp_address_family module.</div>
53 </td>
54 </tr>
55 <tr>
56 <td colspan="1">
57 <div class="ansibleOptionAnchor" id="parameter-"></div>
58 <b>description</b>
59 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
60 <div style="font-size: small">
61 <span style="color: purple">string</span>
62 </div>
63 </td>
64 <td>
65 </td>
66 <td>
67 <div>Description of the NVE interface.</div>
68 </td>
69 </tr>
70 <tr>
71 <td colspan="1">
72 <div class="ansibleOptionAnchor" id="parameter-"></div>
73 <b>global_ingress_replication_bgp</b>
74 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
75 <div style="font-size: small">
76 <span style="color: purple">boolean</span>
77 </div>
78 </td>
79 <td>
80 <ul style="margin: 0; padding: 0"><b>Choices:</b>
81 <li>no</li>
82 <li>yes</li>
83 </ul>
84 </td>
85 <td>
86 <div>Configures ingress replication protocol as bgp for all VNIs. This is available on Nexus 9000 series switches running NX-OS software release 9.2(x) or higher.</div>
87 </td>
88 </tr>
89 <tr>
90 <td colspan="1">
91 <div class="ansibleOptionAnchor" id="parameter-"></div>
92 <b>global_mcast_group_L2</b>
93 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
94 <div style="font-size: small">
95 <span style="color: purple">string</span>
96 </div>
97 </td>
98 <td>
99 </td>
100 <td>
101 <div>Global multicast IP prefix for L2 VNIs or the keyword &#x27;default&#x27;. This is available on Nexus 9000 series switches running NX-OS software release 9.2(x) or higher.</div>
102 </td>
103 </tr>
104 <tr>
105 <td colspan="1">
106 <div class="ansibleOptionAnchor" id="parameter-"></div>
107 <b>global_mcast_group_L3</b>
108 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
109 <div style="font-size: small">
110 <span style="color: purple">string</span>
111 </div>
112 </td>
113 <td>
114 </td>
115 <td>
116 <div>Global multicast IP prefix for L3 VNIs or the keyword &#x27;default&#x27;. This is available on Nexus 9000 series switches running NX-OS software release 9.2(x) or higher.</div>
117 </td>
118 </tr>
119 <tr>
120 <td colspan="1">
121 <div class="ansibleOptionAnchor" id="parameter-"></div>
122 <b>global_suppress_arp</b>
123 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
124 <div style="font-size: small">
125 <span style="color: purple">boolean</span>
126 </div>
127 </td>
128 <td>
129 <ul style="margin: 0; padding: 0"><b>Choices:</b>
130 <li>no</li>
131 <li>yes</li>
132 </ul>
133 </td>
134 <td>
135 <div>Enables ARP suppression for all VNIs. This is available on NX-OS 9K series running 9.2.x or higher.</div>
136 </td>
137 </tr>
138 <tr>
139 <td colspan="1">
140 <div class="ansibleOptionAnchor" id="parameter-"></div>
141 <b>host_reachability</b>
142 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
143 <div style="font-size: small">
144 <span style="color: purple">boolean</span>
145 </div>
146 </td>
147 <td>
148 <ul style="margin: 0; padding: 0"><b>Choices:</b>
149 <li>no</li>
150 <li>yes</li>
151 </ul>
152 </td>
153 <td>
154 <div>Specify mechanism for host reachability advertisement. A Boolean value of &#x27;true&#x27; indicates that BGP will be used for host reachability advertisement. A Boolean value of &#x27;false&#x27; indicates that no protocol is used for host reachability advertisement. Other host reachability advertisement protocols (e.g. OpenFlow, controller, etc.) are not supported.</div>
155 </td>
156 </tr>
157 <tr>
158 <td colspan="1">
159 <div class="ansibleOptionAnchor" id="parameter-"></div>
160 <b>interface</b>
161 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
162 <div style="font-size: small">
163 <span style="color: purple">string</span>
164 / <span style="color: red">required</span>
165 </div>
166 </td>
167 <td>
168 </td>
169 <td>
170 <div>Interface name for the VXLAN Network Virtualization Endpoint.</div>
171 </td>
172 </tr>
173 <tr>
174 <td colspan="1">
175 <div class="ansibleOptionAnchor" id="parameter-"></div>
176 <b>multisite_border_gateway_interface</b>
177 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
178 <div style="font-size: small">
179 <span style="color: purple">string</span>
180 </div>
181 <div style="font-style: italic; font-size: small; color: darkgreen">added in 1.1.0</div>
182 </td>
183 <td>
184 </td>
185 <td>
186 <div>Specify the loopback interface whose IP address should be used for the NVE Multisite Border-gateway Interface. This is available on specific Nexus 9000 series switches running NX-OS 7.0(3)I7(x) or higher. Specify &quot;default&quot; to remove an existing gateway config.</div>
187 </td>
188 </tr>
189 <tr>
190 <td colspan="1">
191 <div class="ansibleOptionAnchor" id="parameter-"></div>
192 <b>shutdown</b>
193 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
194 <div style="font-size: small">
195 <span style="color: purple">boolean</span>
196 </div>
197 </td>
198 <td>
199 <ul style="margin: 0; padding: 0"><b>Choices:</b>
200 <li>no</li>
201 <li>yes</li>
202 </ul>
203 </td>
204 <td>
205 <div>Administratively shutdown the NVE interface.</div>
206 </td>
207 </tr>
208 <tr>
209 <td colspan="1">
210 <div class="ansibleOptionAnchor" id="parameter-"></div>
211 <b>source_interface</b>
212 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
213 <div style="font-size: small">
214 <span style="color: purple">string</span>
215 </div>
216 </td>
217 <td>
218 </td>
219 <td>
220 <div>Specify the loopback interface whose IP address should be used for the NVE interface.</div>
221 </td>
222 </tr>
223 <tr>
224 <td colspan="1">
225 <div class="ansibleOptionAnchor" id="parameter-"></div>
226 <b>source_interface_hold_down_time</b>
227 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
228 <div style="font-size: small">
229 <span style="color: purple">string</span>
230 </div>
231 </td>
232 <td>
233 </td>
234 <td>
235 <div>Suppresses advertisement of the NVE loopback address until the overlay has converged.</div>
236 </td>
237 </tr>
238 <tr>
239 <td colspan="1">
240 <div class="ansibleOptionAnchor" id="parameter-"></div>
241 <b>state</b>
242 <a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
243 <div style="font-size: small">
244 <span style="color: purple">string</span>
245 </div>
246 </td>
247 <td>
248 <ul style="margin: 0; padding: 0"><b>Choices:</b>
249 <li><div style="color: blue"><b>present</b>&nbsp;&larr;</div></li>
250 <li>absent</li>
251 </ul>
252 </td>
253 <td>
254 <div>Determines whether the config should be present or not on the device.</div>
255 </td>
256 </tr>
257 </table>
258 <br/>
259
260
261 Notes
262 -----
263
264 .. note::
265 - Tested against NXOSv 7.3.(0)D1(1) on VIRL
266 - Unsupported for Cisco MDS
267 - The module is used to manage NVE properties, not to create NVE interfaces. Use :ref:`cisco.nxos.nxos_interfaces <cisco.nxos.nxos_interfaces_module>` if you wish to do so.
268 - ``state=absent`` removes the interface.
269 - Default, where supported, restores params default value.
270 - For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>`
271 - For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>`
272 - For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_.
273
274
275
276 Examples
277 --------
278
279 .. code-block:: yaml
280
281 - cisco.nxos.nxos_vxlan_vtep:
282 interface: nve1
283 description: default
284 host_reachability: true
285 source_interface: Loopback0
286 source_interface_hold_down_time: 30
287 shutdown: default
288 multisite_border_gateway_interface: Loopback0
289
290
291
292 Return Values
293 -------------
294 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:
295
296 .. raw:: html
297
298 <table border=0 cellpadding=0 class="documentation-table">
299 <tr>
300 <th colspan="1">Key</th>
301 <th>Returned</th>
302 <th width="100%">Description</th>
303 </tr>
304 <tr>
305 <td colspan="1">
306 <div class="ansibleOptionAnchor" id="return-"></div>
307 <b>commands</b>
308 <a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a>
309 <div style="font-size: small">
310 <span style="color: purple">list</span>
311 </div>
312 </td>
313 <td>always</td>
314 <td>
315 <div>commands sent to the device</div>
316 <br/>
317 <div style="font-size: smaller"><b>Sample:</b></div>
318 <div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">[&#x27;interface nve1&#x27;, &#x27;source-interface loopback0&#x27;, &#x27;source-interface hold-down-time 30&#x27;, &#x27;description simple description&#x27;, &#x27;shutdown&#x27;, &#x27;host-reachability protocol bgp&#x27;, &#x27;multisite border-gateway interface loopback0&#x27;]</div>
319 </td>
320 </tr>
321 </table>
322 <br/><br/>
323
324
325 Status
326 ------
327
328
329 Authors
330 ~~~~~~~
331
332 - Gabriele Gerbino (@GGabriele)