ipspace / netlab

Making virtual networking labs suck less
https://netlab.tools
Other
456 stars 69 forks source link

[BUG] Make 'default', 'system' and 'global' VRF names invalid #1509

Closed ipspace closed 2 weeks ago

ipspace commented 2 weeks ago

Some devices use default (or system or global) VRF as the global routing table. We should make these names invalid to avoid confusions.

ipspace commented 2 weeks ago

Any thoughts @jbemmel @ssasso @DanPartelly? Have I missed another keyword?

ssasso commented 2 weeks ago

there's a plethora of other names the different vendors uses as name for the management vrf :(

jbemmel commented 2 weeks ago

“base” for SR OS

ipspace commented 2 weeks ago

there's a plethora of other names the different vendors uses as name for the management vrf :(

OK, we can exclude the obvious ones that are present when the device boots. Looking at the initial config templates, it seems like "junos_mgmt" is really a built-in name. True?

ssasso commented 2 weeks ago

OK, we can exclude the obvious ones that are present when the device boots. Looking at the initial config templates, it seems like "junos_mgmt" is really a built-in name. True?

Correct.

But my memory failed and it is mgmt_junos :)

Ref: https://www.juniper.net/documentation/us/en/software/junos/junos-getting-started/topics/topic-map/management-interface-in-non-default-instance.html

The name of the dedicated management VRF instance is reserved and hardcoded as mgmt_junos; you cannot configure any other routing instance by the name mgmt_junos.
DanPartelly commented 2 weeks ago

Cumulus: default, unspec, main, or local. [1] Also, Not sure but some Ciscos may not allow "all".

[1] Cumulus docs