diff options
Diffstat (limited to 'resources/libraries/python/honeycomb')
-rw-r--r-- | resources/libraries/python/honeycomb/DHCP.py | 3 | ||||
-rw-r--r-- | resources/libraries/python/honeycomb/FIB.py | 2 | ||||
-rw-r--r-- | resources/libraries/python/honeycomb/Routing.py | 11 |
3 files changed, 10 insertions, 6 deletions
diff --git a/resources/libraries/python/honeycomb/DHCP.py b/resources/libraries/python/honeycomb/DHCP.py index f93a8fd56f..56cfdb2a78 100644 --- a/resources/libraries/python/honeycomb/DHCP.py +++ b/resources/libraries/python/honeycomb/DHCP.py @@ -73,7 +73,8 @@ class DHCPRelayKeywords(object): :rtype: bytearray """ - path = "/relay/vpp-fib-table-management:{0}/{1}".format(ip_version, entry_id) + path = "/relay/vpp-fib-table-management:{0}/{1}".format(ip_version, + entry_id) return DHCPRelayKeywords._set_dhcp_relay_properties(node, path, data) diff --git a/resources/libraries/python/honeycomb/FIB.py b/resources/libraries/python/honeycomb/FIB.py index a5e8ba9bae..bfccf5a029 100644 --- a/resources/libraries/python/honeycomb/FIB.py +++ b/resources/libraries/python/honeycomb/FIB.py @@ -85,7 +85,7 @@ class FibKeywords(object): { "table-id": vrf, "address-family": "vpp-fib-table-management:{0}" - .format(ip_version), + .format(ip_version), "name": "{0}-VRF:{1}".format(ip_version, vrf) } ] 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( |