X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FClassify.py;h=dd3c78f44996b5b4713ea8fab580804f46d64652;hb=d07f6cae7f18c1513650d4cb690115d60201e704;hp=13472617f23314edc23f352960546f2edfd2ea33;hpb=bb7d2f0580429eb17d048f484f25c05bb257b64c;p=csit.git diff --git a/resources/libraries/python/Classify.py b/resources/libraries/python/Classify.py index 13472617f2..dd3c78f449 100644 --- a/resources/libraries/python/Classify.py +++ b/resources/libraries/python/Classify.py @@ -1,4 +1,4 @@ -# Copyright (c) 2020 Cisco and/or its affiliates. +# Copyright (c) 2021 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: @@ -258,15 +258,15 @@ class Classify: :param advance: For add, advance value for session. (Default value = 0) :param action: 0: No action (by default) metadata is not used. 1: Classified IP packets will be looked up from the specified ipv4 - fib table (configured by metadata as VRF id). - Only valid for L3 input ACL node + fib table (configured by metadata as VRF id). + Only valid for L3 input ACL node 2: Classified IP packets will be looked up from the specified ipv6 - fib table (configured by metadata as VRF id). - Only valid for L3 input ACL node + fib table (configured by metadata as VRF id). + Only valid for L3 input ACL node 3: Classified packet will be steered to source routing policy of - given index (in metadata). - This is only valid for IPv6 packets redirected to a source - routing node. + given index (in metadata). + This is only valid for IPv6 packets redirected to a source + routing node. :param metadata: Valid only if action != 0. VRF id if action is 1 or 2. SR policy index if action is 3. (Default value = 0) :type node: dict @@ -453,15 +453,15 @@ class Classify: :param opaque_index: opaque_index of new session. (Default value = ~0) :param action: 0: No action (by default) metadata is not used. 1: Classified IP packets will be looked up from the specified ipv4 - fib table (configured by metadata as VRF id). - Only valid for L3 input ACL node + fib table (configured by metadata as VRF id). + Only valid for L3 input ACL node 2: Classified IP packets will be looked up from the specified ipv6 - fib table (configured by metadata as VRF id). - Only valid for L3 input ACL node + fib table (configured by metadata as VRF id). + Only valid for L3 input ACL node 3: Classified packet will be steered to source routing policy of - given index (in metadata). - This is only valid for IPv6 packets redirected to a source - routing node. + given index (in metadata). + This is only valid for IPv6 packets redirected to a source + routing node. :param metadata: Valid only if action != 0. VRF id if action is 1 or 2. SR policy index if action is 3. (Default value = 0) :type node: dict