Fix warnings reported by gen_doc.sh
[csit.git] / resources / libraries / python / honeycomb / Routing.py
index a4d606b..520f53e 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright (c) 2017 Cisco and/or its affiliates.
+# Copyright (c) 2018 Cisco and/or its affiliates.
 # Licensed under the Apache License, Version 2.0 (the "License");
 # you may not use this file except in compliance with the License.
 # You may obtain a copy of the License at:
@@ -46,7 +46,7 @@ class RoutingKeywords(object):
         :type node: dict
         :type path: str
         :type data: dict
-        :return: Content of response.
+        :returns: Content of response.
         :rtype: bytearray
         :raises HoneycombError: If the status code in response is not
         200 = OK.
@@ -92,7 +92,7 @@ class RoutingKeywords(object):
         if special:
             ip_version = "hc2vpp-ietf-{0}-unicast-routing:{0}".format(
                 ip_version)
-            protocol = "vpp-routing-ra:vpp-protocol-attributes"
+            protocol = "vpp-routing:vpp-protocol-attributes"
         else:
             ip_version = ip_version
             protocol = "vpp-protocol-attributes"
@@ -157,7 +157,7 @@ class RoutingKeywords(object):
         if status_code != HTTPCodes.OK:
             raise HoneycombError(
                 "Not possible to get operational information about the "
-                "classify tables. Status code: {0}.".format(status_code))
+                "routing tables. Status code: {0}.".format(status_code))
 
         data = RoutingKeywords.clean_routing_oper_data(
             resp['routing-protocol'][0]['static-routes']