aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2019-04-14 01:57:33 +0200
committerJan Gelety <jgelety@cisco.com>2019-04-23 13:03:48 +0000
commit58e426f4b5e439ab1495f10d55b1adeda4b8e3be (patch)
treefe06088f4c0d9844edb5f8b93359a0e12811f22d /resources
parentcfd18a4206f1bada43069d7da55f8400dcfd0c6c (diff)
FIX: Create TAP interface after API change
Change-Id: Ib39671dcb808142037c2950b8b02b9aa64d72a3b Signed-off-by: Jan Gelety <jgelety@cisco.com> (cherry picked from commit 48b40a6789050e8f40405663cc0e437df26fc56a)
Diffstat (limited to 'resources')
-rw-r--r--resources/libraries/python/Tap.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/resources/libraries/python/Tap.py b/resources/libraries/python/Tap.py
index 6b8ae87c04..4e04a4ab33 100644
--- a/resources/libraries/python/Tap.py
+++ b/resources/libraries/python/Tap.py
@@ -34,7 +34,7 @@ class Tap(object):
:returns: Returns a interface index.
:rtype: int
"""
- command = 'connect'
+ command = 'create'
if mac is not None:
args = 'tapname {} mac {}'.format(tap_name, mac)
else: