aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/honeycomb
diff options
context:
space:
mode:
authorPeter Mikus <pmikus@cisco.com>2018-09-01 15:29:37 +0000
committerPeter Mikus <pmikus@cisco.com>2018-09-04 07:29:54 +0000
commitbe430a282810185c939c1fbbf3042036b814f38a (patch)
tree1d5a18291e74ee892703e7bc81ed96209e8716ae /resources/libraries/python/honeycomb
parent7db6faf25da39820d321222f7f8fcb191585add9 (diff)
Fix pylint part 1
- Decrease pylint errors. Part: easy Change-Id: I452e5b5a11e9b78c03cd173a3848babe21b93c73 Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/libraries/python/honeycomb')
-rw-r--r--resources/libraries/python/honeycomb/DHCP.py3
-rw-r--r--resources/libraries/python/honeycomb/FIB.py2
-rw-r--r--resources/libraries/python/honeycomb/Routing.py11
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(