nautobot / nautobot-app-design-builder

https://docs.nautobot.com/projects/design-builder/en/latest/
Other
8 stars 2 forks source link

Allow import of existing data into a Design Deployment #158

Open chadell opened 3 months ago

chadell commented 3 months ago

Environment

Proposed Functionality

Design Deployments allow deploying greenfield network services to generate or update data. With this feature, Design Builder should allow creating a Design Deployment for a brownfield network, adopting existing as if it was generated by Design Builder, providing full capabilities to update or decommission it later.

Use Case

itdependsnetworks commented 3 months ago

Isn't this just a by-product of an idempotent design?

chadell commented 3 months ago

the idea is to allow existing data to be "imported" into a Design Deployment (if it adjusts to it) to manage it from then. similar to what you would do for a new greenfield deployment. Obviously, in both cases, the design should be idempotent, same input -> same output.

itdependsnetworks commented 3 months ago

Sorry, still not understanding what is the difference between all get or create’s and what you are suggesting?

chadell commented 3 months ago

a get_or_create is getting the reference in the design. That one thing. The second is that the "import" should persist the "get" objects as components of the design deployment. So, from then on, you manage the objects as part of the deployment.