Skip to content
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

Federated fabric initial overlay management #205

Draft
wants to merge 28 commits into
base: develop
Choose a base branch
from

Conversation

mthurstocisco
Copy link
Collaborator

@mthurstocisco mthurstocisco commented Oct 16, 2024

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.global
  • vxlan.topology
  • vxlan.underlay
  • vxlan.overlay_services
  • vxlan.overlay_extensions
  • vxlan.policy
  • defaults.vxlan
  • other

Proposed Changes

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

@mthurstocisco mthurstocisco added the wip work-in-progress label Oct 16, 2024
vag = vrf_attach_group.get("name")
hn = switch.get("hostname")
results.append("VRF attach group {0} hostname {1} does not match any switch in the topology".format(vag, hn))
if len(switches) > 0:
Copy link
Collaborator

Choose a reason for hiding this comment

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

In a federated fabric we don't have swtiches

@netascode netascode deleted a comment from mthurstocisco Oct 18, 2024
mthurstocisco and others added 5 commits October 18, 2024 15:18
* Created action plugin for existing fabric links checking

* Freeform int pre prov (#217)

* Added support for interface freeform as well as allowing framework to
proceed when no overlay services are supplied

* Added support for external fabric onboarding. Does not include creation
of the fabric as this is TODO. So fabric needs to exist in NDFC first

* remove fix for tags issue

* Re-inserting space at the top of the file
if 'freeforms' in dm_check['keys_not_found'] or \
'freeforms' in dm_check['keys_no_data']:
self.model_data['vxlan']['topology']['switches'][list_index]['freeforms'] = []
if self.model_data['vxlan'].get('topology', None) is not None:
Copy link
Collaborator

Choose a reason for hiding this comment

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

I had planned to address the fact that there might not be topology data in a slightly different way. The changes are not in the develop branch yet but they are in our msd branch. Instead of the if check here, earlier I add the following check and set the topology data to an empty dict. That way we still build out the entire structure even if it's empty.

https://github.com/netascode/ansible-dc-vxlan/blob/msd/plugins/action/common/prepare_plugins/prep_001_list_defaults.py#L76

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wip work-in-progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants