summaryrefslogtreecommitdiff
path: root/src/migration-scripts/isis/0-to-1
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/migration-scripts/isis/0-to-1
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/migration-scripts/isis/0-to-1')
-rwxr-xr-xsrc/migration-scripts/isis/0-to-14
1 files changed, 1 insertions, 3 deletions
diff --git a/src/migration-scripts/isis/0-to-1 b/src/migration-scripts/isis/0-to-1
index 5f51f986e..6773f4009 100755
--- a/src/migration-scripts/isis/0-to-1
+++ b/src/migration-scripts/isis/0-to-1
@@ -38,8 +38,7 @@ if not config.exists(base):
exit(0)
# Only one IS-IS process is supported, thus this operation is save
-process = config.list_nodes(base)
-isis_base = base + process
+isis_base = base + config.list_nodes(base)
# We need a temporary copy of the config
tmp_base = ['protocols', 'isis2']
@@ -50,7 +49,6 @@ config.delete(base)
# Rename temporary copy to new final config and set domain key
config.rename(tmp_base, 'isis')
-config.set(base + ['domain'], process[0])
try:
with open(file_name, 'w') as f: