summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2017-06-27Update git submodulesYujun Zhang1-0/+0
* Update docs/submodules/qtip from branch 'master' - Initial draft for storage QPI JIRA: QTIP-255 Change-Id: I987de78941d1e3a200e5c326348af344ea8d9559 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-06-26Update git submodulesTim Irnich1-0/+0
* Update docs/submodules/sdnvpn from branch 'master' - Merge "Uplifting docs to D-3" - Uplifting docs to D-3 Change-Id: Iff2f924886bae8e4bf84f4325cde3d7f8546b487 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-06-26Update git submodulesTim Irnich1-0/+0
* Update docs/submodules/sdnvpn from branch 'master' - Merge "Restore peering within testcase3 for Apex" - Restore peering within testcase3 for Apex Change-Id: I7f3a4892e6ef73fb13512e427fab3e42ff1b69d9 Signed-off-by: tomsou <soth@intracom-telecom.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Make rally support https insecure deployment" - Make rally support https insecure deployment When running in https environment, rally should support insecure deployment if no cacert file is provided. JIRA: FUNCTEST-828 Change-Id: I29b0fc8c2e1b74a1ce08293706cd9f11f975b6d5 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-26Update git submodulesspisarski1-0/+0
* Update docs/submodules/functest from branch 'master' - Fixed problem to vping userdata introducted by SNAPS-OO patch. Changed get_vm_inst() to return a domain object forgot to change the call in vping_userdata.py. JIRA: SNAPS-92 Change-Id: I7585dcde483c39fa850e5184686f42bbf2e8f3c5 Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-06-26Update git submodulesManuel Buil1-0/+0
* Update docs/submodules/sfc from branch 'master' - Merge "Conform SFC test to Functest framework" - Conform SFC test to Functest framework - Inherit from OSGCTestCase which takes care of pushing the result to the DB automatiically. - Functest will just need to import this module in testcases.yaml and the framework will launch it - It is still possible to call this script from python command line directly as it has a main function. Change-Id: If02c13b6b6c2500f4eed7646a2b9eb284df0c5ae Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Use glance to list images" - Use glance to list images 1. Images list is not supported by novaclient 8.0.0 2. It moves images list out of nova and into glance Change-Id: I2a2d40a2ca3a0cf1ebfb55697b3c58af8748a805 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Change floating ips management from nova to neutron" - Change floating ips management from nova to neutron Nova does not longer support floating ip creation/deletion. This patch moves that logic to neutron client. Change-Id: I2c4146149fe5be534d9c50d78d831b5af1957ad7 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-26Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/sdnvpn from branch 'master' - Add requirements in sdnvpn It now leverages on pbr to scan requirements.txt and inject them into the install_requires. Change-Id: Iae1517ae0bfd3575e9d16de4a2ca42e114d956fb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Enable vping offline" - Enable vping offline Images used are changed to leverage local file. Change-Id: I42a89c8c33054a23e226d22358fe268770986a76 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Take OpenStack's constraints into account" - Take OpenStack's constraints into account upper-constraints.txt contains a pinned list of the entire set of transitive requirements for OpenStack [1]. We will add OPNFV's constraints as well for OPNFV projects and their requirements when they are ready. [1] https://specs.openstack.org/openstack/openstack-specs/specs/requirements-management.html Change-Id: I2e23584f957e4de191341800d24c8b2776ef9143 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Define logger as Feature instance attribute" - Define logger as Feature instance attribute It allows any Feature subclass to print warning messages in console and debug messages in a dedicated file. Co-Authored-By: Cédric Ollivier <cedric.ollivier@orange.com> Change-Id: Ic5b1b1184c16cf50f0baadc3904075d0acdf3c6d Signed-off-by: Jose Lausuch <jose.lausuch@ericsson.com> Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Install opera via python package" - Install opera via python package It should be noted that the other OPNFV projects cannot currently be installed via python packages for many reasons (e.g. binaries not included, no setup.py...). Change-Id: Iaf1c960471b2dd8916eb1a49cb46f50b7dfb9b88 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Install OPNFV sdnvpn via python package" - Install OPNFV sdnvpn via python package Change-Id: Ibcaef4eb8658bfe7d1900a8cd6a7b48740524526 Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-26Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Stop personalizing the common Dockerfile" - Stop personalizing the common Dockerfile Any personal config can be applied to another Dockerfile which inherits from this one. Change-Id: Ifb77c0d5821c2b40f2f3e1d6adee6f83d0cd0b29 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-06-26Update git submodulesJun Li1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Add licenses to Dovetail scripts" - Add licenses to Dovetail scripts JIRA: DOVETAIL-453 Change-Id: I40110eae6eac86953f482f83e0b082149c3d0377 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-26Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "increase line length to 99" - increase line length to 99 When line length is 79 I have to spend too much time manually wrapping my code into unreadable junk I can't use expressive tuple unpacking and I start shortening variables and other bad tricks to decrease the line length. We have too many levels of indent to manage with 79 class: def: if: for: etc. Change-Id: Ib2ce9cf887f9880c46815822c8d0e1a7806e53ca Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-06-26Update git submodulesMichael Polenchuk1-0/+0
* Update docs/submodules/fuel from branch 'master' - Remove redundant services from noha scenario Change-Id: I445f6ac802fbf1b382b18bcb4306eb5538cb1867 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2017-06-26Update git submodulesHarry Huang1-0/+0
* Update docs/submodules/compass4nfv from branch 'master' - Fix config-compute handler The network restart handler comes at the end of all tasks which cause pkg install task be executed when network is not ready. Flush this handler right after configure network tasks. Change-Id: I98b9f6f0f2ec0b79632188a481673529a1b522bb Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-26Update git submodulesJun Li1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Bugfix: Dovetail CI failed with Permission denied" - Bugfix: Dovetail CI failed with Permission denied JIRA: DOVETAIL-451 1. Dovetail CI jobs failed because of Permission denied. 2. The directory ${WORKSPACE}/cvp/pre_config is created with sudo privilege, so fetch_os_creds without sudo got Permission denied. 3. Remove the sudo when create directory ${WORKSPACE}/cvp/pre_config. Change-Id: I802dc1cf8479b61929a9311800e65d357f4a7d34 Signed-off-by: xudan <xudan16@huawei.com>
2017-06-26Update git submodulesAlex Yang1-0/+0
* Update docs/submodules/daisy from branch 'master' - Correct the kolla image version in makefile_patch.sh Makefile_patch.sh is missed in patch 36229. Change-Id: I8da88a0f8220061b4ad03711c1a52715703dd579 Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-06-26Update git submodulesJingLu51-0/+0
* Update docs/submodules/yardstick from branch 'master' - Bugfix: remove double quote around SECURE variable JIRA: YARDSTICK-689 This patch remove the double quote around the SECURE varibale as it may cause the fowllowing error: $ openstack "${SECURE}" image list openstack: ' image list' is not an openstack command. See 'openstack --help'. Did you mean one of these? access token create address scope create address scope delete address scope list address scope set address scope show aggregate add host aggregate create ... Change-Id: Ibb22e85b3dd89b0e3b62821bd5ebe4f155886ffc Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-06-26Update git submodulesJingLu51-0/+0
* Update docs/submodules/releng from branch 'master' - [yardstick] Pass "BRANCH" variable to yardstick docekr container Recently update of utils/fetch_os_creds.sh in commit 8359219bae93a028f6205cdc9460654f9e45c217 use a "BRANCH" varibale in fuel environmet Currently Yardstick didn't pass such variable to yardstick docker, which causes the following error: /home/opnfv/repos/releng/utils/fetch_os_creds.sh: line 75: BRANCH: unbound variable This patch fix this error by Pass "BRANCH" variable to yardstick docekr container Change-Id: Ifcf3df7107b2f4b493b37c7ef5473f170a8edb94 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-06-26Update git submoduleszhouya1-0/+0
* Update docs/submodules/daisy from branch 'master' - enable opendaylight Change-Id: I759d864efa524c0d564b9d93aa480e155149adaa Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-06-25Update git submodulesJustin chi1-0/+0
* Update docs/submodules/compass4nfv from branch 'master' - Merge "replace build.conf with yaml" - replace build.conf with yaml JIRA: - use build.yaml as config file from Euphrates openstack deb/rpm/pip packages download from compass repo containers, not from compass.iso. so delete these packages from build.cfg Change-Id: Id254852ece0d738b3ec543efe68216206bd7daf2 Signed-off-by: chigang <chigang@huawei.com>
2017-06-24Update git submodulesHarry Huang1-0/+0
* Update docs/submodules/compass4nfv from branch 'master' - Install network pkgs during OS installation Before network is setup, host can't access to internet. Install bridge-utils, ifenslave and vlan when cobbler managing OS installation so when network restart all pkgs needed is ready. Change-Id: Idaa880ed0abfb50f417d67fe55e964992a185c80 Signed-off-by: Harry Huang <huangxiangyu5@huawei.com>
2017-06-24Update git submodulesJing Lu1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Yardstick output format unified" - Yardstick output format unified JIRA: YARDSTICK-658 Currently the yardstick have three dispatcher: file, influxdb, mongodb. (influxdb using API to get result and mongodb using testAPI to get result) But their output format is different. It is hard to use. In this patch, make all dispatchers using the same data source. And make the output format of file and influxdb unified. As for mongodb, since it is related to testAPI, so I make it push data every test case. The unified output format is: http://paste.openstack.org/show/610125/ Change-Id: I854ac4f03e6f904469b07b0c924c7d850545ae5b Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-06-24Update git submoduleschenjiankun1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Add API to upload pod.yaml file JIRA: YARDSTICK-687 We need a API to upload a pod.yaml file to /etc/yardstick/pod.yaml. API: /yardstick/env/action method: POST param: { 'action': 'upload_pod_file', 'file': file object } Change-Id: I3d25df364da10aaf34f995e948e1704235a40f6f Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-06-24Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Remove calls to deployment handler in prepare env" - Remove calls to deployment handler in prepare env The reason is that some installers have changed the mechanism and the adapters are not valid any more and the method to access the deployment information fails Fuel -> MCP Compass -> Containers This shall be deactivated to avoid errors in CI until the new installer adapters are implememnted. Change-Id: I995b914bf55d5da76f27e715d170dd22e84d677c Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
2017-06-24Update git submoduleshuangxiangyu1-0/+0
* Update docs/submodules/compass4nfv from branch 'master' - fix baremetal deploy 1. delete package part when external network is not ready 2. modify some vm_environment ip to adapt with containerized compass4nfv code Change-Id: I9d777675e7ca9d6f9b12a885df8677b2446e6917 Signed-off-by: huangxiangyu <huangxiangyu5@huawei.com>
2017-06-24Update git submodulesxudan1-0/+0
* Update docs/submodules/releng from branch 'master' - Bugfix: Dovetail CI failed on fuel because of BRANCH: unbound variable JIRA: DOVETAIL-451 1. Dovetail CI jobs failed on fuel becase lack of BRANCH. fetch_os_creds.sh: line 75: BRANCH: unbound variable 2. That's mainly because of Dovetail uses sudo to run fetch_os_creds.sh. 3. BRANCH is jenkins' env param and root's env lacks of this param. Change-Id: I3163d6e9f099e979bace00ce993b422ad60f6b8f Signed-off-by: xudan <xudan16@huawei.com>
2017-06-24Update git submodulesJing Lu1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Improve Yardstick user-guide" - Improve Yardstick user-guide This patch adds a short description on how to use the "yardstick env prepare" command in a Non-OPNFV installer environtment. Change-Id: Idf54bf5318499d2b129a1445e0758e351945e755 Signed-off-by: JingLu5 <lvjing5@huawei.com>
2017-06-24Update git submoduleschenjiankun1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Add API to update openrc variable JIRA: YARDSTICK-651 Currently we source openrc variable manually or use yardstick env prepare to get openrc file. We need API to update the openrc variable. api: /yardstick/env/action description: source environment variable method: POST parameters: { 'action': 'update_openrc', 'args':{ 'openrc': { 'OS_USERNAME': 'admin', 'OS_PASSWORD': 'console', 'OS_TENANT_NAME': 'admin', 'OS_AUTH_URL': 'http://192.168.131.222:5000/v2.0', 'EXTERNAL_NETWORK': 'ext-net' } } } Change-Id: I680a7249116c8ff0c1a9e7d5089538d935240c80 Signed-off-by: chenjiankun <chenjiankun1@huawei.com>
2017-06-24Update git submoduleshongbo tian1-0/+0
* Update docs/submodules/dovetail from branch 'master' - Merge "HA testcases" - HA testcases Modify HA testcases.rst file to include detail discribtion of the 8 testcases. Rename the original rst file into HA testcases outline.rst. Please review and see if you need two of these file, or you prefer a single one, or maybe merge these two. as discussed,propose 8 HA testcases for mandatory test cases. JIRA: Change-Id: Ie6cd5a68897bb0208932d2e1fec65cc59bfa25b4 Signed-off-by: fuqiao@chinamobile.com
2017-06-24Update git submoduleshongbo tian1-0/+0
* Update docs/submodules/dovetail from branch 'master' - Merge "IPv6 Test Cases" - IPv6 Test Cases Change-Id: Icdb2786076aa6a263449eca5db4a07d14f1e2adf Signed-off-by: Bin Hu <bh526r@att.com>
2017-06-23Update git submodulesNarinder Gupta1-0/+0
* Update docs/submodules/joid from branch 'master' - Merge "move k8s command from jumphost to kubernetes-master" - move k8s command from jumphost to kubernetes-master Change-Id: I5e1a83cebf6f90beebc34798c8b2c9a96cce4afb Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
2017-06-23Update git submodulesAric Gardner1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "barometer: setmeta on properties files" - barometer: setmeta on properties files Change-Id: I9c8b86488c0dab04068b978864dff017bd5a95e9 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>
2017-06-23Update git submodulesAric Gardner1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Add octopus|pharos|functest to ci gate security" - Add octopus|pharos|functest to ci gate security JIRA: RELENG-252 Change-Id: I884853cc3faf4cd24832bf5f35078a0913f2a0b3 Signed-off-by: agardner <agardner@linuxfoundation.org>
2017-06-23Update git submodulesspisarski1-0/+0
* Update docs/submodules/snaps from branch 'master' - Use neutron to create floating IPs. This patch moves the floating IP creation out of nova and into neutron. Other changes include the use of domain objects for VM and Floating IP instances, addition of new nova_utils tests to exercise the create server functionality, and more PEP8 compliance. JIRA: SNAPS-92 Change-Id: I16c12b26b56008901633e90ae307586ad2045f9b Signed-off-by: spisarski <s.pisarski@cablelabs.com>
2017-06-23Update git submodulesGergely Csatari1-0/+0
* Update docs/submodules/openretriever from branch 'master' - Merge "Clarifications to OpenStack gaps" - Clarifications to OpenStack gaps I've made the following changes: - removed the direct references to Mitaka release, as this analyzis might be updated to later releases. - Added the relevant OpenStack projects to the table - Made some clarifications to the existing gaps - Removed the "Is available in Mitaka" as none of them are avaiable ;) Change-Id: I48a4695de8e3d72b7fbcd2287d62b4b178758051 Signed-off-by: csatari <gergely.csatari@nokia.com>
2017-06-23Update git submodulesSerena Feng1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Changing urls of testapi api and resources" - Changing urls of testapi api and resources Change is done in reference to https://gerrit.opnfv.org/gerrit/#/c/34527/ This change will also fix the jenkins job testapi auto deploy which is failing. Change-Id: I5011718aa2bdf7e2aab0a12d406c4d0eece86972 Signed-off-by: Sakala Venkata Krishna Rohit <rohitsakala@gmail.com>
2017-06-23Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Enable https insecure for functest" - Enable https insecure for functest 1. When running in https environment, functest should provide an option to disable server certificate verification. 2. For check_os.sh, the param "--insecure" is passed to openstack cli, e.g.. openstack --insecure server list. JIRA: FUNCTEST-828 Change-Id: Ie2c5b14152c92e87318fcfaf8b234f59275eb6b8 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-23Update git submodulesZhijiang Hu1-0/+0
* Update docs/submodules/daisy from branch 'master' - Merge "add the scenarios option" - add the scenarios option Add the scenarios option and yaml configuration files, currently only support three scenarios as below. os-nosdn-nofeature-noha/os-odl_l3-nofeature-noha/ os-odl_l2-nofeature-noha. we will support more secnarios such as os-odl_l3-nofeature-ha in future. Change-Id: I24d7875208e277f6ee1b794c0033d5fee6b5e371 Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
2017-06-23Update git submodulesSerena Feng1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Revert rally version to 0.8.1" - Revert rally version to 0.8.1 1. Now rally version 0.9.1 is installed via "bash install_rally.sh --yes", cause the default RALLY_GIT_BRANCH is master. Then some rally related tests will fail as rally tests have not been updated in functest 2. rally version 0.8.1 can be installed via --branch 0.8.1 Change-Id: I04003134f070a1a35db2c02f2209e77365be592f Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-23Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "improve git code with devstack functions" - improve git code with devstack functions if we aren't re-cloning we still need to make sure we update the branch/tag/commit to the version from the remote so we need to fetch and then checkout again it is more complicated. Dockerfile does a shallow clone, so we don't get all the remote ref information. To clone a random remote commit id we have to unshallow Change-Id: If15f504b6ff2cfdfc8894fd3b37e687a19616714 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-06-23Update git submodulesmbeierl1-0/+0
* Update docs/submodules/releng from branch 'master' - Adjusting for GMT Change-Id: Id0719a6fb3bbe509fe6a76b305736a82f58bdc68 Signed-off-by: mbeierl <mark.beierl@dell.com>
2017-06-22Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "auto restart influxdb and grafana support" - auto restart influxdb and grafana support JIRA: YARDSTICK-686 Change-Id: If486df4d825f9d0b03eeaa77716cc2855e2f1bd0 Signed-off-by: rexlee8776 <limingjiang@huawei.com>
2017-06-22Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/snaps from branch 'master' - Enable https for Openstack in Snaps When running in https environment, snaps should provide two options: 1. To support certification verify when https certification file is provided; 2. To disable server certificate verification without cert file. JIRA: SNAPS-84 Change-Id: I5a9094238db5c8017cc8b80e3353adc6e793b552 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-06-22Update git submodulesLuke Hinds1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Directly Run Anteater Docker Container" - Directly Run Anteater Docker Container The current approach is to run /bin/bash in a fully privilaged docker container as the root user and exec the anteater command from this. There are a couple of reasons this approach doesn't make sense: 1) anteater is not a long running service 2) anteater doesn't need any privilaged access to the host 3) anteater is already a compiled binary and can be ran directly Because the anteater container doesn't need access to all the host devices nor is it running docker containers inside of docker, the `--privileged=true` flag can be removed. Note: '--rm' is added as well to ensure volumes do not persist past the container lifecycle and lead to build server running out of disk space. JIRA: RELENG-250 Change-Id: I1ec90b3737abf591b6b3373fe2fc8f52cdcfb11a Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-06-22Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Acquire NSB specific data from Heat." - Acquire NSB specific data from Heat. First we add mac_address, subnet_cidr to Heat template outputs Then we convert those into a form for NSB and add vld_id. NSB also requires PCI Bus ID, kernel driver and dpdk_port_num. We get this by ssh-ing into instance and dumping sysfs We also need to fix allow for ssh key auth, and implement relative path file loading so NSB can find all its YAML files JIRA: YARDSTICK-580 Change history: don't hide heat create tracebacks we need tracebacks for debug vnf_generic: add task_path to scenario so we can load relative paths for vnf_generic we want to be able to load yaml relative to the task path For example: traffic_profile: ../../traffic_profiles/fixed.yaml topology: ping_tg_topology.yaml # TODO: look in relative path where the tc.yaml is found These need to be relative to samples/vnf_samples/nsut/ping/tc_ping_heat_context.yaml Add a scenario["task_path"] entry heat: log actual exception vnf_generic: replace list with set and iterate over values() some general refactors to remove redundact lookups and type conversions heat: provide mac_address, device_id and network_id from outputs We may need more information to dynamically determine test topology. Towards this end return more info in the heat template. We can return mac_address, device_id and network_id. Once we have this info we can add it to the context_cfg as an interfaces dict. add sample vnf ping multi-network test this test requires 3 network, one for mgmt and the other two for NSB traffic tests We have to make sure we don't use DPDK on mgmt interface because DPDK unbinds the driver heat: convert networks to OrderedDict so we can lookups networks as well as iterate over them in consisitent order heat: and vld_id to networks for vnf_generic vnf_generic uses vld_id Virtual Link Descriptor ID to identify interfaces Add the key to the networks dict and store in Networks object implement relative path file loading in vnf_generic in multiple places we need to load a file relative to the task path, so add open_relative_file_path and modify load_vnf_model to include the scenario_cfg parameter so we have access to task_path DRAFT: heat timeout support Heat stack in CI job failed due to some Nova issue. But then apparently yardstick kept running and took 180mins to timeout https://build.opnfv.org/ci/view/bottlenecks/job/bottlenecks-compass-posca_stress_ping-baremetal-daily-master/16/console We can add a Heat create timeout and fail faster if there is an error. The question is how long should we wait for a Heat stack to deploy. We can set a default and allow override in the heat context config, if users make complicated stacks heat: get netmask and gateway from heat outputs we have do some tricky business with finding the subnet cidr and converting it into netmask vnf_generic: get vpci, driver and dpdk_port_num use a big old find command to dump all the sysfs netdev info nicely. This was re-used from autotest FCoE tests. r"""find /sys/devices/pci* -type d -name net -exec sh -c '{ grep -sH ^ \ +$1/ifindex $1/address $1/operstate $1/device/vendor $1/device/device \ +$1/device/subsystem_vendor $1/device/subsystem_device ; \ +printf "%s/driver:" $1 ; basename $(readlink -s $1/device/driver); } \ +' sh \{\}/* \; This finds all PCI devices that are network devices, then dumps all the relevant info using /bin/sh. Then we parse this into a 'netdevs' dict inside the node_dict and also convert into VNF fields we need. vnf_generic: set node name for kpis node is a dict, so we have to use node_name vnfdgen: we CANNOT use TaskTemplate.render because it does not allow for missing variables, we need to allow password for key_filename to be undefined remove default ssh password hack, once rendering is fixed add new example tc_external_ping_heat_context Change-Id: If1fe0c1a2ab0a5be17e40790a66f28f706fa44d6 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Edward MacGillivray <edward.s.macgillivray@intel.com>