You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow Device objects to have an optional "parent": "parent_device_name" property. Allow querying core-metadata for all descendants of a device.
Describe the solution you'd like
Add the field, optional "parent":"(device name string)", to the Device objects
Update the structures in the Go (go-mod-core-contracts?) and C SDKs.
Update core-metadata to disallow deleting a device who is listed as parent of another.
Update core-metadata API GET /device/all to add an optional parameter "descendants" with a device-name-string value. If provided, limit results to devices with that device as parent, grandparent, etc.
Update Swagger and HTML docs appropriately.
Describe alternatives you've considered
Considered using labels instead in the UCR, decided it was better to have integrity enforcement and query-ability.
The text was updated successfully, but these errors were encountered:
@eaton-coreymutter the major work of this issue is the API implementation and C SDK work. Do you have any resource to work on this in this release version?
🚀 Feature Request
Relevant Package [REQUIRED]
core-metadata, the Go and C SDKs
Description [REQUIRED]
Implementing the use case in the Device-Parent-Child-Relationships UCR.
Allow Device objects to have an optional "parent": "parent_device_name" property. Allow querying core-metadata for all descendants of a device.
Describe the solution you'd like
Describe alternatives you've considered
Considered using labels instead in the UCR, decided it was better to have integrity enforcement and query-ability.
The text was updated successfully, but these errors were encountered: