X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Flibraries%2Fpython%2FMacSwap.py;h=ebcf95eae217e812aa034e97c86cd3001e04b5e6;hp=30281ba5a357d458b6a4716b117bcc222f9683bf;hb=10e0393fde6d919cf0e5848bc5e506d981642ef8;hpb=99011c1da6c73772225539306270a6444f138126 diff --git a/resources/libraries/python/MacSwap.py b/resources/libraries/python/MacSwap.py index 30281ba5a3..ebcf95eae2 100644 --- a/resources/libraries/python/MacSwap.py +++ b/resources/libraries/python/MacSwap.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: @@ -29,7 +29,7 @@ class MacSwap(object): :param interface: Interface id. :type node: dict :type interface: str or int - :return: nothing + :returns: nothing """ if node['type'] == NodeType.DUT: sw_if_index = Topology.get_interface_sw_index(node, interface) @@ -50,7 +50,7 @@ class MacSwap(object): :param interface_name: Interface name. :type node: dict :type interface_name: str or int - :return: nothing + :returns: nothing """ if node['type'] == NodeType.DUT: @@ -59,5 +59,3 @@ class MacSwap(object): else: raise ValueError('Node {} has not DUT NodeType: "{}"'. format(node['host'], node['type'])) - -