summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2017-08-24Updates and additions to handle aarch64Dan Radez3-7/+24
- move patches from x86 only to common virt-customize - updates to undercloud to configure pxe and external network - initial updates to overcloud deploy functions JIRA: APEX-381 Change-Id: I496e196535e63bfd31654d0f501fe3f00fa5ca3f Signed-off-by: Dan Radez <dradez@redhat.com>
2017-08-24Updates RPM specs and buildingTim Rozet1-4/+6
Changes Include: - Disables ONOS from rpm and image building - Fixes opnfv-apex package dependency for python34-opnfv-apex - Updates requirements for python34-opnfv-apex - Updates docs - Removes temporary build qcow2 for odl which was being bundled into our dev tars unnecessarily Change-Id: Ief668067181fc35a54553ae118b7950bddce1940 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-23Migrates Apex to PythonTim Rozet33-3706/+499
Removes all bash libraries and converts almost all of the code to a mixture of Python and Ansible. utils.sh and clean.sh still exist. clean.sh will be migrated fully to clean.py in another patch. The Apex Python package is now built into the opnfv-apex-common RPM. To install locally do 'pip3 install .'. To deploy: opnfv-deploy -d <file> -n <file> --image-dir /root/apex/.build -v --debug Non-python files (THT yaml, settings files, ansible playbooks) are all installed into /usr/share/opnfv-apex/. The RPM will copy settings files into /etc/opnfv-apex/. JIRA: APEX-317 Change-Id: I3232f0329bcd13bce5a28da6a8c9c84d0b048024 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-21Bumps OVS version to 2.8 for OVNTim Rozet1-2/+2
OVS 2.7 does not seem to be available anymore in the copr repo and has been replaced by 2.8. Change-Id: I7ba98f14e9c9c34f6802f8a890876363c839ab9b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-14Fixes OpenDaylight versionTim Rozet1-10/+5
The default version is now Carbon with the option of using nitrogen (master) for puppet-odl and opendaylight. JIRA: APEX-500 Change-Id: I44d02ec0db5fb8e6342e5ab6802a5a3f302b8511 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-11Add os-odl-fdio-dvr supportFeng Pan2-7/+41
apex-tripleo-heat-templates: I6a83c9e2deeb0df9a3ab09a707c9c64aa84da55e apex-puppet-tripleo: I2025e3157b97b376b63002003ca17c7206aba546 JIRA: APEX-466 Change-Id: Iedb75994d35b5dc1dd5d5ce1a57277c8f3729dfd Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-10Remove extra VPP interface from fdio-nosdn scenariosFeng Pan1-4/+6
Also set NeutronNetworkVLANRanges for daily environment. JIRA: APEX-502 Change-Id: I0a53ad8b0bce7a721104b84a2aa7ea38c510a7e7 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-09Merge "Sets baremetal workers to 12"Tim Rozet1-0/+2
2017-08-09Sets baremetal workers to 12Feng Pan1-0/+2
There is an issue where in Newton the number of workers (sub processes) opened per openstack service scales with the number of logical cores on the system. On servers with large amount of processors this causes the cloud to fail after some time due to running out of RAM. This patch will limit the number of worker processes to 12, which is the limit in Ocata and onwards. JIRA: APEX-410 Change-Id: I28c4762830c19cd758a0729017f2d4a9ebe372b4 Signed-off-by: Tim Rozet <trozet@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-09Enables SFC scenariosTim Rozet2-2/+22
apex-tripleo-heat-templates: I230b31dc9ed0ecc5046064628ba2f2505e589522 apex-puppet-tripleo: Icd433ddc6ae7de19a09f9e33b410a362c317138a Change-Id: I0b17b4e86eb90b949bd62f7e73944adad77ef1a3 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-04Add support for nosdn-ovs-dpdk scenarioFeng Pan1-4/+5
Change-Id: I31fca214b7d16cecc261137567fa7ecf63abfe04 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-08-03Merge "Builds and installs ovs 2.6.1 with NSH support"Feng Pan2-4/+3
2017-08-02Builds and installs ovs 2.6.1 with NSH supportTim Rozet2-4/+3
Change-Id: I369b9d24880ebdb0836e42740ebf27082be9de99 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-08-02Merge "Add overlay_ip_version config for IPv6 tenant networks"Tim Rozet1-0/+2
2017-08-01Merge "Adds Barometer service"Tim Rozet3-3/+9
2017-08-01Add overlay_ip_version config for IPv6 tenant networksFeng Pan1-0/+2
Change-Id: I03b28bdcc6d0649920fd58fb3400b2a4e5891e68 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-07-31Adds Barometer servicejhinman13-3/+9
Adds Barometer service as a deploy option to Compute nodes by specifying barometer as true in deploy settings. Barometer packages are installed only for x86_64. Adds scenarios os-nosdn-bar-ha and os-nosdn-bar-noha. Add scenarios to opnfv-apex-common.spec. Temporarily remove references to snmp packages. apex-tripleo-heat-templates: I397d2557639c87ab8afacd076a5b9fd7c056dce7 apex-puppet-tripleo: I878ff8d1e0a8b96f3380bb77f168cd5a4c3f6543 Puppet module is at: https://github.com/johnhinman/puppet-barometer. Change-Id: Ic087c2052f7849ee2cf6c63224558c2b36a8ca1f Signed-off-by: jhinman1 <john.hinman@intel.com>
2017-07-29Add support for fdio scenariosFeng Pan1-6/+15
Add support for the following scenarios: - os-odl-fdio-ha - os-odl-fdio-noha - os-nosdn-fdio-noha - os-nosdn-fdio-ha apex-tripleo-heat-templates: If11092e6581445a70e63c8f6c48518698b3cc8fc apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: If7a2c6119bf613f1fc8846237b077cd8f0e26015 Change-Id: Id3fdd09f6e0d2b7666d08c0dc7802165797eefdc Signed-off-by: Feng Pan <fpan@redhat.com>
2017-07-28Increases mininum virtual controller RAMTim Rozet1-2/+6
nosdn virtual deployments are hitting OOM on controllers. This patch bumps controller minimum ram from 8 to 10 for nosdn, and 10 to 12 for ODL. Also, the maximum workers for gnocchi are limited to 1 for virtual deployments. JIRA: APEX-496 Change-Id: I50d38c60a682f00c14489c65ee8ee6305bc3dc62 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-07-06Merge "Adapting BGPVPN scenario to new composable service"Michael Chapman1-1/+1
2017-07-05Missing brackets on x86_64 conditionalDan Radez1-1/+1
Change-Id: I5436317075ceffa18c34e213795ed3816627d121 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-07-04Adapting BGPVPN scenario to new composable serviceRicardo Noriega1-1/+1
Depends-On: I4af82d456c9d999667f2ef4d16e8f6822463d331 Depends-On: Id28df6ed307976fbb20fa1300f7349b743d96569 Change-Id: I8b6c909ea801491e524206ee4270d453164f3c46 Signed-off-by: Ricardo Noriega <rnoriega@redhat.com>
2017-06-22Adding conditionals dependent on archDan Radez6-33/+112
There are x86 specific build items that can't be used when building on aarch64. Adding conditionals so that the items only get built in when building on x86_64. There are aarch64 specific settings that need to be set for deployment. JIRA: APEX-381 Change-Id: I63e1c99d5d22bbb523c88be7e973a6c834a38b01 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-31Updates ODL source for netvirt+vppTim Rozet1-2/+2
Change-Id: I7ffb445ba44bfc904240658b0c3a137b44af28e8 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-30Moving to forks on gerrit.opnfv.orgDan Radez2-1/+115
Migrating off of github onto opnfv.org to host our forked projects that are side loaded into our builds apex-tripleo-heat-templates: Ic65cfeee4a55e993629f831c8c9d9addf6f3dff4 apex-puppet-tripleo: If498c41d706c8f14a5b0bbee64cb4d26cd78c2d0 apex-os-net-config: I5281a57640f388e984b061702362f9c82d08da78 Change-Id: Ieb5cf293ad06d90fce7a9467e32ac0f2d8731a0a Signed-off-by: Dan Radez <dradez@redhat.com> Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-25Update puppet-opendaylight git repo urlFeng Pan1-0/+9
puppet-opendaylight moved from github to opendaylight.org, updating url for git clone. JIRA: APEX-455 Change-Id: I8e4a919d9c8b3dedb62c12135cc1b2741413bc34 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-19Merge "Missed an update to swap neutron out for openstack cli"Dan Radez1-1/+1
2017-05-18Merge "Add VBMC double check"Tim Rozet1-2/+5
2017-05-18Missed an update to swap neutron out for openstack cliDan Radez1-1/+1
APEX-432 Change-Id: I787ce844d0d585f55d2267a57642e35f2a47bd40 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-17Merge "Refactors build script for Apex"Tim Rozet1-0/+21
2017-05-17Add VBMC double checkDan Radez1-2/+5
Sometimes the VBMC devices don't all start and stay started This checks that they are all running before starting a deployment Change-Id: I3c69d31549798a5837475d10b8a365bb0e5c9a3d Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-17Merge "Removing sdn_l3 and _l2 scenario features"Tim Rozet4-16/+9
2017-05-17Refactors build script for ApexTim Rozet1-0/+21
Changes Include: - Build has been refactored into python - Caching now packs into multiple unique tar files which are logged into a journal file - Multiple files and journal allow for multiple apex builds to run simultaenously while minimizing risk of collision between cache reading and writing - Build dependency packages updated and will install when missing via ansible - If more than 2 caches exist then prune the oldest cache Change-Id: Iae703253eb6034aee42bf33153bb6e434d3cec48 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-15Removing sdn_l3 and _l2 scenario featuresDan Radez4-16/+9
JIRA: APEX-429 Change-Id: Ifb28bb27f8e58ac5b180454719dfb329c3edf000 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-13Merge "Couple cleanups related to ocata update"Tim Rozet1-7/+0
2017-05-11Do not enable bgpd during deploymenttomsou1-1/+0
Do not enable bgpd in order to resolve the race condition between bgpd daemon (enabled within apex deployment) and the bgpd started by 6wind zrpcd in the frame of testcase 3 of sdnvpn. JIRA: APEX-448 Change-Id: I3dfd41280e86e8a85b2269518abd8a504391de61 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-05-10Couple cleanups related to ocata updateDan Radez1-7/+0
- remove glance v2 enable - remove bgpvpn Change-Id: I2e09067e4f81c8a48e8f12475451b2a3c40289a7 Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-09Updating Apex to OpenStack OcataDan Radez8-152/+281
- power management updated to virtualbmc, pxe_ssh is deprecated - removing custom tacker build - removing custom congress build - disabling yum update in undercloud on the cli instead of in a patch - Undercloud is direct kernel booted now, there are no kernel and initrd in the disk image from upstream - remove OpenDaylight previous to Carbon JIRA: APEX-433 JIRA: APEX-432 JIRA: APEX-431 Change-Id: I6963f16e65eacade5607a3082b58b6150331406c Signed-off-by: Dan Radez <dradez@redhat.com>
2017-05-08Merge "add onos deployment steps"Dan Radez2-64/+8
2017-05-04Fixes relative path for 'ip' commandTim Rozet1-3/+4
Change-Id: I63606f7cc200ddbe35c6df2cbb56fa442c2bfb9b Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-05-04Merge "Add support for interface role mapping for odl_l3-fdio scenarios"Tim Rozet1-1/+3
2017-05-04Merge "Enable OpenDaylight clustering mode for FDIO scenarios"Tim Rozet1-8/+0
2017-05-02Add support for interface role mapping for odl_l3-fdio scenariosFeng Pan1-1/+3
JIRA: APEX-445 opnfv-puppet-tripleo-pr: 24 Change-Id: Idbb855badae2f2b91202961c12931ba54be1beaa Signed-off-by: Feng Pan <fpan@redhat.com>
2017-05-02Fixing BGPD service is not runningNikolas Hermanns1-0/+1
Change-Id: Ia94a82cda8cd2c8c052bfd3454e3753b6eb54288 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-04-28Migrates quagga install to build timeTim Rozet1-2/+0
It is OK to have quagga installed at build time, we just want to avoid enabling it unless quagga is deployed. Change-Id: I41899d697a24976c3b169b3b8f5eef5c0df6bed4 Signed-off-by: Tim Rozet <trozet@redhat.com>
2017-04-28Enable OpenDaylight clustering mode for FDIO scenariosFeng Pan1-8/+0
JIRA: APEX-450 Change-Id: I6d570c19ff5286b1307e38eee439116839b1d612 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-28Merge "Update VPP/ODL versions for FDIO scenarios"Tim Rozet1-26/+6
2017-04-27Update VPP/ODL versions for FDIO scenariosFeng Pan1-26/+6
Pin the same set of FDIO and OpenDaylight versions for all fdio scenarios. Note that fdio_netvirt-fdio still uses a customized ODL version. os-net-config-pr: 7 JIRA: APEX-451 Change-Id: Ic5ac5aeead9967fe383447e23653276cde2dfe60 Signed-off-by: Feng Pan <fpan@redhat.com>
2017-04-26Fixing zrpcd is not startingNikolas Hermanns1-6/+5
JIRA: APEX-437 JIRA: APEX-448 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com> Change-Id: I91c1b3bef83c808166072e00c751d8fac3565b5f
2017-04-18Add ODL netvirt VPP supportFeng Pan2-2/+12
opnfv-tht-pr: 131 Change-Id: I112d454078bd29a386b8557bf1d015d81f328d61 Signed-off-by: Feng Pan <fpan@redhat.com>