X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2Fhoneycomb%2FRouting.py;fp=resources%2Flibraries%2Fpython%2Fhoneycomb%2FRouting.py;h=314c3fe64d373bbf446f2f047b157501c2dcd977;hp=8d8f7f440134e035a7d090ab86b53c8078308259;hb=be430a282810185c939c1fbbf3042036b814f38a;hpb=7db6faf25da39820d321222f7f8fcb191585add9 diff --git a/resources/libraries/python/honeycomb/Routing.py b/resources/libraries/python/honeycomb/Routing.py index 8d8f7f4401..314c3fe64d 100644 --- a/resources/libraries/python/honeycomb/Routing.py +++ b/resources/libraries/python/honeycomb/Routing.py @@ -115,7 +115,8 @@ class RoutingKeywords(object): ] } - path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format(name) + path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format( + name) return RoutingKeywords._set_routing_table_properties( node, path, full_data) @@ -131,7 +132,8 @@ class RoutingKeywords(object): :rtype: bytearray """ - path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format(name) + path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format( + name) return RoutingKeywords._set_routing_table_properties(node, path) @staticmethod @@ -149,7 +151,8 @@ class RoutingKeywords(object): :raises HoneycombError: If the operation fails. """ - path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format(name) + path = "/control-plane-protocol/hc2vpp-ietf-routing:static/{0}".format( + name) status_code, resp = HcUtil.\ get_honeycomb_data(node, "oper_routing_table", path) @@ -226,7 +229,7 @@ class RoutingKeywords(object): node, 'config_slaac', path) else: data = { - 'ipv6-router-advertisements': slaac_data + 'ipv6-router-advertisements': slaac_data } status_code, _ = HcUtil.put_honeycomb_data(