ansible-dcnm icon indicating copy to clipboard operation
ansible-dcnm copied to clipboard

Add Fabric Type: External Connectivity Network

Open aj-cruz opened this issue 10 months ago • 3 comments

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Unless I'm missing something there's no way to create a fabric type of External Connectivity Network

New or Affected modules(s):

  • dcnm_fabric

DCNM version

  • V 12.2.2.241

Potential ansible task config

- name: Merge External Connectivity Network fabric
  cisco.dcnm.dcnm_fabric:
    state: merged
    config:
    -   FABRIC_NAME: EXT-FABRIC
        FABRIC_TYPE: EXT
        BGP_AS: 65001

References

Additional context Add any other context or screenshots about the feature request here.

aj-cruz avatar Jun 24 '25 18:06 aj-cruz

@aj-cruz Can you try again with FABRIC_TYPE: External? You should be able to create an External Conn Fabric

- name: Merge External Connectivity Network fabric
  cisco.dcnm.dcnm_fabric:
    state: merged
    config:
    -   FABRIC_NAME: EXT-FABRIC
        FABRIC_TYPE: External
        BGP_AS: 65001

mikewiebe avatar Jun 24 '25 20:06 mikewiebe

@mikewiebe Here's what I got: {"changed": false, "msg": "Merged._verify_payload: Playbook configuration for fabric TEST-EXT contains an invalid FABRIC_TYPE (External). Valid values for FABRIC_TYPE: ['IPFM', 'ISN', 'LAN_CLASSIC', 'VXLAN_EVPN', 'VXLAN_EVPN_MSD']. Bad configuration: {'BGP_AS': 65555, 'FABRIC_NAME': 'TEST-EXT', 'FABRIC_TYPE': 'External'}.", "response": [{}], "result": [{}]}

aj-cruz avatar Jun 25 '25 14:06 aj-cruz

@aj-cruz Your right... sorry for the noise. We don't support this yet and I was mis-remembering that we have been creating it with the dcnm_rest module.

Supported types here

We will work on getting this added. Thanks for raising the issue!

mikewiebe avatar Jun 25 '25 15:06 mikewiebe