Group enhancement #2343
-
The current group implementation, as documented [here](https://containerlab.dev/manual/nodes/#group), only supports using strings for topology generation. It would be beneficial to enhance this functionality by introducing a For example: topology:
defaults:
labels:
groups:
- name: "Data Center Spine"
level: 1
- name: "Data Center Leaf"
level: 2 With this enhancement, the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I think most of tools available via the graph command using the naming graph-level Having labels available via a group could slim down some .clab.ymls |
Beta Was this translation helpful? Give feedback.
yep, the right way to do that is via
labels
, notgroups
. Groups were once misued for it, but it was a wrong choice