opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
144 stars 7 forks source link

feature: Be able to use profile on generic #3737

Open BeArchiTek opened 2 days ago

BeArchiTek commented 2 days ago

Component

API Server / GraphQL

Describe the Feature Request

As a user, I would like to create a Profile of a Generic type. This profile should then be applicable to all nodes derived from this generic type. (for the attributes inherited_from the Generic)

Describe the Use Case

Right now, when applying the same "changes" to two nodes derived from a common generic type, it is necessary to create two separate profiles. This requirement persists even if the nodes share a common generic type.

I would like to be able to create a Profile on the Generic and use this Profile on the derivated Nodes.

Example:

Right now, If I want to create a disabled_interfaces profile to enable/disable an interface, I must create two separate profiles—one for each node.

This behavior should be clearly documented and addressed to ensure users understand the necessity of maintaining separate profiles for each node, even when they are derived from a common generic type.

Additional Information

No response