![]() * Heat uses neutronclient and in some cases provisioned instances don't have allocated floating IP or/and fixed IP in the nova_client.servers.get(instance.id) or 'nova show <instance.id>' invocations. But Neutron may contain these properties intialized in FLoatingIP resources. So the algorithm is as follows: * We try to get IPs from nova.servers.get() * If succeded go to the next provisioning step * If some IP is empty trying to get it via Neutron * Search port by instance ID * Search FloatingIP resource by port ID * Get fixed or/and floating ips addresses from FloatingIP resource * Filtering search of port and FloatingIP resources improves performance because we don't need to check all ports and FloatingIPs in the Sahara's code and we rely on Neutron here Change-Id: I2ec377d268bfb426df4c18ac38c8d8e9a52542e0 Closes-bug: #1293962 |
||
---|---|---|
doc/source | ||
etc | ||
sahara | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.pylintrc | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Sahara project
Sahara at wiki.openstack.org: https://wiki.openstack.org/wiki/Sahara
Launchpad project: https://launchpad.net/sahara
Sahara docs site: http://docs.openstack.org/developer/sahara
Roadmap: https://wiki.openstack.org/wiki/Sahara/Roadmap
Quickstart guide: http://docs.openstack.org/developer/sahara/devref/quickstart.html
How to participate: http://docs.openstack.org/developer/sahara/devref/how_to_participate.html
License
Copyright (c) 2013 Mirantis Inc.
Apache License Version 2.0 http://www.apache.org/licenses/LICENSE-2.0