X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fhoneycomb%2FHcAPIKwInterfaces.py;h=dc248589f987603fef1ea0a10abced9a68ff4f41;hp=d57f93913fb542d404e73a63ce962f6121d563e1;hb=44cafa8a265cfb1144638430079ef4dbf2501d72;hpb=41212b4103c2f1b746d8b2101328e49e8697ef6c 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": {