X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FTap.py;h=7380344b72e3523e732664d18174114005314316;hb=9a789458bd9315e53e1788867e73ee7f0d3eb5f4;hp=c729d602b1f9a7948b2a41995adf85044014c694;hpb=44dcb3113c8ade2e44543746abca861a89362c9b;p=csit.git diff --git a/resources/libraries/python/Tap.py b/resources/libraries/python/Tap.py index c729d602b1..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), @@ -210,7 +210,7 @@ class TapFeatureMask: @staticmethod def is_feature_enabled(tap_feature_mask, tap_feature_flag): """Checks if concrete tap feature is enabled within - tap_feature_mask + tap_feature_mask :param tap_feature_mask: Mask of enabled tap features :param tap_feature_flag: Checked tap feature :type tap_feature_mask: int