summaryrefslogtreecommitdiff
path: root/tests/unittests/helpers.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-06-03 14:18:38 -0400
committerScott Moser <smoser@ubuntu.com>2016-06-03 14:18:38 -0400
commitfe6919dcd37c6c1ecd371e5eb20b605ab20a6420 (patch)
treeef540fa8f50f147303235179675d2ebfd95c598c /tests/unittests/helpers.py
parente2c2d70cde19211b18e5ec333e1cb0382d93f14d (diff)
downloadvyos-cloud-init-fe6919dcd37c6c1ecd371e5eb20b605ab20a6420.tar.gz
vyos-cloud-init-fe6919dcd37c6c1ecd371e5eb20b605ab20a6420.zip
improve how 'lo' is handled when rendering network state to interfaces
if you provide network state with a proper 'lo' entry, then when you render network interfaces you would get 2 entries. the additional one was because we add an 'lo' always and also because we had to put global 'dns' entries there. this fixes that duplicatation by handling lo specifically.
Diffstat (limited to 'tests/unittests/helpers.py')
0 files changed, 0 insertions, 0 deletions