Remove sleep before deactivating network
This commit is contained in:
parent
a86fd06184
commit
66d8c436fb
|
@ -130,7 +130,6 @@ class RouterInstance():
|
||||||
self.network_list.append(s_network[network].getvni())
|
self.network_list.append(s_network[network].getvni())
|
||||||
|
|
||||||
def become_secondary(self):
|
def become_secondary(self):
|
||||||
time.sleep(1)
|
|
||||||
ansiiprint.echo('Setting router {} to secondary state'.format(self.name), '', 'i')
|
ansiiprint.echo('Setting router {} to secondary state'.format(self.name), '', 'i')
|
||||||
ansiiprint.echo('Network list: {}'.format(', '.join(self.network_list)), '', 'c')
|
ansiiprint.echo('Network list: {}'.format(', '.join(self.network_list)), '', 'c')
|
||||||
for network in self.s_network:
|
for network in self.s_network:
|
||||||
|
|
Loading…
Reference in New Issue