aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/Policer.py
diff options
context:
space:
mode:
authorJan Gelety <jgelety@cisco.com>2020-03-11 02:56:30 +0100
committerJan Gelety <jgelety@cisco.com>2020-03-16 14:35:21 +0000
commitac683d233f60d0235a6a581bd985cd225568d8e0 (patch)
tree10b24549a006d2535edb0c880320c114d4f7de67 /resources/libraries/python/Policer.py
parentcecee58d9187f9e444ccc704a1614dcc58f84809 (diff)
CSIT-1597 API cleanup: vxlan
- cover API changes in VPP: https://gerrit.fd.io/r/c/vpp/+/25569 - update vpp stable to version 20.05-rc0~345 - some pylint fixies in Policer.py Change-Id: Iba2c877d0e74526c69826c5ec4afd64ed2055d31 Signed-off-by: Jan Gelety <jgelety@cisco.com>
Diffstat (limited to 'resources/libraries/python/Policer.py')
-rw-r--r--resources/libraries/python/Policer.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/resources/libraries/python/Policer.py b/resources/libraries/python/Policer.py
index abf6090cf3..af2321bae9 100644
--- a/resources/libraries/python/Policer.py
+++ b/resources/libraries/python/Policer.py
@@ -165,8 +165,8 @@ class Policer:
).value,
type=getattr(PolicerType, f"TYPE_{policer_type.upper()}").value,
conform_action=conform_action,
- exceed_action = exceed_action,
- violate_action = violate_action,
+ exceed_action=exceed_action,
+ violate_action=violate_action,
color_aware=bool(color_aware == u"'ca'")
)
err_msg = f"Failed to configure policer {policer_name} " \