Skip to content

Use a device's UUID instead of a random one when parsing inventory #615

@joewesch

Description

@joewesch
ISSUE TYPE
  • Feature Idea
SUMMARY

Currently, the inventory plugin randomly generates a UUID for all devices that don't have a name:

return host["name"] or str(uuid.uuid4())

Instead, I think we should use the device's UUID that we got back from Nautobot instead of using a randomly generated one.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions