summaryrefslogtreecommitdiff
path: root/src/migration-scripts
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-08-04 21:50:10 +0200
committerChristian Poessinger <christian@poessinger.com>2019-08-04 21:50:10 +0200
commit74cd9b982a3e965d422bce84375f6283088ec593 (patch)
treea0a11962829dae04bb66efdc8997632e20c57e3c /src/migration-scripts
parent5b15c162c008958de2be9cba2cbf8f0b65bc6fb9 (diff)
downloadvyos-1x-74cd9b982a3e965d422bce84375f6283088ec593.tar.gz
vyos-1x-74cd9b982a3e965d422bce84375f6283088ec593.zip
[bridge] T1156: rename igmp-snooping node to igmp
Diffstat (limited to 'src/migration-scripts')
-rwxr-xr-xsrc/migration-scripts/interfaces/0-to-13
1 files changed, 1 insertions, 2 deletions
diff --git a/src/migration-scripts/interfaces/0-to-1 b/src/migration-scripts/interfaces/0-to-1
index 1c6119d86..b8e190f2c 100755
--- a/src/migration-scripts/interfaces/0-to-1
+++ b/src/migration-scripts/interfaces/0-to-1
@@ -33,14 +33,13 @@ for br in config.list_nodes(base):
if stp_val == "true":
config.set(base + [br, 'stp'], value=None)
-
# igmp-snooping: check if enabled
igmp_val = config.return_value(base + [br, 'igmp-snooping', 'querier'])
# igmp-snooping: delete node with old syntax
config.delete(base + [br, 'igmp-snooping', 'querier'])
# igmp-snooping: set new node - if enabled
if igmp_val == "enable":
- config.set(base + [br, 'igmp-snooping', 'querier'], value=None)
+ config.set(base + [br, 'igmp', 'querier'], value=None)
#
# move interface based bridge-group to actual bridge (de-nest)