summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-03-21 19:26:22 +0100
committerChristian Poessinger <christian@poessinger.com>2021-03-21 19:26:22 +0100
commit0e050cb357972eb83412da1d0edecff46fa515bd (patch)
treec50eb0d24d53ca08c12a1760fb3efa13a481d3a5 /src/conf_mode
parenta9a020bac532c6432fafb8101a74bd58c08a8720 (diff)
downloadvyos-1x-0e050cb357972eb83412da1d0edecff46fa515bd.tar.gz
vyos-1x-0e050cb357972eb83412da1d0edecff46fa515bd.zip
isis: T3417: drop artificial "domain" node identifying the IS-IS process name
As we and FRR do not support multiple FRR process instances, there is no need to make this configurable for a user. We rather rely on a solid default "VyOS".
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-xsrc/conf_mode/protocols_isis.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/conf_mode/protocols_isis.py b/src/conf_mode/protocols_isis.py
index adce00ee3..bcd9960ed 100755
--- a/src/conf_mode/protocols_isis.py
+++ b/src/conf_mode/protocols_isis.py
@@ -83,9 +83,6 @@ def verify(isis):
if not isis or 'deleted' in isis:
return None
- if 'domain' not in isis:
- raise ConfigError('Routing domain name/tag must be set!')
-
if 'net' not in isis:
raise ConfigError('Network entity is mandatory!')
@@ -196,7 +193,7 @@ def apply(isis):
if 'vrf' in isis:
vrf = 'vrf ' + isis['vrf']
- frr_cfg.modify_section(f'^router isis \S+ {vrf}', '')
+ frr_cfg.modify_section(f'^router isis VyOS {vrf}', '')
for key in ['interface', 'interface_removed']:
if key not in isis:
continue