From ac683d233f60d0235a6a581bd985cd225568d8e0 Mon Sep 17 00:00:00 2001 From: Jan Gelety Date: Wed, 11 Mar 2020 02:56:30 +0100 Subject: 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 --- resources/libraries/python/Policer.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'resources/libraries/python/Policer.py') 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} " \ -- cgit 1.2.3-korg