-
Notifications
You must be signed in to change notification settings - Fork 25
Expand Global iBGP Fabric Params #574
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Changes from all commits
06d5765
6d98d01
6ecca27
e24c549
3168aa4
3f72f22
f1f7ad9
f2ab939
1ad7619
d68cce0
bf5ea3a
31834a1
153cb4a
1e86aaa
5d44875
67240e0
df367e9
760e97a
7e4faad
6475cf0
e27f2f6
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -14,4 +14,7 @@ | |
| LINK_STATE_ROUTING: {{ vxlan.underlay.general.routing_protocol | default(defaults.vxlan.underlay.general.routing_protocol) }} | ||
| 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 }} | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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?
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| {% endif %} | ||
| {# #} | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -76,3 +76,4 @@ | |
| {% 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) }} | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Same question here about other fabric types
Collaborator
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's enable this in the other fabric types where applicable |
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -62,3 +62,17 @@ | |
| ansible.builtin.set_fact: | ||
| ndfc_version: "{{ ndfc_version.response.DATA.version }}" | ||
| tags: "{{ nac_tags.connectivity_check }}" # Tags defined in roles/common_global/vars/main.yml | ||
|
|
||
| - name: Get Cisco Nexus Dashboard Fabric Controller Features | ||
| cisco.dcnm.dcnm_rest: | ||
| method: GET | ||
| path: /appcenter/cisco/ndfc/api/v1/fm/features | ||
|
Collaborator
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
| register: ndfc_features | ||
| tags: "{{ nac_tags.connectivity_check }}" # Tags defined in roles/common_global/vars/main.yml | ||
|
|
||
| - name: Set Cisco Nexus Dashboard Fabric Controller Features Var | ||
| ansible.builtin.set_fact: | ||
| ndfc_features: "{{ features_dict | dict2items | json_query('[*].value.{name: name, admin_state: admin_state}') }}" | ||
| vars: | ||
| features_dict: "{{ ndfc_features.response.DATA.data.features }}" | ||
| tags: "{{ nac_tags.connectivity_check }}" # Tags defined in roles/common_global/vars/main.yml | ||
There was a problem hiding this comment.
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?
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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