-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Cisco ACI: Add flag to bypass potential OOB IP comparison for topology #22572
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: master
Are you sure you want to change the base?
Conversation
|
✅ Tests 🎉 All green!❄️ No new flaky tests detected 🔗 Commit SHA: c866f57 | Docs | Datadog PR Page | Was this helpful? Give us feedback! |
Codecov Report❌ Patch coverage is Additional details and impacted files🚀 New features to boost your workflow:
|
|
|
||
| # Config for submitting device/interface metadata to NDM | ||
| self.send_ndm_metadata = self.instance.get('send_ndm_metadata', False) | ||
| self.topology_skips_ip_match = self.instance.get('topology_skips_ip_match', False) |
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.
if we're adding a new flag - here's a pr with other stuff to update with this !
https://github.com/DataDog/integrations-core/pull/18099/files
also, uncertain how clear to the customer how clear this may be 🤔 may need to riff on this one a bit
| openstacksdk,PyPI,Apache-2.0,Copyright OpenStack <openstack-discuss@lists.openstack.org> | ||
| orjson,PyPI,Apache-2.0, | ||
| orjson,PyPI,MIT, | ||
| orjson,PyPI,MPL-2.0, |
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.
I'm mildly surprised that we pick up the change in license here despite not changing the version of orjson.
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.
I've got no idea why we caught this, my guess is that it was just unlucky timing
|
When do we expect to have different devices with the same Cisco DN (i.e. when would anyone not want this config flag set)? |
@dplepage-dd as far as I understand, the Cisco DN should be truly unique; my reason for pushing this as a flag is that I'm largely just concerned about what to do if that assumption is wrong. E.g. customers start upgrading and it's breaking their topology + devices. My plan was to add metrics to this w/ the flag, and we can evaluate on a follow-up release to see if it seems safe to delete the check entirely |
What does this PR do?
This PR addresses an issue that can happen when comparing data from Fabric nodes API (
/api/mo/topology.json) to the LLDP API (/api/node/class/lldpAdjEp.json).It appears that these endpoints will return different IPs for nodes. This PR loosens a constraint that requires the IPs to match before tagging the DataDog Device ID. This new behavior is only available when the feature is enabled in config for now.
Motivation
A customer reported this issue.
Review checklist (to be filled by reviewers)
qa/skip-qalabel if the PR doesn't need to be tested during QA.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged