diff options
author | Vratko Polak <vrpolak@cisco.com> | 2019-04-11 14:45:32 +0200 |
---|---|---|
committer | Vratko Polak <vrpolak@cisco.com> | 2019-04-11 14:45:32 +0200 |
commit | 5ce709e1a3d91c0d077855e5e6614034c8d8e8df (patch) | |
tree | 8c2d47adb9693e3c72eef8c1f4f85e9fd450304a /resources | |
parent | 8d8c5c429ef242d3903f2ad3f4743fcac50d6253 (diff) |
Add notes for traffic_type argument
To make this gerrit comment permanently visible in code:
https://gerrit.fd.io/r/#/c/17811/50/resources/libraries/python/InterfaceUtil.py@1335
Change-Id: I2b763d88fcc8186c9479a0f0c3336d8eeb8aed95
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/libraries/python/InterfaceUtil.py | 2 | ||||
-rw-r--r-- | resources/libraries/robot/shared/default.robot | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/resources/libraries/python/InterfaceUtil.py b/resources/libraries/python/InterfaceUtil.py index df45e39560..d78984b1ca 100644 --- a/resources/libraries/python/InterfaceUtil.py +++ b/resources/libraries/python/InterfaceUtil.py @@ -1335,6 +1335,8 @@ class InterfaceUtil(object): :param traffic_type: Expected type of traffic, affects spoofing. Default value "L2" sets linux interface spoof off. Other values do not do that. + Note: This is NOT the usual traffic profile + (which is python module name to initialize TG with). :type node: dict :type ifc_key: str :type numvfs: int diff --git a/resources/libraries/robot/shared/default.robot b/resources/libraries/robot/shared/default.robot index 59fd83d5ee..56f13400e4 100644 --- a/resources/libraries/robot/shared/default.robot +++ b/resources/libraries/robot/shared/default.robot @@ -108,6 +108,8 @@ | | ... | (Optional). Type: integer, default value: ${1} | | ... | - traffic_type - A value affecting behavior, such as spoofing. | | ... | (Optional). Type: string, default value: L2 +| | ... | Note: This is NOT the usual traffic profile +| | ... | (which is python module name to initialize TG with). | | ... | | ... | *Example:* | | ... |