[dts] [PATCH] tests: fix initialization in initialize_port_config() of IPGRE test suite.

Liu, Yong yong.liu at intel.com
Thu Aug 25 08:18:11 CEST 2016


Thanks Rami, applied.

On 08/20/2016 09:26 PM, Rami Rosen wrote:
> This patch removes the initialization of self.outer_mac_src to "11:22:33:44:55:66"
> in initialize_port_config(() as this initialization is wrong and meaningless (self.outer_mac_src
> is being initialized to '00:00:10:00:00:00' immediately in the command after).
>
> Signed-off-by: Rami Rosen <rami.rosen at intel.com>
> ---
>   tests/TestSuite_ipgre.py | 1 -
>   1 file changed, 1 deletion(-)
>
> diff --git a/tests/TestSuite_ipgre.py b/tests/TestSuite_ipgre.py
> index a403ded..0868ffc 100644
> --- a/tests/TestSuite_ipgre.py
> +++ b/tests/TestSuite_ipgre.py
> @@ -77,7 +77,6 @@ class TestIpgre(TestCase):
>           self.re_bind_nvgre_to_gre()
>   
>       def initialize_port_config(self):
> -        self.outer_mac_src = "11:22:33:44:55:66"
>           self.outer_mac_src = '00:00:10:00:00:00'
>           self.outer_mac_dst = '11:22:33:44:55:66'
>           self.outer_ip_src = '192.168.1.1'



More information about the dts mailing list