summaryrefslogtreecommitdiffstats
path: root/build
AgeCommit message (Collapse)AuthorFilesLines
2016-06-15Change virtual deployment VMs nic model to virtio for dpdk supportFeng Pan1-4/+5
Also make sure we update ipxe-roms-qemu to support pxe booting VMs with multiple virtio interfaces defined (bz 1234601). JIRA: APEX-119 Change-Id: I6fdecbd365450dec80e41f8407498d884b0bd79e Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-14Allows nic mapping to set hieradata variablesTim Rozet1-0/+10
Currently os-net-config figures out the mapping of logical nic names, such as "nic1" to a physical nic on the overcloud node. This mapping is not exposed to THT. This patch allows the mapping to be placed in a hieradata file that can be access by THT during the deployment. JIRA: APEX-119 opnfv-tht-pr: 28 Change-Id: I7ec631fe2a04ce6193b72b2e56eb34a24a4507e1 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-14Update qemu to 2.3 in overcloudFeng Pan1-0/+3
JIRA: APEX-119 Change-Id: I6ad91644e2b82234c1a40d595c1c56accc9286a3 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-14Add IPv6 network settings file.Feng Pan1-0/+7
JIRA: APEX-130 Change-Id: Ic00c36b84de274b43c2555108d78aef307a85499 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-14Merge "Install ovs-dpdk rpm when required"Tim Rozet1-0/+1
2016-06-13Install ovs-dpdk rpm when requiredFeng Pan1-0/+1
JIRA: APEX-119 Change-Id: Ie6d08c39fc22be109bf4792a4b7e6cfb4b44d6db Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-13puppet-tripleo fork integrationDan Radez4-41/+69
moving the github integration with pull requests into a function so we can continue to service opnfv-tht and also service opnfv-puppet-tripleo with the same code opnfv-puppet-tripleo-pr: 3 Change-Id: Ief2b1e7309defce9ed2029f6baade3c1371b7d96 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-13Merge "converting apex ip_utils unit tests to nose"Tim Rozet1-1/+9
2016-06-10Merge "Install dpdk packages when dataplane is set to ovs_dpdk"Tim Rozet2-0/+17
2016-06-10Install dpdk packages when dataplane is set to ovs_dpdkFeng Pan2-0/+17
Change-Id: Ib9978595738bb70172244af0505b6b43b0bc60a2 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-10converting apex ip_utils unit tests to noseDan Radez1-1/+9
Change-Id: I54205d217807fd5499a71571ef8bed7c684fe944 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-10Merge changes from topics 'c_doc_update', 'detached_cleanup'Tim Rozet2-2/+51
* changes: Documentation updates fixing detached state deployment
2016-06-10Merge "updating undercloud build"Tim Rozet1-4/+5
2016-06-10Parameterizes ODL version to deploy optionsTim Rozet1-3/+15
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-09updating undercloud buildDan Radez1-4/+5
if the undercloud build fails and make is rerun make will think that the undercloud is already built, this fix updates the undercloud build to match the overcloud builds such that the image file is appended with _build until the build is completed. Change-Id: I4640a1b3c4024778bbab8fbd2f65a320baaabe4b Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-09Merge "Add API network support"Tim Rozet1-1/+1
2016-06-08Merge "Add custom domain file for virtual deploy"Tim Rozet1-0/+4
2016-06-08Add custom domain file for virtual deployMichael Chapman1-0/+4
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-08Merge "Fixes setting kernel boot arguments with perf options"Dan Radez4-6/+29
2016-06-09Add dataplane deploy settingMichael Chapman1-0/+4
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-08Fixes setting kernel boot arguments with perf optionsTim Rozet4-6/+29
JIRA: APEX-168 opnfv-tht-pr: 22 Change-Id: I224b16be24b34e245d22c9321ca94ebe52c52dfd Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-08fixing detached state deploymentDan Radez2-2/+51
JIRA: APEX-157 Change-Id: Ifb3b706c61c6df5534bc7c22948fc0ae57a923df Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-07Enabling python coverage tests in build.shDan Radez1-0/+9
Change-Id: Iececedb03a60dd0bfc1ad6ef1275f6a0427350eb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-06-06Add API network supportFeng Pan1-1/+1
- 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-05Merge "Fix sed syntax error in set_perf_images.sh"Tim Rozet1-1/+1
2016-06-05Fix rpm build errorFeng Pan1-1/+9
- Fix common rpm spec syntax error - Fix build.sh check for spec file changes. Change-Id: I84b54c87356a092af480957ad4b2e93ec577539b Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-05Merge "Fixes build caching"Tim Rozet2-6/+13
2016-06-04Fixes build cachingTim Rozet2-6/+13
JIRA: APEX-167 Change-Id: Ibb9d69eb4326911a5c62fc9f10b02ccf191a3046 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-03Fix sed syntax error in set_perf_images.shFeng Pan1-1/+1
Change-Id: Id5c4fd5e9073afec3253c47caf8981b43b2552c6 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-03Merge "Fix performance option handling"Tim Rozet2-2/+4
2016-06-03Merge "Add performance deploy file to common spec"Tim Rozet1-0/+4
2016-06-03Merge "Fix kernel parameter setting"Tim Rozet3-36/+1
2016-06-03Fix performance option handlingMichael Chapman2-2/+4
- Fix image name replacement in environments/numa.yaml in t-h-t - Accommodate patch to opnfv-tht disabling libvirt pinning by default. opnfv-tht-pr: 17 Change-Id: I4f45a120b236e8fbaa1eefd6da903d8f5e584764 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-06-02Migrates network environment parsing to pythonTim Rozet1-4/+1
Change-Id: Ibaf20a2960a9f4b5e3f256fbed12a61d7606a967 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-06-02Fix kernel parameter settingFeng Pan3-36/+1
We can use a single line command to change kernel parameters, it is not necessary to have a script. Change-Id: I8988464d9a84a223803c69e676483787de49b4ab Signed-off-by: Feng Pan <fpan@redhat.com>
2016-06-02Add performance deploy file to common specFeng Pan1-0/+4
Change-Id: I51e5829406722cd0e7ed3d923c5761853795b0cd Signed-off-by: Feng Pan <fpan@redhat.com>
2016-05-26Fixes broken spec with nic templatesTim Rozet1-6/+2
Change-Id: I764dced4aa8d0f2bb7ed992ae6b75a2b66b6efde Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-26Fixes deploy lib in spec and bug with return codesTim Rozet1-0/+1
Change-Id: If646ce606f96d0bcd6681ada193d60e6b59f93ff Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-05-25Fixes nic template missing in spec and error catchingTim Rozet1-0/+7
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-24Merge "Add pinning support"Tim Rozet5-2/+110
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 Chapman5-2/+110
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-23Limits engine workers for virtual deploymentsTim Rozet2-0/+18
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-22Change ONOS binary download to dropboxFeng Pan1-1/+1
Change-Id: Iaa246533b908327d0bac05f90aa6a1fc7a60c435 Signed-off-by: Feng Pan <fpan@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-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-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-08Change NIC template formatFeng Pan3-1/+335
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 Pan1-2/+10
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-22Merge "updating ONOS build"Tim Rozet2-16/+12