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

fix: OBS-441 - reconciler: use manufacturer provided with platform + improvements #80

Merged

Conversation

mfiedorowicz
Copy link
Member

@mfiedorowicz mfiedorowicz commented May 22, 2024

  • reconciler: use manufacturer provided with platform
  • diode-sdk-python: populate manufacturer provided in the root level of the Device, Interface and IPAddress envelopes if not provided explicitly within DeviceType, Platform envelopes
  • integration tests to use SDK wrappers of generated protobuf messages

image

…nested messages if empty

Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
…e and device type

Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
@mfiedorowicz mfiedorowicz self-assigned this May 22, 2024
@mfiedorowicz mfiedorowicz requested a review from natm as a code owner May 22, 2024 11:21
Copy link

linear bot commented May 22, 2024

OBS-441 🐞 reconciler: incorrect manufacturer for device type

When ingested device type is provided with manufacturer, instead of using existing manufacturer (object state retrieved from diode-netbox-plugin API) we attempt to create a new manufacturer with same values as existing one.

Reported via slack: https://netboxlabs.slack.com/archives/C06BT2NLF9A/p1716235254021569

Signed-off-by: Michal Fiedorowicz <mfiedorowicz@netboxlabs.com>
@mfiedorowicz mfiedorowicz merged commit fa2c3c9 into develop May 22, 2024
10 checks passed
@mfiedorowicz mfiedorowicz deleted the fix/OBS-441-reconciler-manufacturer-use-existing branch May 22, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant