summaryrefslogtreecommitdiffstats
path: root/lib/parse-functions.sh
AgeCommit message (Collapse)AuthorFilesLines
2017-02-18Add support for odl-fdio scenarioFeng Pan1-13/+2
Changes: - Kernel parameters are now set through first-boot.yaml during deployment. No custom images will be built. Note that all nodes will be configured the same way, we only use compute's kernel parameter settings currently (from deploy settings file) - Add support for VPP interface type in network settings file, it is now possible to specify vpp_interface type and uio_driver for tenant nic in network settings file. A new example config, network_settings_vpp.yaml is added. - Add support for odl_l2-fdio scenario. Limitations: - Physical NIC names must be specified in network settings file, numbered nic names such as nic1 are not supported for fdio scenarios. - The same kernel parameters will be configured for all nodes. The paramters will be taken from compute kernel parameter section in deploy settings file. opnfv-tht-pr: 104 opnfv-puppet-tripleo-pr: 12 os-net-config-pr: 3 Change-Id: Ie9d6151e6e58d11da3c66fbcabe4a0886c3fa152 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-12-21Merge "Updating ENV var names to better reflect what they point to"Dan Radez1-1/+1
2016-12-21Updating ENV var names to better reflect what they point toDan Radez1-1/+1
- Also removing a stale file Change-Id: Ice2f9b4f9961bcd7f05278f11995aa0af237ac8e Signed-off-by: Dan Radez <dradez@redhat.com>
2016-12-20Adds declaring disk device to use on overcloud nodesTim Rozet1-0/+8
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-09-27Removing --flat and network_isolation variablesDan Radez1-5/+1
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-26Merge "migrating to proposed common network settings file"Dan Radez1-1/+1
2016-09-22migrating to proposed common network settings fileDan Radez1-1/+1
- 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-21removing unused bash parser functionsDan Radez1-40/+0
Change-Id: I694e057544097d59b9974fe6fc9ad269a5b180b6 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-20Handling file loads and tmp dirs differentlyDan Radez1-1/+1
Change-Id: I602279b30b035cfc667e4ee9b83905a638440abb Signed-off-by: Dan Radez <dradez@redhat.com>
2016-09-07moving inventory file parsing to pythonDan Radez1-78/+8
Change-Id: Ib03728e8ffe9c65044b32b4348e9c1c88862c6e3 Signed-off-by: Dan Radez <dradez@redhat.com>
2016-08-17Merge "Move deploy options check to network settings section"Tim Rozet1-10/+11
2016-08-15Check data plane settings before adding ovs_dpdk/fdio configFeng Pan1-7/+9
JIRA: APEX-227 Change-Id: I5f55f862e564205b2e426e60d741e60bc255f2f4 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-15Move deploy options check to network settings sectionFeng Pan1-10/+11
JIRA: APEX-228 Change-Id: I85e6794bf2371116facef60ef4e29c9c9ca79131 Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-04Fix network_isolation argparse issueFeng Pan1-1/+1
JIRA: APEX-222 Change-Id: I435852fbe1597bf03f617dc14a6718de699b648f Signed-off-by: Feng Pan <fpan@redhat.com>
2016-08-03Adds configuring vpp/hc on all nodesTim Rozet1-2/+12
Changes include: - starting vpp with pci addr of tenant nic - setting performance options for fdio scenario - creates nosdn fdio scenario (needs newtorking-vpp, etc) - starts HC if ODL is used opnfv-tht-pr: 46 JIRA: APEX-133 Change-Id: Ie7a7f1418b94dfb82255ec9aebc550a955dd696a Signed-off-by: Tim Rozet <trozet@redhat.com>
2016-07-05Moving parser functions to a sourced fileDan Radez1-0/+174
Trying to split the monolith deploy.sh Change-Id: Ib145e01696384b1b27e8a79263647235e7d68e2a Signed-off-by: Dan Radez <dradez@redhat.com>