diff --git a/api-ref/source/v1/samples/vnflcm/change-ext-conn-request.json b/api-ref/source/v1/samples/vnflcm/change-ext-conn-request.json index 36e2a961e..6ad92c3af 100644 --- a/api-ref/source/v1/samples/vnflcm/change-ext-conn-request.json +++ b/api-ref/source/v1/samples/vnflcm/change-ext-conn-request.json @@ -54,7 +54,7 @@ "vimConnectionInfo": [ { "id": "vim-uuid", - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "vimConnectionId": "dummy-vimid", "interfaceInfo": { "key1": "value1", diff --git a/doc/source/cli/cli-etsi-vnflcm.rst b/doc/source/cli/cli-etsi-vnflcm.rst index 686c38758..f618b59e8 100644 --- a/doc/source/cli/cli-etsi-vnflcm.rst +++ b/doc/source/cli/cli-etsi-vnflcm.rst @@ -329,7 +329,7 @@ Result: | | { | | | "id": "e24f9796-a8e9-4cb0-85ce-5920dcddafa1", | | | "vimId": "fa9fa87e-8be2-425d-85e1-08778d82d95f", | - | | "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", | + | | "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", | | | "interfaceInfo": {}, | | | "accessInfo": {}, | | | "extra": {} | diff --git a/doc/source/user/etsi_getting_started.rst b/doc/source/user/etsi_getting_started.rst index 85e591fa9..77f998a9a 100644 --- a/doc/source/user/etsi_getting_started.rst +++ b/doc/source/user/etsi_getting_started.rst @@ -703,7 +703,7 @@ Instantiate VNF | | { | | | "id": "e24f9796-a8e9-4cb0-85ce-5920dcddafa1", | | | "vimId": "662e5f4f-3b16-4ca6-b560-28b62dd0e13b", | - | | "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", | + | | "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", | | | "interfaceInfo": {}, | | | "accessInfo": {}, | | | "extra": {} | diff --git a/doc/source/user/etsi_vnf_change_external_vnf_connectivity.rst b/doc/source/user/etsi_vnf_change_external_vnf_connectivity.rst index 80308042f..a082f1a28 100644 --- a/doc/source/user/etsi_vnf_change_external_vnf_connectivity.rst +++ b/doc/source/user/etsi_vnf_change_external_vnf_connectivity.rst @@ -83,7 +83,7 @@ definition file before running command for changing the connectivity. "vimConnectionInfo": [ { "id": "79a97d01-e5f3-4eaa-b2bc-8f513ecb8a56", - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "vimConnectionId": "79a97d01-e5f3-4eaa-b2bc-8f513ecb8a56", "interfaceInfo": { "endpoint": "http://127.0.0.1/identity" diff --git a/doc/source/user/etsi_vnf_deployment_as_vm_with_tosca.rst b/doc/source/user/etsi_vnf_deployment_as_vm_with_tosca.rst index 2420aabeb..d9b2f4075 100644 --- a/doc/source/user/etsi_vnf_deployment_as_vm_with_tosca.rst +++ b/doc/source/user/etsi_vnf_deployment_as_vm_with_tosca.rst @@ -455,7 +455,7 @@ An example of a param file with optional parameters: { "id": "e24f9796-a8e9-4cb0-85ce-5920dcddafa1", "vimId": "8a0fd79d-e224-4c27-85f5-ee79c6e0d870", - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2" + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2" } ], "localizationLanguage": "ja", diff --git a/doc/source/user/etsi_vnf_deployment_as_vm_with_user_data.rst b/doc/source/user/etsi_vnf_deployment_as_vm_with_user_data.rst index 7e3ffcc22..0deef12fc 100644 --- a/doc/source/user/etsi_vnf_deployment_as_vm_with_user_data.rst +++ b/doc/source/user/etsi_vnf_deployment_as_vm_with_user_data.rst @@ -215,7 +215,7 @@ An example of a param file with optional parameters: { "id": "e24f9796-a8e9-4cb0-85ce-5920dcddafa1", #Set a random uuid. "vimId": "8a0fd79d-e224-4c27-85f5-ee79c6e0d870", #Set the uuid of the VIM to use - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2" + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2" } ], "additionalParams": { diff --git a/doc/source/user/etsi_vnf_error_handling.rst b/doc/source/user/etsi_vnf_error_handling.rst index 30b6045f4..efab81e94 100644 --- a/doc/source/user/etsi_vnf_error_handling.rst +++ b/doc/source/user/etsi_vnf_error_handling.rst @@ -288,7 +288,7 @@ Result: | | \"subnetId\": \"d290cae3-0dbc-44a3-a043-1a50ded04a64\"}]}}]}]}, {\"cpdId\": \"VDU2_CP2\", \"cpConfig\": [{\"cpProtocolData\": [{\"layerProtocol\": \"IP_OVER_ETHERNET\", \"ipOverEthernet\": {\"ipAddresses\": [{\"type\": | | | \"IPV4\", \"fixedAddresses\": [\"22.22.1.20\"], \"subnetId\": \"d290cae3-0dbc-44a3-a043-1a50ded04a64\"}]}}]}]}]}], \"extManagedVirtualLinks\": [{\"id\": \"8f9d8da0-2386-4f00-bbb0-860f50d32a5a\", \"vnfVirtualLinkDescId\": | | | \"internalVL1\", \"resourceId\": \"0e498d08-ed3a-4212-83e0-1b6808f6fcb6\"}, {\"id\": \"11d68761-aab7-419c-955c-0c6497f13692\", \"vnfVirtualLinkDescId\": \"internalVL2\", \"resourceId\": \"38a8d4ba- | - | | ac1b-41a2-a92b-ff2a3e5e9b12\"}], \"vimConnectionInfo\": [{\"id\": \"79a97d01-e5f3-4eaa-b2bc-8f513ecb8a56\", \"vimType\": \"ETSINFV.OPENSTACK_KEYSTONE.v_2\", \"vimConnectionId\": \"79a97d01-e5f3-4eaa-b2bc-8f513ecb8a56\", | + | | ac1b-41a2-a92b-ff2a3e5e9b12\"}], \"vimConnectionInfo\": [{\"id\": \"79a97d01-e5f3-4eaa-b2bc-8f513ecb8a56\", \"vimType\": \"ETSINFV.OPENSTACK_KEYSTONE.V_2\", \"vimConnectionId\": \"79a97d01-e5f3-4eaa-b2bc-8f513ecb8a56\", | | | \"interfaceInfo\": {\"endpoint\": \"http://127.0.0.1/identity\"}, \"accessInfo\": {\"username\": \"nfv_user\", \"region\": \"RegionOne\", \"password\": \"devstack\", \"tenant\": \"1994d69783d64c00aadab564038c2fd7\"}}], | | | \"additionalParams\": {\"lcm-operation-user-data\": \"./UserData/lcm_user_data.py\", \"lcm-operation-user-data-class\": \"SampleUserData\"}}" | | resourceChanges | {} | diff --git a/doc/source/user/etsi_vnf_healing.rst b/doc/source/user/etsi_vnf_healing.rst index e739cf37a..ad2693407 100644 --- a/doc/source/user/etsi_vnf_healing.rst +++ b/doc/source/user/etsi_vnf_healing.rst @@ -552,7 +552,7 @@ Result: | | { | | | "id": "79a97d01-e5f3-4eaa-b2bc-8f513ecb8a56", | | | "vimId": null, | - | | "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", | + | | "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", | | | "interfaceInfo": { | | | "endpoint": "http://127.0.0.1/identity" | | | }, | diff --git a/samples/etsi_getting_started/tosca/lcm_instantiate_request/sample_param_file.json b/samples/etsi_getting_started/tosca/lcm_instantiate_request/sample_param_file.json index 09f5c669d..8af02bab0 100644 --- a/samples/etsi_getting_started/tosca/lcm_instantiate_request/sample_param_file.json +++ b/samples/etsi_getting_started/tosca/lcm_instantiate_request/sample_param_file.json @@ -4,7 +4,7 @@ { "id": "e24f9796-a8e9-4cb0-85ce-5920dcddafa1", "vimId": "${vim_uuid}", - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2" + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2" } ] } diff --git a/samples/etsi_getting_started/userdata/lcm_instantiate_request/sample_param_file.json b/samples/etsi_getting_started/userdata/lcm_instantiate_request/sample_param_file.json index 2b5d38e87..cb30fe1a3 100644 --- a/samples/etsi_getting_started/userdata/lcm_instantiate_request/sample_param_file.json +++ b/samples/etsi_getting_started/userdata/lcm_instantiate_request/sample_param_file.json @@ -33,7 +33,7 @@ { "id": "e24f9796-a8e9-4cb0-85ce-5920dcddafa1", "vimId": "${vim_uuid}", - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2" + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2" } ], "additionalParams": { diff --git a/samples/free5gc/vnf/change_ext_conn/changeExtVnfConnectivityRequest.json b/samples/free5gc/vnf/change_ext_conn/changeExtVnfConnectivityRequest.json index dd8c8f9c5..0b63db5bf 100644 --- a/samples/free5gc/vnf/change_ext_conn/changeExtVnfConnectivityRequest.json +++ b/samples/free5gc/vnf/change_ext_conn/changeExtVnfConnectivityRequest.json @@ -25,7 +25,7 @@ ], "vimConnectionInfo": [{ "id": "3cc2c4ff-525c-48b4-94c9-29247223322f", - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "vimConnectionId": "c3369b54-e376-4423-bb61-afd255900fea", "interfaceInfo": { "endpoint": "http://127.0.0.1/identity" diff --git a/tacker/tests/compliance/base.py b/tacker/tests/compliance/base.py index 2b348a2ea..db156c55d 100644 --- a/tacker/tests/compliance/base.py +++ b/tacker/tests/compliance/base.py @@ -63,7 +63,7 @@ INSTANTIATION_BODY = { { 'id': None, 'vimId': None, - 'vimType': 'ETSINFV.OPENSTACK_KEYSTONE.v_2' + 'vimType': 'ETSINFV.OPENSTACK_KEYSTONE.V_2' } ] } diff --git a/tacker/tests/functional/sol/vnflcm/base.py b/tacker/tests/functional/sol/vnflcm/base.py index ba04d2227..88528be72 100644 --- a/tacker/tests/functional/sol/vnflcm/base.py +++ b/tacker/tests/functional/sol/vnflcm/base.py @@ -201,7 +201,7 @@ def _create_instantiate_vnf_request_body(flavour_id, request_body["vimConnectionInfo"] = [ {"id": uuidutils.generate_uuid(), "vimId": vim_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2"}] + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2"}] if add_params: request_body["additionalParams"] = add_params diff --git a/tacker/tests/functional/sol/vnflcm/fake_vnflcm.py b/tacker/tests/functional/sol/vnflcm/fake_vnflcm.py index d7c6edd4f..34a78ab97 100644 --- a/tacker/tests/functional/sol/vnflcm/fake_vnflcm.py +++ b/tacker/tests/functional/sol/vnflcm/fake_vnflcm.py @@ -262,7 +262,7 @@ class VnfInstances: ext_mngd_networks_id), "vimConnectionInfo": [{ "id": uuidsentinel.vim_connection_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "vimConnectionId": uuidsentinel.vim_connection_id, "interfaceInfo": { "endpoint": "http://127.0.0.1/identity" @@ -301,7 +301,7 @@ class VnfInstances: ext_mngd_networks_id), "vimConnectionInfo": [{ "id": uuidsentinel.vim_connection_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "vimConnectionId": uuidsentinel.vim_connection_id, "interfaceInfo": { "endpoint": "http://127.0.0.1/identity" @@ -452,7 +452,7 @@ class VnfInstances: ], "vimConnectionInfo": [{ "id": uuidsentinel.vim_connection_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "vimConnectionId": uuidsentinel.vim_connection_id, "interfaceInfo": { "endpoint": "http://127.0.0.1/identity" diff --git a/tacker/tests/functional/sol/vnflcm/test_vnf_instance.py b/tacker/tests/functional/sol/vnflcm/test_vnf_instance.py index 16b912476..7e694bae4 100644 --- a/tacker/tests/functional/sol/vnflcm/test_vnf_instance.py +++ b/tacker/tests/functional/sol/vnflcm/test_vnf_instance.py @@ -249,7 +249,7 @@ class VnfLcmTest(base.BaseTackerTest): request_body["vimConnectionInfo"] = [ {"id": uuidutils.generate_uuid(), "vimId": vim_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2"}] + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2"}] return request_body @@ -462,7 +462,7 @@ class VnfLcmTest(base.BaseTackerTest): request_body["vimConnectionInfo"] = [ {"id": uuidutils.generate_uuid(), "vimId": vim_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2"}] + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2"}] return request_body diff --git a/tacker/tests/functional/sol_enhanced_policy/base.py b/tacker/tests/functional/sol_enhanced_policy/base.py index c16d5267a..1fe30ce21 100644 --- a/tacker/tests/functional/sol_enhanced_policy/base.py +++ b/tacker/tests/functional/sol_enhanced_policy/base.py @@ -546,7 +546,7 @@ class BaseEnhancedPolicyTest(object): else: raise Exception('vim_user_project_map is needed.') image_name = "cirros-0.5.2-x86_64-disk" - image_path = test_etc_sample("nfv/common/Files/images", + image_path = test_etc_sample("etsi/nfv/common/Files/images", f"{image_name}.img") image_data = { 'disk_format': 'qcow2', diff --git a/tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v1.py b/tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v1.py index cb578a984..1e3cecfcc 100644 --- a/tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v1.py +++ b/tacker/tests/functional/sol_enhanced_policy/sol/test_policy_vnflcm_apis_v1.py @@ -133,7 +133,7 @@ class VnflcmAPIsV1Test(VnflcmAPIsV1Base): request_body["vimConnectionInfo"] = [ {"id": uuidutils.generate_uuid(), "vimId": vim_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2"}] + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2"}] return request_body @@ -175,7 +175,7 @@ class VnflcmAPIsV1Test(VnflcmAPIsV1Base): username, inst_id, request_body, expected_status_code) def _change_ext_conn_vnf_request(self, vim_id=None, ext_vl=None, - vim_type="ETSINFV.OPENSTACK_KEYSTONE.v_2"): + vim_type="ETSINFV.OPENSTACK_KEYSTONE.V_2"): request_body = {} if ext_vl: request_body["extVirtualLinks"] = ext_vl diff --git a/tacker/tests/functional/sol_multi_tenant/vnflcm/fake_vnflcm.py b/tacker/tests/functional/sol_multi_tenant/vnflcm/fake_vnflcm.py index 49c3c6669..f693ad824 100644 --- a/tacker/tests/functional/sol_multi_tenant/vnflcm/fake_vnflcm.py +++ b/tacker/tests/functional/sol_multi_tenant/vnflcm/fake_vnflcm.py @@ -212,7 +212,7 @@ class VnfInstances: ext_mngd_networks_id), "vimConnectionInfo": [{ "id": uuidsentinel.vim_connection_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "vimConnectionId": uuidsentinel.vim_connection_id, "interfaceInfo": { "endpoint": "http://127.0.0.1/identity" diff --git a/tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_grant.py b/tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_grant.py index dabc5ce80..e36774e17 100644 --- a/tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_grant.py +++ b/tacker/tests/functional/sol_separated_nfvo/vnflcm/fake_grant.py @@ -46,7 +46,7 @@ class Grant: return [{ "id": uuidsentinel.vim_connection_id, - "vimType": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vimType": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "interfaceInfo": { "endpoint": "http://127.0.0.1/identity" }, diff --git a/tacker/tests/unit/objects/test_change_ext_conn_req.py b/tacker/tests/unit/objects/test_change_ext_conn_req.py index d0d5233eb..8506a96d0 100644 --- a/tacker/tests/unit/objects/test_change_ext_conn_req.py +++ b/tacker/tests/unit/objects/test_change_ext_conn_req.py @@ -75,7 +75,7 @@ class ChangeExtConnRequestTestCase(base.TestCase): vim_connection_info = [{ "id": "6b0ff598-60d6-49b4-a907-a1111de52d92", "vim_id": uuidsentinel.vim_id, - "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "interface_info": { "endpoint": "endpoint_value"}, "access_info": { diff --git a/tacker/tests/unit/objects/test_grant.py b/tacker/tests/unit/objects/test_grant.py index 25d556b25..f954f1145 100644 --- a/tacker/tests/unit/objects/test_grant.py +++ b/tacker/tests/unit/objects/test_grant.py @@ -29,7 +29,7 @@ class GrantTestCase(base.TestCase): vim_connection_info = [{ "id": "6b0ff598-60d6-49b4-a907-a1111de52d92", "vim_id": uuidsentinel.vim_id, - "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "interface_info": { "endpoint": "endpoint_value"}, "access_info": { diff --git a/tacker/tests/unit/objects/test_instantiate_vnf_req.py b/tacker/tests/unit/objects/test_instantiate_vnf_req.py index ac7038f31..6762e5c5e 100644 --- a/tacker/tests/unit/objects/test_instantiate_vnf_req.py +++ b/tacker/tests/unit/objects/test_instantiate_vnf_req.py @@ -233,7 +233,7 @@ class InstantiateVnfRequestTestCase(base.TestCase): vim_connection_info = [{ "id": "6b0ff598-60d6-49b4-a907-a1111de52d92", "vim_id": uuidsentinel.vim_id, - "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "access_info": {}}] vnf_info_data = {'ext_managed_virtual_links': [ext_mg_vl], diff --git a/tacker/tests/unit/vnflcm/test_controller.py b/tacker/tests/unit/vnflcm/test_controller.py index 22907a365..00bd62590 100644 --- a/tacker/tests/unit/vnflcm/test_controller.py +++ b/tacker/tests/unit/vnflcm/test_controller.py @@ -1196,7 +1196,7 @@ class TestController(base.TestCase): vim_info = { "id": "7d24979f-491e-4fa3-8da1-4a374fe28d55", "vim_id": None, - "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "interface_info": {"endpoint": "http://127.0.0.1/identity"}, "access_info": { "username": "nfv_user", diff --git a/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/fixture_data_utils.py b/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/fixture_data_utils.py index 9dbcc482b..e3f6c1eda 100644 --- a/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/fixture_data_utils.py +++ b/tacker/tests/unit/vnfm/infra_drivers/openstack/fixture_data/fixture_data_utils.py @@ -476,7 +476,7 @@ def get_change_ext_conn_request(): vim_connection_info = [{ "id": uuidsentinel.vim_connection_id, "vim_id": uuidsentinel.vim_id, - "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.v_2", + "vim_type": "ETSINFV.OPENSTACK_KEYSTONE.V_2", "interface_info": { "endpoint": "endpoint_value"}, "access_info": {