Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Performance: DPDK refactor
[csit.git]
/
resources
/
libraries
/
python
/
Policer.py
diff --git
a/resources/libraries/python/Policer.py
b/resources/libraries/python/Policer.py
index
abf6090
..
af2321b
100644
(file)
--- 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,
).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} " \
color_aware=bool(color_aware == u"'ca'")
)
err_msg = f"Failed to configure policer {policer_name} " \