aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/IPUtil.py
diff options
context:
space:
mode:
authorViliam Luc <vluc@cisco.com>2021-10-06 10:02:04 +0200
committerVratko Polak <vrpolak@cisco.com>2021-10-06 12:12:06 +0000
commitb758131f3cca4047c31d74fe772168b59a56baf1 (patch)
tree034f3876e5808bbca00d4864f47179a36e4b3755 /resources/libraries/python/IPUtil.py
parentb61c774897a6cce09bd597af6124831e8aea5e8c (diff)
docstring: Docstring warnings fixed.
Change-Id: I8679c819b7c6ecd9e680bdc6edeafd2124def0b5 Signed-off-by: Viliam Luc <vluc@cisco.com>
Diffstat (limited to 'resources/libraries/python/IPUtil.py')
-rw-r--r--resources/libraries/python/IPUtil.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/resources/libraries/python/IPUtil.py b/resources/libraries/python/IPUtil.py
index 0a573d72fb..57a738bb46 100644
--- a/resources/libraries/python/IPUtil.py
+++ b/resources/libraries/python/IPUtil.py
@@ -500,7 +500,7 @@ class IPUtil:
:type ip_addr: str
:type prefix_length: int
:type namespace: str
- :rtype boolean
+ :rtype: boolean
:raises RuntimeError: Request fails.
"""
ip_addr_with_prefix = f"{ip_addr}/{prefix_length}"
@@ -652,7 +652,7 @@ class IPUtil:
vrf: VRF table ID. (int)
count: number of IP addresses to add starting from network IP (int)
local: The route is local with same prefix (increment is 1).
- If None, then is not used. (bool)
+ If None, then is not used. (bool)
lookup_vrf: VRF table ID for lookup. (int)
weight: Weight value for unequal cost multipath routing. (int)
(Multipath value enters at higher level.)
@@ -724,7 +724,7 @@ class IPUtil:
vrf: VRF table ID. (int)
count: number of IP addresses to add starting from network IP (int)
local: The route is local with same prefix (increment is 1 network)
- If None, then is not used. (bool)
+ If None, then is not used. (bool)
lookup_vrf: VRF table ID for lookup. (int)
multipath: Enable multipath routing. (bool) Default: True.
weight: Weight value for unequal cost multipath routing. (int)