Skip to content

Conversation

@ccoueffe
Copy link
Collaborator

@ccoueffe ccoueffe commented Sep 1, 2025

Related Issue(s)

Related Collection Role

  • cisco.nac_dc_vxlan.validate
  • cisco.nac_dc_vxlan.dtc.create
  • cisco.nac_dc_vxlan.dtc.deploy
  • cisco.nac_dc_vxlan.dtc.remove
  • other

Related Data Model Element

  • vxlan.fabric
  • vxlan.global
  • vxlan.topology
  • vxlan.underlay
  • vxlan.overlay
  • vxlan.overlay_extensions
  • vxlan.policy
  • vxlan.multisite
  • defaults.vxlan
  • other

Proposed Changes

Add new parameter for ibgp vxlan evpn

Test Notes

Cisco NDFC Version

Checklist

  • Latest commit is rebased from develop with merge conflicts resolved
  • New or updates to documentation has been made accordingly
  • Assigned the proper reviewers

@ccoueffe ccoueffe self-assigned this Sep 1, 2025
@ccoueffe ccoueffe added the ready for review PR Ready for Review label Sep 1, 2025
@ccoueffe ccoueffe marked this pull request as ready for review September 1, 2025 14:41
@ccoueffe ccoueffe requested a review from a team as a code owner September 1, 2025 14:41
@mtarking mtarking changed the title Add parameter ibgp Expand Global iBGP Fabric Params Sep 5, 2025
@ccoueffe ccoueffe added the 0.5.1 Release 0.5.1 label Sep 26, 2025
@ccoueffe ccoueffe requested a review from mtarking September 26, 2025 11:02
Get Features list with status for additional parameters in fabric
add Performance monitoring only if feature enable. Feature is checked in connectivity_check as ndfc_version
@juburnet
Copy link
Collaborator

@mikewiebe please take a look at this PR

@juburnet juburnet requested a review from mikewiebe September 29, 2025 15:49
@ccoueffe ccoueffe requested a review from mikewiebe October 21, 2025 17:25
STP_BRIDGE_PRIORITY: {{ vxlan.global.ibgp.spanning_tree.bridge_priority | default(defaults.vxlan.global.ibgp.spanning_tree.bridge_priority) }}
{% endif %}
{% endif %}
POWER_REDUNDANCY_MODE: {{ vxlan.global.ibgp.power_redundancy | default(defaults.vxlan.global.ibgp.power_redundancy) }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do these also need to be considered for other fabric types?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Power could be also in External, ISN or eBGP, but currently only updated for VxLAN_EVPN

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's enable this in the other fabric types where applicable

{% set l3_vlan_range = defaults.vxlan.global.ibgp.layer3_vlan_range.from ~ '-' ~ defaults.vxlan.global.ibgp.layer3_vlan_range.to %}
{% endif %}
VRF_VLAN_RANGE: {{ l3_vlan_range }}
SUBINTERFACE_RANGE: {{ vxlan.global.ibgp.sub_int_range | default(defaults.vxlan.global.ibgp.sub_int_range) }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same question here about other fabric types

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

also available on external and ISN, with eBGP I think it's also present in General instead of resources

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's enable this in the other fabric types where applicable

RR_COUNT: {{ vxlan.global.ibgp.route_reflectors | default(defaults.vxlan.global.ibgp.route_reflectors) }}
ANYCAST_GW_MAC: {{ vxlan.global.ibgp.anycast_gateway_mac | default(defaults.vxlan.global.ibgp.anycast_gateway_mac) }}
{% if (ndfc_features | selectattr('name', 'equalto', 'Performance Monitoring') | selectattr('admin_state', 'equalto', 'enabled') | list | length > 0) %}
PM_ENABLE: {{ vxlan.global.ibgp.performance_monitoring | default(defaults.vxlan.global.ibgp.performance_monitoring) | ansible.builtin.bool }}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we enable this, are there other aspects of programmable reports we need to consider here? What exactly is the use case here for enabling this?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The goal is only to enable the option based on feature status at ND level. The next part report, etc will be manual.

- name: Get Cisco Nexus Dashboard Fabric Controller Features
cisco.dcnm.dcnm_rest:
method: GET
path: /appcenter/cisco/ndfc/api/v1/fm/features
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we need to move this into an action plugin because we very likely need to handle multiple versions of ND. Not sure if this will work in it's current for for ND4.1 but we need to very that.

@mikewiebe
Copy link
Collaborator

@ccoueffe given the additional options and refactoring we need to do here to handle the other fabric types (with testing) and moving the fabric feature logic into an action plugin and determining if we can support ND3.1, ND3.2 and ND4.1 I don't think we can include this in the 0.5.1 release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

0.6.0 Release 0.6.0 ready for review PR Ready for Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants