summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-03-03Update git submodulesahothan1-0/+0
* Update docs/submodules/nfvbench from branch 'master' - Move docker container to tag 1.2.7 Change-Id: I556204e6d64b3b71402f65ba3cc1b63e3969e0ca Signed-off-by: ahothan <ahothan@cisco.com>
2018-03-03Update git submodulesahothan1-0/+0
* Update docs/submodules/nfvbench from branch 'master' - [NFVBENCH-72] ARP retry log may cause exception Fix exception - use proper type May happen when retrying wait for ARP replies Change-Id: Idc33926306268b662117deba499a35eac66affc4 Signed-off-by: ahothan <ahothan@cisco.com>
2018-03-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "VNF interfaces are sorted by "vpci" address before being populated" - VNF interfaces are sorted by "vpci" address before being populated In [1], VNF interfaces in TG PROX are sorted by "vpci" address, before this value is populated in "vnfd_helper". "vpci_if_name_ascending" is only used in TP ProxPofile [2] to generate the stats. This patch delays this sorting process until the stats generation. [1]https://github.com/opnfv/yardstick/blob/a74ad5a1ec1a73389c5983440b2031b0bc72cea1/yardstick/network_services/vnf_generic/vnf/tg_prox.py#L62-L64 [2]https://github.com/opnfv/yardstick/blob/a74ad5a1ec1a73389c5983440b2031b0bc72cea1/yardstick/network_services/traffic_profile/prox_profile.py#L33 JIRA: YARDSTICK-1044 Change-Id: I988dc48f9a82baa1c64f728d9e6d54f2f4bae010 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-03-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Prohibit the importation of a list of libraries" - Prohibit the importation of a list of libraries Some modules can't be imported and used in Yardstick. For example, "ansible" has GPLv3 license and can't be used as a library in this project without modifying Yardstick license. JIRA: YARDSTICK-896 Change-Id: I9d6bec0493ac50f1051235cc77e81059dfc3e01c Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-03-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Layout fixes to test case descriptions" - Layout fixes to test case descriptions Change-Id: I9658b023e4f3db7e22d67c71dfbba61511d981c6 Signed-off-by: Mika Rautakumpu <mika.rautakumpu@nokia.com>
2018-03-02Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Remove main() and __main__ from tests." - Remove main() and __main__ from tests. Removes the unnecessary main() functions from tests. Also removes shebang (#!) where it appears at the top of files. JIRA: YARDSTICK-861 Change-Id: I79180d1eb9c5bce640142dd62ce28c7437c1b210 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-02Update git submodulesEmma Foley1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Add yardstick.benchmark.contexts.heat.HeatContext._delete_key_file() * Move logic for removing key file into its own method * Update the log message to be more useful JIRA: YARDSTICK-1026 Change-Id: I8c131720ed91c939698c41ad63d586396fcce1fe Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-02Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/sdnvpn from branch 'master' - Update networking-bgpvpn to 7.0.0 networking-bgpvpn 7.0.0 was released for Pike [1] [1] https://docs.openstack.org/releasenotes/networking-bgpvpn/pike.html Change-Id: I4baf1810ee2390c71a0f4b831f11baedabc95360 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Update git submodulesCédric Ollivier1-0/+0
* Update docs/submodules/sdnvpn from branch 'master' - Switch to Xtesting It inherits from xtesting.core.feature [1]. [1] http://xtesting.readthedocs.io/en/latest/apidoc/xtesting.core.feature.html Change-Id: I3d64bce859de7132384b3cf0a6383348cc20b3b1 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Add functest-patrole in build.sh" - Add functest-patrole in build.sh Change-Id: I4a749a0981a81a5b032fa564719c51db2e6c6551 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Set networking-bgpvpn version in upper-constraints.txt" - Set networking-bgpvpn version in upper-constraints.txt As it's not listed in OpenStack requirements, it must be pinned in Functest. Change-Id: I4e692ef00d4b6e5dad9899ae279891699c9dcebc Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Update git submodulesvalentin boucher1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Leverage on Xtesting" - Leverage on Xtesting It removes all the files which have moved to Xtesting. Vnf inheritances and env management will be improved in other changes. It keeps the same tree thanks to a symlink to allow publishing artifacts. Change-Id: I551bbd3f344cdab0158a50b7b09e541576695631 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-02Update git submodulesMarkos Chandras1-0/+0
* Update docs/submodules/releng from branch 'master' - jjb: xci: Use core OpenStack installation by default We do not need all the components installed when deploying OpenStack so we can speed up the jobs by removing some of them. Change-Id: I19120915d0ef7c59b8b470c5fb87e9c0aa3e3673 Signed-off-by: Markos Chandras <mchandras@suse.de>
2018-03-02Update git submodulesFatih Degirmenci1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - xci: Bump SHAs to the latest stable/queens Rocky is still in early stages of development so bump SHAs to the latest version for Queens. Change-Id: I0721e6188889c3548c266c042414397385b85ca2 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-02Update git submodulesGordon Kelly1-0/+0
* Update docs/submodules/barometer from branch 'master' - ansible: add checks to ensure all ipmi dependancies are met Change-Id: I342016af10a1ed3a11364bda7bd7a563882fafbd Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-02Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/fuel from branch 'master' - Merge "Conform network scheme to tagged public interface" - Conform network scheme to tagged public interface Change-Id: I503c8ad32900406e1fa375cec9a91b454889d8bf Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-02Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/fuel from branch 'master' - Merge "[ovs/dpdk] [noha] Do not add private nic to ifaces" - [ovs/dpdk] [noha] Do not add private nic to ifaces All settings specific to private nic are handled by linux.network.dpdk but since the private nic's `interface.type` is currently 'eth', it is not filtered out from /etc/network/interfaces. To prevent this, define `interface.type` as a dummy value containing the 'dpdk' substring. Change-Id: I565153ee80698572209e12b4eec5f44f9416d945 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-02Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/pharos from branch 'master' - Merge "config/utils: YAML: Use C bindings if available" - config/utils: YAML: Use C bindings if available Time diff before/after this change for the same template via generate_config expansion: -user 0m0.144s +user 0m0.096s Change-Id: Id574afcd8a74a530d791ebed8b72ccae53703611 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-02Update git submodulesAbhijit Sinha1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Replace assertEqual(None, xx) with assertIsNone(xx)" - Replace assertEqual(None, xx) with assertIsNone(xx) Change-Id: Ie956d8064a8fbcbd3d56c5a79c4c613d35184af4 JIRA: YARDSTICK-942 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-02Update git submodulesAbhijit Sinha1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Make files pep8 compliant before replacing assertEqual(None, xx)" - Make files pep8 compliant before replacing assertEqual(None, xx) * tests/unit/network_services/helpers/test_samplevnf_helper.py * tests/unit/network_services/traffic_profile/test_rfc2544.py * yardstick/tests/unit/common/test_ansible_common.py JIRA: YARDSTICK-942 Signed-off-by: Emma Foley <emma.l.foley@intel.com> Change-Id: Ib3c71db5f5774d2bfb3a9cbd260b838eb5501448
2018-03-02Update git submodulesGordon Kelly1-0/+0
* Update docs/submodules/barometer from branch 'master' - Merge "ansible: add functionality to copy custom config files to target node" - ansible: add functionality to copy custom config files to target node Change-Id: I6e7cb3e0923495e236b74444b1da3f4450122d02 Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-02Update git submodulesMichael Polenchuk1-0/+0
* Update docs/submodules/fuel from branch 'master' - Install missing python module of jsonschema Change-Id: Ib903863a7a46008c93ee795083712a50a022a41d Signed-off-by: Michael Polenchuk <mpolenchuk@mirantis.com>
2018-03-02Update git submodulesEmma Foley1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "remove releng from Dockerfile and elsewhere" - remove releng from Dockerfile and elsewhere Current CI does openrc fetching before starting the Docker container and then passes openrc via Docker mount JIRA: YARDSTICK-691 Change-Id: Id0649130f48db5a5586149b237c5252b953e57be Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-03-02Update git submodulesFatih Degirmenci1-0/+0
* Update docs/submodules/releng from branch 'master' - xci: Cat functest log until the log upload is enabled Change-Id: I883e6e29cf102d1069e3760ab95dd24d76d0a222 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-02Update git submodulesFatih Degirmenci1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Merge "Pin kubespray to working sha" - Pin kubespray to working sha Kubespray works fine on supported distros so it is important we pin the sha and bump it in a controlled manner since people might be trying xci/k8 scenario and we want them to have working versions. Apart from that, scenario specific verify/merge jobs are being created at the moment and we need a working version to test the CI/testing side of things. Change-Id: I8702ed697057386449dc99d8cd14391de18f345a Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-02Update git submodulesRodolfo Alonso Hernandez1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Add "render-only" option to "task" command" - Add "render-only" option to "task" command This new option provides to the user the ability to output the rendered input files. This option could be useful in case the input files are Jinja2 templates, depending on input arguments. The user can preview the rendered input tasks files without executing them. JIRA: YARDSTICK-1020 Change-Id: Ib15ade7e1adcb29beae5e635fb5d02045c4432bb Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-03-02Update git submodulesJose Lausuch1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "Add envs via volume mapping" - Add envs via volume mapping Change-Id: I39bdde31bfc5674eecf1528427b55a7f0335bd89 Signed-off-by: Linda Wang <wangwulin@huawei.com>
2018-03-02Update git submodulesTrevor Bramwell1-0/+0
* Update docs/submodules/dovetail from branch 'master' - Remove Whitespace from CVP Docker README Change-Id: Ic880258ef8ffbcbdcf3452419dd385227567a5a3 Signed-off-by: Trevor Bramwell <tbramwell@linuxfoundation.org>
2018-03-02Update git submoduleswutianwei1-0/+0
* Update docs/submodules/compass4nfv from branch 'master' - move the update cache after role of setup-k8s-network If don't setup network, the host cannot connect to the Internet on baremetal pod. So we should update cache after setting the network. Change-Id: Ief0eb2d82c67b0ace2cfb233b9792f6e009a1524 Signed-off-by: wutianwei <wutianwei1@huawei.com>
2018-03-02Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/pharos from branch 'master' - generate_config: New `-i` arg for j2 includes dir jinja2 does not support imports from parent directories, so in order for j2 to be able to use '{% from <some>.j2 import ... %}' constructs with included j2 residing on a separate dirpath than current j2, add support for explicitly adding directories to the templater search path. This also allows calling generate_config with only file basename as '-j' arg value, as long as the dirname is passed via '-i' (can be extended later to parsing multiple j2 files at once). Change-Id: I943fda9262a6f7de5ee6fcc3e7bc9828c339651a Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com> - generate_config: Enable 'do' j2 extension 'do' is useful to avoid hacks like {% set _ = x.update(...) %}. Instead: {% do x.update(...) %}. [1] http://jinja.pocoo.org/docs/2.10/extensions/ Change-Id: I886beb97e0383ba11b81aa21cf12b11ebc4b05b2 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-02Update git submodulesAric Gardner1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "[fuel, armband] Fix broken regex in cond (2)" - [fuel, armband] Fix broken regex in cond (2) Fixes: af7df31 Change-Id: I6369ded12a50a2aa7f0268488c5511fba9732a99 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-02Update git submodulesSerena Feng1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge "add testapi-client verify job" - add testapi-client verify job Change-Id: I83f57a0967d6b8744a7c4890092fe0596e705291 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-02Update git submodulesSerena Feng1-0/+0
* Update docs/submodules/releng from branch 'master' - Merge changes from topics 'decouple_verify_automate', 'simplify_automate_jjb' * changes: decouple testresults verify job from automate job simplify automate jjb definition using releng_macro - decouple testresults verify job from automate job Change-Id: I45f01dbeb3ed9c1d3efe495f57bcbbfbb0d0b3e2 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn> - simplify automate jjb definition using releng_macro 1. leveraging macro gerrit-trigger-patchset-created 2. leveraging macro gerrit-trigger-change-merged 3. rename automate to testresults-automate Change-Id: I3dfee8dad28db7e818b912fed6d65b60b3f96391 Signed-off-by: SerenaFeng <feng.xiaowei@zte.com.cn>
2018-03-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Add ability to reuse existing OpenStack set-up" - Add ability to reuse existing OpenStack set-up This change adds two optional flags to the context configuration for heat: * no_setup -- to re-use an existing OpenStack deployment * no_teardown -- to skip undeploying the context, so it is available in other testcases In order to achieve this, resource naming had to be made more predictable. When no_setup or no_teardown are set: * Do not add a suffix to context name * When searching, try with and without a suffix to find a server by name All behaviors remain the same unless these values are set. NOTE: This feature doesn't work with the NSPerf scenario, because the interfaces in the VNFs are bound to DPDK after the first test, so the look-up for missing topology information fails in subsequent test runs, as the interfaces are not visable to the kernel. This can be addressed either by either unbinding the interfaces from DPDK at the end of each test, or modifying the look-up for the missing topology information to query DPDK as well. The change will be made in a future patch. JIRA: YARDSTICK-886 Change-Id: I6df5e86e419c283a2bee41917e4f62179aa9c31a Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - NSB: move interface probe to VNF, and attempt driver-only probe first If no devices are present we can't detect MAC address so we can't match Heat ports to interfaces. If only the driver is missing we can try to probe the driver using lspci. We can use lspci to ask the kernel what driver it should use for the PCI device. If we can't probe at all because the device is already bound, we can use dpkd-devind to find all the PCI address we care about and create a map with PCI device and real kernel driver. Then we can dpdk force rebind to the kernel driver. Once we have rebound to the kernel driver we can detect MAC address and all the other attributes that are required. Fix VnfSshHelper to allow override of wait timeout And a bunch of other refactors that got swept up in this JIRA: YARDSTICK-835 Change-Id: I14cb657ed289a77941d048345d06ced5b5d5da52 Signed-off-by: Ross Brattain <ross.b.brattain@intel.com>
2018-03-01Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/releng from branch 'master' - [fuel, armband] Fix broken regex in dovetail cond Fixes: af7df31 Change-Id: I13e20591ce82792a12a514ae62e3b3dd4ed50e65 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
2018-03-01Update git submodulesAlexandru Avadanii1-0/+0
* Update docs/submodules/fuel from branch 'master' - Merge "lib.sh: Validate pdf/idf with pharos schema" - lib.sh: Validate pdf/idf with pharos schema Run the pharos yaml schema validation for configuration files before expanding them JIRA: FUEL-341 Change-Id: Ia1d69f53265876683a1b6674665a9594ba7dae16 Signed-off-by: Guillermo Herrero <guillermo.herrero@enea.com>
2018-03-01Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Add xtesting in upper-constraints.txt" - Add xtesting in upper-constraints.txt functest-kubernetes requires xtesting and still reads this file. Change-Id: I18d357cc88ae9a7e80aca568d408823291dc2ab3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Update git submodulesCedric Ollivier1-0/+0
* Update docs/submodules/functest from branch 'master' - Merge "Set universal wheels" - Set universal wheels Change-Id: I869679def8913ac804899655d80dbc6a830a6378 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
2018-03-01Update git submodulesManuel Buil1-0/+0
* Update docs/submodules/sfc from branch 'master' - Bug fix: Problem with SNAPs integration SNAPs changed the API: https://github.com/opnfv/snaps/commit/c711acf8ae3e4ad6f746500747857bcc9fd6f7be#diff-0b922a3e087121238d5a8b08ef5b894aR480 Now we require to pass keystone client to get the neutron port Change-Id: I93fa4b127255c1a078aa3644773b7c8b886cea6d Signed-off-by: Manuel Buil <mbuil@suse.com>
2018-03-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Add methods to get an existing stack" - Add methods to get an existing stack * Add yardstick/orchestrator/heat.py:HeatStack.get * Add yardstick/benchmark/contexts/heay.py:HeatContext.retrieve_existing_stack JIRA: YARDSTICK-886 Change-Id: I6974b79a25f98066a49b1bc8ccd11383e7962091 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Use context name instead of key_uuid" - Use context name instead of key_uuid context.key_uuid is only used as a suffix for the key files. There is already a unique ID associated with a the context; the context name includes a task ID, which is a UUID. This patch sets context.key_uuid to to context.name instead of generating a separate UUID As a result, get_short_key_uuid() is not needed. JIRA: YARDSTICK-1028 Change-Id: Id175061d6cfe23a068bb3d12ce176c1f176e8236 Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge changes from topics 'feat/keep_vnf', 'YARDSTICK-886' * changes: Add _create_new_stack method Update TaskParser to deal with qualified name in Context Add qualified name to Context - Add _create_new_stack method The logic for creating a new stack in contexts/heat.py:HeatContext can added to a method to make the code eassier to read and test. This is in preparation for an update to deploy() that would allow an existing stack to be reused, or a new stack created. By having the create_new_stack logic in a new method, deploy() becomes easier to read and test. JIRA: YARDSTICK-886 Change-Id: I7af01e2209a3460658f8db0249b7c620743cced0 Signed-off-by: Emma Foley <emma.l.foley@intel.com> - Update TaskParser to deal with qualified name in Context The context name depends on the defined name in the testcase input file, the task ID and the flags of the context. If the context is going to be undeployed at the end of the test, the task ID is suffixed to the name to avoid interferences with previous deployments. If the context needs to be deployed at the end of the test, the name assigned is kept. This patch makes this process transparent to the developer. This patch modifies how TaskParser determines the correct context name, taking into account that the name might change based on context flags. JIRA: YARDSTICK-886 Change-Id: I44da30dac562c1a4166e084645ae91c17798651d Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> Signed-off-by: Emma Foley <emma.l.foley@intel.com> - Add qualified name to Context The context name depends on the defined name in the testcase input file, the task ID and the flags of the context. If the context is going to be undeployed at the end of the test, the task ID is suffixed to the name to avoid interferences with previous deployments. If the context needs to be deployed at the end of the test, the name assigned is kept. This patch makes base.Context use Flags when initialising contexts, this sets the name property based on the no_setup and no_teardown flags. Since base.Context is an abstract class, it cannot be instantiated. However, there are some non-abstract methods that need testing. Since DummyContext does not override any of these methods, it can be used for testing. JIRA: YARDSTICK-886 Change-Id: I1447fb5ed447691eaeb0a97f928c0b3333799d07 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com> Signed-off-by: Emma Foley <emma.l.foley@intel.com>
2018-03-01Update git submodulesGordon Kelly1-0/+0
* Update docs/submodules/barometer from branch 'master' - ansible: add roles to launch ves and kafka containers Change-Id: Ida03c47bbe94600b034c95bd0d795e62c253303c Signed-off-by: Gordon Kelly <gordon.kelly@intel.com>
2018-03-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "vFW scale-up template." - vFW scale-up template. Added topology and traffic profile templates Added support for using JinJa2 templates in topology definition Added support for static pipeline configs for SampleVNFs JIRA: YARDSTICK-1043 Change-Id: Iab99fd5b5ad69ca32ee70b9fe47779387ad27e7f Signed-off-by: Chornyi, TarasX <tarasx.chornyi@intel.com> Signed-off-by: Mytnyk, Volodymyr <volodymyrx.mytnyk@intel.com>
2018-03-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Add arguments to the traffic profile render" - Add arguments to the traffic profile render In order to render configurable traffic profiles in NSB test cases, a new variable is introduced: "extra_arg". The content of this variable is added to the VNFD render data, under a key called "extra_args". This will allow the user to define Jinja templates for traffic profiles. E.g.: $ cat test_case_definition.yml scenarios: - type: NSPerf traffic_profile: traffic_profile.yml extra_args: vports: 10 $ cat traffic_profile.yml {% set vports = get(extra_args, 'vports', '0') or 4 %} {% for vport in range(vports|int) %} uplink_{{vport}}: data... {% endfor %} JIRA: YARDSTICK-946 Change-Id: Ib3c1f2d89efa012772edf2156e97d5f4742a6b80 Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-03-01Update git submodulesRoss Brattain1-0/+0
* Update docs/submodules/yardstick from branch 'master' - Merge "Import "traffic_profile" modules only once" - Import "traffic_profile" modules only once "traffic_profile" modules should be imported only once. Every time TrafficProfile.get is called, the modules under "yardstick.network_services.traffic_profiles" are loaded [1]. Instead of this, the modules should be registered only once the first time "yardstick.network_services.traffic_profiles.base" is loaded. This will reduce the execution time and will avoid unnecessary calls. [1] https://github.com/opnfv/yardstick/blob/d2c7cc4e9768ed003257a95c92cdb278d516761b/yardstick/network_services/traffic_profile/base.py#L36-L37 JIRA: YARDSTICK-951 Change-Id: Ia3565378ba3a1377fcb0aea8bda50ef8189414fd Signed-off-by: Rodolfo Alonso Hernandez <rodolfo.alonso.hernandez@intel.com>
2018-03-01Update git submodulesFatih Degirmenci1-0/+0
* Update docs/submodules/releng-xci from branch 'master' - Do not fail the if virsh command fails Change-Id: Id9c55b45719399c6c78c0d3d8b97926a2907b7f8 Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-01Update git submodulesFatih Degirmenci1-0/+0
* Update docs/submodules/releng from branch 'master' - xci: Do not fail the job if virsh command fails Change-Id: Ie5fae322f98ec6c9c2236486642c0d71c6a04aae Signed-off-by: Fatih Degirmenci <fdegir@gmail.com>
2018-03-01Update git submodulesxudan1-0/+0
* Update docs/submodules/dovetail from branch 'master' - Bugfix: Dovetail tool will crash when hosts.yaml file with incorrect format If the hosts.yaml file is like, — hosts_info: 192.168.141.101: it will raise an exception, File "/usr/local/lib/python2.7/dist-packages/dovetail/utils/dovetail_utils.py", line 227, in add_hosts_info names=hostnames) File "/usr/local/lib/python2.7/dist-packages/python_hosts/hosts.py", line 54, in _init_ raise Exception('Address and Name(s) must be specified.') Exception: Address and Name(s) must be specified. If the hosts.yaml file is empty, it will crash with, File "/usr/local/lib/python2.7/dist-packages/dovetail/container.py", line 174, in create if hosts_yaml['hosts_info']: TypeError: 'NoneType' object has no attribute '_getitem_' JIRA: DOVETAIL-621 Change-Id: I547928e514b3294c048379459c07df89879fbb03 Signed-off-by: xudan <xudan16@huawei.com>