diff options
author | Vratko Polak <vrpolak@cisco.com> | 2022-08-18 15:10:54 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2022-08-18 15:10:54 +0200 |
commit | d92086e8ee964d2d5700046ef85c6b681844288a (patch) | |
tree | 4e6799662e4a519a6960d29fe77d46448bdd94d8 /resources/libraries/python/Tap.py | |
parent | 13617c1ddb6fb2324e331d14ffa38635a13a10b1 (diff) |
feat(papi): use newer API messages
Updated for what is available in (last common ancestor of) 2206.
(So newer messages such as ipsec_spd_entry_add_del_v2 are not used yet.)
+ Removed messgages documented as unused.
- Did not check if more become unused.
+ Restored alphabetical order.
Change-Id: I4191c3f8629106f52ce387d03f30f9f973ffbefe
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources/libraries/python/Tap.py')
-rw-r--r-- | resources/libraries/python/Tap.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/Tap.py b/resources/libraries/python/Tap.py index 7a987fc34b..7380344b72 100644 --- a/resources/libraries/python/Tap.py +++ b/resources/libraries/python/Tap.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021 Cisco and/or its affiliates. +# Copyright (c) 2022 Cisco and/or its affiliates. # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at: @@ -64,7 +64,7 @@ class Tap: :returns: Returns a interface index. :rtype: int """ - cmd = u"tap_create_v2" + cmd = u"tap_create_v3" args = dict( id=Constants.BITWISE_NON_ZERO, use_random_mac=bool(mac is None), |