diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-26 18:26:55 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-26 18:30:27 +0200 |
commit | 323445d7f11abb0e7c2b3c88ca631a732e62c369 (patch) | |
tree | 15c0598f14da3742606fe5ae733adb90ec0d20d4 /src | |
parent | 3c123dba16e4aeece5e920f03f832c6cd8ddf2e1 (diff) | |
download | vyos-1x-323445d7f11abb0e7c2b3c88ca631a732e62c369.tar.gz vyos-1x-323445d7f11abb0e7c2b3c88ca631a732e62c369.zip |
migration: interfaces: T2622: fix pseudo-ethernet migration
By implementation misstake we exited the migrationscript if no VXLAN interface
was found but this was wrong as the same loop is used on pseudo-ethernet
interfaces. The Migrator previously only worked on pseudo-ethernet when
also a VXLAN interface was present. This has been corrected.
Diffstat (limited to 'src')
-rwxr-xr-x | src/migration-scripts/interfaces/8-to-9 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/migration-scripts/interfaces/8-to-9 b/src/migration-scripts/interfaces/8-to-9 index e0b9dd375..2d1efd418 100755 --- a/src/migration-scripts/interfaces/8-to-9 +++ b/src/migration-scripts/interfaces/8-to-9 @@ -16,7 +16,7 @@ # Rename link nodes to source-interface for the following interface types: # - vxlan -# - pseudo ethernet +# - pseudo-ethernet from sys import exit, argv from vyos.configtree import ConfigTree @@ -36,7 +36,7 @@ if __name__ == '__main__': base = ['interfaces', if_type] if not config.exists(base): # Nothing to do - exit(0) + continue # list all individual interface isntance for i in config.list_nodes(base): |