diff options
author | Jan Gelety <jgelety@cisco.com> | 2019-04-14 01:57:33 +0200 |
---|---|---|
committer | Jan Gelety <jgelety@cisco.com> | 2019-04-23 09:56:42 +0000 |
commit | 48b40a6789050e8f40405663cc0e437df26fc56a (patch) | |
tree | bc4efc20f34bf7f05dc73a023b6ac040b7683b9c /resources/libraries/python | |
parent | 0bf09bff6d3d35ed022927eb8fdbbbff32aa0d78 (diff) |
FIX: Create TAP interface after API change
Change-Id: Ib39671dcb808142037c2950b8b02b9aa64d72a3b
Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python')
-rw-r--r-- | resources/libraries/python/Tap.py | 2 |
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: |