summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-07-15Fixes public vlan network settingsTim Rozet2-1/+6
JIRA: APEX-201 Change-Id: I3ba8d5e38e203bb4f23679a3b91de97c591de146 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-14add onos SFC feature config filebob zhou1-1/+5
add os-onos-sfc-ha.yaml for onos sfc function deployment. opnfv-tht-pr: 27 JIRA: APEX-172 Change-Id: I07d708d201ef1d97efbfffd5aca85d8a284f7c96 Signed-off-by: bob zhou <bob.zh@huawei.com>
2016-07-13correction to a conditional in nic templateDan Radez1-5/+7
Change-Id: Ibed808350163379fcfa5178c78fabe2f47e491fc Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-12Adds SDN Controller IP to overcloudrc fileTim Rozet1-0/+8
JIRA: APEX-152 Change-Id: Id64a42531711c53ad453cd176aab2a9773a71811 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-11Adding doctor driver and datasourceDan Radez1-0/+1
opnfv-tht-pr: 37 JIRA: APEX-158 Change-Id: I079d22e8ee7798bddf7f2f1b6cc3f1b49f1d5773 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-10Move br-phy and ovs agent bring up after bridge ip assignment for dpdkFeng Pan1-25/+25
Change-Id: I37dd541d3ad413b76d94cbc89ab1b2c8e1a723f1 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-07-06Splitting out common functions to lib filesDan Radez1-0/+30
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ie2d2d74de5b8cacbb1c57d3d397bede0b659c0af Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting post-install into functions fileDan Radez1-0/+153
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ie7068473e4ddd8eeca28ebd03de57781222ad761 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out overcloud functions to lib filesDan Radez1-0/+280
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Iceeda2be0539563163bceaacbb54c6cc2d07b87b Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out deploy.sh undercloud to functions fileDan Radez1-0/+277
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ia92c055021073dc72f46a970cd03206ddd8df8da Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out virt functions to functions filesDan Radez1-0/+151
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ic40a7327d95a290d83f9c0b18ad87a280b0da3c4 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-06Splitting out deps configuration to a functions fileDan Radez1-0/+144
trying to reduce the monolith deploy.sh to smaller parts Change-Id: Ic788748969819637171a51d10b87b018fe286ae1 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-05Moving parser functions to a sourced fileDan Radez2-0/+183
Trying to split the monolith deploy.sh Change-Id: Ib145e01696384b1b27e8a79263647235e7d68e2a Signed-off-by: Dan Radez <dradez@redhat.com>
2016-07-05Merge "Adds overcloud ssh support and other fixes"Dan Radez1-3/+38
2016-07-01Adds overcloud ssh support and other fixesTim Rozet1-3/+38
Changes include: - Copies root pub key to overcloud nodes - Introduces overcloud util command to login control/computes - Minor fixes to undercloud util command JIRA: APEX-192 Change-Id: I903fda4b1d232fc623137490630ac905ebb781d7 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-30Syntax updates and new testsDan Radez6-107/+93
- syntax updates to match pep8 standards - tests to cover apex_python_utils.py Change-Id: Ifac06fdbb97266f1b574b20610979b6965d6dd55 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-28Merge changes from topics 'fix_dpdk', 'vlan_support'Tim Rozet3-14/+62
* changes: Fixes IP failure during os-collect-config ping check Adding VLAN support
2016-06-28Adding VLAN supportDan Radez3-14/+62
JIRA: APEX-136 JIRA: APEX-30 Change-Id: I7cbbe11f4c1f1455dba253733c78fe8dc215de97 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-22Adds initial FDIO supportTim Rozet1-1/+2
JIRA: APEX-133 opnfv-tht-pr: 29 Change-Id: I3080c91c3995ed946b902a75907ef11cb349fc33 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-22Merge "Fixes setting dns server for undercloud"Dan Radez1-0/+5
2016-06-17Fixes setting dns server for undercloudTim Rozet1-0/+5
JIRA: APEX-177 Change-Id: I6ee95a3c525fb58699fb3af795a66639f217214c Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-15Fixes nic templates for ovs dpdkTim Rozet1-3/+9
JIRA: APEX-119 Change-Id: Ia66f2ef4c169187b0cb575b10292d02f530b9902 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-13Merge "Add ipv6 support in network environment"Tim Rozet1-18/+50
2016-06-12Add ipv6 support in network environmentFeng Pan1-18/+50
Change-Id: I8db0cc0f715e95414e20f8a1e4d49f8d77e7b9ae Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-10Defaults dns server netenv settingsTim Rozet2-0/+4
Change-Id: I3936eae693ab8bea8de3826653aad6081ddc8d96 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-10Parameterizes ODL version to deploy optionsTim Rozet1-1/+1
Changes include: - Minor syntax fix to dataplane check - Adds 'odl_version' to deploy options - Builds ODL overcloud image with boron rpm included - If user specifies 'boron' as odl_version then, package is upgraded on overcloud image Change-Id: I37436cb8cc4d6cff1fede6c13836f26a4cc57f49 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-09Merge "Add API network support"Tim Rozet1-0/+25
2016-06-09Merge "Enabling DNS server assignment in entwork settings"Tim Rozet1-0/+1
2016-06-08Merge "Add custom domain file for virtual deploy"Tim Rozet1-0/+36
2016-06-08Add custom domain file for virtual deployMichael Chapman1-0/+36
Upstream packaging for tripleo-incubator seems to be lagging significantly, and in addition we will likely want to add a myriad of custom features like numa support that may not be suitable for upstream, so copy our own domain.xml into the tripleo templates directory when deploying. This may be improved in future if we can land a patch that allows a custom template directory to be specified upstream, and have it packaged and released. Change-Id: I7e7e7f695d9473545014761e9f8986616bc2cd19 JIRA: APEX-119 JIRA: APEX-106 JIRA: APEX-127 Signed-off-by: Michael Chapman <woppin@gmail.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-09Add dataplane deploy settingMichael Chapman1-7/+19
Adds the dataplane deploy option, which can have values of ovs, ovs_dpdk, or fdio. Currently does nothing JIRA: APEX-119 Change-Id: I6c14a9c9d6887a325525d634052ea8300b30ee57 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-06-08Enabling DNS server assignment in entwork settingsDan Radez1-0/+1
Change-Id: Ibb30129ca52392cd152b6af61e0545ba47153bda Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-07Enabling python coverage tests in build.shDan Radez2-6/+6
Change-Id: Iececedb03a60dd0bfc1ad6ef1275f6a0427350eb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-06Add API network supportFeng Pan1-0/+25
- Create additional NIC on virtual deployment if API network is enabled. - Include API network in clean - Change keystone admin api network to admin network. This should have no effect when api network is disabled, as today's behavior is to fall back to admin network anyway. However, when api network is defined, we need to be able to reach overcloud from undercloud through keystone admin api network. Change-Id: Ib0aea4a0daeed5878793530c10d8f8a1bbe5fd72 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-02Migrates network environment parsing to pythonTim Rozet7-23/+221
Change-Id: Ibaf20a2960a9f4b5e3f256fbed12a61d7606a967 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-31Merge "Adding python tests and updating for conventions"Dan Radez2-76/+123
2016-05-31Merge "Updates to CONFIG, RESOURCES and LIB"Dan Radez1-1/+1
2016-05-28Adding python tests and updating for conventionsDan Radez2-76/+123
- 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>
2016-05-27Updates to CONFIG, RESOURCES and LIBDan Radez1-1/+1
- 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>
2016-05-27Fix PREFIX parsing of ifcfg fileFeng Pan1-1/+1
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>
2016-05-27Fix deploy settings bash outputFeng Pan1-1/+1
Change-Id: I61efdac14066d2a3d7c3e3ff7f93f0fa2af3a857 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-24Adds support for DNS and METRIC when bridging interfacesTim Rozet1-29/+56
JIRA: APEX-100 JIRA: APEX-155 Change-Id: I35f1831d59f08c26666a179db2854f9b7ea5d958 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-24Add pinning supportMichael Chapman3-1/+160
Add support for CPU pinning of libvirt guests and also restricting host processes to selected CPUs via isolcpus. Hugepage support is added using the same mechanism as isolcpus, along with a perf scenario where all 3 performance options are enabled. Deploy options are now parsed in python JIRA: APEX-127 JIRA: APEX-105 JIRA: APEX-106 Change-Id: I438e80fb88e596cc017595d43bc1efda1001325c opnfv-tht-pr: 8 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-05-08Change NIC template formatFeng Pan2-0/+38
Convert compute and controller NIC templates to jinja2 format. Added support for IPv6 for those NIC templates. Existing IPv4 template generation behavior does not change. The .template files are kept in tree for now, they will be removed after VLAN changes are made. Change-Id: I2ffc7c403af3659db780ece2bd9195cd62748f0c Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-04Add python parsing library for network settings file.Feng Pan5-334/+525
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>
2016-04-21Adds python IP utility libraryFeng Pan3-44/+84
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>
2016-04-12Adds Utility functions and failure loggingTim Rozet1-0/+49
Patch adds helpful utility functions and automatic parsing of heat output into a readable format indicating where a failure is in a deployment. Example: http://fpaste.org/354210/ New opnfv-util function allows a user to interact with a deployment easily: - opnfv-util undercloud <user> connects user to undercloud VM - opnfv-util debug-stack parses the heat failure output Above arguments also accept partial matches. JIRA: APEX-75 Change-Id: I5ccfee64ee2958de0d00a3b25cd9b29de60c9e20 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-03-24Renaming Instack to UndercloudDan Radez2-5/+5
This commit is not backwards compatible with cleaning. VMs named Instack will need to be manually removed. Change-Id: I6829119e43a0a572da07e6d9757c5208c7fe91d4
2016-03-23updating vm creation for virt deploymentDan Radez1-1/+1
- replacing brbm with logical names br-netname - replacing instack-virt-setup with tripleo scripts JIRA: APEX-90, APEX-80 Change-Id: I58a15dee8de882e034c8af8a3368ca0647741b13 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-01-28Various fixes and improvementsTim Rozet1-0/+16
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>