Skip to content

Commit

Permalink
Merge pull request #264 from CiscoDevNet/3.4.2
Browse files Browse the repository at this point in the history
Release 3.4.2
  • Loading branch information
praveenramoorthy authored Sep 12, 2023
2 parents 5d4ebde + 1b7c4bb commit 4bd170a
Show file tree
Hide file tree
Showing 14 changed files with 1,720 additions and 116 deletions.
462 changes: 462 additions & 0 deletions CHANGELOG.rst

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ We welcome community contributions to this collection. If you find problems, ple

## Changelogs

* [Changelog](https://github.com/CiscoDevNet/ansible-dcnm/blob/main/CHANGELOG.md)
* [Changelog](https://github.com/CiscoDevNet/ansible-dcnm/blob/main/CHANGELOG.rst)

## More information

Expand Down
50 changes: 47 additions & 3 deletions docs/cisco.dcnm.dcnm_interface_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -804,7 +804,7 @@ Parameters
<b>Default:</b><br/><div style="color: blue">""</div>
</td>
<td>
<div>IPV4 address of the interface.</div>
<div>IPv4 address of the interface.</div>
</td>
</tr>
<tr>
Expand All @@ -822,7 +822,7 @@ Parameters
<b>Default:</b><br/><div style="color: blue">""</div>
</td>
<td>
<div>IPV6 address of the interface.</div>
<div>IPv6 address of the interface.</div>
</td>
</tr>
<tr>
Expand All @@ -840,10 +840,16 @@ Parameters
<td>
<ul style="margin: 0; padding: 0"><b>Choices:</b>
<li>lo</li>
<li>fabric</li>
<li>mpls</li>
</ul>
</td>
<td>
<div>Interface mode</div>
<div>There are several modes for loopback interfaces.</div>
<div>Mode &#x27;lo&#x27; is used to create, modify and delete non fabric loopback interfaces using policy &#x27;int_loopback&#x27;.</div>
<div>Mode &#x27;fabric&#x27; is used to modify loopbacks created when the fabric is first created using policy &#x27;int_fabric_loopback_11_1&#x27;</div>
<div>Mode &#x27;mpls&#x27; is used to modify loopbacks created when the fabric is first created using policy &#x27;int_mpls_loopback&#x27;</div>
<div>Mode &#x27;fabric&#x27; and &#x27;mpls&#x27; interfaces can be modified but not created or deleted.</div>
</td>
</tr>
<tr>
Expand All @@ -864,6 +870,24 @@ Parameters
<div>Route tag associated with the interface IP.</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>secondary_ipv4_addr</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">string</span>
</div>
</td>
<td>
<b>Default:</b><br/><div style="color: blue">""</div>
</td>
<td>
<div>Secondary IP address of the nve interface loopback</div>
</td>
</tr>

<tr>
<td class="elbow-placeholder"></td>
Expand Down Expand Up @@ -2589,6 +2613,26 @@ Examples
- no shutdown
description: "loopback interface 100 configuration - replaced"
## Loopback Interfaces Created During Fabric Creation
- name: Mange Fabric loopback interfaces
cisco.dcnm.dcnm_interface:
fabric: mmudigon-fabric
state: merged
config:
- name: lo1 # This is usually lo0 or lo1 created during fabric creation
type: lo
switch:
- "192.172.1.1" # provide the switch where to deploy the config
deploy: true # choose from [true, false]
profile:
admin_state: false # choose from [true, false]
mode: fabric # This must be set to 'fabric' for fabric loopback interfaces
secondary_ipv4_addr: 172.16.5.1 # secondary ipv4 address for loopback interface
route_tag: "100" # Routing Tag for the interface
cmds: # Freeform config
- no shutdown
description: "Fabric interface managed by Ansible"
# To delete or reset all interfaces on all switches in the fabric
- name: Delete loopback interfaces
cisco.dcnm.dcnm_interface:
Expand Down
186 changes: 182 additions & 4 deletions docs/cisco.dcnm.dcnm_links_module.rst
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,47 @@ Parameters
<div>This parameter is required only if template is &#x27;ext_evpn_multisite_overlay_setup&#x27;.</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>dci_routing_proto</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">string</span>
</div>
</td>
<td>
<ul style="margin: 0; padding: 0"><b>Choices:</b>
<li><div style="color: blue"><b>is-is</b>&nbsp;&larr;</div></li>
<li>ospf</li>
</ul>
</td>
<td>
<div>Routing protocol used on the DCI MPLS link</div>
<div>This parameter is applicable only if template is `ext_vxlan_mpls_underlay_setup` and `mpls_fabric` is `SR`</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>dci_routing_tag</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">string</span>
</div>
</td>
<td>
<b>Default:</b><br/><div style="color: blue">"MPLS_UNDERLAY"</div>
</td>
<td>
<div>Routing Process Tag of DCI Underlay</div>
<div>This parameter is applicable only if template is `ext_vxlan_mpls_underlay_setup`</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
Expand Down Expand Up @@ -216,7 +257,11 @@ Parameters
</td>
<td>
<div>BGP ASN number on the destination fabric.</div>
<div>This parameter is required only if template is &#x27;ext_fabric_setup&#x27; or &#x27;ext_multisite_underlay_setup&#x27;. or &quot;ext_evpn_multisite_overlay_setup&quot;</div>
<div>Required for below templates</div>
<div>ext_fabric_setup</div>
<div>ext_multisite_underlay_setup</div>
<div>ext_evpn_multisite_overlay_setup</div>
<div>ext_vxlan_mpls_overlay_setup</div>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -309,6 +354,25 @@ Parameters
<div>This parameter is applicable only if template is &#x27;int_intra_fabric_ipv6_link_local&#x27; or &#x27;int_intra_fabric_num_link&#x27; or &#x27;int_intra_fabric_unnum_link&#x27;.</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>global_block_range</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">string</span>
</div>
</td>
<td>
<b>Default:</b><br/><div style="color: blue">"16000-23999"</div>
</td>
<td>
<div>For Segment Routing binding</div>
<div>This parameter is applicable only if template is `ext_vxlan_mpls_underlay_setup` and `mpls_fabric` is `SR`</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
Expand Down Expand Up @@ -387,7 +451,9 @@ Parameters
</td>
<td>
<div>IPV4 address of the source interface with mask.</div>
<div>This parameter is required only if template is &#x27;ext_fabric_setup&#x27; or &#x27;ext_multisite_underlay_setup&#x27;.</div>
<div>Required for below templates</div>
<div>ext_fabric_setup</div>
<div>ext_multisite_underlay_setup</div>
</td>
</tr>
<tr>
Expand All @@ -409,6 +475,28 @@ Parameters
<div>This parameter is required only if template is &#x27;ext_multisite_underlay_setup&#x27;.</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>mpls_fabric</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">string</span>
</div>
</td>
<td>
<ul style="margin: 0; padding: 0"><b>Choices:</b>
<li><div style="color: blue"><b>SR</b>&nbsp;&larr;</div></li>
<li>LDP</li>
</ul>
</td>
<td>
<div>MPLS LDP or Segment-Routing</div>
<div>This parameter is applicable only if template is `ext_vxlan_mpls_underlay_setup`.</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
Expand Down Expand Up @@ -445,7 +533,31 @@ Parameters
</td>
<td>
<div>IPV4 address of the neighbor switch on the destination fabric.</div>
<div>This parameter is required only if template is &#x27;ext_fabric_setup&#x27; or &#x27;ext_multisite_underlay_setup&#x27; or &quot;ext_evpn_multisite_overlay_setup&quot;</div>
<div>Required for below templates</div>
<div>ext_fabric_setup</div>
<div>ext_multisite_underlay_setup</div>
<div>ext_evpn_multisite_overlay_setup</div>
<div>ext_vxlan_mpls_underlay_setup</div>
<div>ext_vxlan_mpls_overlay_setup</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>ospf_area_id</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">string</span>
</div>
</td>
<td>
<b>Default:</b><br/><div style="color: blue">"0.0.0.0"</div>
</td>
<td>
<div>OSPF Area ID in IP address format</div>
<div>This parameter is applicable only if template is `ext_vxlan_mpls_underlay_setup` and `dci_routing_proto` is `ospf`</div>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -549,6 +661,25 @@ Parameters
<div>This parameter is required only if template is &#x27;int_intra_fabric_num_link&#x27; or &#x27;ios_xe_int_intra_fabric_num_link&#x27; or &#x27;int_intra_vpc_peer_keep_alive_link&#x27;.</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>peer1_sr_mpls_index</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">integer</span>
</div>
</td>
<td>
<b>Default:</b><br/><div style="color: blue">"0"</div>
</td>
<td>
<div>Unique SR SID index for the source border</div>
<div>This parameter is applicable only if template is `ext_vxlan_mpls_underlay_setup` and `mpls_fabric` is `SR`</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
Expand Down Expand Up @@ -650,6 +781,25 @@ Parameters
<div>This parameter is required only if template is &#x27;int_intra_fabric_num_link&#x27; or &#x27;ios_xe_int_intra_fabric_num_link&#x27; or &#x27;int_intra_vpc_peer_keep_alive_link&#x27;.</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
<td colspan="1">
<div class="ansibleOptionAnchor" id="parameter-"></div>
<b>peer2_sr_mpls_index</b>
<a class="ansibleOptionLink" href="#parameter-" title="Permalink to this option"></a>
<div style="font-size: small">
<span style="color: purple">integer</span>
</div>
</td>
<td>
<b>Default:</b><br/><div style="color: blue">"0"</div>
</td>
<td>
<div>Unique SR SID index for the destination border</div>
<div>This parameter is applicable only if template is `ext_vxlan_mpls_underlay_setup` and `mpls_fabric` is `SR`</div>
</td>
</tr>
<tr>
<td class="elbow-placeholder"></td>
<td class="elbow-placeholder"></td>
Expand Down Expand Up @@ -685,7 +835,11 @@ Parameters
</td>
<td>
<div>BGP ASN number on the source fabric.</div>
<div>This parameter is required only if template is &#x27;ext_fabric_setup&#x27; or &#x27;ext_multisite_underlay_setup&#x27; or &quot;ext_evpn_multisite_overlay_setup&quot;</div>
<div>Required for below templates</div>
<div>ext_fabric_setup</div>
<div>ext_multisite_underlay_setup</div>
<div>ext_evpn_multisite_overlay_setup</div>
<div>ext_vxlan_mpls_overlay_setup</div>
</td>
</tr>
<tr>
Expand Down Expand Up @@ -1030,6 +1184,30 @@ Examples
ebpg_auth_key_type: 3 # optional, required only if ebpg_password_enable is true, and inherit_from_msd
# is false. Default is 3
# choose from [3 - 3DES, 7 - Cisco ]
- dst_fabric: "{{ ansible_unnum_fabric }}" # Destination fabric
src_interface: "{{ intf_1_5 }}" # Interface on the Source fabric
dst_interface: "{{ intf_1_5 }}" # Interface on the Destination fabric
src_device: "{{ ansible_num_switch1 }}" # Device on the Source fabric
dst_device: "{{ ansible_unnum_switch1 }}" # Device on the Destination fabric
template: ext_vxlan_mpls_underlay_setup # Template of MPLS handoff underlay link
profile:
ipv4_subnet: 193.168.3.1/30 # IP address of interface in src fabric with the mask
neighbor_ip: 193.168.3.2 # IP address of the interface in dst fabric
mpls_fabric: LDP # MPLS handoff protocol, choose from [LDP, SR]
dci_routing_proto: isis # Routing protocol used on the DCI MPLS link, choose from [is-is, ospf]
- dst_fabric: "{{ ansible_unnum_fabric }}" # Destination fabric
src_interface: Loopback101 # Loopback interface on the Source fabric
dst_interface: Loopback1 # Loopback interface on the Destination fabric
src_device: "{{ ansible_num_switch1 }}" # Device on the Source fabric
dst_device: "{{ ansible_unnum_switch1 }}" # Device on the Destination fabric
template: ext_vxlan_mpls_overlay_setup #Template of MPLS handoff overlay link
profile:
neighbor_ip: 2.2.2.2 . # IP address of the loopback interface of destination device
src_asn: 498278384 # BGP ASN in source fabric
dst_asn: 498278384 # BGP ASN in destination fabric
# FABRIC WITH VPC PAIRED SWITCHES
Expand Down
Loading

0 comments on commit 4bd170a

Please sign in to comment.