def test_orchestrating_simple(self): Manifest().write_openstack_simple_manifest( remote=self.remote(), ci=self.ci(), controllers=self.nodes().controllers[:1]) config_text = Astute.config('simple', controllers=self.nodes().controllers[:1], computes=self.nodes().computes, quantums=self.nodes().quantums) remote = self.nodes().stomps[0].remote('public', login='******', password='******') write_config(remote, '/tmp/nodes.yaml', config_text) remote.check_stderr('astute_run -v -f /tmp/nodes.yaml')
def test_orchestrating_minimal(self): Manifest().write_openstack_manifest( remote=self.remote(), template=Template.minimal(), ci=self.ci(), controllers=self.nodes().controllers[:2], quantums=self.nodes().quantums, swift=False, quantum=True) config_text = Astute.config('minimal', controllers=self.nodes().controllers, computes=self.nodes().computes) remote = self.nodes().stomps[0].remote('public', login='******', password='******') write_config(remote, '/tmp/nodes.yaml', config_text) remote.check_stderr('astute_run -v -f /tmp/nodes.yaml')