Skip to content

Support for eBGP Fabric with ND 4.2 #749

@marehler

Description

@marehler

Which role would this new feature be associated?

cisco.nac_dc_vxlan.dtc.create

New feature description:

NaC VXLAN currently supports Nexus Dashboard 3.2 and 4.1. My customer would like to upgrade from ND 3.2 to ND 4.2. Nexus Dashboard 4.2 still supports the legacy APIs. However there are behavior changes affecting NaC.

For eBGP and AI fabrics, there is a new Automated BGP ASN Allocation feature. It automatically allocates and tracks BGP ASN for leafs, borders and border gateways in Multi-AS mode. It is enabled by default for new fabrics. It cannot be enabled when 'Allow same ASN on leafs' is enabled.

https://www.cisco.com/c/en/us/td/docs/dcn/nd/4x/articles-421/editing-fabric-settings-ai_ml-data-center-vxlan.html

If you are using "Allow Same ASN on Leafs", eBGP fabric creation therefore fails:

TASK [cisco.nac_dc_vxlan.create : Manage Fabric in Nexus Dashboard] ******************************************************************************************
fatal: [vnd42_db_site1]: FAILED! => {"changed": false, "metadata": [{"action": "fabric_create", "check_mode": false, "sequence_number": 1, "state": "merged"}], "msg": "Module failed.", "response": [{"DATA": "Invalid JSON response: Failed to create the fabric with error: \nASN auto allocation (bgpAsnAutoAllocation) and Allow same ASN on leafs (allowLeafSameAs) are mutually exclusive and cannot be enabled simultaneously", "MESSAGE": "Internal Server Error", "METHOD": "POST", "REQUEST_PATH": "https://[2001:420:448b:8006::8]:443/appcenter/cisco/ndfc/api/v1/lan-fabric/rest/control/fabrics/DB-VXLAN-BGP1/Easy_Fabric_eBGP", "RETURN_CODE": 500, "sequence_number": 1}], "result": [{"changed": false, "sequence_number": 1, "success": false}]}

This enhancement request proposes to add support for the Automated BGP ASN Allocation feature, so that customers using manual AS allocation can disable it and create eBGP fabrics using NaC and ND 4.2.

Would this be a new feature requiring a new role?

n/a

Which section of the data model is the new feature related?

vxlan.global

Would this be a new feature requiring a new addition to the data model?

Yes, a 'bgp_asn_auto_allocation' parameter needs to be added to the data model.

---
vxlan:
  global:
    ebgp:
      bgp_asn_auto_allocation: false

New or Affected Documentation for New Feature

Data model section vxlan.global.ebgp.

Potential Ansible Task Config

n/a

Ansible Version

ansible [core 2.16.3]

Ansible Collection Versions

Collection         Version
------------------ -------
ansible.netcommon  7.1.0  
ansible.posix      2.0.0  
ansible.utils      5.1.2  
cisco.dcnm         3.11.0 
cisco.nac_dc_vxlan 0.7.1 
cisco.nxos         9.4.0  
community.general  10.1.0

Cisco Nexus Dashboard Version

4.2.1

Cisco NX-OS Version

10.5(4)

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions