summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/cli/test_interfaces_vxlan.py4
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)