Fix interfaces for quantum

This commit is contained in:
vic 2012-12-26 22:15:11 +04:00
parent 16ade909a9
commit 7578d1576d
2 changed files with 4 additions and 1 deletions

View File

@ -146,7 +146,6 @@ class CiBase(object):
self.setup_master_node(master_remote, environment.nodes)
self.setup_agent_nodes(environment.nodes)
only_private_interface(self.quantum_nodes())
kill_dhcpclient(self.quantum_nodes())
sleep(5)
sign_all_node_certificates(master_remote)
sleep(5)

View File

@ -450,6 +450,10 @@ def only_private_interface(nodes):
write_config(remote, path, load(root('fuel_test', 'config', 'interfaces_quantum_ubuntu.config')))
execute(remote, 'ifup eth0')
execute(remote, 'dhclient eth1')
if OS_FAMILY == 'centos':
execute(remote, 'killall dhclient')
else:
execute(remote, 'killall dhclient3')
def kill_dhcpclient(nodes):