aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
diff options
context:
space:
mode:
authorjan.hradil <jan.hradil@pantheon.tech>2017-04-27 14:47:16 +0200
committerTibor Frank <tifrank@cisco.com>2017-05-02 06:24:18 +0000
commit44cafa8a265cfb1144638430079ef4dbf2501d72 (patch)
treea1eaea31c31578107c9cd11946772c259344010b /resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
parent41212b4103c2f1b746d8b2101328e49e8697ef6c (diff)
csit-validate-pylint-master/3731 for build 3731
pylint repairs deleted duplicated method from HcPersistence.py Change-Id: I426e6c15957c995ea10bd11ae2deac75b1cab922 Signed-off-by: jan.hradil <jan.hradil@pantheon.tech>
Diffstat (limited to 'resources/libraries/python/honeycomb/HcAPIKwInterfaces.py')
-rw-r--r--resources/libraries/python/honeycomb/HcAPIKwInterfaces.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py b/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
index d57f93913f..dc248589f9 100644
--- a/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
+++ b/resources/libraries/python/honeycomb/HcAPIKwInterfaces.py
@@ -1531,10 +1531,10 @@ class InterfaceKeywords(object):
interface = interface.replace("/", "%2F")
data = {
- "interface-policer:policer": {
- "ip4-table": table_name
- }
+ "interface-policer:policer": {
+ "ip4-table": table_name
}
+ }
path = "/interface/" + interface + "/interface-policer:policer"
status_code, resp = HcUtil.\
@@ -1725,7 +1725,7 @@ class InterfaceKeywords(object):
for src_interface in src_interfaces:
src_interface["iface-ref"] = Topology.\
convert_interface_reference(
- node, src_interface["iface-ref"], "name")
+ node, src_interface["iface-ref"], "name")
data = {
"span": {
"mirrored-interfaces": {