summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-bonding.py
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2019-10-12 09:55:54 +0200
committerChristian Poessinger <christian@poessinger.com>2019-10-12 09:56:16 +0200
commitf9b55ed9ff55a0a080e62d201ad82327153c4a24 (patch)
tree605fe1a0e3ded9e02f8d0add08d5346f8026fae5 /src/conf_mode/interface-bonding.py
parentef7c5aaecd2936d9c2f28d22aec185602dc48206 (diff)
downloadvyos-1x-f9b55ed9ff55a0a080e62d201ad82327153c4a24.tar.gz
vyos-1x-f9b55ed9ff55a0a080e62d201ad82327153c4a24.zip
conf_mode: bonding/ethernet fix comments
Diffstat (limited to 'src/conf_mode/interface-bonding.py')
-rwxr-xr-xsrc/conf_mode/interface-bonding.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interface-bonding.py b/src/conf_mode/interface-bonding.py
index 49d2a05d4..c299744fe 100755
--- a/src/conf_mode/interface-bonding.py
+++ b/src/conf_mode/interface-bonding.py
@@ -221,7 +221,7 @@ def get_config():
if conf.exists('primary'):
bond['primary'] = conf.return_value('primary')
- # re-set configuration level and retrieve vif-s interfaces
+ # re-set configuration level to parse new nodes
conf.set_level(cfg_base)
# get vif-s interfaces (currently effective) - to determine which vif-s
# interface is no longer present and needs to be removed
@@ -235,7 +235,7 @@ def get_config():
conf.set_level(cfg_base + ' vif-s ' + vif_s)
bond['vif_s'].append(vlan_to_dict(conf))
- # re-set configuration level and retrieve vif-s interfaces
+ # re-set configuration level to parse new nodes
conf.set_level(cfg_base)
# Determine vif interfaces (currently effective) - to determine which
# vif interface is no longer present and needs to be removed