summaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-12-20Adds declaring disk device to use on overcloud nodesTim Rozet8-22/+66
Now in inventory file a user can declare 'disk_device' which will allow the user to specify which disk on their overcloud server to use for installation. The variable can be a comma delimited list, which will search in order post-introspection for the first device on the node that exists. The default disk used will be sda for deployments. Currently defining a per node disk is not supported by OSCLI, so although defined that way in Apex inventory, only the last definition will be used for all nodes. Other changes include: - Various fixes in inventory parsing - Makes bash writing a common function - Introspection now enabled for baremetal deployments JIRA: APEX-296 Change-Id: I330d91eb17408ccfceb7a99c25edbae5ce6d848d Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-16Fix odl_version text with comments (Boron->boron).Tomofumi Hayashi1-0/+2
At present, odl_version is case-sensitive hence opnfv-deploy fail with 'odl_version: Boron'. So the change fix it. Change-Id: Ifd611c56b9802b4c5033728e70cce03eb55985cf Signed-off-by: Tomofumi Hayashi <tohayash@redhat.com>
2016-12-15Fixes issue where ceph was being disabled by defaultTim Rozet1-0/+2
JIRA: APEX-374 Change-Id: Id7509d6c6528310cefc62522d3a90ddee19146a9 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-13Adds stripped down ODL CSIT deploymentTim Rozet3-10/+13
Introduces new (hidden) cli option to change composable env config. This parameter then will use the provided file, for example, csit-environment.yaml instead of the typical opnfv-environment.yaml. The effect is using less services required for ODL CSIT snapshots. Note: this will not work with perf options, but those are not required currently for ODL CSIT. CSIT also does not need ceph, so providing a new deploy option to allow disabling it. JIRA: APEX-362 Change-Id: If3833b1acceeb23ef9e12c90df6cc9607bd8c724 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-02Merge "Fixes using single network (previously called flat) for deploy"Feng Pan6-39/+55
2016-12-02Fixes using single network (previously called flat) for deployTim Rozet6-39/+55
Also contains various network parsing fixes. JIRA: APEX-361 Change-Id: I5e40ed67267d5ded85adc2982a8726ebbceaeae5 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-12-01Merge "adding option to pass dnslookup site"Dan Radez1-1/+1
2016-11-30Merge "Updates FD.IO ODL scenarios to use Carbon ODL version"Feng Pan1-2/+12
2016-11-30adding option to pass dnslookup siteDan Radez1-1/+1
Change-Id: I73d8e92b97b25b39010380d09f7fad3c65795869 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-29Renames 'usable_ip_range' to 'overcloud_ip_range'Tim Rozet3-6/+6
'usable_ip_range' was confusing for a lot of users, and most thought it encompassed all of the defined ranges in the network settings file (like floating_ip_range and introspection_range). This renames it to be more accurate. JIRA: APEX-288 Change-Id: I2e106666df1bfd007f150279e2e0387a64cd0f48 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-29Updates FD.IO ODL scenarios to use Carbon ODL versionTim Rozet1-2/+12
JIRA: APEX-346 Change-Id: I9ffa32da906f50441dfc05610d0668e84c992e81 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-29Fix for baremetal deploy with new network settings formatDan Radez1-1/+1
Change-Id: I2336436a827c0f9b066c17921729123aee877282 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-18Fixes external network creationTim Rozet1-1/+1
Without specifying the provider network type or physical network results in the default tenant network type being used upon external network creation (for us this means vxlan). Previously this worked fine because Neutron L3 agent and ODL L3 would assume to use br-ex. This is no longer true in ODL new nettvirt, and needs to be explicitly flat along with the correct physical network. Also includes minor fix for Manila service naming that was fixed upstream. JIRA: APEX-300 Change-Id: If5d467a811baafe01b725dd530938482fdd3fd03 Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-11-18Merge "Allow passing a device name to ceph"Tim Rozet2-1/+5
2016-11-18Merge "Rename network settings variable"Dan Radez1-2/+2
2016-11-17Allow passing a device name to cephDan Radez2-1/+5
JIRA: APEX-347 Change-Id: Ibc6d141e20faf613e0f6314286b55aff01ce862e Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-17Skip ip resolution during arp lookupsDan Radez2-3/+3
Change-Id: I58dcdb3f0b42be8354e7298923ba94d8052d3ee5 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-11-16Rename network settings variableMichael Chapman1-2/+2
The network_settings_file variable is actually the inventory file, this patch renames it to match. Change-Id: Id4d0b792b8426b4e0b1c61270fe2e6da89559413 Signed-off-by: Michael Chapman <michapma@redhat.com>
2016-11-14Updating heat cli calls to converged cliDan Radez3-5/+5
In newton the heat cli is deprecated: WARNING (shell) "heat stack-list" is deprecated, please use "openstack stack list" instead WARNING (shell) "heat resource-list" is deprecated, please use "openstack stack resource list" instead Change-Id: Ia32f05c72500e5fdd525c32a9b41b2be3cb1599c Signed-off-by: Dan Radez <dradez@redhat.com>
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>