diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-06-23 08:14:50 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-06-23 08:14:50 +0200 |
commit | 82024ebc21ff8516620f2fc8ee47e62f83082e3a (patch) | |
tree | e820fe8125695ee79d314b1677f23791bcb37a8e /scripts/cli | |
parent | 74c1b3a202a55f4d528f34caf842ad1383b04313 (diff) | |
download | vyos-1x-82024ebc21ff8516620f2fc8ee47e62f83082e3a.tar.gz vyos-1x-82024ebc21ff8516620f2fc8ee47e62f83082e3a.zip |
vxlan: adjust to new CLI source-interface node
Diffstat (limited to 'scripts/cli')
-rw-r--r-- | scripts/cli/test_interfaces_vxlan.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/scripts/cli/test_interfaces_vxlan.py b/scripts/cli/test_interfaces_vxlan.py index dc5502838..2628e0285 100644 --- a/scripts/cli/test_interfaces_vxlan.py +++ b/scripts/cli/test_interfaces_vxlan.py @@ -14,13 +14,11 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. -import os import unittest from vyos.configsession import ConfigSession, ConfigSessionError from base_interfaces_test import BasicInterfaceTest - class VXLANInterfaceTest(BasicInterfaceTest.BaseTest): def setUp(self): super().setUp() @@ -29,7 +27,7 @@ class VXLANInterfaceTest(BasicInterfaceTest.BaseTest): self._base_path = ['interfaces', 'vxlan'] self._options = { 'vxlan0': ['vni 10', 'remote 127.0.0.2'], - 'vxlan1': ['vni 20', 'group 239.1.1.1', 'link eth0'], + 'vxlan1': ['vni 20', 'group 239.1.1.1', 'source-interface eth0'], } self._interfaces = list(self._options) |