dropbox / nsot

Network Source of Truth is an open source IPAM and network inventory database
https://nsot.readthedocs.io
Other
399 stars 66 forks source link

Attribute inheritance for child objects. #249

Open jathanism opened 7 years ago

jathanism commented 7 years ago

We should implement the ability for an attribute to be inherited by child objects. For example in the case of Network objects, any new children could automatically inherit specific attribute values flagged for inheritance.

We'll need to consider a few cases, such as if a child has a specific value provided, or if later on a value is changed on the child, to make it more specific and therefore overriding the inherited value. Also, what if you want certain attributes to be forcefully inherited?

It would be best to keep it reasonably simple at first, but I'm bringing these up just in case they potentially impact the underlying data model significantly.