cwilloughby-bw / racktables-ansible

Ansible modules/plugins for interacting with Racktables
MIT License
4 stars 1 forks source link

Add support for specifying a parent/child object relationship #10

Closed cwilloughby-bw closed 4 years ago

cwilloughby-bw commented 4 years ago

Currently there's no way to specify a parent/child relationship with the racktables_object module. Proposal is to add a "parent" field that will accept the name of the parent object. Code wise, we should look up the object types in the "ObjectParentCompat" table to ensure compatibility, and then create the appropriate entry in the "EntityLink" table.

cwilloughby-bw commented 4 years ago

Decided to break this out into a separate module to allow for managing parent/child object relationships independent of of the objects themselves