summaryrefslogtreecommitdiffstats
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2017-08-17Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/fuel from branch 'master' - Merge "Bring in baremetal support" - Bring in baremetal support - ci/deploy.sh: fail if default scenario file is missing; - start by copying reclass/classes/cluster/virtual-mcp-ocata-ovs as classes/cluster/baremetal-mcp-ocata-ovs; - add new state (maas) that will handle MaaS configuration; - Split PXE network in two for baremetal: * rename old "pxe" virtual network to "mcpcontrol", make it non-configurable and identical for baremetal/virtual deploys; * new "pxebr" bridge is dedicated for MaaS fabric network, which comes with its own DHCP, TFTP etc.; - Drop hardcoded PXE gateway & static IP for MaaS node, since "mcpcontrol" remains a NAT-ed virtual network, with its own DHCP; - Keep internet access available on first interfaces for cfg01/mas01; - Align MaaS IP addrs (all x.y.z.3), add public IP for easy debug via MaaS dashboard; - Add static IP in new network segment (192.168.11.3/24) on MaaS node's PXE interface; - Set MaaS PXE interface MTU 1500 (weird network errors with jumbo); - MaaS node: Add NAT iptables traffic forward from "mcpcontrol" to "pxebr" interfaces; - MaaS: Add harcoded lf-pod2 machine info (fixed identation in v6); - Switch our targeted scenario to HA; * scenario: s/os-nosdn-nofeature-noha/os-nosdn-nofeature-ha/ - maas region: Use mcp.rsa.pub from ~ubuntu/.ssh/authorized_keys; - add route for 192.168.11.0/24 via mas01 on cfg01; - fix race condition on kvm nodes network setup: * add "noifupdown" support in salt formula for linux.network; * keep primary eth/br-mgmt unconfigured till reboot; TODO: - Read all this info from PDF (Pod Descriptor File) later; - investigate leftover references to eno2, eth3; - add public network interfaces config, IPs; - improve wait conditions for MaaS commision/deploy; - report upstream breakage in system.single; Change-Id: Ie8dd584b140991d2bd992acdfe47f5644bf51409 Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com> Signed-off-by: Guillermo Herrero <Guillermo.Herrero@enea.com> Signed-off-by: Charalampos Kominos <Charalampos.Kominos@enea.com> Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-17Update git submodulesTaseer Ahmed1-0/+0
* Update docs/submodules/storperf from branch 'master' - Support for Docker images on ARM processors. - Usage: docker build --build-arg ARCH=<arch_type> . Change-Id: I9018c627cef05e69492dbdefbe750d72cf98064d Signed-off-by: Taseer Ahmed <taseer94@gmail.com>
2017-08-17Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/fuel from branch 'master' - lib.sh: Fix mcp key owner for OPNFV Jenkins jobs In case of non-root deploys (i.e. running `ci/deploy.sh` without sudo), the OPNFV Jenkins slave executes it under a user shell, under a root shell, e.g.: $ sudo sudo -u jenkins bash $ echo $USER jenkins $ echo $SUDO_USER root Adjust lib.sh to only use SUDO_USER when it is not "root". Change-Id: I6dd1c8a5dd3a3b02cfb760818d66e99f49709a5b Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2017-08-17Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Disable temporarily Doctor from Functest The test case is currently failing whatever the scenario/installer It is misleading for some scenarios (e.g. barometer) As it is systematically failing for the moment, it makes more sense to disable the test rather than complexify regex constraints The test case will be reenabled when the following points will be fixed: - Python 3 support (pending question to Release Manager) - packaging OK: pending patches [1] [2] (need merge of [1]) - remove packet installation in run [1] https://gerrit.opnfv.org/gerrit/#/c/38177/ [2] https://gerrit.opnfv.org/gerrit/#/c/38053/ Change-Id: Ic06786f0d516f1702dc44dc521ba8ca810ee76f9 Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
2017-08-17Update git submodulesNarinder Gupta1-0/+0
* Update docs/submodules/joid from branch 'master' - Merge "fix cpu model for aarch64 kvm" - fix cpu model for aarch64 kvm CPU mode 'host-model' for aarch64 kvm domain is not supported by hypervisor refer to issue #1673467 (https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1673467) Change-Id: Idad0a4a19a801200b5f87d43e2a62b21833ab6b1 Signed-off-by: Di Xu <di.xu@arm.com>
2017-08-17Update git submodulesshangxdy1-0/+0
* Update docs/submodules/parser from branch 'master' - Support costum datatype definition in parameters Currently, it's only allowed to define standard parameters in the input section, this patch support to define custom datatype in parameters. The patch will be submitted to OpenStack community. JIRA: PARSER-138 Change-Id: Ie83f446958f6daa301382d21d8a32128bf8dffc9 Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
2017-08-17Update git submodulesNarinder Gupta1-0/+0
* Update docs/submodules/joid from branch 'master' - cleanup and remove unnecessary code. Change-Id: Idace8f5b31479dbcd8040fc41ee20e3a70b0cc8a Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "add orchestra_clearwaterims testcase" - add orchestra_clearwaterims testcase -rename testcase orchestra_ims to orchestra_openims -add orchestra_clearwaterims testcase -add unit tests Change-Id: I5291f84068915fa15e3fb7b63c5dbd0daec0acca Signed-off-by: Michael Pauls <michael.pauls@fokus.fraunhofer.de>
2017-08-17Update git submodulesMorgan Richomme1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Use separate timeouts for connection and reading." - Use separate timeouts for connection and reading. Use a short timeout for connection timeout to avoid to slow down testcase when remote recording API is not available and use a longer one to read data from API on successfull connections. Change-Id: I743c02f890059bf55b47cb4240d52fe0741f7cae Signed-off-by: Benoit HERARD <benoit.herard@orange.com>
2017-08-17Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "API proposal for functest" - API proposal for functest 1. Propose a basic framework for API 2. And these functions have been realized: 1) Show environment 2) Prepare Environment 3) Show credentials 4) List all testcases 5) Show a testcase 6) List all tiers 7) Show a tier 8) List all testcases within given tier JIRA: FUNCTEST-843 Change-Id: Ib961446708077b56465eda0052f6d38806b62594 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-17Update git submoduleszhouya1-0/+0
* Update docs/submodules/daisy from branch 'master' - use daisy.conf to build pxe server we use the interface of daisyclient to build the pxe server in tempest.py,but we can use the daisy.conf to build the pxe server instead,this is just the optimization of code Change-Id: I7a75d33aa8f80326750d304fa0a881201e956c57 Signed-off-by: zhouya <zhou.ya@zte.com.cn>
2017-08-17Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "jjb: xci: bifrost-verify: Disable errexit when uploading logs" - jjb: xci: bifrost-verify: Disable errexit when uploading logs The errexit option is there to catch failures when the job is executed. We don't want to mark the entire job as failed when we have troubles uploading the logs when the actual job has passed so we disable the errexit option to make the whole process less aggressive. Moreover, we move the build log upload to the end of the operation so we can catch as much output as possible. Change-Id: Ice126471a8c837c54c95c8ef0935c059d37ea91b Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-08-17Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Clean run_tests.py and the related ut" - Clean run_tests.py and the related ut It enhances run_tests.py as proposed in [1]. It also prints all skipped tests in summary and fixes copyright headers. All the related unit tests have been updated too. [1] https://jira.opnfv.org/browse/FUNCTEST-832 JIRA: FUNCTEST-832 Change-Id: I59b96422bc7942ecd6270c45ab7a3fb603c13ccb Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-17Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Update ODL tag to release/carbon" - Update ODL tag to release/carbon Change-Id: I82a5bdaeff5de74f11cd210f6437c720d0ee8aee Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-17Update git submodulesgrakiss1-0/+0
* Update docs/submodules/dovetail from branch 'master' - add nginx to host static files JIRA: DOVETAIL-485 Tornado does not support directory listing, so add nginx to host static files, and support log file browsing Change-Id: Ic1427ab9c64661b3993ac60943f470b125a0fbe7 Signed-off-by: grakiss <grakiss.wanglei@huawei.com>
2017-08-17Update git submodulesCarlos Goncalves1-0/+0
* Update docs/submodules/doctor from branch 'master' - Merge "Decode received data in byte type to str type" - Decode received data in byte type to str type json.loads in Python 3.5 doesn't accept a byte-type values so we need to decode it. Note that this is specific to Python 3.5; Python 2.7 and 3.6 accept byte-type values. Change-Id: I490f8e0f02a6ce277f86e75b32d1210bfcca8d49 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2017-08-17Update git submodulesCarlos Goncalves1-0/+0
* Update docs/submodules/doctor from branch 'master' - Merge "fix some bugs in monitor" - fix some bugs in monitor 1.send bytes data to the socket see https://docs.python.org/3/library/socket.html 2.fix a endless loop Change-Id: I880e713266347d8836cec45ebf9a500bb7c813f4 Signed-off-by: dongwenjuan <dong.wenjuan@zte.com.cn>
2017-08-17Update git submodulesCarlos Goncalves1-0/+0
* Update docs/submodules/doctor from branch 'master' - Delete project after stopping Inspector At cleanup phase, the sample Inspector fails to re-enable the state of the compute services. Such happens because the novaclient instance it's using is bound to the 'doctor' project, which has just been deleted at user.delete(). Thus, it is necessary to postpone the deletion of the project after stopping the inspector. Change-Id: I8cd5885cdfd3671a6c28342bdee65eac64dafaa8 Signed-off-by: Carlos Goncalves <carlos.goncalves@neclab.eu>
2017-08-17Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "jjb: xci: bifrost-verify-jobs: Kill the job after 90 minutes" - jjb: xci: bifrost-verify-jobs: Kill the job after 90 minutes Make use of the build-timeout macro to kill the job after 90 minutes which is more than enough for a bifrost job to finish. Change-Id: Ic7ffa8291d057bf22f7d97d017c00bd3f3b6f4a9 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-08-17Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "jjb: global: releng-macros: Add timeout wrapper" - jjb: global: releng-macros: Add timeout wrapper Add new timeout wrapper which can be used to kill a job if it take too long to finish Change-Id: I15a20fc92ea7855d11983b5734064aace138a2b5 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-08-17Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "jjb: xci: Use centos-minimal instead of centos7 element" - jjb: xci: Use centos-minimal instead of centos7 element The full distro elements are not well maintained. Upstream OpenStack also prefers the minimal elements when building images for the CI so we should do the same to minimize the delta between the two systems. Change-Id: Ifeddb0a74c2434df2cfa95cde36b4aaac1516698 Signed-off-by: Markos Chandras <mchandras@suse.de>
2017-08-17Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - samplevnf: fix make_ip_addr we get TypeError sometimes, so we need to catch them Change-Id: I5fc58006f18acf84f62d8f4a21077d71b2fb0ed8 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-17Update git submodulesJuha Kosonen1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Fix domain in tenant creation" - Fix domain in tenant creation Use the ID of the domain when creating a tenant on keystone v3. Change-Id: Ic415237e2bb2d537f07ab2245816a575f977aaa0 Signed-off-by: Juha Kosonen <juha.kosonen@nokia.com>
2017-08-17Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Obtain build_tag by CONST instead of get function" - Obtain build_tag by CONST instead of get function JIRA: FUNCTEST-763 Change-Id: I86b0b515a3d51df20a35c2aeb461a95d0c5797fd Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-17Update git submodulesLinda Wang1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Remove timestamp in the details for tempest" - Remove timestamp in the details for tempest Example: "success": ["2017-08-15 06:59:30.445 1180 INFO opnfv-tempest [-] {0} tempest.sce nario.test_server_basic_ops.TestServerBasicOps.test_server_basic_ops"] which is updated to: "success": ["tempest.scenario.test_server_basic_ops.TestServerBasicOps.test_serv er_basic_ops"] Change-Id: Iad13e380b3a1fdc37b7742929512098bccc6d460 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2017-08-17Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Switch to blocking: false for ODL testcase" - Switch to blocking: false for ODL testcase ODL basic suite doesn't support Keystone v3 [1] and then the related testcase should not block the testing till it's fixed. [1] https://jira.opnfv.org/browse/FUNCTEST-862 Change-Id: Ib9c92c5ff37ab720bdfc311df834f18bac39daa7 Signed-off-by: Nikolas Hermanns <nikolas.hermanns@ericsson.com>
2017-08-17Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Fully integrate promise in functest-features" - Fully integrate promise in functest-features Change-Id: I52a4719df1fd5f4159d0ba5eed1a9b14b8ba72f6 Depends-On: Ia9ae55b127d0d324d97974f5e9b1923d7636d7cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-17Update git submodulesNarinder Gupta1-0/+0
* Update docs/submodules/joid from branch 'master' - adding the formating correctly. Change-Id: Ief2012b454c2f8285c75c9234841d0d704cc2d17 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17Update git submodulesSerena Feng1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "[qtip] refactoring ci scripts" - [qtip] refactoring ci scripts - manage help scripts in qtip repo instead of releng - call entry script in qtip from releng JIRA: QTIP-268 Change-Id: Ibd0d2c2533c1a7f1963f6c3214c563499cce8b22 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-17Update git submodulesNarinder Gupta1-0/+0
* Update docs/submodules/joid from branch 'master' - modified to setup contraints on single bindin space charms. Change-Id: Ied886a0865a637ac206a831c7ce98933c600e5e7 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17Update git submodulesxudan1-0/+0
* Update docs/submodules/dovetail from branch 'master' - Add a sample tempest_conf.yaml file into userconfig 1. Functest cvp.0.5.0 supports to config tempest.conf file when running tempest test cases. 2. Dovetail provides a sample tempest_conf.yaml file, and user can edit this file before running tempest test cases. 3. All the values in this file will be used to update tempest.conf file. Change-Id: I1afb50f1405c6cef992132899e0549396f587872 Signed-off-by: xudan <xudan16@huawei.com>
2017-08-17Update git submodulesYujun Zhang1-0/+0
* Update docs/submodules/qtip from branch 'master' - Merge "Migrate contents from benchmarks to resources" - Migrate contents from benchmarks to resources Change-Id: I189c3d5224ec58ad63851d173b94204b273c3696 Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
2017-08-17Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "utils: create TASK_LOG_DIR if it doesn't exist" - utils: create TASK_LOG_DIR if it doesn't exist Change-Id: I10630599065e6c159b137bd4d6ee89353a1c411b Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-17Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Verify the route list before parsing the data key" - Verify the route list before parsing the data key Exception: line 502, in get_route_data return next((route[data_key] for route in route_list if route['if'] == port), None) TypeError: 'NoneType' object is not iterable Change-Id: Ia45d90a4e9a61cb917b23efd03b86eafb249b747 Signed-off-by: Deepak S <deepak.s@linux.intel.com>
2017-08-17Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "run_traffic: capture and exit gracefully if crash in trex run_traffic" - run_traffic: capture and exit gracefully if crash in trex run_traffic new non-blocking code of run_traffic has raise condition which causes trex client to exit with STLError. This patches captures the exception and exit gracefully Traceback (most recent call last): File "/usr/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap self.run() File "/usr/lib/python2.7/multiprocessing/process.py", line 114, in run self._target(*self._args, **self._kwargs) File "/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/network_services/vnf_generic/vnf/sample_vnf.py", line 945, in _traffic_runner self.resource_helper.run_traffic(traffic_profile) File "/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/network_services/vnf_generic/vnf/sample_vnf.py", line 506, in run_traffic self._run_traffic_once(traffic_profile) File "/opt/nsb_bin/yardstick_venv/lib/python2.7/site-packages/yardstick-0.1.dev0-py2.7.egg/yardstick/network_services/vnf_generic/vnf/tg_rfc2544_trex.py", line 63, in _run_traffic_once self.client.stop(self.my_ports) File "/opt/nsb_bin/trex/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_client.py", line 1202, in wrap2 raise STLError("'{0}' - connection to the server had been lost: '{1}'".format(func_name, client.conn.get_disconnection_cause())) STLError: Change-Id: Ie5741339451e0a3f9c4bb48f64fd35d86d18e5d4 Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-17Update git submodulesnarindergupta1-0/+0
* Update docs/submodules/joid from branch 'master' - adding space variable for K8 scenarios. Change-Id: If64c8af0b232c4ab126035b7a3fe266d86f232c9 Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17Update git submodulesxudan1-0/+0
* Update docs/submodules/dovetail from branch 'master' - Tag dovetail with cvp.0.5.0 JIRA: DOVETAIL-483 1. docker image used yardstick: danube.3.2 functest: cvp.0.5.0 bottlenecks: cvp.0.4.0 testapi: cvp.0.5.0 dovetail: cvp.0.5.0 2. main changes Bugfix: wrong command in function 'check_https_enabled' Use opnfv/functest:cvp.0.5.0 and do some adaptions in dovetail tool Create a tar file for all logs Add tempest test cases into proposed_tests Fix testapi base_url for public_url Add user guide for results operations on web 3. For more information, refer to https://wiki.opnfv.org/display/dovetail/Running+history+for+the+dovetail+tool Change-Id: Iec548b077a704ff68d6b93de3436e109d59371cd Signed-off-by: xudan <xudan16@huawei.com>
2017-08-17Update git submodulesnarindergupta1-0/+0
* Update docs/submodules/joid from branch 'master' - modified to add the opensack api on seperate network. Change-Id: I8e909778cf50bc93118b68cfc2282c113fb7d7be Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-17Update git submodulesAlex Yang1-0/+0
* Update docs/submodules/daisy from branch 'master' - Fix an error in sed statement JIRA: DAISY-42 Change-Id: I0fd709bb0dbee42cdc73076773cb635be6ba02cd Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-17Update git submodulesSerena Feng1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "update scenario scores" - update scenario scores update score url: POST /api/v1/scenarios/<scenario_name>/scores? \ installer=<installer_name>& \ version=<version_name>& \ project=<project_name> add new score record interface add unit test add swagger specification Change-Id: Ib7bb31f303a9a9402325476bfdadb58aa0df560e Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-08-17Update git submodulesSerena Feng1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "delete obsolete scenario update code" - delete obsolete scenario update code 1) update scenario will be subsitituted with new methods, in this patch delete the obsolete code first to make clean room 2) test_queryCombination() will fail randomly, in this patch disable it first, reopen when problem solved Change-Id: I1939876465934ea09894255712057a78f120be71 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2017-08-16Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/promise from branch 'master' - Move promise package to root directory It seems mandatory as Functest must install promise in editable mode. Then npm install can be called in the source directory. It completes "Add promise package" [1] It would have worked well in classical mode. [1] https://gerrit.opnfv.org/gerrit/#/c/38639/ Change-Id: Ia9ae55b127d0d324d97974f5e9b1923d7636d7cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-16Update git submodulesnarindergupta1-0/+0
* Update docs/submodules/joid from branch 'master' - modfied to use lxd/nodes/0 for classic. Change-Id: I36cd18fbd595d507cf09148a2c4a442b24b9cf3b Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>
2017-08-16Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Remove copper refs" - Remove copper refs Copper withdrew from E release (see comments in [1]). [1] https://gerrit.opnfv.org/gerrit/#/c/38851/ Change-Id: I1af463f5d60a6099592c1005ce27d3ca0c40cbbf Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-16Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Remove netready refs" - Remove netready refs Netready withdrew from E release [1] [1] https://lists.opnfv.org/pipermail/opnfv-tech-discuss/2017-August/017453.html Change-Id: I456b91e0bb454a4205df98d0e96032302d3b20a6 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-16Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Update promise upper constraint" - Update promise upper constraint It follows "Move promise package to root directory" [1]. Then it allows installing promise in editable mode. [1] https://gerrit.opnfv.org/gerrit/#/c/39161/ Change-Id: Id51d934c18a8f6567195de6b7775a62452bb9f83 Depends-On: Ia9ae55b127d0d324d97974f5e9b1923d7636d7cd Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2017-08-16Update git submodulesTrevor Bramwell1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Remove Python packaging files" - Remove Python packaging files Since we don't release releng as a python project, it doesn't make much sense to include a setup.py. The jjb testenv in tox.ini is modified to pin jenkins-job-builder and no longer require setup.py nor jjb/test-requirements.txt, and the modules testenv is moved to it's own tox.ini under modules. Locally testing of jjb can still be done using: tox -e jjb Change-Id: I512b1a8f9cd7d48a2f14b1bbe966b525793a6fe3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-08-16Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "YAML fixes" - YAML fixes There are multiple issues wiht YAML loading. 1. Jinja2 renders None values as a string 'None'. This is not valid YAML we need to render None values to '~' or 'null' which is the native YAML None value. 2. Jinja2 renders dict and lists that contain unicode with u'foo' values. This is not value YAML syntax. Because we are serializing dict and lists into YAML, we need to encode them as valid YAML. We can override Jinja2 finalize to use yaml.dump to dump inline YAML. We use yaml.safe_dump(elem, default_flow_style=True).replace('\n', '') to generate valid single-line YAML dict and list values. But this problem highlights the general difficulties with templating and loading files. We could avoid this Python->Jinja2->YAML->Python issue by directly injecting the list or dict after the YAML is loaded. I'm not sure of the real utility of these templates. 3. On Python 2 YAML loader is rendering all strings as unicode. This does not work for Trex because Trex is broken and badly coded. Trex does type checking against str() which is different for Python 2 and Python 3. The default YAML loader will return native string types, str() or unicode() for Python 2 and Python 3 respectively. The bad Trex codes is in convert_val: https://github.com/cisco-system-traffic-generator/trex-core/blob/master/scripts/automation/trex_control_plane/stl/trex_stl_lib/trex_stl_packet_builder_scapy.py#L674 def convert_val (val): if is_integer(val): return val if type(val) == str: return ipv4_str_to_num (is_valid_ipv4(val)) raise CTRexPacketBuildException(-11,("init val invalid %s ") % val ); This code is doing type(val) == str. This is bad and broken. We can't fix Trex, so we have to render all strings as native str() types The bug here was that the Heat template loader template_format.py was overriding the global YAML loader to always return unicode. We don't want this global override. To fix this we have to use local subclasses of the yaml.SafeLoader class. But in order to dynamically subclass from CSafeLoader or SafeLoader we have to use the type() builtin to define a new class at runtime. Once we have new classes defined, we can safely isolate different YAML constructors and return unicode or not depending on the case. To be consistent we implement a new yaml_loader.py module to centralize all non-Heat template yaml loading to ensure correct uncode/str conversion Change-Id: Iebf9cf78fbda390977c390436b0869e7bbf503eb Signed-off-by: Ross Brattain <ross.b.brattain@intel.com> Signed-off-by: Deepak S <deepak.s@linux.intel.com> Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2017-08-16Update git submodulesTrevor Bramwell1-0/+0
* Update docs/submodules/pharos from branch 'master' - Mount PostgreSQL Data from Persistent Volume Each time the postgresql container is torn down the database is lost. By using a presistent volume managed outside of docker compose, the postgresql data can persist across updates and service restarts. The volume needs to exist before the postgres container can start: this is done with the 'make data' command. Note: postgres container creates a volume at /var/lib/postgresql/data. Mounting at this location ensures the data is persisted into the external volume. Change-Id: I958ba57fc735c594378d575bc7108bee0d30c1e3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2017-08-16Update git submodulesFatih Degirmenci1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "xci: Remove prototypes directory due to migration to releng-xci repo" - xci: Remove prototypes directory due to migration to releng-xci repo Change-Id: I3b8a1dff64151dc55f05e621bab61f2b214bfd05 Signed-off-by: Fatih Degirmenci <fatih.degirmenci@ericsson.com>