-
Notifications
You must be signed in to change notification settings - Fork 44
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
Add Metadata to DNA Center Integration #688
base: develop
Are you sure you want to change the base?
Conversation
…sts to help with creation/updating.
…to sync_complete.
…t's not viewable in UI.
…nals to ensure it's always there for assignment.
Looks real promising! |
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.
Looking good, I just have the one minor thing.
Returns: | ||
ObjectMetadata: Metadata object that is created or updated. | ||
""" | ||
if METADATA_FOUND: |
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.
Can we turn this one around so it is a guard clause, like
if not METADATA_FOUND:
continue
I prefer it this way, because its less indentation context to keep in mind when reading the code.
Closes: #632
What's Changed
This PR adds support for the Object Metadata feature that was added in Nautobot 2.3 to the DNA Center integration. The following additions have been made:
MetadataType
Location Metadata
Device Metadata
Prefix Metadata
IPAddress Metadata
To Do