summaryrefslogtreecommitdiff
path: root/src/conf_mode/interface-ethernet.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-ethernet.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-ethernet.py')
-rwxr-xr-xsrc/conf_mode/interface-ethernet.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/interface-ethernet.py b/src/conf_mode/interface-ethernet.py
index 3cdc03ce5..267f5cb3b 100755
--- a/src/conf_mode/interface-ethernet.py
+++ b/src/conf_mode/interface-ethernet.py
@@ -227,7 +227,7 @@ def get_config():
if conf.exists('speed'):
eth['speed'] = conf.return_value('speed')
- # 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
@@ -241,7 +241,7 @@ def get_config():
conf.set_level(cfg_base + ' vif-s ' + vif_s)
eth['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