We can get rid from static pool, by reusing dhcp
address, assigned to node initially.
General procedure for assignment of ip addresses
is not changed, but i've added one more condition
to check if ip address is in range of admin_net.ip_range
if it is - it will be reused when creating ip address
if not - address will be used from pool, it will guarantee
that patch works on upgraded environments
Reviewed: https:/ /review. openstack. org/132654 /git.openstack. org/cgit/ stackforge/ fuel-web/ commit/ ?id=2c24fca5ad3 9c1e9e36e19f4ca 95c0cb07946c4a
Committed: https:/
Submitter: Jenkins
Branch: master
commit 2c24fca5ad39c1e 9e36e19f4ca95c0 cb07946c4a
Author: Dima Shulyak <email address hidden>
Date: Tue Nov 4 13:12:57 2014 +0200
Reuse addresses from dhcp pool when possible
We can get rid from static pool, by reusing dhcp
address, assigned to node initially.
General procedure for assignment of ip addresses
is not changed, but i've added one more condition
to check if ip address is in range of admin_net.ip_range
if it is - it will be reused when creating ip address
if not - address will be used from pool, it will guarantee
that patch works on upgraded environments
Also made refactoring of old code
DocImpact of-splitted- fueladmin- network
Closes-Bug: 1271571
Implments: blueprint get-gid-
Change-Id: I1fcc4532faa6b2 55674b589ebd445 34082e29c96