Replies: 1 comment
-
Adding a new link type value during the module initialization phase might be better than modifying the attribute definition -- it would prevent someone from using the new link type without the lag module. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In theory, modules could dynamically extend the data model.
For example: A 'lag' module could add a 'lag' link type by extending the 'valid_values' at
netlab/netsim/defaults/attributes.yml
Line 52 in 1f59a60
instead of modifying that file directly.
What do people think about this? Would it be "too much", over-complicating readability?
Beta Was this translation helpful? Give feedback.
All reactions