summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2016-05-28Adding python tests and updating for conventionsDan Radez4-79/+149
- 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 Radez4-33/+26
- 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-26Fixes deploy lib in spec and bug with return codesTim Rozet2-2/+5
Change-Id: If646ce606f96d0bcd6681ada193d60e6b59f93ff Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-25Merge "Fixes nic template missing in spec and error catching"Tim Rozet3-3/+30
2016-05-25Fixes nic template missing in spec and error catchingTim Rozet3-3/+30
Issue where jinja 2 templates were missing from spec file. Also adds error checking to make sure the nic templates were correctly generated. There was an error with dependencies missing on the build server - this patch includes a fix to make sure it is installed before trying to make. Change-Id: I7989ccf297a4e0d81326cccc06b2132018e7d8ae Signed-off-by: Tim Rozet <trozet@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-24Merge "Add pinning support"Tim Rozet10-40/+325
2016-05-24Merge "Fixes spec file for contrail and nosdn-noha"Tim Rozet1-2/+4
2016-05-24Merge "brbm bridge creation failed during deployment"Tim Rozet1-1/+1
2016-05-24Fixes spec file for contrail and nosdn-nohaTim Rozet1-2/+4
Change-Id: I985a0af9ed678f1fe4d7741af25a27df65d8c479 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-24Add pinning supportMichael Chapman10-40/+325
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-24brbm bridge creation failed during deploymentJuha Haapavirta1-1/+1
brbm bridge is not created during deployment because of existing random bridge containg text brbm in it. JIRA: APEX-153 Change-Id: I48520c2865a4de0de849c5147337dafeeb5fb51f Signed-off-by: Juha Haapavirta <juha.haapavirta@nokia.com>
2016-05-23Limits engine workers for virtual deploymentsTim Rozet3-0/+25
Heat uses sub-process forking for increasing number of workers to handle tasks. This patch limits number of workers in undercloud and overcloud for virtual deployments to help battle resource contention. Change-Id: I70edff708b7dcaf114b285046af3138a67167150 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-23Merge "Adds ODL DLUX GUI to L2/L3 deployments"Dan Radez2-0/+6
2016-05-22Change ONOS binary download to dropboxFeng Pan1-1/+1
Change-Id: Iaa246533b908327d0bac05f90aa6a1fc7a60c435 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-20Adds ODL DLUX GUI to L2/L3 deploymentsTim Rozet2-0/+6
JIRA: APEX-114 opnfv-tht-pr: 14 Change-Id: I328058b9f4503ccf7ec0a8d587292504b93cd17f Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-20Fix python3 dependency in spec fileFeng Pan1-7/+6
Change python compiler from system default (python 2) to explicit python3 during RPM build for apex common rpm. Change-Id: Ib979909c0987bceade9b65baabf2de0482aede46 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-20Merge "Adds nosdn-noha scenario and fixes opencontrail scenario naming"Dan Radez2-0/+10
2016-05-20Merge "Fixes tenant network templates"Dan Radez2-20/+4
2016-05-20Adds nosdn-noha scenario and fixes opencontrail scenario namingTim Rozet2-0/+10
Change-Id: I9a151a251811fa3460616fc93beee6b9b342b8b8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-20Merge "Bumps Undercloud to 12GB"Tim Rozet1-1/+1
2016-05-20Fixes tenant network templatesTim Rozet2-20/+4
We only support vxlan tenant network types in OPNFV. There is no need to create a br-tenant. Change-Id: Ib84cde7207375ea033518dce99309620f575cb69 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-19Bumps Undercloud to 12GBTim Rozet1-1/+1
Testing this to see if it improves stability of deploys Change-Id: I1bd2539e87230c080e2e652a1d74681d95a293fe Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-19Disables OpenStack services not used in OPNFVTim Rozet1-0/+4
Disables: - swift - tripleO ring builder - Sahara opnfv-tht-pr: 13 Change-Id: I50c3338f0b071787c277390b39d86a4e42d30a46 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-19Merge "Allows for specifying CPUs and RAM for VMs in virtual deployments"Tim Rozet2-9/+49
2016-05-19Allows for specifying CPUs and RAM for VMs in virtual deploymentsTim Rozet2-9/+49
Changes Include: - All VMs (undercloud and overcloud) now default to 4 vCPUs - Allow specifying number of vCPUs per overcloud VM with --virtual-cpus <number> - Allow specifying amount of RAM per overcloud VM with --virtual-ram <size in GB> - Undercloud now uses 10GiB of RAM to avoid OOM JIRA: APEX-111 Change-Id: I541c669b869a90134bc8af25786fe3b1a557376b Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-17Fixes path for utility libraryTim Rozet1-1/+1
Change-Id: I561c636ac8f0cde9a23a3a74906bd88662f6dd59 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-08Change NIC template formatFeng Pan6-7/+380
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-06Merge "Rebasing opnfv-tht Colorado with ODL patches"Dan Radez1-1/+1
2016-05-04Add python parsing library for network settings file.Feng Pan7-456/+542
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-29Rebasing opnfv-tht Colorado with ODL patchesTim Rozet1-2/+2
Purpose of this commit is to test opnfv-tht changes are not breaking nosdn deployment. opnfv-tht-pr: 10 Change-Id: I85da61a9591999d1249d55700241d71256019a81 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-28Standarizing CONFIG and RESOURCESDan Radez3-5/+5
- first stage in standarizing how custom config values are passed in by moving to using ENV vars to pass in custom params - next stage is to remove the -r and -c options in deploy.sh Moving this direction will reduce managment of custom parameters and rely on ENV vars to make the customizations for development Change-Id: Ibbc171d5e6801b27c1b62ca65c2a9f7830483b97 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-22Merge "Added nokia-pod1 inventory file"Dan Radez1-0/+56
2016-04-22Change storage refresh to pool-refreshFeng Pan1-2/+2
Using pool-refresh should be sufficient to clean up storage pool. Change-Id: I10a58340c4c24b429a2d46d8c9f5a469fd4e18f2 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-04-22Merge "updating ONOS build"Tim Rozet2-16/+12
2016-04-21Adds python IP utility libraryFeng Pan5-46/+103
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-21Added nokia-pod1 inventory filevitikkan1-0/+56
Change-Id: I724023f9d45b306dd6bf9768a9546481358fdeb9 Signed-off-by: vitikkan <viktor.tikkanen@nokia.com>
2016-04-20updating ONOS buildDan Radez2-16/+12
- the ONOS build required the stable-images dir - also removing other stable-images references Change-Id: Ib51e4278ac80d7900064469f6d3c3a3532296270 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-20Adding missing RPM change log for utility contentDan Radez1-0/+2
Change-Id: Icf076eced87e24df5ac91d1a0a4ddd466ae66697 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-20Deploy ceph OSDs on the compute nodes tooDan Radez2-2078/+17
- Also fixing the github PR json parsing opnfv-tht-pr: 7 JIRA: APEX-89 Change-Id: I5c27209ed006309285bd24d77cc2392513325116 Signed-off-by: Dan Radez <dradez@redhat.com> Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-20Merge "Deploy was missing sourcing the utility lib"Tim Rozet1-0/+1
2016-04-14Fixes inventory file referenceTim Rozet1-1/+2
Change-Id: I2cd5a739a48d2f0e0fdc3b2103d3ea5e4987d6da Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-14Deploy was missing sourcing the utility libTim Rozet1-0/+1
JIRA: APEX-75 Change-Id: Iec4abc319db98c32b94a0603811401fd7f9a59db Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-12Forcing a libvirtd restart on cleanDan Radez1-0/+3
- ensures the storage vols are cleaned up properly Change-Id: I55c0dbcbbc884658b9e37e34aa85d00e29e99b57 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-12Adds Utility functions and failure loggingTim Rozet4-1/+133
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-04-12Adding dependencies to apex-common.specDan Radez1-0/+3
- initscripts net-tools iputils iproute iptables these are the packages that include the networking tools we use to configure the jump host JIRA: APEX-137 Change-Id: Icf2d2c2a80a4abb8642cb3e38d18a054a9f01a96 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-12fixing PR_NUMBER evaluation when there is no opnfv-tht-pr in the commit messageDan Radez1-1/+5
Change-Id: I5abd9efe48a665f7a65201ec20805cd1a4001763 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-04-12Get tht from github instead of rpmMichael Chapman1-4/+34
Use apex fork of tht instead of relying on rpms. Can get specific pull requests instead of default branch if specified in the commit message using the syntax: opnfv-tht-pr: [pull-request-number] Change-Id: Ib4c8edd1a94258406d06dd7e80b4ae4ec8ca6c53 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-04-08Merge "Updates to the iso build"Tim Rozet3-15/+130
2016-04-08Merge "Documentation updates for Colorado"Tim Rozet8-92/+98