summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-11-11Merge "Migrate to stable/newton"Tim Rozet2-5/+7
2016-11-11Migrate to stable/newtonTim Rozet2-5/+7
os-odl_l2_nofeature is now deprecated since new netvirt only supports odl_l3. JIRA: APEX-299 Change-Id: I3557ecb85fa4cd11bba96aa9410e56a8e8cceb00 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-28Merge "Add support for isolcpu and VPP thread pinning"Tim Rozet2-1/+5
2016-10-27Add support for isolcpu and VPP thread pinningFeng Pan2-1/+5
Also depend on https://github.com/radez/puppet-fdio/pull/14 JIRA: APEX-337 opnfv-tht-pr: 92 Change-Id: Ic3d2f04bfd1983c38e09a2bfa3992a572fc9c6c1 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-10-26Fix syntax error in overcloud-deploy-functions.shFeng Pan1-1/+1
Change-Id: Ie13eaac89c8ce60d7e8c36d21437d536c758688a Signed-off-by: Feng Pan <fpan@redhat.com>
2016-10-20Merge "Revert "Add ability to configure allowed vlan ranges in deploy ↵Dan Radez1-6/+0
configuration""
2016-10-20Revert "Add ability to configure allowed vlan ranges in deploy configuration"Dan Radez1-6/+0
This reverts commit 3228f00248cda32671fb0e6a02059bea6ae66c99. There is more settings that will need to added for the functionality this patch it intending to add. The JIRA will be updated and the feature will be worked on for Danube. Change-Id: I258ba552cbb49e6fa188a8dffe860e8dac2e3f5f Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-20Merge "Use ntp parameter from network_settings"Dan Radez2-0/+4
2016-10-19Use ntp parameter from network_settingsFeng Pan2-0/+4
Right now we use a ntp_server parameter set in deploy.sh, but since new network_settings file contains ntp information already, we can use those values instead. JIRA: APEX-266 Change-Id: I717af80b967971ea9111002d657972efd94a163a Signed-off-by: Feng Pan <fpan@redhat.com>
2016-10-19Use correct OVS version for SFCMichael Chapman1-6/+9
JIRA: APEX-334 This regressed when we moved over to installing the replacement ovs at runtime instead of build time Change-Id: I0fec6b68be56a3aa41e502c2e09375aca34be22c Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-10-19Revert "Use SFC OVS version for ONOS when SFC is enabled"Tim Rozet1-9/+7
This reverts commit 33bb282dbbea2a2f17c5b3153e60dfff30c4bb15. Change-Id: I1136c1bd2570a1de50c861c7285434cd244d3b2a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-10-19Merge "Use SFC OVS version for ONOS when SFC is enabled"Michael Chapman1-7/+9
2016-10-19Merge "Add ability to configure allowed vlan ranges in deploy configuration"Dan Radez1-0/+6
2016-10-18Use SFC OVS version for ONOS when SFC is enabledMichael Chapman1-7/+9
JIRA: APEX-334 This regressed when we moved over to installing the replacement ovs at runtime instead of build time Change-Id: I9624dd32f84e47e3e92dbb091655280b44734e25 Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-10-18Merge "Consolidate ODL SFC RPM into ODL RPM"Tim Rozet1-9/+1
2016-10-17Add ability to configure allowed vlan ranges in deploy configurationPeng Liu1-0/+6
Add a new parameter 'vlan_id_range' for tenant vlan range, which can set the 'network_vlan_ranges' for 'datacentre' network in ml2.ini on both compute and controller. Change-Id: I5c190fb2d5d582d0d5f56d4c18cf32502b758bd8 JIRA: APEX-272 Signed-off-by: Peng Liu <pliu@redhat.com>
2016-10-14Use br-external instead of br-publicMichael Chapman1-1/+1
We changed the names of all these a while ago, but didn't update the onos post-install script. JIRA: APEX-281 Change-Id: Ib617d7f3dd0879da4e89d032cd694519fc0de557 Signed-off-by: Michael Chapman <woppin@gmail.com>
2016-10-12Consolidate ODL SFC RPM into ODL RPMDan Radez1-9/+1
OVS NSH can be installed at deploy time. Change-Id: Ie875ada99053df95c6534e269f4dd627396489bc JIRA: APEX-324 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-12Conditionally install OVS NSH in ONOS deploymentDan Radez1-1/+7
OVS with NSH should be installed only if we're enabling SFC in an ONOS deployment JIRA: APEX-331 Change-Id: I54826bb2d62b20c42f00c856d8458444f2f795e5 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-08set undercloud VM to autostartDan Radez1-0/+1
When an apex deployment reboot's it fails to come back clean because it expects to connect to the undercloud which is not set to autostart. JIRA: APEX-289 Change-Id: Ia4984a3de68067d7c68aeb5ae955ff358865ce79 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-10-07Fix dns server setting parsingFeng Pan1-1/+1
JIRA: APEX-294 Change-Id: I4b9aed3fc2ea35a918203a0edc995b73020d122c Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-27Removing --flat and network_isolation variablesDan Radez6-79/+52
VLAN support allows a set of nodes with a single nic to deploy removing the need for --flat. flat was not well maintained or tested. Change-Id: Ieae1c2350c83544ce50048b44300fa0b8e68dd43 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-27Merge "enable vhostuser for ovs-dpdk scenario"Tim Rozet1-0/+4
2016-09-26Merge "migrating to proposed common network settings file"Dan Radez10-286/+292
2016-09-23Fix PREFIX calculation for attach_interface_to_ovsFeng 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: Ia59a437927a75d9bb99efd324ccb5e4a5201c051 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-22migrating to proposed common network settings fileDan Radez10-286/+292
- proposed in genesis https://wiki.opnfv.org/display/genesis/Common+Network+Settings - This patch updates the network_settings files in the config/network dir and updates the associated bash, python and python tests relative to the new yaml structure and nomenclature used in the proposed settings file JIRA: APEX-262 Change-Id: Ib0dc9d0f21465b38f2a53cff20f71fb9230bfc48 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-21enable vhostuser for ovs-dpdk scenarioFeng Pan1-0/+4
- Configure 'netdev' datapath type for ovs agent on compute node - Set correct permission in OVS JIRA: APEX-274 opnfv-tht-pr: 83 Change-Id: I94d41375c32f04f4cff872ef85fe8a4514103535 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-21removing unused bash parser functionsDan Radez1-40/+0
Change-Id: I694e057544097d59b9974fe6fc9ad269a5b180b6 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-21Merge "Handling file loads and tmp dirs differently"Dan Radez9-12/+19
2016-09-20Handling file loads and tmp dirs differentlyDan Radez9-12/+19
Change-Id: I602279b30b035cfc667e4ee9b83905a638440abb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-19Fix TenantNIC and PublicNIC configFeng Pan1-2/+14
- We now check if vairables (public/private)_(compute/controller)_interface are set before performing substitution. If those variables are not set, default values (nic2 for private and nic3 for public) are used. - Change TenantNIC and PublicNIC variables to be role specific. opnfv-tht-pr: 80 Change-Id: I4c0c9d5c2239ea1914b5d2de63f2b5c4f63c8fb0 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-16Merge "Increase ironic undercloud timouts"Dan Radez1-0/+2
2016-09-15Increase ironic undercloud timoutsrandyl1-0/+2
Increase the tollerence for installing on slower networks. "/etc/ironic/ironic.conf" [disk_utils] iscsi_verify_attempts=30 [disk_partitioner] check_device_max_retries=40 Using openstack-config, since that is being used to configure other attributes. Jira : APEX-267 Signed-off-by: RandyL <r.levensalor@cablelabs.com> Change-Id: I9da3a1ee6a5e6767462c0135c45aadee64790ab4
2016-09-15Networking-vpp fixesFeng Pan2-3/+9
- Update TenantNIC and PublicNIC in numa.yaml - Use OVS rather than linux bridge for virtual deployment on jump host - Fix controller and compute IP arrays in T-H-T - Move networking-vpp repo for vlan rewrite patch JIRA: APEX-261 opnfv-tht-pr: 79 Change-Id: I4b3b6b09613e7c47869617e15aafec8e7b59d18f Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-10Merge "Enables networking-vpp in nosdn-fdio scenario"Tim Rozet1-0/+3
2016-09-09Update flavors to use hugepage for fdio/ovs-dpdk scenariosFeng Pan1-0/+7
JIRA: APEX-258 Change-Id: Ia055f317147cc63b479cf1dbc1a85f05acc0726a Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-09Enables networking-vpp in nosdn-fdio scenarioFeng Pan1-0/+3
- Add puppet neutron support for configuring both ML2 driver and networking-vpp agent - Update THT to invoke new puppet classes. JIRA: APEX-261 opnfv-tht-pr: 76 Change-Id: Iab21713eb711e9f24fa66cba30c895e43a3e945e Signed-off-by: Feng Pan <fpan@redhat.com>
2016-09-08Merge "moving inventory file parsing to python"Michael Chapman6-122/+126
2016-09-08Merge "Fixes FDIO kernel settings"Michael Chapman1-1/+1
2016-09-07moving inventory file parsing to pythonDan Radez6-122/+126
Change-Id: Ib03728e8ffe9c65044b32b4348e9c1c88862c6e3 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-07Fixes FDIO kernel settingsTim Rozet1-1/+1
VPP was overriding kernel settings with its defaults for all deployments by installing the VPP RPM. This removes that file, and sets the settings appropriately for the FDIO scenarios only, based on number of huge pages per profile. JIRA: APEX-255 Change-Id: If39b220a7c34cbfd673afe1881c1a9bdb3fdc2e0 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-09-03Disables Congress HA due to congress bugsTim Rozet1-0/+2
JIRA: APEX-257 Change-Id: I21913a6e41a2fd1565b1950345d15d0b5d47cb9c Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-31Modifies L3 Agent for FDIO DeploymentsTim Rozet1-0/+3
L3 Agent needs to use OVS driver for external interfaces and NSDriver for Internal interfaces. JIRA: APEX-252 opnfv-tht-pr: 73 Change-Id: Ic96e30421a1f1308c358a644e5602ca738091695 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-30Adds ability to power off nodes in cleanTim Rozet4-0/+59
Now if an inventory file is provided to clean, those nodes will be powered off. JIRA: APEX-250 Change-Id: I2d78285717726c3d1c9d7d88c38e706d4617e337 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-29Fixes datasource creation for congressTim Rozet1-4/+12
There were syntax errors with "auth_url" and an extra double quote. Also added logging to make it more clear when datasources get created. JIRA: APEX-245 Change-Id: I554fb8195116dd71f4b34b8ccf6e969d9b2e7224 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-27Fixes control/compute node detectionTim Rozet1-9/+21
Previous behavior was detecting the total number of nodes in the inventory file and defining number of compute nodes as total nodes, minus 1 or 3 control nodes (depending on HA flag). This patch changes the behavior to look explicitly for number of compute/control nodes in the inventory file. JIRA: APEX-244 Change-Id: I0191bb88e7dc5bebb5f7bfed39661f8047dbd476 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-08-24adding more network_environment.py testsDan Radez1-31/+30
- increasing required test coverage to 90% - also consolidating some repeated code into functions Change-Id: I6b582478c509c24fce43224a516414e1ead6c8e4 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-23converiting the deploy settings obj to a dictDan Radez2-15/+22
The deploy settings values are embedded in a dictionary inside a generic object. This patch makes the deploy settings object a dictionary so the values can be accessed directly without having to unnecessarily drill down through an empty object to the dict that holds the content intended to be managed by the deploy settings object. - adding tests to cover DeploySettings 100% Change-Id: I4ba625cd7b51cfb6c1f91c74f1d332d1e3dd9a8e Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-23Merge "removing enabled_network_list as an argument to network env"Dan Radez2-11/+8
2016-08-22correcting the virtual baremetal defaultsDan Radez2-8/+8
Defaults for virtual deployments was not correct, there were three baremetal nodes being created by default for a noha deployment. JIRA: APEX-221 Change-Id: I8b13ffb620d8ebaed4308725edbc7e84279872dd Signed-off-by: Dan Radez <dradez@redhat.com>