Replies: 2 comments
The "original sin" was trying to use identifiers that match the usual programming language restrictions.
That would either break or complicate everything downstream of "netlab create". As the simplest example, "netlab connect" would either not work with the node name as specified in the lab topology, or have to track what the "original" node name was and what's actually running. There are tons of other places that allow users to specify node names. Having said that, I'm all for removing redundancies in the templates. For example, we could use |
|
That sounds like a much better idea. |
Uh oh!
There was an error while loading. Please reload this page.
We have a series of checks to help us not break when using DNS etc of converting
node_xxinto the valid form ofnode-xxAm I right saying the main reason we are using
node_xxis because of our shorthand use when making lab topologies?I know it would be a breaking change but could it be simpler to convert them to the DNS style on generation then remove some of our jinja template foo that is doing the conversion at times?
Thoughts?
All reactions