Age | Commit message (Collapse) | Author | Files | Lines |
|
trying to reduce the monolith deploy.sh to smaller parts
Change-Id: Ie2d2d74de5b8cacbb1c57d3d397bede0b659c0af
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Trying to split the monolith deploy.sh
Change-Id: Ib145e01696384b1b27e8a79263647235e7d68e2a
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
- syntax updates to match pep8 standards
- tests to cover apex_python_utils.py
Change-Id: Ifac06fdbb97266f1b574b20610979b6965d6dd55
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
|
|
|
|
- adding tests dir with a script to run python coverage
- adding main funtion to python per convention
- replacing underscores with dashes in CLI params per convention
Change-Id: I6f64174278e2a2e93eacdb7bee09aac49ce15d29
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
- removing the -r and -c parameters
- relying on ENV vars for non-system locations
- abstracting the apex-python-utils to a var
Change-Id: I7ff1ca8b741c890647aee029c57e8342f0b5cb07
Signed-off-by: Dan Radez <dradez@redhat.com>
|
|
Make sure we only get number portion of PREFIX in ifcfg file, this
avoids getting potentially the double quotes around the prefix.
JIRA: APEX-163
Change-Id: Ic251a3a92bf4d318bb41114e15911f5e51dd2cde
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
JIRA: APEX-100
JIRA: APEX-155
Change-Id: I35f1831d59f08c26666a179db2854f9b7ea5d958
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Changes:
- Implements network_settings.yaml file parsing in python.
- Adds support for both IPv4 and IPv6 in network_settings.yaml
- Adds support for api_network in network_settings.yaml
- Removes bash library functions for network related functions.
- Adds dependency to python34-yaml for apex-common package.
Note that support for ipv6 and api_network is not complete yet.
Proper configuriration of network environment and nic template
files will be added later.
Change-Id: I087f725dabedfef109c9de1f58ce2611da647e87
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
Changes include:
- IP utility library in python 3 that supports both IPv4 and IPv6
address generation. This library currently includes a single
function of generating IP ranges or single IP for a given CIDR.
More functionality will be added at a later time to support
features such as IP address calculation.
- Updated common-function.sh to use python library to generate IP
ranges. All existing bash functions are preserved, so any
callers will get identical IP ranges as before.
- Add dependency to python3 for opnfv-apex-common package.
- Add python dependency to build.sh
No change is made to interface related functions.
Change-Id: Idc6998754f9f3c7a3868ec5b5768f3bb5f78cd90
Signed-off-by: Feng Pan <fpan@redhat.com>
|
|
This commit is not backwards compatible with cleaning.
VMs named Instack will need to be manually removed.
Change-Id: I6829119e43a0a572da07e6d9757c5208c7fe91d4
|
|
Changes Include:
- New Interactive mode. Allows you to pause deployments in order to
make changes before continuing (or exit and deploy manually). Useful
when needing to modify NIC order for baremetal deployments.
- deploy_settings -d is now required.
- ha_enabled no longer defaults to true. It can be specified in
deploy_settings or overridden with via command line.
- compute nodes now scale correctly with what is defined by inventory
JIRA: APEX-70 APEX-71 APEX-72
Change-Id: Id45808f4d0435d66f12c020bd4455faaa43da191
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Changes Include:
- Disables introspection. We don't currently use introspection for
anything other than to just run it. Disabling it to increase deploy
speed and reduce pxeboot issues.
- Adds timeout to deploy of 90 minutes. Default heat timeout is 3-4
hours.
- Fixes OVS bridge attach/detach for users who use PREFIX in their
ifcfg instead of NETMASK
- Adds nosdn deploy settings file, and allows nosdn deployments
- Adds example inventory file to the docs dir
Change-Id: Ic13d6c4d5f27bac25365e5951acdd9bd3e641a15
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Change-Id: I47c316e26ff8e597c781562645397335e8c5bd70
Signed-off-by: bob zhou <bob.zh@huawei.com>
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Fixes issues with common-functions:
- ipcalc in epel is old and does not support HOSTMIN,HOSTMAX. Now
BROADCAST and NETWORK values used to find first and last IP in
subnet.
- fixes to auto-generation where values conflicted for IP ranges
- provisioner_ip now generated correctly
Change-Id: I03c7f841d2e1edb1a50041f53970318b6a718cd9
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Tested manually and verified on LF pod1
Change-Id: I882ad9beef003a795585ffb8542aa11aecb67949
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
This applies only to baremetal deployments. Interfaces from admin and
public networks are attached from the host to the OVS bridges brbm and
brbm2 for external connectivity.
Change-Id: If3f5b33eab267e05ee9094396daa40f37e69319a
Signed-off-by: Tim Rozet <trozet@redhat.com>
|
|
Changes include:
- Fixes Intel Pod 2 inventory file
- Check for DHCP server on the host and disable
- Adds realistic+common network-settings file
- Modifies baremetal deployments to bridge to correct interface
- Adds private/storage network OVS bridges
- Parses network-settings into valid network-environment variables
- If certain network-settings are missing they will be auto-detected
Note: The actual settings set forth for deployment only include
admin/external networks at the moment. Private/storage networks will be
handled in an upcoming patch.
JIRA: APEX-50
Change-Id: I0a1a86f37c08702a93fe167688c3149ba5573db4
Signed-off-by: Tim Rozet <trozet@redhat.com>
|