X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FRouting.py;h=e6485ba3bc3591a54a7e5dc64d91709638886646;hb=refs%2Fchanges%2F80%2F11580%2F10;hp=f72d211a6b91cb8239d2559ba61a0e3b14e68d79;hpb=e65ba17d162581fa8b803070a5e706f344c30f33;p=csit.git diff --git a/resources/libraries/python/Routing.py b/resources/libraries/python/Routing.py index f72d211a6b..e6485ba3bc 100644 --- a/resources/libraries/python/Routing.py +++ b/resources/libraries/python/Routing.py @@ -1,4 +1,4 @@ -# Copyright (c) 2016 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: @@ -38,7 +38,7 @@ class Routing(object): :param resolve_attempts: Resolve attempts IP route add parameter. :param count: number of IP addresses to add starting from network IP :param local: The route is local - with same prefix (increment is 1). If None, then is not used. + with same prefix (increment is 1). If None, then is not used. :param lookup_vrf: VRF table ID for lookup. :param multipath: Enable multipath routing. :param weight: Weight value for unequal cost multipath routing. @@ -59,7 +59,8 @@ class Routing(object): if interface: if use_sw_index: int_cmd = ('sw_if_index {}'. - format(Topology.get_interface_sw_index(node, interface))) + format(Topology.get_interface_sw_index(node, + interface))) else: int_cmd = interface else: