| 1 |
.. _cisco.nxos.nxos_vxlan_vtep_vni_module: |
| 2 |
|
| 3 |
|
| 4 |
****************************** |
| 5 |
cisco.nxos.nxos_vxlan_vtep_vni |
| 6 |
****************************** |
| 7 |
|
| 8 |
**Creates a Virtual Network Identifier member (VNI)** |
| 9 |
|
| 10 |
|
| 11 |
Version added: 1.0.0 |
| 12 |
|
| 13 |
.. contents:: |
| 14 |
:local: |
| 15 |
:depth: 1 |
| 16 |
|
| 17 |
|
| 18 |
Synopsis |
| 19 |
-------- |
| 20 |
- Creates a Virtual Network Identifier member (VNI) for an NVE overlay interface. |
| 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>assoc_vrf</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>This attribute is used to identify and separate processing VNIs that are associated with a VRF and used for routing. The VRF and VNI specified with this command must match the configuration of the VNI under the VRF.</div> |
| 53 |
</td> |
| 54 |
</tr> |
| 55 |
<tr> |
| 56 |
<td colspan="1"> |
| 57 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 58 |
<b>ingress_replication</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 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 66 |
<li>bgp</li> |
| 67 |
<li>static</li> |
| 68 |
<li>default</li> |
| 69 |
</ul> |
| 70 |
</td> |
| 71 |
<td> |
| 72 |
<div>Specifies mechanism for host reachability advertisement.</div> |
| 73 |
</td> |
| 74 |
</tr> |
| 75 |
<tr> |
| 76 |
<td colspan="1"> |
| 77 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 78 |
<b>interface</b> |
| 79 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 80 |
<div style="font-size: small"> |
| 81 |
<span style="color: purple">string</span> |
| 82 |
/ <span style="color: red">required</span> |
| 83 |
</div> |
| 84 |
</td> |
| 85 |
<td> |
| 86 |
</td> |
| 87 |
<td> |
| 88 |
<div>Interface name for the VXLAN Network Virtualization Endpoint.</div> |
| 89 |
</td> |
| 90 |
</tr> |
| 91 |
<tr> |
| 92 |
<td colspan="1"> |
| 93 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 94 |
<b>multicast_group</b> |
| 95 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 96 |
<div style="font-size: small"> |
| 97 |
<span style="color: purple">string</span> |
| 98 |
</div> |
| 99 |
</td> |
| 100 |
<td> |
| 101 |
</td> |
| 102 |
<td> |
| 103 |
<div>The multicast group (range) of the VNI. Valid values are string and keyword 'default'.</div> |
| 104 |
</td> |
| 105 |
</tr> |
| 106 |
<tr> |
| 107 |
<td colspan="1"> |
| 108 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 109 |
<b>multisite_ingress_replication</b> |
| 110 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 111 |
<div style="font-size: small"> |
| 112 |
<span style="color: purple">string</span> |
| 113 |
</div> |
| 114 |
<div style="font-style: italic; font-size: small; color: darkgreen">added in 1.1.0</div> |
| 115 |
</td> |
| 116 |
<td> |
| 117 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 118 |
<li>disable</li> |
| 119 |
<li>enable</li> |
| 120 |
<li>optimized</li> |
| 121 |
</ul> |
| 122 |
</td> |
| 123 |
<td> |
| 124 |
<div>Enables multisite ingress replication.</div> |
| 125 |
</td> |
| 126 |
</tr> |
| 127 |
<tr> |
| 128 |
<td colspan="1"> |
| 129 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 130 |
<b>peer_list</b> |
| 131 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 132 |
<div style="font-size: small"> |
| 133 |
<span style="color: purple">list</span> |
| 134 |
/ <span style="color: purple">elements=string</span> |
| 135 |
</div> |
| 136 |
</td> |
| 137 |
<td> |
| 138 |
</td> |
| 139 |
<td> |
| 140 |
<div>Set the ingress-replication static peer list. Valid values are an array, a space-separated string of ip addresses, or the keyword 'default'.</div> |
| 141 |
</td> |
| 142 |
</tr> |
| 143 |
<tr> |
| 144 |
<td colspan="1"> |
| 145 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 146 |
<b>state</b> |
| 147 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 148 |
<div style="font-size: small"> |
| 149 |
<span style="color: purple">string</span> |
| 150 |
</div> |
| 151 |
</td> |
| 152 |
<td> |
| 153 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 154 |
<li><div style="color: blue"><b>present</b> ←</div></li> |
| 155 |
<li>absent</li> |
| 156 |
</ul> |
| 157 |
</td> |
| 158 |
<td> |
| 159 |
<div>Determines whether the config should be present or not on the device.</div> |
| 160 |
</td> |
| 161 |
</tr> |
| 162 |
<tr> |
| 163 |
<td colspan="1"> |
| 164 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 165 |
<b>suppress_arp</b> |
| 166 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 167 |
<div style="font-size: small"> |
| 168 |
<span style="color: purple">boolean</span> |
| 169 |
</div> |
| 170 |
</td> |
| 171 |
<td> |
| 172 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 173 |
<li>no</li> |
| 174 |
<li>yes</li> |
| 175 |
</ul> |
| 176 |
</td> |
| 177 |
<td> |
| 178 |
<div>Suppress arp under layer 2 VNI.</div> |
| 179 |
</td> |
| 180 |
</tr> |
| 181 |
<tr> |
| 182 |
<td colspan="1"> |
| 183 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 184 |
<b>suppress_arp_disable</b> |
| 185 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 186 |
<div style="font-size: small"> |
| 187 |
<span style="color: purple">boolean</span> |
| 188 |
</div> |
| 189 |
</td> |
| 190 |
<td> |
| 191 |
<ul style="margin: 0; padding: 0"><b>Choices:</b> |
| 192 |
<li>no</li> |
| 193 |
<li>yes</li> |
| 194 |
</ul> |
| 195 |
</td> |
| 196 |
<td> |
| 197 |
<div>Overrides the global ARP suppression config. This is available on NX-OS 9K series running 9.2.x or higher.</div> |
| 198 |
</td> |
| 199 |
</tr> |
| 200 |
<tr> |
| 201 |
<td colspan="1"> |
| 202 |
<div class="ansibleOptionAnchor" id="parameter-"></div> |
| 203 |
<b>vni</b> |
| 204 |
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a> |
| 205 |
<div style="font-size: small"> |
| 206 |
<span style="color: purple">string</span> |
| 207 |
/ <span style="color: red">required</span> |
| 208 |
</div> |
| 209 |
</td> |
| 210 |
<td> |
| 211 |
</td> |
| 212 |
<td> |
| 213 |
<div>ID of the Virtual Network Identifier.</div> |
| 214 |
</td> |
| 215 |
</tr> |
| 216 |
</table> |
| 217 |
<br/> |
| 218 |
|
| 219 |
|
| 220 |
Notes |
| 221 |
----- |
| 222 |
|
| 223 |
.. note:: |
| 224 |
- Tested against NXOSv 7.3.(0)D1(1) on VIRL |
| 225 |
- Unsupported for Cisco MDS |
| 226 |
- default, where supported, restores params default value. |
| 227 |
- For information on using CLI and NX-API see the :ref:`NXOS Platform Options guide <nxos_platform_options>` |
| 228 |
- For more information on using Ansible to manage network devices see the :ref:`Ansible Network Guide <network_guide>` |
| 229 |
- For more information on using Ansible to manage Cisco devices see the `Cisco integration page <https://www.ansible.com/integrations/networks/cisco>`_. |
| 230 |
|
| 231 |
|
| 232 |
|
| 233 |
Examples |
| 234 |
-------- |
| 235 |
|
| 236 |
.. code-block:: yaml |
| 237 |
|
| 238 |
- cisco.nxos.nxos_vxlan_vtep_vni: |
| 239 |
interface: nve1 |
| 240 |
vni: 6000 |
| 241 |
ingress_replication: default |
| 242 |
multisite_ingress_replication: enable |
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
Return Values |
| 247 |
------------- |
| 248 |
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: |
| 249 |
|
| 250 |
.. raw:: html |
| 251 |
|
| 252 |
<table border=0 cellpadding=0 class="documentation-table"> |
| 253 |
<tr> |
| 254 |
<th colspan="1">Key</th> |
| 255 |
<th>Returned</th> |
| 256 |
<th width="100%">Description</th> |
| 257 |
</tr> |
| 258 |
<tr> |
| 259 |
<td colspan="1"> |
| 260 |
<div class="ansibleOptionAnchor" id="return-"></div> |
| 261 |
<b>commands</b> |
| 262 |
<a class="ansibleOptionLink" href="#return-" title="Permalink to this return value"></a> |
| 263 |
<div style="font-size: small"> |
| 264 |
<span style="color: purple">list</span> |
| 265 |
</div> |
| 266 |
</td> |
| 267 |
<td>always</td> |
| 268 |
<td> |
| 269 |
<div>commands sent to the device</div> |
| 270 |
<br/> |
| 271 |
<div style="font-size: smaller"><b>Sample:</b></div> |
| 272 |
<div style="font-size: smaller; color: blue; word-wrap: break-word; word-break: break-all;">['interface nve1', 'member vni 6000', 'multisite ingress-replication']</div> |
| 273 |
</td> |
| 274 |
</tr> |
| 275 |
</table> |
| 276 |
<br/><br/> |
| 277 |
|
| 278 |
|
| 279 |
Status |
| 280 |
------ |
| 281 |
|
| 282 |
|
| 283 |
Authors |
| 284 |
~~~~~~~ |
| 285 |
|
| 286 |
- Gabriele Gerbino (@GGabriele) |