Skip to content

Commit

Permalink
[advanced-reboot] Fix IP range overalapping
Browse files Browse the repository at this point in the history
This code ports PR 1637 to advanced reboot.

ported-pr: sonic-net#1637
signed-off-by: Tamer Ahmed <[email protected]>
  • Loading branch information
tahmed-dev committed May 7, 2020
1 parent 9814959 commit 1196ca2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/common/fixtures/advanced_reboot.py
Original file line number Diff line number Diff line change
Expand Up @@ -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']:
Expand Down

0 comments on commit 1196ca2

Please sign in to comment.