diff options
author | 2017-12-11 05:23:23 +0100 | |
---|---|---|
committer | 2017-12-11 06:15:17 +0100 | |
commit | 5f5833f4308322892893fb07aa1898bc1406a32d (patch) | |
tree | 865525876fd190b6b55f2aaac063ec468e715b0e | |
parent | e3281b2175ca9983d79ce17de7e7497f749e650e (diff) |
Fix yaml format errors in vnf
All Rally yaml files are skipped because they leverage on jinja2.
Now last errors are in functest/api directories [1].
[1] https://jira.opnfv.org/browse/FUNCTEST-897
Change-Id: I4d6c9b3b7c1f3602bd51c9cf7e1c5babf581ab82
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
-rw-r--r-- | functest/opnfv_tests/vnf/ims/cloudify_ims.yaml | 28 | ||||
-rw-r--r-- | functest/opnfv_tests/vnf/ims/cloudify_ims_perf.yaml | 99 | ||||
-rw-r--r-- | functest/opnfv_tests/vnf/ims/orchestra.yaml | 43 | ||||
-rw-r--r-- | functest/opnfv_tests/vnf/router/cloudify_vrouter.yaml | 12 | ||||
-rw-r--r-- | functest/opnfv_tests/vnf/router/test_scenario.yaml | 1 | ||||
-rw-r--r-- | tox.ini | 17 |
6 files changed, 107 insertions, 93 deletions
diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims.yaml b/functest/opnfv_tests/vnf/ims/cloudify_ims.yaml index ad7fa70a..e1a7bf31 100644 --- a/functest/opnfv_tests/vnf/ims/cloudify_ims.yaml +++ b/functest/opnfv_tests/vnf/ims/cloudify_ims.yaml @@ -1,13 +1,16 @@ +--- tenant_images: - ubuntu_14.04: /home/opnfv/functest/images/trusty-server-cloudimg-amd64-disk1.img - cloudify_manager_4.0: /home/opnfv/functest/images/cloudify-manager-premium-4.0.1.qcow2 + ubuntu_14.04: + /home/opnfv/functest/images/trusty-server-cloudimg-amd64-disk1.img + cloudify_manager_4.0: + /home/opnfv/functest/images/cloudify-manager-premium-4.0.1.qcow2 orchestrator: name: cloudify version: '4.0' requirements: flavor: - name: m1.medium - ram_min: 4096 + name: m1.medium + ram_min: 4096 os_image: 'cloudify_manager_4.0' vnf: name: clearwater @@ -15,19 +18,20 @@ vnf: descriptor: file_name: openstack-blueprint.yaml name: clearwater-opnfv - url: https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/archive/master.zip + url: + https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/archive/master.zip version: '122' requirements: flavor: - name: m1.small - ram_min: 2048 + name: m1.small + ram_min: 2048 compute_quotas: - cores: 50 - instances: 15 + cores: 50 + instances: 15 network_quotas: - security_group: 20 - security_group_rule: 100 - port: 50 + security_group: 20 + security_group_rule: 100 + port: 50 inputs: image_id: 'ubuntu_14.04' flavor_id: 'm1.small' diff --git a/functest/opnfv_tests/vnf/ims/cloudify_ims_perf.yaml b/functest/opnfv_tests/vnf/ims/cloudify_ims_perf.yaml index 2d9697d0..77b295d0 100644 --- a/functest/opnfv_tests/vnf/ims/cloudify_ims_perf.yaml +++ b/functest/opnfv_tests/vnf/ims/cloudify_ims_perf.yaml @@ -1,16 +1,22 @@ +--- tenant_images: - ubuntu_14.04: http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img - cloudify_manager_4.0: http://repository.cloudifysource.org/cloudify/4.0.1/sp-release/cloudify-manager-premium-4.0.1.qcow2 - IXIA_CHASSIS: # PATH of the virtual chassis image. Ex: Ixia_Virtual_Chassis_8.30_EA_KVM.qcow2 - IXIA_CARD: # PATH of the virtual card image. Ex: Ixia_Virtual_Load_Module_8.30_EA_KVM.qcow2 - IXIA_LOAD: # PATH of the virtual loader image. Ex: Ixia_Virtual_Loader_8.30_EA_KVM.qcow2 + ubuntu_14.04: + http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img + cloudify_manager_4.0: + http://repository.cloudifysource.org/cloudify/4.0.1/sp-release/cloudify-manager-premium-4.0.1.qcow2 + # PATH of the virtual chassis image. + IXIA_CHASSIS: # Ixia_Virtual_Chassis_8.30_EA_KVM.qcow2 + # PATH of the virtual card image. + IXIA_CARD: # Ixia_Virtual_Load_Module_8.30_EA_KVM.qcow2 + # PATH of the virtual loader image. + IXIA_LOAD: # Ixia_Virtual_Loader_8.30_EA_KVM.qcow2 orchestrator: name: cloudify version: '4.0' requirements: flavor: - name: m1.medium - ram_min: 4096 + name: m1.medium + ram_min: 4096 os_image: 'cloudify_manager_4.0' vnf: name: clearwater @@ -18,20 +24,21 @@ vnf: descriptor: file_name: openstack-blueprint-with-numbers.yaml name: clearwater-opnfv - url: https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/archive/master.zip + url: + https://github.com/Orange-OpenSource/opnfv-cloudify-clearwater/archive/master.zip version: '122' requirements: flavor: - name: m1.small - ram_min: 2048 + name: m1.small + ram_min: 2048 compute_quotas: - cores: 150 - instances: 100 - ram: 256000 + cores: 150 + instances: 100 + ram: 256000 network_quotas: - security_group: 25 - security_group_rule: 100 - port: 150 + security_group: 25 + security_group_rule: 100 + port: 150 inputs: image_id: 'ubuntu_14.04' flavor_id: 'm1.small' @@ -51,34 +58,34 @@ vnf_test_suite: name: ixia version: "8.30.0.161" requirements: - chassis: - image: IXIA_CHASSIS - card: - image: IXIA_CARD - load: - image: IXIA_LOAD + chassis: + image: IXIA_CHASSIS + card: + image: IXIA_CARD + load: + image: IXIA_LOAD inputs: - ipgw: '10.67.79.1' - pnregistering: '201001[0000-]' - pncalling: '201000[0000-]' - pncalled: '201000[5000-]' - sipportregistering: '[5060-]' - sipportcalling: '[5061-]' - sipportcalled: '[5062-]' - domainname: 'clearwater.opnfv' - authpassword: 'toto' - registeringtotalcalls: '1000' - registeringduration: '180' - activecalls: '1000' - testduration: '360' - test_filname: 'REG_CALL_OPNFV_v13.rxf' - licenseServer: '' # IP of YOUR IXIA LICENSE SERVER - stats: - 'Signaling(VoIPSip)': - - 'Successful Registrations' - - 'Failed Registrations' - - 'Active Calls' - - 'Attempted Calls' - - 'Received Calls' - - 'Failed Attempted Calls' - - 'Failed Received Calls' + ipgw: '10.67.79.1' + pnregistering: '201001[0000-]' + pncalling: '201000[0000-]' + pncalled: '201000[5000-]' + sipportregistering: '[5060-]' + sipportcalling: '[5061-]' + sipportcalled: '[5062-]' + domainname: 'clearwater.opnfv' + authpassword: 'toto' + registeringtotalcalls: '1000' + registeringduration: '180' + activecalls: '1000' + testduration: '360' + test_filname: 'REG_CALL_OPNFV_v13.rxf' + licenseServer: '' # IP of YOUR IXIA LICENSE SERVER + stats: + 'Signaling(VoIPSip)': + - 'Successful Registrations' + - 'Failed Registrations' + - 'Active Calls' + - 'Attempted Calls' + - 'Received Calls' + - 'Failed Attempted Calls' + - 'Failed Received Calls' diff --git a/functest/opnfv_tests/vnf/ims/orchestra.yaml b/functest/opnfv_tests/vnf/ims/orchestra.yaml index 457ca90e..f81f55fb 100644 --- a/functest/opnfv_tests/vnf/ims/orchestra.yaml +++ b/functest/opnfv_tests/vnf/ims/orchestra.yaml @@ -1,27 +1,32 @@ +--- tenant_images: orchestrator: - ubuntu-14.04-server-cloudimg-amd64-disk1: /home/opnfv/functest/images/trusty-server-cloudimg-amd64-disk1.img + ubuntu-14.04-server-cloudimg-amd64-disk1: + /home/opnfv/functest/images/trusty-server-cloudimg-amd64-disk1.img orchestra_openims: openims: /home/opnfv/functest/images/img orchestra_clearwaterims: - ubuntu-14.04-server-cloudimg-amd64-disk1: /home/opnfv/functest/images/trusty-server-cloudimg-amd64-disk1.img + ubuntu-14.04-server-cloudimg-amd64-disk1: + /home/opnfv/functest/images/trusty-server-cloudimg-amd64-disk1.img mano: name: OpenBaton version: '3.2.0' requirements: flavor: - name: openbaton - ram_min: 4096 - disk: 5 - vcpus: 2 + name: openbaton + ram_min: 4096 + disk: 5 + vcpus: 2 image: 'ubuntu-14.04-server-cloudimg-amd64-disk1' bootstrap: url: http://get.openbaton.org/bootstraps/bootstrap_3.2.0_opnfv/bootstrap config: - url: http://get.openbaton.org/bootstraps/bootstrap_3.2.0_opnfv/bootstrap-config-file + url: + http://get.openbaton.org/bootstraps/bootstrap_3.2.0_opnfv/bootstrap-config-file gvnfm: userdata: - url: https://raw.githubusercontent.com/openbaton/generic-vnfm/3.2.0/src/main/resources/user-data.sh + url: + https://raw.githubusercontent.com/openbaton/generic-vnfm/3.2.0/src/main/resources/user-data.sh credentials: username: admin password: openbaton @@ -29,13 +34,14 @@ mano: orchestra_openims: name: OpenIMS descriptor: - url: http://marketplace.openbaton.org:8080/api/v1/nsds/fokus/OpenImsCore/3.2.0/json + url: + http://marketplace.openbaton.org:8080/api/v1/nsds/fokus/OpenImsCore/3.2.0/json requirements: flavor: - name: m1.small - ram_min: 2048 - disk: 5 - vcpus: 2 + name: m1.small + ram_min: 2048 + disk: 5 + vcpus: 2 test: scscf: ports: [3870, 6060] @@ -51,11 +57,12 @@ orchestra_openims: orchestra_clearwaterims: name: Clearwater IMS descriptor: - url: http://marketplace.openbaton.org:8080/api/v1/nsds/fokus/ClearwaterIMS/3.2.0/json + url: + http://marketplace.openbaton.org:8080/api/v1/nsds/fokus/ClearwaterIMS/3.2.0/json requirements: flavor: - name: m1.small - ram_min: 2048 - disk: 5 - vcpus: 2 + name: m1.small + ram_min: 2048 + disk: 5 + vcpus: 2 test: diff --git a/functest/opnfv_tests/vnf/router/cloudify_vrouter.yaml b/functest/opnfv_tests/vnf/router/cloudify_vrouter.yaml index c09477ab..58bdb66a 100644 --- a/functest/opnfv_tests/vnf/router/cloudify_vrouter.yaml +++ b/functest/opnfv_tests/vnf/router/cloudify_vrouter.yaml @@ -1,5 +1,7 @@ +--- tenant_images: - cloudify_manager_4.0: /home/opnfv/functest/images/cloudify-manager-premium-4.0.1.qcow2 + cloudify_manager_4.0: + /home/opnfv/functest/images/cloudify-manager-premium-4.0.1.qcow2 vyos1.1.7: /home/opnfv/functest/images/vyos-1.1.7.img test_data: url: 'https://github.com/oolorg/opnfv-vnf-data.git' @@ -9,8 +11,8 @@ orchestrator: version: '4.0' requirements: flavor: - name: m1.medium - ram_min: 4096 + name: m1.medium + ram_min: 4096 os_image: 'cloudify_manager_4.0' vnf: name: vyos1.1.7 @@ -21,8 +23,8 @@ vnf: version: 'master' requirements: flavor: - name: m1.medium - ram_min: 2048 + name: m1.medium + ram_min: 2048 inputs: external_network_name: admin_floating_net region: RegionOne diff --git a/functest/opnfv_tests/vnf/router/test_scenario.yaml b/functest/opnfv_tests/vnf/router/test_scenario.yaml index 03185592..8bdaf06a 100644 --- a/functest/opnfv_tests/vnf/router/test_scenario.yaml +++ b/functest/opnfv_tests/vnf/router/test_scenario.yaml @@ -1,3 +1,4 @@ +--- test_scenario_list: - test_type: 'function_test' @@ -1,5 +1,5 @@ [tox] -envlist = docs,pep8,pylint,py35,py27,perm,cover +envlist = docs,pep8,pylint,yamllint,py35,py27,perm,cover [testenv] usedevelop = True @@ -45,19 +45,12 @@ commands = [testenv:yamllint] basepython = python2.7 files = - docker/components/testcases.yaml - docker/healthcheck/testcases.yaml - docker/smoke/testcases.yaml - docker/parser/testcases.yaml - docker/features/testcases.yaml - docker/vnf/testcases.yaml - functest/ci/config_aarch64_patch.yaml - functest/ci/config_functest.yaml - functest/ci/config_patch.yaml - functest/ci/testcases.yaml + docker + functest/ci + functest/opnfv_tests/vnf commands = yamllint {[testenv:yamllint]files} - - yamllint functest + - yamllint functest/api [testenv:py35] dirs = |