From 1196ca29de8b768c2965b2cf517c4317ca5900cd Mon Sep 17 00:00:00 2001 From: Tamer Ahmed Date: Thu, 7 May 2020 10:06:43 -0700 Subject: [PATCH] [advanced-reboot] Fix IP range overalapping This code ports PR 1637 to advanced reboot. ported-pr: https://github.com/Azure/sonic-mgmt/pull/1637 signed-off-by: Tamer Ahmed --- tests/common/fixtures/advanced_reboot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/fixtures/advanced_reboot.py b/tests/common/fixtures/advanced_reboot.py index d717bc4523..ff02cdf87a 100644 --- a/tests/common/fixtures/advanced_reboot.py +++ b/tests/common/fixtures/advanced_reboot.py @@ -126,7 +126,7 @@ def __buildTestbedData(self): self.rebootData['dut_password'] = secrets[invetory]['sonicadmin_password'] self.rebootData['default_ip_range'] = str( - ipaddress.ip_interface(self.mgFacts['minigraph_vlan_interfaces'][0]['addr'] + '/16').network + ipaddress.ip_interface(self.mgFacts['minigraph_vlan_interfaces'][0]['addr'] + '/18').network ) for intf in self.mgFacts['minigraph_lo_interfaces']: