RETIRED, python utility to manage a tripleo based cloud
Go to file
Harald Jensås 8355e76ca4 Calculate undercloud ctlplane DHCP allocation pools
* Make dhcp_start and dhcp_end optional for subnet definitions
  in undercloud.conf.
* Allow non-contiguous allocation pools for ctlplane subnets

Calcualte the allocation pools by removing the local_ip,
gateway, admin_host, public_host and ``inspection_iprange``,
from the subnets full ip range. Allocation_pools for all
remaining ranges will be configured. A new per-subnet option
``dhcp_exclude`` is added, a list of IP addresses or IP
ranges that will be excluded from the allocation pool. For
example:

  dhcp_exclude = 172.20.0.101,172.20.0.210-172.20.0.219
                   ^ ip addr         ^ ip range

If dhcp_start is defined and dhcp_end is not defined (or vice
versa) any addresses prior to (or after) this address is
removed from the allocation pools.

Make dhcp_start and dhcp_end options ListOpts to enable non-
contigous allocation pools. For example, to create allocation
pools: [{'start': '172.20.0.100', 'end': '172.20.0.150'},
        {'start': '172.20.0.200', 'end': '172.20.0.250'}]
the following configuration can be used in undercloud.conf:

  dhcp_start = 172.20.0.100,172.20.0.200
  dhcp_end = 172.20.0.150,172.20.0.250

A new method is added for remote_subnet_opts, same options as
for the local_subnet_opts but without the defaults.

To allow optional dhcp_start and dhcp_end for the local_subnet
which have defaults defined, a condition is used to ignore
dhcp_start and dhcp_end in case they are the default values
and the cidr is NOT the default.

Related-Bug: #1806512
Related-Bug: #1807707
Change-Id: I4ba148f465b4c452bd5b2c31009ac8a2897bcd5f
2018-12-12 00:14:48 +01:00
config-generator Start standalone.conf 2018-05-23 16:37:26 +00:00
doc Updated from global requirements 2018-03-27 22:21:14 +00:00
releasenotes Calculate undercloud ctlplane DHCP allocation pools 2018-12-12 00:14:48 +01:00
tools Avoid tox_install.sh for constraints support 2017-12-02 16:51:15 +00:00
tripleoclient Calculate undercloud ctlplane DHCP allocation pools 2018-12-12 00:14:48 +01:00
zuul.d Add container build job 2018-11-05 12:19:02 -07:00
.coveragerc Update .coveragerc after the removal of respective directory 2016-10-18 17:37:29 +05:30
.gitignore Leverage log_file option to capture more UC logs 2018-06-25 15:57:57 +03:00
.gitreview Update .gitreview to point to review.openstack.org 2015-09-08 10:10:44 -04:00
.mailmap Initial commit 2015-03-17 09:33:52 -04:00
.testr.conf Initial commit 2015-03-17 09:33:52 -04:00
CONTRIBUTING.rst Update the doc links to the right ones 2018-01-18 00:17:13 -08:00
LICENSE Initial commit 2015-03-17 09:33:52 -04:00
README.rst Change tag link in README to the newest address 2017-08-03 14:01:35 +08:00
babel.cfg Initial commit 2015-03-17 09:33:52 -04:00
bindep.txt Update the doc links to the right ones 2018-01-18 00:17:13 -08:00
lower-constraints.txt Updating python-tripleoclient requires to upgrade the containers images repo 2018-08-27 12:15:19 +02:00
requirements.txt Updating python-tripleoclient requires to upgrade the containers images repo 2018-08-27 12:15:19 +02:00
setup.cfg Merge "Drop obsolete `overcloud ceph-upgrade run`" 2018-08-06 11:37:57 +00:00
setup.py Updated from global requirements 2017-03-07 02:06:19 +00:00
test-requirements.txt Introduce trivial helpers to manage image_files and names 2018-07-10 11:16:27 +10:00
tox.ini fix tox python3 overrides 2018-10-12 21:59:31 +00:00

README.rst

Team and repository tags

image

tripleoclient

tripleoclient is an OpenStackClient (OSC) plugin implementation that implements commands useful for TripleO and the install and management of both an undercloud and an overcloud.

See the TripleO Documentation for details on using tripleoclient.