blob: 54bb5fc15f6030e505d5efc6ca28fc29cdbd7b8a [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001
2insert into heat_files(artifact_uuid, name, version, description, body, artifact_checksum, creation_timestamp) values
3('00535bdd-0878-4478-b95a-c575c742bfb0', 'nimbus-ethernet-gw', '1', 'created from csar', 'DEVICE=$dev\nBOOTPROTO=none\nNM_CONTROLLED=no\nIPADDR=$ip\nNETMASK=$netmask\nGATEWAY=$gateway\n', 'MANUAL RECORD', '2017-01-21 23:56:43');
4
5
6insert into tosca_csar(artifact_uuid, name, version, description, artifact_checksum, url, creation_timestamp) values
7('0513f839-459d-46b6-aa3d-2edfef89a079', 'service-Ciservicee3756aea561a-csar.csar', '1', 'TOSCA definition package of the asset', 'YTk1MmY2MGVlNzVhYTU4YjgzYjliMjNjMmM3NzU1NDc=', '/sdc/v1/catalog/services/Ciservicee3756aea561a/1.0/artifacts/service-Ciservicee3756aea561a-csar.csar', '2017-11-27 11:38:27');
8
9
10insert into service(model_uuid, model_name, model_invariant_uuid, model_version, description, creation_timestamp, tosca_csar_artifact_uuid, service_type, service_role, environment_context, workload_context) values
11('5df8b6de-2083-11e7-93ae-92361f002671', 'MSOTADevInfra_vSAMP10a_Service', '9647dfc4-2083-11e7-93ae-92361f002671', '1.0', 'MSO aLaCarte Vfmodule with addon', '2017-04-14 13:42:39', '0513f839-459d-46b6-aa3d-2edfef89a079', 'NA', 'NA', 'Luna', 'Oxygen');
12
13insert into service(model_uuid, model_name, model_invariant_uuid, model_version, description, creation_timestamp, tosca_csar_artifact_uuid, service_type, service_role, environment_context, workload_context) values
14('5df8b6de-2083-11e7-93ae-92361f002672', 'MSOTADevInfra_vSAMP10a_Service', '9647dfc4-2083-11e7-93ae-92361f002671', '2.0', 'MSO aLaCarte Vfmodule with addon', '2017-04-14 13:42:39', null, 'NA', 'NA', 'Luna', 'Oxygen');
15
16insert into service(model_uuid, model_name, model_invariant_uuid, model_version, description, creation_timestamp, tosca_csar_artifact_uuid, service_type, service_role, environment_context, workload_context) values
17('5df8b6de-2083-11e7-93ae-92361f002673', 'MSOTADevInfra_vSAMP10a_Service', '9647dfc4-2083-11e7-93ae-92361f002671', '2.1', 'MSO aLaCarte Vfmodule with addon', '2017-04-14 13:42:39', null, 'NA', 'NA', 'Luna', 'Oxygen');
18
19
20insert into service(model_uuid, model_name, model_invariant_uuid, model_version, description, creation_timestamp, tosca_csar_artifact_uuid, service_type, service_role, environment_context, workload_context) values
21('5df8b6de-2083-11e7-93ae-92361f002674', 'MSOTADevInfra_vSAMP10a_Service', '9647dfc4-2083-11e7-93ae-92361f002671', '2.1.1', 'MSO aLaCarte Vfmodule with addon', '2017-04-14 13:42:39', null, 'NA', 'NA', 'Luna', 'Oxygen');
22insert into service(model_uuid, model_name, model_invariant_uuid, model_version, description, creation_timestamp, tosca_csar_artifact_uuid, service_type, service_role, environment_context, workload_context) values
23('5df8b6de-2083-11e7-93ae-92361f002675', 'MSOTADevInfra_vSAMP10a_Service', '9647dfc4-2083-11e7-93ae-92361f002671', '2.1.2', 'MSO aLaCarte Vfmodule with addon', '2017-04-14 13:42:39', null, 'NA', 'NA', 'Luna', 'Oxygen');
24
25
26insert into service_recipe(id, action, version_str, description, orchestration_uri, service_param_xsd, recipe_timeout, service_timeout_interim, creation_timestamp, service_model_uuid) values
27('1', 'createInstance', '1', 'MSOTADevInfra aLaCarte', '/mso/async/services/CreateGenericALaCarteServiceInstance', null, '180', '0', '2017-04-14 19:18:20', '5df8b6de-2083-11e7-93ae-92361f002671');
28
29insert into heat_template(artifact_uuid, name, version, description, body, timeout_minutes, artifact_checksum, creation_timestamp) values
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050030('ff874603-4222-11e7-9252-005056850d2e', 'module_mns_zrdm3frwl01exn_01_rgvm_1.yml', '1', 'created from csar', 'heat_template_version: 2013-05-23 description: heat template that creates TEST VNF parameters: TEST_server_name: type: string label: TEST server name description: TEST server name TEST_image_name: type: string label: image name description: TEST image name TEST_flavor_name: type: string label: TEST flavor name description: flavor name of TEST instance TEST_Role_net_name: type: string label: TEST network name description: TEST network name TEST_vnf_id: type: string label: TEST VNF Id description: TEST VNF Id resources:TEST: type: OS::Nova::Server properties: name: { get_param: TEST_server_name } image: { get_param: TEST_image_name } flavor: { get_param: TEST_flavor_name } networks: - port: { get_resource: TEST_port_0} metadata: vnf_id: {get_param: TEST_vnf_id} TEST_port_0: type: OS::Neutron::Port properties: network: { get_param: TEST_Role_net_name }', '60', 'MANUAL RECORD', '2017-01-21 23:26:56'),
31('ff87482f-4222-11e7-9252-005056850d2e', 'module_mns_zrdm3frwl01exn_01_rgvm_1.yml', '1', 'created from csar', 'heat_template_version: 2013-05-23 description: heat template that creates TEST VNF parameters: TEST_server_name: type: string label: TEST server name description: TEST server name TEST_image_name: type: string label: image name description: TEST image name TEST_flavor_name: type: string label: TEST flavor name description: flavor name of TEST instance TEST_Role_net_name: type: string label: TEST network name description: TEST network name TEST_vnf_id: type: string label: TEST VNF Id description: TEST VNF Id resources:TEST: type: OS::Nova::Server properties: name: { get_param: TEST_server_name } image: { get_param: TEST_image_name } flavor: { get_param: TEST_flavor_name } networks: - port: { get_resource: TEST_port_0} metadata: vnf_id: {get_param: TEST_vnf_id} TEST_port_0: type: OS::Neutron::Port properties: network: { get_param: TEST_Role_net_name }', '60', 'MANUAL RECORD', '2017-01-21 23:26:56'),
32('aa874603-4222-11e7-9252-005056850d2e', 'module_mns_zrdm3frwl01exn_01_rgvm_1.yml', '1', 'created from csar', 'heat_template_version: 2013-05-23 description: heat template that creates TEST VNF parameters: TEST_server_name: type: string label: TEST server name description: TEST server name TEST_image_name: type: string label: image name description: TEST image name TEST_flavor_name: type: string label: TEST flavor name description: flavor name of TEST instance TEST_Role_net_name: type: string label: TEST network name description: TEST network name TEST_vnf_id: type: string label: TEST VNF Id description: TEST VNF Id resources:TEST: type: OS::Nova::Server properties: name: { get_param: TEST_server_name } image: { get_param: TEST_image_name } flavor: { get_param: TEST_flavor_name } networks: - port: { get_resource: TEST_port_0} metadata: vnf_id: {get_param: TEST_vnf_id} TEST_port_0: type: OS::Neutron::Port properties: network: { get_param: TEST_Role_net_name }', '60', 'MANUAL RECORD', '2017-01-21 23:26:56');
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040033
34
35insert into heat_template_params(heat_template_artifact_uuid, param_name, is_required, param_type, param_alias) values
36('ff874603-4222-11e7-9252-005056850d2e', 'availability_zone_0', 1, 'string', ''),
37('ff874603-4222-11e7-9252-005056850d2e', 'exn_direct_net_fqdn',1, 'string', ''),
38('ff874603-4222-11e7-9252-005056850d2e', 'exn_hsl_net_fqdn', 1, 'string', '');
39
40insert into heat_environment(artifact_uuid, name, version, description, body, artifact_checksum, creation_timestamp) values
41('fefb1601-4222-11e7-9252-005056850d2e', 'module_nso.env', '2', 'Auto-generated HEAT Environment deployment artifact', 'parameters:\n availability_zone_0: \"alln-zone-1\"\n nso_flavor_name: \"citeis.1vCPUx2GB\"\n nso_image_name: \"RHEL-6.8-BASE-20160912\"\n nso_name_0: \"zrdm3vamp01nso001\"\n nso_oam_ip_0: \"172.18.25.175\"\n nso_oam_net_gw: \"172.18.25.1\"\n nso_oam_net_mask: \"255.255.255.0\"\n nso_sec_grp_id: \"36f48d82-f099-4437-bfbc-70d9e5d420d1\"\n nso_srv_grp_id: \"e431c477-5bd1-476a-bfa9-e4ce16b8356b\"\n oam_net_id: \"nso_oam\"\n vf_module_id: \"145cd730797234b4a40aa99335abc143\"\n vnf_id: \"730797234b4a40aa99335157b02871cd\"\n vnf_name: \"Mobisupport\"\n', 'MWI2ODY0Yjc1NDJjNWU1NjdkMTAyMjVkNzFmZDU0MzA=', '2017-11-27 08:42:58'),
42('fefb1751-4333-11e7-9252-005056850d2e', 'module_nso.env', '2', 'Auto-generated HEAT Environment deployment artifact', 'parameters:\n availability_zone_0: \"alln-zone-1\"\n nso_flavor_name: \"citeis.1vCPUx2GB\"\n nso_image_name: \"RHEL-6.8-BASE-20160912\"\n nso_name_0: \"zrdm3vamp01nso001\"\n nso_oam_ip_0: \"172.18.25.175\"\n nso_oam_net_gw: \"172.18.25.1\"\n nso_oam_net_mask: \"255.255.255.0\"\n nso_sec_grp_id: \"36f48d82-f099-4437-bfbc-70d9e5d420d1\"\n nso_srv_grp_id: \"e431c477-5bd1-476a-bfa9-e4ce16b8356b\"\n oam_net_id: \"nso_oam\"\n vf_module_id: \"145cd730797234b4a40aa99335abc143\"\n vnf_id: \"730797234b4a40aa99335157b02871cd\"\n vnf_name: \"Mobisupport\"\n', 'MWI2ODY0Yjc1NDJjNWU1NjdkMTAyMjVkNzFmZDU0MzA=', '2017-11-27 08:42:58');
43
44insert into vnf_resource(orchestration_mode, description, creation_timestamp, model_uuid, aic_version_min, aic_version_max, model_invariant_uuid, model_version, model_name, tosca_node_type, heat_template_artifact_uuid) values
45('HEAT', '1607 vSAMP10a - inherent network', '2017-04-14 21:46:28', 'ff2ae348-214a-11e7-93ae-92361f002671', '', '', '2fff5b20-214b-11e7-93ae-92361f002671', '1.0', 'vSAMP10a', 'VF', null);
46
Benjamin, Max (mb388a)86f04e12019-04-02 22:54:57 -040047insert into vnf_resource_customization(model_customization_uuid, model_instance_name, min_instances, max_instances, availability_zone_max_count, nf_type, nf_role, nf_function, nf_naming_code, creation_timestamp, vnf_resource_model_uuid, multi_stage_design,SERVICE_MODEL_UUID) values
48('68dc9a92-214c-11e7-93ae-92361f002671', 'vSAMP10a 1', '0', '0', '0', 'vSAMP', 'vSAMP', 'vSAMP', 'vSAMP', '2017-05-26 15:08:24', 'ff2ae348-214a-11e7-93ae-92361f002671', null,'5df8b6de-2083-11e7-93ae-92361f002671');
49
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040050
51insert into vf_module(model_uuid, model_invariant_uuid, model_version, model_name, description, is_base, heat_template_artifact_uuid, vol_heat_template_artifact_uuid, creation_timestamp, vnf_resource_model_uuid) values
52
53('20c4431c-246d-11e7-93ae-92361f002671', '78ca26d0-246d-11e7-93ae-92361f002671', '2', 'vSAMP10aDEV::base::module-0', 'vSAMP10a DEV Base', '1', 'ff874603-4222-11e7-9252-005056850d2e', null, '2016-09-14 18:19:56', 'ff2ae348-214a-11e7-93ae-92361f002671'),
54('066de97e-253e-11e7-93ae-92361f002671', '64efd51a-2544-11e7-93ae-92361f002671', '2', 'vSAMP10aDEV::PCM::module-1', 'vSAMP10a DEV PCM', '0', 'ff87482f-4222-11e7-9252-005056850d2e', null, '2016-09-14 18:19:56', 'ff2ae348-214a-11e7-93ae-92361f002671');
55
56
57insert into vf_module_customization(model_customization_uuid, label, initial_count, min_instances, max_instances, availability_zone_count, heat_environment_artifact_uuid, vol_environment_artifact_uuid, creation_timestamp, vf_module_model_uuid) values
58('cb82ffd8-252a-11e7-93ae-92361f002671', 'base', '1', '0', '0', '0', 'fefb1601-4222-11e7-9252-005056850d2e', null, '2017-05-26 15:08:23', '20c4431c-246d-11e7-93ae-92361f002671'),
59('b4ea86b4-253f-11e7-93ae-92361f002671', 'PCM', '0', '0', '0', '0', 'fefb1751-4333-11e7-9252-005056850d2e', null, '2017-05-26 15:08:23', '066de97e-253e-11e7-93ae-92361f002671');
60
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040061insert into allotted_resource(model_uuid, model_invariant_uuid, model_version, model_name, tosca_node_type, subcategory, description, creation_timestamp) values
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -050062('f6b7d4c6-e8a4-46e2-81bc-31cad5072842', 'b7a1b78e-6b6b-4b36-9698-8c9530da14af', '1.0', 'Tunnel_Xconn', '', '', '', '2017-05-26 15:08:24');
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040063
64insert into allotted_resource_customization(model_customization_uuid, model_instance_name, providing_service_model_invariant_uuid, target_network_role, nf_type, nf_role, nf_function, nf_naming_code, min_instances, max_instances, ar_model_uuid, creation_timestamp) values
65('367a8ba9-057a-4506-b106-fbae818597c6', 'Sec_Tunnel_Xconn 11', NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'f6b7d4c6-e8a4-46e2-81bc-31cad5072842', TIMESTAMP '2017-01-20 16:14:20.0');
66
67
68insert into temp_network_heat_template_lookup(network_resource_model_name, heat_template_artifact_uuid, aic_version_min, aic_version_max) values
69('CONTRAIL30_GNDIRECT', 'ff874603-4222-11e7-9252-005056850d2e', '3', '3');
70
71insert into network_resource(model_uuid, model_name, model_invariant_uuid, description, heat_template_artifact_uuid, neutron_network_type, model_version, tosca_node_type, aic_version_min, aic_version_max, orchestration_mode, creation_timestamp) values
72('10b36f65-f4e6-4be6-ae49-9596dc1c47fc', 'CONTRAIL30_GNDIRECT', 'ce4ff476-9641-4e60-b4d5-b4abbec1271d', 'Contrail 30 GNDIRECT NW', 'aa874603-4222-11e7-9252-005056850d2e', 'BASIC', '1.0', '', '3.0', '', 'HEAT', '2017-01-17 20:35:05');
73insert into network_resource(model_uuid, model_name, model_invariant_uuid, description, heat_template_artifact_uuid, neutron_network_type, model_version, tosca_node_type, aic_version_min, aic_version_max, orchestration_mode, creation_timestamp) values
74('10b36f65-f4e6-4be6-ae49-9596dc1c47fy', 'CONTRAIL30_GNDIRECT', 'ce4ff476-9641-4e60-b4d5-b4abbec1271d', 'Contrail 30 GNDIRECT NW', 'aa874603-4222-11e7-9252-005056850d2e', 'BASIC', '2.0', '', '3.0', '', 'HEAT', '2017-01-17 20:35:05');
75
76insert into network_resource(model_uuid, model_name, model_invariant_uuid, description, heat_template_artifact_uuid, neutron_network_type, model_version, tosca_node_type, aic_version_min, aic_version_max, orchestration_mode, creation_timestamp) values
77('10b36f65-f4e6-4be6-ae49-9596dc1c47fx', 'CONTRAIL30_GNDIRECT', 'ce4ff476-9641-4e60-b4d5-b4abbec1271d', 'Contrail 30 GNDIRECT NW', 'aa874603-4222-11e7-9252-005056850d2e', 'BASIC', '3.0', '', '3.0', '', 'HEAT', '2017-01-17 20:35:05');
78
79insert into network_resource(model_uuid, model_name, model_invariant_uuid, description, heat_template_artifact_uuid, neutron_network_type, model_version, tosca_node_type, aic_version_min, aic_version_max, orchestration_mode, creation_timestamp) values
80('10b36f65-f4e6-4be6-ae49-9596dc1c47fz', 'CONTRAIL30_GNDIRECT', 'ce4ff476-9641-4e60-b4d5-b4abbec1271d', 'Contrail 30 GNDIRECT NW', 'aa874603-4222-11e7-9252-005056850d2e', 'BASIC', '3.1', '', '3.0', '', 'HEAT', '2017-01-17 20:35:05');
81
82
83insert into network_resource_customization(model_customization_uuid, model_instance_name, network_technology, network_type, network_role, network_scope, creation_timestamp, network_resource_model_uuid) values
84('3bdbb104-476c-483e-9f8b-c095b3d308ac', 'CONTRAIL30_GNDIRECT 9', '', '', '', '', '2017-04-19 14:28:32', '10b36f65-f4e6-4be6-ae49-9596dc1c47fc');
85
Benjamin, Max (mb388a)08c27a22018-09-17 11:14:35 -040086insert into instance_group(model_uuid, model_name, model_invariant_uuid, model_version, tosca_node_type, role, object_type, cr_model_uuid, instance_group_type) values
87('21e43a7c-d823-4f5b-a427-5235f63035ff', 'dror_cr_network_resource_1806..NetworkCollection..0', '81c94263-c01e-4046-b0c7-51878d658eab', '1', 'org.openecomp.groups.NetworkCollection', 'SUB_INTERFACE', 'L3_NETWORK', '5e3fca45-e2d8-4987-bef1-016d9bda1a8c', 'L3_NETWORK');
88
89insert into collection_resource(model_uuid, model_name, model_invariant_uuid, model_version, tosca_node_type, description) values
90('5e3fca45-e2d8-4987-bef1-016d9bda1a8c', 'Dror_CR_Network_Resource_1806', 'fe243154-ac18-405f-94c2-ef629d26b8bb', '2.0', 'org.openecomp.resource.cr.DrorCrNetworkResource1806', 'Creation date: 07/25/18');
91
92insert into collection_resource_customization(model_customization_uuid, model_instance_name, role, object_type, function, collection_resource_type, cr_model_uuid) values
93('c51096a4-6081-41f4-a540-3ed015a8064a', 'Dror_CR_Network_Resource_1806', 'Dror2', 'NetworkCollection', 'Dror1', 'Dror3', '5e3fca45-e2d8-4987-bef1-016d9bda1a8c');
94
95insert into collection_network_resource_customization(model_customization_uuid, model_instance_name, network_technology, network_type, network_role, network_scope, network_resource_model_uuid, instance_group_model_uuid, crc_model_customization_uuid) values
96('3bdbb104-ffff-483e-9f8b-c095b3d30844', 'ExtVL 0', 'CONTRAIL', 'L3-NETWORK', '', '', '10b36f65-f4e6-4be6-ae49-9596dc1c47fz', '21e43a7c-d823-4f5b-a427-5235f63035ff', 'c51096a4-6081-41f4-a540-3ed015a8064a'),
97('3bdbb104-ffff-483e-9f8b-c095b3d3068c', 'ExtVL 01', 'CONTRAIL', 'L3-NETWORK', '', '', '10b36f65-f4e6-4be6-ae49-9596dc1c47fz', '21e43a7c-d823-4f5b-a427-5235f63035ff', 'c51096a4-6081-41f4-a540-3ed015a8064a');
98
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -040099insert into vnf_resource(orchestration_mode, description, creation_timestamp, model_uuid, aic_version_min, aic_version_max, model_invariant_uuid, model_version, model_name, tosca_node_type, heat_template_artifact_uuid) values
100('HEAT', '1607 vSAMP10a - inherent network', '2017-04-14 21:46:28', 'ff2ae348-214a-11e7-93ae-92361f002672', '', '', '2fff5b20-214b-11e7-93ae-92361f002671', '2.0', 'vSAMP10a', 'VF', null);
101
102
Benjamin, Max (mb388a)86f04e12019-04-02 22:54:57 -0400103insert into vnf_resource_customization(model_customization_uuid, model_instance_name, min_instances, max_instances, availability_zone_max_count, nf_type, nf_role, nf_function, nf_naming_code, creation_timestamp, vnf_resource_model_uuid, multi_stage_design,SERVICE_MODEL_UUID) values
104('68dc9a92-214c-11e7-93ae-92361f002672', 'vSAMP10a 2', '0', '0', '0', 'vSAMP', 'vSAMP', 'vSAMP', 'vSAMP', '2017-05-26 15:08:24', 'ff2ae348-214a-11e7-93ae-92361f002672', null,'5df8b6de-2083-11e7-93ae-92361f002672');
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400105
106
107
108
109
110insert into vf_module(model_uuid, model_invariant_uuid, model_version, model_name, description, is_base, heat_template_artifact_uuid, vol_heat_template_artifact_uuid, creation_timestamp, vnf_resource_model_uuid) values
111
112('20c4431c-246d-11e7-93ae-92361f002672', '78ca26d0-246d-11e7-93ae-92361f002671', '2', 'vSAMP10aDEV::base::module-0', 'vSAMP10a DEV Base', '1', 'ff874603-4222-11e7-9252-005056850d2e', null, '2016-09-14 18:19:56', 'ff2ae348-214a-11e7-93ae-92361f002671'),
113('066de97e-253e-11e7-93ae-92361f002672', '64efd51a-2544-11e7-93ae-92361f002671', '2', 'vSAMP10aDEV::PCM::module-1', 'vSAMP10a DEV PCM', '0', 'ff87482f-4222-11e7-9252-005056850d2e', null, '2016-09-14 18:19:56', 'ff2ae348-214a-11e7-93ae-92361f002671'),
114('066de97e-253e-11e7-93ae-92361f002673', '64efd51a-2544-11e7-93ae-92361f002671', '3', 'vSAMP10aDEV::PCM::module-1', 'vSAMP10a DEV PCM', '0', 'ff87482f-4222-11e7-9252-005056850d2e', null, '2016-09-14 18:19:54', 'ff2ae348-214a-11e7-93ae-92361f002671'),
115('066de97e-253e-11e7-93ae-92361f002674', '64efd51a-2544-11e7-93ae-92361f002671', '3.1', 'vSAMP10aDEV::PCM::module-1', 'vSAMP10a DEV PCM', '0', 'ff87482f-4222-11e7-9252-005056850d2e', null, '2016-09-14 18:19:56', 'ff2ae348-214a-11e7-93ae-92361f002671'),
116('066de97e-253e-11e7-93ae-92361f002675', '64efd51a-2544-11e7-93ae-92361f002671', '3.1.1', 'vSAMP10aDEV::PCM::module-1', 'vSAMP10a DEV PCM', '0', 'ff87482f-4222-11e7-9252-005056850d2e', null, '2016-09-14 18:19:56', 'ff2ae348-214a-11e7-93ae-92361f002671');
117
118
119
120insert into vf_module_customization(model_customization_uuid, label, initial_count, min_instances, max_instances, availability_zone_count, heat_environment_artifact_uuid, vol_environment_artifact_uuid, creation_timestamp, vf_module_model_uuid) values
121('cb82ffd8-252a-11e7-93ae-92361f002672', 'base', '1', '0', '0', '0', 'fefb1601-4222-11e7-9252-005056850d2e', null, '2017-05-26 15:08:23', '20c4431c-246d-11e7-93ae-92361f002672'),
122('b4ea86b4-253f-11e7-93ae-92361f002672', 'PCM', '0', '0', '0', '0', 'fefb1751-4333-11e7-9252-005056850d2e', null, '2017-05-26 15:08:23', '066de97e-253e-11e7-93ae-92361f002672');
123
124
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400125
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500126
127
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400128insert into vf_module_to_heat_files(vf_module_model_uuid, heat_files_artifact_uuid) values
129('20c4431c-246d-11e7-93ae-92361f002671', '00535bdd-0878-4478-b95a-c575c742bfb0'),
130('066de97e-253e-11e7-93ae-92361f002671', '00535bdd-0878-4478-b95a-c575c742bfb0');
131
132
133insert into network_resource_customization_to_service(service_model_uuid, resource_model_customization_uuid) values
134('5df8b6de-2083-11e7-93ae-92361f002671', '3bdbb104-476c-483e-9f8b-c095b3d308ac'),
135('5df8b6de-2083-11e7-93ae-92361f002672', '3bdbb104-476c-483e-9f8b-c095b3d308ac');
136
137
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400138insert into allotted_resource_customization_to_service(service_model_uuid, resource_model_customization_uuid) values
139('5df8b6de-2083-11e7-93ae-92361f002671', '367a8ba9-057a-4506-b106-fbae818597c6' ),
140('5df8b6de-2083-11e7-93ae-92361f002672', '367a8ba9-057a-4506-b106-fbae818597c6');
141
142
143
144insert into vnf_recipe(id, nf_role, action, service_type, version_str, description, orchestration_uri, vnf_param_xsd, recipe_timeout, creation_timestamp, vf_module_id) values
145('61', '*', 'CREATE', '', '1', 'Recipe Match All for VNFs if no custom flow exists', '/mso/workflow/services/CreateGenericVNFV1', '', '180', '2016-06-03 10:14:10', ''),
146('63', '*', 'DELETE', '', '1', 'Recipe Match All for VNFs if no custom flow exists', '/mso/async/services/deleteGenericVNFV1', '', '180', '2016-06-03 10:14:10', ''),
147('65', '*', 'UPDATE', '', '1', 'Recipe Match All for VNFs if no custom flow exists', '/mso/workflow/services/updateGenericVNFV1', '', '180', '2016-06-03 10:14:10', ''),
148('67', '*', 'CREATE_VF_MODULE', '', '1', 'Recipe Match All for VNFs if no custom flow exists', '/mso/async/services/CreateVfModule', '', '180', '2016-06-03 10:14:10', '*'),
149('69', '*', 'DELETE_VF_MODULE', '', '1', 'Recipe Match All for VNFs if no custom flow exists', '/mso/async/services/DeleteVfModule', '', '180', '2016-06-03 10:14:10', '*'),
150('71', '*', 'UPDATE_VF_MODULE', '', '1', 'Recipe Match All for VNFs if no custom flow exists', '/mso/async/services/UpdateVfModule', '', '180', '2016-06-03 10:14:10', '*'),
151('77', 'VID_DEFAULT', 'createInstance', '', '1', 'VID_DEFAULT recipe to create VNF if no custom BPMN flow is found', '/mso/async/services/CreateVnfInfra', '', '180', '2016-09-14 19:18:20', ''),
152('78', 'VID_DEFAULT', 'deleteInstance', '', '1', 'VID_DEFAULT recipe to delete VNF if no custom BPMN flow is found', '/mso/async/services/DeleteVnfInfra', '', '180', '2016-09-14 19:18:20', ''),
153('81', 'VID_DEFAULT', 'updateInstance', '', '1', 'VID_DEFAULT update', '/mso/async/services/UpdateVnfInfra', '', '180', '2017-07-28 18:19:39', ''),
154('85', 'VID_DEFAULT', 'replaceInstance', '', '1', 'VID_DEFAULT replace', '/mso/async/services/ReplaceVnfInfra', '', '180', '2017-07-28 18:19:45', ''),
155('10000', 'VID_DEFAULT', 'inPlaceSoftwareUpdate', '', '1', 'VID_DEFAULT inPlaceSoftwareUpdate', '/mso/async/services/VnfInPlaceUpdate', '', '180', '2017-10-25 18:19:45', ''),
156('10001', 'VID_DEFAULT', 'applyUpdatedConfig', '', '1', 'VID_DEFAULT applyUpdatedConfig', '/mso/async/services/VnfConfigUpdate', '', '180', '2017-10-25 18:19:45', '');
157
158
159insert into vnf_components(vnf_id, component_type, heat_template_id, heat_environment_id, creation_timestamp) values
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500160('13961', 'VOLUME', '13843', '13961', '2016-05-19 20:22:02');
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400161
162insert into vnf_components_recipe(id, vnf_type, vnf_component_type, action, service_type, version, description, orchestration_uri, vnf_component_param_xsd, recipe_timeout, creation_timestamp, vf_module_model_uuid) values
163('5', '*', 'VOLUME_GROUP', 'CREATE', '', '1', 'Recipe Match All for VF Modules if no custom flow exists', '/mso/async/services/createCinderVolumeV1', '', '180', '2016-06-03 10:15:11', ''),
164('7', '*', 'VOLUME_GROUP', 'DELETE', '', '1', 'Recipe Match All for VF Modules if no custom flow exists', '/mso/async/services/deleteCinderVolumeV1', '', '180', '2016-06-03 10:15:11', ''),
165('9', '*', 'VOLUME_GROUP', 'UPDATE', '', '1', 'Recipe Match All for VF Modules if no custom flow exists', '/mso/async/services/updateCinderVolumeV1', '', '180', '2016-06-03 10:15:11', ''),
166('13', '', 'VOLUME_GROUP', 'DELETE_VF_MODULE_VOL', '', '1', 'Recipe Match All for VF Modules if no custom flow exists', '/mso/async/services/DeleteVfModuleVolume', '', '180', '2016-06-03 10:15:11', '*'),
167('15', '', 'VOLUME_GROUP', 'UPDATE_VF_MODULE_VOL', '', '1', 'Recipe Match All for VF Modules if no custom flow exists', '/mso/async/services/UpdateVfModuleVolume', '', '180', '2016-06-03 10:15:11', '*'),
168('16', '', 'volumeGroup', 'createInstance', '', '1', 'VID_DEFAULT recipe to create volume-group if no custom BPMN flow is found', '/mso/async/services/CreateVfModuleVolumeInfraV1', '', '180', '2016-09-14 19:18:20', 'VID_DEFAULT'),
169('17', '', 'volumeGroup', 'deleteInstance', '', '1', 'VID_DEFAULT recipe to delete volume-group if no custom BPMN flow is found', '/mso/async/services/DeleteVfModuleVolumeInfraV1', '', '180', '2016-09-14 19:18:20', 'VID_DEFAULT'),
170('18', '', 'volumeGroup', 'updateInstance', '', '1', 'VID_DEFAULT recipe to update volume-group if no custom BPMN flow is found', '/mso/async/services/UpdateVfModuleVolumeInfraV1', '', '180', '2016-09-14 19:18:20', 'VID_DEFAULT'),
171('19', '', 'vfModule', 'createInstance', '', '1', 'VID_DEFAULT recipe to create vf-module if no custom BPMN flow is found', '/mso/async/services/CreateVfModuleInfra', '', '180', '2016-09-14 19:18:20', 'VID_DEFAULT'),
172('20', '', 'vfModule', 'deleteInstance', '', '1', 'VID_DEFAULT recipe to delete vf-module if no custom BPMN flow is found', '/mso/async/services/DeleteVfModuleInfra', '', '180', '2016-09-14 19:18:20', 'VID_DEFAULT'),
173('21', '', 'vfModule', 'updateInstance', '', '1', 'VID_DEFAULT recipe to update vf-module if no custom BPMN flow is found', '/mso/async/services/UpdateVfModuleInfra', '', '180', '2016-09-14 19:18:20', 'VID_DEFAULT'),
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500174('25', '', 'vfModule', 'replaceInstance', '', '1', 'VID_DEFAULT vfModule replace', '/mso/async/services/ReplaceVfModuleInfra', '', '180', '2017-07-28 18:25:06', 'VID_DEFAULT');
175
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400176insert into network_recipe(id, model_name, action, description, orchestration_uri, network_param_xsd, recipe_timeout, service_type, creation_timestamp, version_str) values
177('1', 'CONTRAIL_BASIC', 'CREATE', '', '/mso/async/services/CreateNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
178('2', 'CONTRAIL_BASIC', 'DELETE', '', '/mso/async/services/DeleteNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
179('3', 'CONTRAIL_BASIC', 'UPDATE', '', '/mso/async/services/UpdateNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
180('4', 'CONTRAIL_SHARED', 'CREATE', '', '/mso/async/services/CreateNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
181('5', 'CONTRAIL_SHARED', 'UPDATE', '', '/mso/async/services/UpdateNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
182('6', 'CONTRAIL_SHARED', 'DELETE', '', '/mso/async/services/DeleteNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
183('7', 'CONTRAIL_EXTERNAL', 'CREATE', '', '/mso/async/services/CreateNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
184('8', 'CONTRAIL_EXTERNAL', 'UPDATE', '', '/mso/async/services/UpdateNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
185('9', 'CONTRAIL_EXTERNAL', 'DELETE', '', '/mso/async/services/DeleteNetworkV2', '', '180', '', '2016-09-14 19:00:57', '1'),
186('10', 'CONTRAIL30_BASIC', 'CREATE', '', '/mso/async/services/CreateNetworkV2', '', '180', '', '2016-05-26 14:48:13', '1'),
187('11', 'CONTRAIL30_BASIC', 'UPDATE', '', '/mso/async/services/UpdateNetworkV2', '', '180', '', '2016-05-26 14:48:13', '1'),
188('12', 'CONTRAIL30_BASIC', 'DELETE', '', '/mso/async/services/DeleteNetworkV2', '', '180', '', '2016-05-26 14:48:13', '1'),
189('13', 'NEUTRON_BASIC', 'CREATE', '', '/mso/async/services/CreateNetworkV2', '', '180', '', '2016-06-01 19:54:51', '1'),
190('17', 'VID_DEFAULT', 'createInstance', 'VID_DEFAULT recipe to create network if no custom BPMN flow is found', '/mso/async/services/CreateNetworkInstance', '', '180', '', '2016-09-14 19:18:20', '1.0'),
191('18', 'VID_DEFAULT', 'updateInstance', 'VID_DEFAULT recipe to update network if no custom BPMN flow is found', '/mso/async/services/UpdateNetworkInstance', '', '180', '', '2016-09-14 19:18:20', '1.0'),
192('19', 'VID_DEFAULT', 'deleteInstance', 'VID_DEFAULT recipe to delete network if no custom BPMN flow is found', '/mso/async/services/DeleteNetworkInstance', '', '180', '', '2016-09-14 19:18:20', '1.0'),
193('124', 'CONTRAIL30_MPSCE', 'CREATE', '', '/mso/async/services/CreateNetworkV2', '', '180', '', '2016-10-18 18:47:52', '1'),
194('126', 'CONTRAIL30_MPSCE', 'UPDATE', '', '/mso/async/services/UpdateNetworkV2', '', '180', '', '2016-10-18 18:47:52', '1'),
195('128', 'CONTRAIL30_MPSCE', 'DELETE', '', '/mso/async/services/DeleteNetworkV2', '', '180', '', '2016-10-18 18:47:52', '1'),
196('141', 'CONTRAIL30_L2NODHCP', 'CREATE', '', '/mso/async/services/CreateNetworkV2', '', '180', '', '2017-01-03 20:12:46', '1'),
197('144', 'CONTRAIL30_L2NODHCP', 'UPDATE', '', '/mso/async/services/UpdateNetworkV2', '', '180', '', '2017-01-03 20:12:46', '1'),
198('147', 'CONTRAIL30_L2NODHCP', 'DELETE', '', '/mso/async/services/DeleteNetworkV2', '', '180', '', '2017-01-03 20:12:46', '1'),
199('169', 'CONTRAIL30_GNDIRECT', 'CREATE', '', '/mso/async/services/CreateNetworkV2', '', '180', '', '2017-01-17 20:25:34', '1'),
200('172', 'CONTRAIL30_GNDIRECT', 'UPDATE', '', '/mso/async/services/UpdateNetworkV2', '', '180', '', '2017-01-17 20:25:34', '1'),
201('175', 'CONTRAIL30_GNDIRECT', 'DELETE', '', '/mso/async/services/DeleteNetworkV2', '', '180', '', '2017-01-17 20:25:34', '1'),
202('176', 'NEUTRON_BASIC', 'DELETE', '', '/mso/async/services/DeleteNetworkV2', '', '180', '', '2017-09-22 18:47:31', '1'),
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500203('177', 'NEUTRON_BASIC', 'UPDATE', '', '/mso/async/services/UpdateNetworkV2', '', '180', '', '2017-09-22 18:47:31', '1');
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400204
Benjamin, Max (mb388a)86f04e12019-04-02 22:54:57 -0400205INSERT INTO northbound_request_ref_lookup(MACRO_ACTION, ACTION, REQUEST_SCOPE, IS_ALACARTE, IS_TOPLEVELFLOW, MIN_API_VERSION, MAX_API_VERSION,cloud_owner) VALUES
206('Service-Create', 'createInstance', 'Service', true, true, '7','7','cloudOwner'),
207('Service-Delete', 'deleteInstance', 'Service', true, true, '7','7','cloudOwner'),
208('Service-Macro-Assign', 'assignInstance', 'Service', false, true, '7','7','cloudOwner'),
209('Service-Macro-Activate', 'activateInstance', 'Service', false, true, '7','7','cloudOwner'),
210('Service-Macro-Unassign', 'unassignInstance', 'Service', false, true, '7','7','cloudOwner'),
211('Service-Macro-Create', 'createInstance', 'Service', false, true, '7','7','cloudOwner'),
212('Service-Macro-Delete', 'deleteInstance', 'Service', false, true, '7','7','cloudOwner'),
213('Network-Create', 'createInstance', 'Network', true, true, '7','7','cloudOwner'),
214('Network-Delete', 'deleteInstance', 'Network', true, true, '7','7','cloudOwner'),
215('VNF-Macro-Recreate', 'replaceInstance', 'Vnf', false, false, '7','7','cloudOwner'),
216('VNF-Macro-Replace', 'internalReplace', 'Vnf', false, false, '7','7','cloudOwner'),
217('VNF-Create', 'createInstance', 'Vnf', true, true, '7', '7','cloudOwner'),
218('VNF-Delete', 'deleteInstance', 'Vnf', true, true, '7', '7','cloudOwner'),
219('VolumeGroup-Create', 'createInstance', 'VolumeGroup', true, true, '7','7','cloudOwner'),
220('VolumeGroup-Delete', 'deleteInstance', 'VolumeGroup', true, true, '7','7','cloudOwner'),
221('VFModule-Create', 'createInstance', 'VfModule', true, true, '7','7','cloudOwner'),
222('VFModule-Delete', 'deleteInstance', 'VfModule', true, true, '7','7','cloudOwner'),
223('VFModule-DeactivateAndCloudDelete', 'deactivateAndCloudDelete', 'VfModule', true, true, '7','7','cloudOwner'),
224('NetworkCollection-Macro-Create', 'createInstance', 'NetworkCollection', false, true, '7','7','cloudOwner'),
225('NetworkCollection-Macro-Delete', 'deleteInstance', 'NetworkCollection', false, true, '7','7','cloudOwner'),
226('InstanceGroup-Create', 'createInstance', 'InstanceGroup', true, true, '7','7','cloudOwner'),
227('InstanceGroup-Delete', 'deleteInstance', 'InstanceGroup', true, true, '7','7','cloudOwner'),
228('InstanceGroupMembers-Add', 'addMembers', 'InstanceGroupMembers', true, true, '7','7','cloudOwner'),
229('InstanceGroupMembers-Remove', 'removeMembers', 'InstanceGroupMembers', true, true, '7','7','cloudOwner');
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400230
231INSERT INTO building_block_detail (BUILDING_BLOCK_NAME, RESOURCE_TYPE, TARGET_ACTION)
232VALUES
233('AssignServiceInstanceBB', 'SERVICE', 'ASSIGN'),
234('AssignVnfBB', 'VNF', 'ASSIGN'),
235('AssignVolumeGroupBB', 'VOLUME_GROUP', 'ASSIGN'),
236('AssignVfModuleBB', 'VF_MODULE', 'ASSIGN'),
237('AssignNetworkBB', 'NETWORK', 'ASSIGN'),
238('AssignNetwork1802BB', 'NETWORK', 'ASSIGN'),
239('UnassignServiceInstanceBB', 'SERVICE', 'UNASSIGN'),
240('UnassignVnfBB', 'VNF', 'UNASSIGN'),
241('UnassignVolumeGroupBB', 'VOLUME_GROUP', 'UNASSIGN'),
242('UnassignVfModuleBB', 'VF_MODULE', 'UNASSIGN'),
243('UnassignNetwork1802BB', 'NETWORK', 'UNASSIGN'),
244('UnassignNetworkBB', 'NETWORK', 'UNASSIGN'),
245('ActivateServiceInstanceBB', 'SERVICE', 'ACTIVATE'),
246('ActivateVnfBB', 'VNF', 'ACTIVATE'),
247('ActivateVolumeGroupBB', 'VOLUME_GROUP', 'ACTIVATE'),
248('ActivateVfModuleBB', 'VF_MODULE', 'ACTIVATE'),
249('ActivateNetworkBB', 'NETWORK', 'ACTIVATE'),
250('ActivateNetworkCollectionBB', 'NETWORK', 'ACTIVATE'),
251('DeactivateServiceInstanceBB', 'SERVICE', 'DEACTIVATE'),
252('DeactivateVnfBB', 'VNF', 'DEACTIVATE'),
253('DeactivateVolumeGroupBB', 'VOLUME_GROUP', 'DEACTIVATE'),
254('DeactivateVfModuleBB', 'VF_MODULE', 'DEACTIVATE'),
255('DeactivateNetworkBB', 'NETWORK', 'DEACTIVATE'),
256('ChangeModelServiceInstanceBB', 'SERVICE', 'CHANGE_MODEL'),
257('ChangeModelVnfBB', 'VNF', 'CHANGE_MODEL'),
258('ChangeModelVfModuleBB', 'VF_MODULE', 'CHANGE_MODEL'),
259('CreateVolumeGroupBB', 'VOLUME_GROUP', 'CREATE'),
260('CreateVfModuleBB', 'VF_MODULE', 'CREATE'),
261('CreateNetworkBB', 'NETWORK', 'CREATE'),
262('CreateNetworkCollectionBB', 'NETWORK', 'CREATE'),
263('DeleteVolumeGroupBB', 'VOLUME_GROUP', 'DELETE'),
264('DeleteVfModuleBB', 'VF_MODULE', 'DELETE'),
265('DeleteNetworkBB', 'NETWORK', 'DELETE'),
266('DeleteNetworkCollectionBB', 'NETWORK', 'DELETE'),
267('AssignAndActivateVpnBondingLinksBB', 'CUSTOM', 'CUSTOM'),
268('AvpnAssignServiceInstanceBB', 'CUSTOM', 'CUSTOM'),
269('CreateCustomerVpnBindingBB', 'CUSTOM', 'CUSTOM'),
270('SniroHoming', 'CUSTOM', 'CUSTOM'),
271('DeactivateAndUnassignVpnBondingLinksBB', 'CUSTOM', 'CUSTOM'),
272('DeactivateNetworkCollectionBB', 'CUSTOM', 'CUSTOM'),
273('AAICheckVnfInMaintBB', 'CUSTOM', 'CUSTOM'),
274('AAISetVnfInMaintBB', 'CUSTOM', 'CUSTOM'),
275('AAIUnsetVnfInMaintBB', 'CUSTOM', 'CUSTOM'),
276('SDNOVnfHealthCheckBB', 'CUSTOM', 'CUSTOM'),
277('VNF-Macro-Replace', 'CUSTOM', 'CUSTOM'),
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500278('HomingBB', 'CUSTOM', 'CUSTOM');
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400279
280INSERT INTO orchestration_flow_reference(COMPOSITE_ACTION, SEQ_NO, FLOW_NAME, FLOW_VERSION, NB_REQ_REF_LOOKUP_ID) VALUES
281('Service-Create', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Create')),
282('Service-Create', '2', 'ActivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Create')),
283('Service-Delete', '1', 'DeactivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Delete')),
284('Service-Delete', '2', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Delete')),
285('Service-Macro-Assign', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
286('Service-Macro-Assign', '2', 'AssignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
287('Service-Macro-Assign', '3', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
288('Service-Macro-Assign', '4', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
289('Service-Macro-Assign', '5', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Assign')),
290('Service-Macro-Activate', '1', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
291('Service-Macro-Activate', '2', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
292('Service-Macro-Activate', '3', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
293('Service-Macro-Activate', '4', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
294('Service-Macro-Activate', '5', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
295('Service-Macro-Activate', '6', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
296('Service-Macro-Activate', '7', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
297('Service-Macro-Activate', '8', 'ActivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Activate')),
298('Service-Macro-Unassign', '1', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
299('Service-Macro-Unassign', '2', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
300('Service-Macro-Unassign', '3', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
301('Service-Macro-Unassign', '4', 'UnassignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
302('Service-Macro-Unassign', '5', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Unassign')),
303('Service-Macro-Create', '1', 'AssignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
304('Service-Macro-Create', '2', 'CreateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
305('Service-Macro-Create', '3', 'AssignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
306('Service-Macro-Create', '4', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
307('Service-Macro-Create', '5', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
308('Service-Macro-Create', '6', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
309('Service-Macro-Create', '7', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
310('Service-Macro-Create', '8', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
311('Service-Macro-Create', '9', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
312('Service-Macro-Create', '10', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
313('Service-Macro-Create', '11', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
314('Service-Macro-Create', '12', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
315('Service-Macro-Create', '13', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
316('Service-Macro-Create', '14', 'ActivateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
317('Service-Macro-Create', '15', 'ActivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Create')),
318('Service-Macro-Delete', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
319('Service-Macro-Delete', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
320('Service-Macro-Delete', '3', 'DeactivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
321('Service-Macro-Delete', '4', 'DeleteVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
322('Service-Macro-Delete', '5', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
323('Service-Macro-Delete', '6', 'DeactivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
324('Service-Macro-Delete', '7', 'DeleteNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
325('Service-Macro-Delete', '8', 'DeleteNetworkCollectionBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
326('Service-Macro-Delete', '9', 'DeactivateServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
327('Service-Macro-Delete', '10', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
328('Service-Macro-Delete', '11', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
329('Service-Macro-Delete', '12', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
330('Service-Macro-Delete', '13', 'UnassignNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
331('Service-Macro-Delete', '14', 'UnassignServiceInstanceBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Service-Macro-Delete')),
332('Network-Create', '1', 'AssignNetwork1802BB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create')),
333('Network-Create', '2', 'CreateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create')),
334('Network-Create', '3', 'ActivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Create')),
335('Network-Delete', '1', 'DeactivateNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete')),
336('Network-Delete', '2', 'DeleteNetworkBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete')),
337('Network-Delete', '3', 'UnassignNetwork1802BB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'Network-Delete')),
338('VNF-Create', '1', 'AssignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Create')),
339('VNF-Create', '2', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Create')),
340('VNF-Delete', '1', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Delete')),
341('VNF-Delete', '2', 'UnassignVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Delete')),
342('VNF-Macro-Recreate', '1', 'AAICheckVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
343('VNF-Macro-Recreate', '2', 'AAISetVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
344('VNF-Macro-Recreate', '3', 'VNF-Macro-Replace', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
345('VNF-Macro-Recreate', '4', 'SDNOVnfHealthCheckBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
346('VNF-Macro-Recreate', '5', 'AAIUnsetVnfInMaintBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Recreate')),
347('VNF-Macro-Replace', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
348('VNF-Macro-Replace', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
349('VNF-Macro-Replace', '3', 'DeactivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
350('VNF-Macro-Replace', '4', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
351('VNF-Macro-Replace', '5', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
352('VNF-Macro-Replace', '6', 'ActivateVnfBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VNF-Macro-Replace')),
353('VolumeGroup-Create', '1', 'AssignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create')),
354('VolumeGroup-Create', '2', 'CreateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create')),
355('VolumeGroup-Create', '3', 'ActivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Create')),
356('VolumeGroup-Delete', '1', 'DeactivateVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete')),
357('VolumeGroup-Delete', '2', 'DeleteVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete')),
358('VolumeGroup-Delete', '3', 'UnassignVolumeGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VolumeGroup-Delete')),
359('VFModule-Create', '1', 'AssignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create')),
360('VFModule-Create', '2', 'CreateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create')),
361('VFModule-Create', '3', 'ActivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Create')),
362('VFModule-Delete', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete')),
363('VFModule-Delete', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete')),
364('VFModule-Delete', '3', 'UnassignVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-Delete')),
365('VFModule-DeactivateAndCloudDelete', '1', 'DeactivateVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-DeactivateAndCloudDelete')),
366('VFModule-DeactivateAndCloudDelete', '2', 'DeleteVfModuleBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'VFModule-DeactivateAndCloudDelete')),
367('NetworkCollection-Macro-Create', '1', 'CreateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
368('NetworkCollection-Macro-Create', '2', 'AssignNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
369('NetworkCollection-Macro-Create', '3', 'CreateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
370('NetworkCollection-Macro-Create', '4', 'ActivateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
371('NetworkCollection-Macro-Create', '5', 'ActivateNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Create')),
372('NetworkCollection-Macro-Delete', '1', 'DeactivateNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
373('NetworkCollection-Macro-Delete', '2', 'DeleteNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
374('NetworkCollection-Macro-Delete', '3', 'UnassignNetworkBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
Benjamin, Max (mb388a)86f04e12019-04-02 22:54:57 -0400375('NetworkCollection-Macro-Delete', '4', 'DeleteNetworkCollectionBB',1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'NetworkCollection-Macro-Delete')),
376('InstanceGroup-Create', '1', 'CreateInstanceGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'InstanceGroup-Create')),
377('InstanceGroup-Delete', '1', 'DeleteInstanceGroupBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'InstanceGroup-Delete')),
378('InstanceGroupMembers-Add', '1', 'AddInstanceGroupMembersBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'InstanceGroupMembers-Add')),
379('InstanceGroupmembers-Remove', '1', 'RemoveInstanceGroupMembersBB', 1.0,(SELECT id from northbound_request_ref_lookup WHERE MACRO_ACTION = 'InstanceGroupMembers-Remove'));
380
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400381
382INSERT INTO orchestration_status_state_transition_directive (RESOURCE_TYPE, ORCHESTRATION_STATUS, TARGET_ACTION, FLOW_DIRECTIVE)
383VALUES
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500384('SERVICE', 'PRECREATED', 'ASSIGN', 'CONTINUE'),
385('VNF', 'PRECREATED', 'ASSIGN', 'CONTINUE'),
386('VOLUME_GROUP', 'PRECREATED', 'ASSIGN', 'CONTINUE'),
387('VF_MODULE', 'PRECREATED', 'ASSIGN', 'CONTINUE'),
388('NETWORK', 'PRECREATED', 'ASSIGN', 'CONTINUE'),
389('SERVICE', 'INVENTORIED', 'ASSIGN', 'CONTINUE'),
390('VNF', 'INVENTORIED', 'ASSIGN', 'CONTINUE'),
391('VOLUME_GROUP', 'INVENTORIED', 'ASSIGN', 'FAIL'),
392('VF_MODULE', 'INVENTORIED', 'ASSIGN', 'CONTINUE'),
393('NETWORK', 'INVENTORIED', 'ASSIGN', 'CONTINUE'),
394('SERVICE', 'ASSIGNED', 'ASSIGN', 'SILENT_SUCCESS'),
395('VNF', 'ASSIGNED', 'ASSIGN', 'SILENT_SUCCESS'),
396('VOLUME_GROUP', 'ASSIGNED', 'ASSIGN', 'SILENT_SUCCESS'),
397('VF_MODULE', 'ASSIGNED', 'ASSIGN', 'SILENT_SUCCESS'),
398('NETWORK', 'ASSIGNED', 'ASSIGN', 'SILENT_SUCCESS'),
399('SERVICE', 'CREATED', 'ASSIGN', 'SILENT_SUCCESS'),
400('VNF', 'CREATED', 'ASSIGN', 'CONTINUE'),
401('VOLUME_GROUP', 'CREATED', 'ASSIGN', 'FAIL'),
402('VF_MODULE', 'CREATED', 'ASSIGN', 'SILENT_SUCCESS'),
403('NETWORK', 'CREATED', 'ASSIGN', 'SILENT_SUCCESS'),
404('SERVICE', 'ACTIVE', 'ASSIGN', 'SILENT_SUCCESS'),
405('VNF', 'ACTIVE', 'ASSIGN', 'SILENT_SUCCESS'),
406('VOLUME_GROUP', 'ACTIVE', 'ASSIGN', 'SILENT_SUCCESS'),
407('VF_MODULE', 'ACTIVE', 'ASSIGN', 'SILENT_SUCCESS'),
408('NETWORK', 'ACTIVE', 'ASSIGN', 'SILENT_SUCCESS'),
409('SERVICE', 'PENDING_CREATE', 'ASSIGN', 'FAIL'),
410('VNF', 'PENDING_CREATE', 'ASSIGN', 'FAIL'),
411('VOLUME_GROUP', 'PENDING_CREATE', 'ASSIGN', 'FAIL'),
412('VF_MODULE', 'PENDING_CREATE', 'ASSIGN', 'CONTINUE'),
413('NETWORK', 'PENDING_CREATE', 'ASSIGN', 'SILENT_SUCCESS'),
414('SERVICE', 'PENDING_DELETE', 'ASSIGN', 'SILENT_SUCCESS'),
415('VNF', 'PENDING_DELETE', 'ASSIGN', 'SILENT_SUCCESS'),
416('VOLUME_GROUP', 'PENDING_DELETE', 'ASSIGN', 'FAIL'),
417('VF_MODULE', 'PENDING_DELETE', 'ASSIGN', 'SILENT_SUCCESS'),
418('NETWORK', 'PENDING_DELETE', 'ASSIGN', 'SILENT_SUCCESS'),
419('SERVICE', 'PENDING_ACTIVATION', 'ASSIGN', 'FAIL'),
420('VNF', 'PENDING_ACTIVATION', 'ASSIGN', 'FAIL'),
421('VOLUME_GROUP', 'PENDING_ACTIVATION', 'ASSIGN', 'FAIL'),
422('VF_MODULE', 'PENDING_ACTIVATION', 'ASSIGN', 'SILENT_SUCCESS'),
423('NETWORK', 'PENDING_ACTIVATION', 'ASSIGN', 'FAIL'),
424('SERVICE', 'PENDING', 'ASSIGN', 'FAIL'),
425('VNF', 'PENDING', 'ASSIGN', 'FAIL'),
426('VOLUME_GROUP', 'PENDING', 'ASSIGN', 'SILENT_SUCCESS'),
427('VF_MODULE', 'PENDING', 'ASSIGN', 'FAIL'),
428('NETWORK', 'PENDING', 'ASSIGN', 'FAIL'),
429('SERVICE', 'PRECREATED', 'UNASSIGN', 'SILENT_SUCCESS'),
430('VNF', 'PRECREATED', 'UNASSIGN', 'SILENT_SUCCESS'),
431('VOLUME_GROUP', 'PRECREATED', 'UNASSIGN', 'SILENT_SUCCESS'),
432('VF_MODULE', 'PRECREATED', 'UNASSIGN', 'SILENT_SUCCESS'),
433('NETWORK', 'PRECREATED', 'UNASSIGN', 'SILENT_SUCCESS'),
434('SERVICE', 'INVENTORIED', 'UNASSIGN', 'CONTINUE'),
435('VNF', 'INVENTORIED', 'UNASSIGN', 'CONTINUE'),
436('VOLUME_GROUP', 'INVENTORIED', 'UNASSIGN', 'FAIL'),
437('VF_MODULE', 'INVENTORIED', 'UNASSIGN', 'CONTINUE'),
438('NETWORK', 'INVENTORIED', 'UNASSIGN', 'CONTINUE'),
439('SERVICE', 'ASSIGNED', 'UNASSIGN', 'CONTINUE'),
440('VNF', 'ASSIGNED', 'UNASSIGN', 'CONTINUE'),
441('VOLUME_GROUP', 'ASSIGNED', 'UNASSIGN', 'CONTINUE'),
442('VF_MODULE', 'ASSIGNED', 'UNASSIGN', 'CONTINUE'),
443('NETWORK', 'ASSIGNED', 'UNASSIGN', 'CONTINUE'),
444('SERVICE', 'CREATED', 'UNASSIGN', 'CONTINUE'),
445('VNF', 'CREATED', 'UNASSIGN', 'CONTINUE'),
446('VOLUME_GROUP', 'CREATED', 'UNASSIGN', 'FAIL'),
447('VF_MODULE', 'CREATED', 'UNASSIGN', 'FAIL'),
448('NETWORK', 'CREATED', 'UNASSIGN', 'FAIL'),
449('SERVICE', 'ACTIVE', 'UNASSIGN', 'FAIL'),
450('VNF', 'ACTIVE', 'UNASSIGN', 'FAIL'),
451('VOLUME_GROUP', 'ACTIVE', 'UNASSIGN', 'FAIL'),
452('VF_MODULE', 'ACTIVE', 'UNASSIGN', 'FAIL'),
453('NETWORK', 'ACTIVE', 'UNASSIGN', 'FAIL'),
454('SERVICE', 'PENDING_CREATE', 'UNASSIGN', 'FAIL'),
455('VNF', 'PENDING_CREATE', 'UNASSIGN', 'FAIL'),
456('VOLUME_GROUP', 'PENDING_CREATE', 'UNASSIGN', 'FAIL'),
457('VF_MODULE', 'PENDING_CREATE', 'UNASSIGN', 'CONTINUE'),
458('NETWORK', 'PENDING_CREATE', 'UNASSIGN', 'CONTINUE'),
459('SERVICE', 'PENDING_DELETE', 'UNASSIGN', 'CONTINUE'),
460('VNF', 'PENDING_DELETE', 'UNASSIGN', 'CONTINUE'),
461('VOLUME_GROUP', 'PENDING_DELETE', 'UNASSIGN', 'FAIL'),
462('VF_MODULE', 'PENDING_DELETE', 'UNASSIGN', 'CONTINUE'),
463('NETWORK', 'PENDING_DELETE', 'UNASSIGN', 'CONTINUE'),
464('SERVICE', 'PENDING_ACTIVATION', 'UNASSIGN', 'FAIL'),
465('VNF', 'PENDING_ACTIVATION', 'UNASSIGN', 'FAIL'),
466('VOLUME_GROUP', 'PENDING_ACTIVATION', 'UNASSIGN', 'FAIL'),
467('VF_MODULE', 'PENDING_ACTIVATION', 'UNASSIGN', 'CONTINUE'),
468('NETWORK', 'PENDING_ACTIVATION', 'UNASSIGN', 'FAIL'),
469('SERVICE', 'PENDING', 'UNASSIGN', 'FAIL'),
470('VNF', 'PENDING', 'UNASSIGN', 'FAIL'),
471('VOLUME_GROUP', 'PENDING', 'UNASSIGN', 'CONTINUE'),
472('VF_MODULE', 'PENDING', 'UNASSIGN', 'FAIL'),
473('NETWORK', 'PENDING', 'UNASSIGN', 'FAIL'),
474('SERVICE', 'PRECREATED', 'ACTIVATE', 'FAIL'),
475('VNF', 'PRECREATED', 'ACTIVATE', 'FAIL'),
476('VOLUME_GROUP', 'PRECREATED', 'ACTIVATE', 'FAIL'),
477('VF_MODULE', 'PRECREATED', 'ACTIVATE', 'FAIL'),
478('NETWORK', 'PRECREATED', 'ACTIVATE', 'FAIL'),
479('SERVICE', 'INVENTORIED', 'ACTIVATE', 'FAIL'),
480('VNF', 'INVENTORIED', 'ACTIVATE', 'FAIL'),
481('VOLUME_GROUP', 'INVENTORIED', 'ACTIVATE', 'FAIL'),
482('VF_MODULE', 'INVENTORIED', 'ACTIVATE', 'FAIL'),
483('NETWORK', 'INVENTORIED', 'ACTIVATE', 'FAIL'),
484('SERVICE', 'ASSIGNED', 'ACTIVATE', 'CONTINUE'),
485('VNF', 'ASSIGNED', 'ACTIVATE', 'CONTINUE'),
486('VOLUME_GROUP', 'ASSIGNED', 'ACTIVATE', 'FAIL'),
487('VF_MODULE', 'ASSIGNED', 'ACTIVATE', 'FAIL'),
488('NETWORK', 'ASSIGNED', 'ACTIVATE', 'FAIL'),
489('SERVICE', 'CREATED', 'ACTIVATE', 'CONTINUE'),
490('VNF', 'CREATED', 'ACTIVATE', 'FAIL'),
491('VOLUME_GROUP', 'CREATED', 'ACTIVATE', 'CONTINUE'),
492('VF_MODULE', 'CREATED', 'ACTIVATE', 'CONTINUE'),
493('NETWORK', 'CREATED', 'ACTIVATE', 'CONTINUE'),
494('SERVICE', 'ACTIVE', 'ACTIVATE', 'SILENT_SUCCESS'),
495('VNF', 'ACTIVE', 'ACTIVATE', 'SILENT_SUCCESS'),
496('VOLUME_GROUP', 'ACTIVE', 'ACTIVATE', 'SILENT_SUCCESS'),
497('VF_MODULE', 'ACTIVE', 'ACTIVATE', 'SILENT_SUCCESS'),
498('NETWORK', 'ACTIVE', 'ACTIVATE', 'SILENT_SUCCESS'),
499('SERVICE', 'PENDING_CREATE', 'ACTIVATE', 'FAIL'),
500('VNF', 'PENDING_CREATE', 'ACTIVATE', 'FAIL'),
501('VOLUME_GROUP', 'PENDING_CREATE', 'ACTIVATE', 'FAIL'),
502('VF_MODULE', 'PENDING_CREATE', 'ACTIVATE', 'FAIL'),
503('NETWORK', 'PENDING_CREATE', 'ACTIVATE', 'FAIL'),
504('SERVICE', 'PENDING_DELETE', 'ACTIVATE', 'CONTINUE'),
505('VNF', 'PENDING_DELETE', 'ACTIVATE', 'CONTINUE'),
506('VOLUME_GROUP', 'PENDING_DELETE', 'ACTIVATE', 'FAIL'),
507('VF_MODULE', 'PENDING_DELETE', 'ACTIVATE', 'FAIL'),
508('NETWORK', 'PENDING_DELETE', 'ACTIVATE', 'FAIL'),
509('SERVICE', 'PENDING_ACTIVATION', 'ACTIVATE', 'FAIL'),
510('VNF', 'PENDING_ACTIVATION', 'ACTIVATE', 'FAIL'),
511('VOLUME_GROUP', 'PENDING_ACTIVATION', 'ACTIVATE', 'FAIL'),
512('VF_MODULE', 'PENDING_ACTIVATION', 'ACTIVATE', 'SILENT_SUCCESS'),
513('NETWORK', 'PENDING_ACTIVATION', 'ACTIVATE', 'FAIL'),
514('SERVICE', 'PENDING', 'ACTIVATE', 'FAIL'),
515('VNF', 'PENDING', 'ACTIVATE', 'FAIL'),
516('VOLUME_GROUP', 'PENDING', 'ACTIVATE', 'FAIL'),
517('VF_MODULE', 'PENDING', 'ACTIVATE', 'FAIL'),
518('NETWORK', 'PENDING', 'ACTIVATE', 'FAIL'),
519('SERVICE', 'PRECREATED', 'DEACTIVATE', 'FAIL'),
520('VNF', 'PRECREATED', 'DEACTIVATE', 'FAIL'),
521('VOLUME_GROUP', 'PRECREATED', 'DEACTIVATE', 'FAIL'),
522('VF_MODULE', 'PRECREATED', 'DEACTIVATE', 'FAIL'),
523('NETWORK', 'PRECREATED', 'DEACTIVATE', 'FAIL'),
524('SERVICE', 'INVENTORIED', 'DEACTIVATE', 'FAIL'),
525('VNF', 'INVENTORIED', 'DEACTIVATE', 'SILENT_SUCCESS'),
526('VOLUME_GROUP', 'INVENTORIED', 'DEACTIVATE', 'FAIL'),
527('VF_MODULE', 'INVENTORIED', 'DEACTIVATE', 'SILENT_SUCCESS'),
528('NETWORK', 'INVENTORIED', 'DEACTIVATE', 'SILENT_SUCCESS'),
529('SERVICE', 'ASSIGNED', 'DEACTIVATE', 'SILENT_SUCCESS'),
530('VNF', 'ASSIGNED', 'DEACTIVATE', 'SILENT_SUCCESS'),
531('VOLUME_GROUP', 'ASSIGNED', 'DEACTIVATE', 'SILENT_SUCCESS'),
532('VF_MODULE', 'ASSIGNED', 'DEACTIVATE', 'SILENT_SUCCESS'),
533('NETWORK', 'ASSIGNED', 'DEACTIVATE', 'SILENT_SUCCESS'),
534('SERVICE', 'CREATED', 'DEACTIVATE', 'SILENT_SUCCESS'),
535('VNF', 'CREATED', 'DEACTIVATE', 'SILENT_SUCCESS'),
536('VOLUME_GROUP', 'CREATED', 'DEACTIVATE', 'SILENT_SUCCESS'),
537('VF_MODULE', 'CREATED', 'DEACTIVATE', 'SILENT_SUCCESS'),
538('NETWORK', 'CREATED', 'DEACTIVATE', 'SILENT_SUCCESS'),
539('SERVICE', 'ACTIVE', 'DEACTIVATE', 'CONTINUE'),
540('VNF', 'ACTIVE', 'DEACTIVATE', 'CONTINUE'),
541('VOLUME_GROUP', 'ACTIVE', 'DEACTIVATE', 'CONTINUE'),
542('VF_MODULE', 'ACTIVE', 'DEACTIVATE', 'CONTINUE'),
543('NETWORK', 'ACTIVE', 'DEACTIVATE', 'CONTINUE'),
544('SERVICE', 'PENDING_CREATE', 'DEACTIVATE', 'FAIL'),
545('VNF', 'PENDING_CREATE', 'DEACTIVATE', 'FAIL'),
546('VOLUME_GROUP', 'PENDING_CREATE', 'DEACTIVATE', 'FAIL'),
547('VF_MODULE', 'PENDING_CREATE', 'DEACTIVATE', 'SILENT_SUCCESS'),
548('NETWORK', 'PENDING_CREATE', 'DEACTIVATE', 'SILENT_SUCCESS'),
549('SERVICE', 'PENDING_DELETE', 'DEACTIVATE', 'SILENT_SUCCESS'),
550('VNF', 'PENDING_DELETE', 'DEACTIVATE', 'SILENT_SUCCESS'),
551('VOLUME_GROUP', 'PENDING_DELETE', 'DEACTIVATE', 'FAIL'),
552('VF_MODULE', 'PENDING_DELETE', 'DEACTIVATE', 'SILENT_SUCCESS'),
553('NETWORK', 'PENDING_DELETE', 'DEACTIVATE', 'SILENT_SUCCESS'),
554('SERVICE', 'PENDING_ACTIVATION', 'DEACTIVATE', 'FAIL'),
555('VNF', 'PENDING_ACTIVATION', 'DEACTIVATE', 'FAIL'),
556('VOLUME_GROUP', 'PENDING_ACTIVATION', 'DEACTIVATE', 'FAIL'),
557('VF_MODULE', 'PENDING_ACTIVATION', 'DEACTIVATE', 'SILENT_SUCCESS'),
558('NETWORK', 'PENDING_ACTIVATION', 'DEACTIVATE', 'FAIL'),
559('SERVICE', 'PENDING', 'DEACTIVATE', 'FAIL'),
560('VNF', 'PENDING', 'DEACTIVATE', 'FAIL'),
561('VOLUME_GROUP', 'PENDING', 'DEACTIVATE', 'SILENT_SUCCESS'),
562('VF_MODULE', 'PENDING', 'DEACTIVATE', 'FAIL'),
563('NETWORK', 'PENDING', 'DEACTIVATE', 'FAIL'),
564('SERVICE', 'PRECREATED', 'CHANGE_MODEL', 'FAIL'),
565('VNF', 'PRECREATED', 'CHANGE_MODEL', 'FAIL'),
566('VF_MODULE', 'PRECREATED', 'CHANGE_MODEL', 'FAIL'),
567('SERVICE', 'INVENTORIED', 'CHANGE_MODEL', 'FAIL'),
568('VNF', 'INVENTORIED', 'CHANGE_MODEL', 'FAIL'),
569('VF_MODULE', 'INVENTORIED', 'CHANGE_MODEL', 'FAIL'),
570('SERVICE', 'ASSIGNED', 'CHANGE_MODEL', 'FAIL'),
571('VNF', 'ASSIGNED', 'CHANGE_MODEL', 'CONTINUE'),
572('VF_MODULE', 'ASSIGNED', 'CHANGE_MODEL', 'CONTINUE'),
573('SERVICE', 'CREATED', 'CHANGE_MODEL', 'FAIL'),
574('VNF', 'CREATED', 'CHANGE_MODEL', 'FAIL'),
575('VF_MODULE', 'CREATED', 'CHANGE_MODEL', 'FAIL'),
576('SERVICE', 'ACTIVE', 'CHANGE_MODEL', 'CONTINUE'),
577('VNF', 'ACTIVE', 'CHANGE_MODEL', 'CONTINUE'),
578('VF_MODULE', 'ACTIVE', 'CHANGE_MODEL', 'CONTINUE'),
579('SERVICE', 'PENDING_CREATE', 'CHANGE_MODEL', 'FAIL'),
580('VNF', 'PENDING_CREATE', 'CHANGE_MODEL', 'FAIL'),
581('VF_MODULE', 'PENDING_CREATE', 'CHANGE_MODEL', 'FAIL'),
582('SERVICE', 'PENDING_DELETE', 'CHANGE_MODEL', 'FAIL'),
583('VNF', 'PENDING_DELETE', 'CHANGE_MODEL', 'CONTINUE'),
584('VF_MODULE', 'PENDING_DELETE', 'CHANGE_MODEL', 'CONTINUE'),
585('SERVICE', 'PENDING_ACTIVATION', 'CHANGE_MODEL', 'FAIL'),
586('VNF', 'PENDING_ACTIVATION', 'CHANGE_MODEL', 'CONTINUE'),
587('VF_MODULE', 'PENDING_ACTIVATION', 'CHANGE_MODEL', 'CONTINUE'),
588('SERVICE', 'PENDING', 'CHANGE_MODEL', 'FAIL'),
589('VNF', 'PENDING', 'CHANGE_MODEL', 'FAIL'),
590('VF_MODULE', 'PENDING', 'CHANGE_MODEL', 'FAIL'),
591('VOLUME_GROUP', 'PRECREATED', 'CREATE', 'FAIL'),
592('VF_MODULE', 'PRECREATED', 'CREATE', 'FAIL'),
593('NETWORK', 'PRECREATED', 'CREATE', 'FAIL'),
594('VOLUME_GROUP', 'INVENTORIED', 'CREATE', 'FAIL'),
595('VF_MODULE', 'INVENTORIED', 'CREATE', 'FAIL'),
596('NETWORK', 'INVENTORIED', 'CREATE', 'FAIL'),
597('VOLUME_GROUP', 'ASSIGNED', 'CREATE', 'CONTINUE'),
598('VF_MODULE', 'ASSIGNED', 'CREATE', 'CONTINUE'),
599('NETWORK', 'ASSIGNED', 'CREATE', 'CONTINUE'),
600('VOLUME_GROUP', 'CREATED', 'CREATE', 'SILENT_SUCCESS'),
601('VF_MODULE', 'CREATED', 'CREATE', 'SILENT_SUCCESS'),
602('NETWORK', 'CREATED', 'CREATE', 'SILENT_SUCCESS'),
603('VOLUME_GROUP', 'ACTIVE', 'CREATE', 'SILENT_SUCCESS'),
604('VF_MODULE', 'ACTIVE', 'CREATE', 'SILENT_SUCCESS'),
605('NETWORK', 'ACTIVE', 'CREATE', 'SILENT_SUCCESS'),
606('VOLUME_GROUP', 'PENDING_CREATE', 'CREATE', 'FAIL'),
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400607('VF_MODULE', 'PENDING_CREATE', 'CREATE', 'FAIL'),
Benjamin, Max (mb388a)61affc62018-11-05 11:00:36 -0500608('NETWORK', 'PENDING_CREATE', 'CREATE', 'CONTINUE'),
609('VOLUME_GROUP', 'PENDING_DELETE', 'CREATE', 'FAIL'),
610('VF_MODULE', 'PENDING_DELETE', 'CREATE', 'CONTINUE'),
611('NETWORK', 'PENDING_DELETE', 'CREATE', 'CONTINUE'),
612('VOLUME_GROUP', 'PENDING_ACTIVATION', 'CREATE', 'FAIL'),
613('VF_MODULE', 'PENDING_ACTIVATION', 'CREATE', 'SILENT_SUCCESS'),
614('NETWORK', 'PENDING_ACTIVATION', 'CREATE', 'FAIL'),
615('VOLUME_GROUP', 'PENDING', 'CREATE', 'CONTINUE'),
616('VF_MODULE', 'PENDING', 'CREATE', 'FAIL'),
617('NETWORK', 'PENDING', 'CREATE', 'FAIL'),
618('VOLUME_GROUP', 'PRECREATED', 'DELETE', 'FAIL'),
619('VF_MODULE', 'PRECREATED', 'DELETE', 'FAIL'),
620('NETWORK', 'PRECREATED', 'DELETE', 'FAIL'),
621('VOLUME_GROUP', 'INVENTORIED', 'DELETE', 'FAIL'),
622('VF_MODULE', 'INVENTORIED', 'DELETE', 'SILENT_SUCCESS'),
623('NETWORK', 'INVENTORIED', 'DELETE', 'SILENT_SUCCESS'),
624('VOLUME_GROUP', 'ASSIGNED', 'DELETE', 'SILENT_SUCCESS'),
625('VF_MODULE', 'ASSIGNED', 'DELETE', 'SILENT_SUCCESS'),
626('NETWORK', 'ASSIGNED', 'DELETE', 'SILENT_SUCCESS'),
627('VOLUME_GROUP', 'CREATED', 'DELETE', 'CONTINUE'),
628('VF_MODULE', 'CREATED', 'DELETE', 'CONTINUE'),
629('NETWORK', 'CREATED', 'DELETE', 'CONTINUE'),
630('VOLUME_GROUP', 'ACTIVE', 'DELETE', 'FAIL'),
631('VF_MODULE', 'ACTIVE', 'DELETE', 'FAIL'),
632('NETWORK', 'ACTIVE', 'DELETE', 'FAIL'),
633('VOLUME_GROUP', 'PENDING_CREATE', 'DELETE', 'FAIL'),
634('VF_MODULE', 'PENDING_CREATE', 'DELETE', 'SILENT_SUCCESS'),
635('NETWORK', 'PENDING_CREATE', 'DELETE', 'SILENT_SUCCESS'),
636('VOLUME_GROUP', 'PENDING_DELETE', 'DELETE', 'FAIL'),
637('VF_MODULE', 'PENDING_DELETE', 'DELETE', 'SILENT_SUCCESS'),
638('NETWORK', 'PENDING_DELETE', 'DELETE', 'SILENT_SUCCESS'),
639('VOLUME_GROUP', 'PENDING_ACTIVATION', 'DELETE', 'FAIL'),
640('VF_MODULE', 'PENDING_ACTIVATION', 'DELETE', 'SILENT_SUCCESS'),
641('NETWORK', 'PENDING_ACTIVATION', 'DELETE', 'FAIL'),
642('VOLUME_GROUP', 'PENDING', 'DELETE', 'SILENT_SUCCESS'),
643('VF_MODULE', 'PENDING', 'DELETE', 'FAIL'),
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400644('NETWORK', 'PENDING', 'DELETE', 'FAIL'),
645('CUSTOM', 'ACTIVE', 'CUSTOM', 'CONTINUE'),
646('CUSTOM', 'ASSIGNED', 'CUSTOM', 'CONTINUE'),
647('CUSTOM', 'CREATED', 'CUSTOM', 'CONTINUE'),
648('CUSTOM', 'INVENTORIED', 'CUSTOM', 'CONTINUE'),
649('CUSTOM', 'PENDING', 'CUSTOM', 'CONTINUE'),
650('CUSTOM', 'PENDING_ACTIVATION', 'CUSTOM', 'CONTINUE'),
651('CUSTOM', 'PENDING_CREATE', 'CUSTOM', 'CONTINUE'),
652('CUSTOM', 'PENDING_DELETE', 'CUSTOM', 'CONTINUE'),
653('CUSTOM', 'PRECREATED', 'CUSTOM', 'CONTINUE');
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400654
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400655INSERT INTO `cloudify_managers` (`ID`, `CLOUDIFY_URL`, `USERNAME`, `PASSWORD`, `VERSION`, `LAST_UPDATED_BY`, `CREATION_TIMESTAMP`, `UPDATE_TIMESTAMP`) VALUES ('mtn13', 'http://localhost:28090/v2.0', 'm93945', '93937EA01B94A10A49279D4572B48369', NULL, 'MSO_USER', '2018-07-17 14:05:08', '2018-07-17 14:05:08');
656
Benjamin, Max (mb388a)37547ac2018-11-16 12:23:48 -0500657INSERT INTO `identity_services` (`ID`, `IDENTITY_URL`, `MSO_ID`, `MSO_PASS`, `PROJECT_DOMAIN_NAME`, `USER_DOMAIN_NAME`, `ADMIN_TENANT`, `MEMBER_ROLE`, `TENANT_METADATA`, `IDENTITY_SERVER_TYPE`, `IDENTITY_AUTHENTICATION_TYPE`, `LAST_UPDATED_BY`, `CREATION_TIMESTAMP`, `UPDATE_TIMESTAMP`) VALUES ('MTN13', 'http://localhost:28090/v2.0', 'm93945', '93937EA01B94A10A49279D4572B48369', NULL, NULL, 'admin', 'admin', 1, 'KEYSTONE', 'USERNAME_PASSWORD', 'MSO_USER', '2018-07-17 14:02:33', '2018-07-17 14:02:33');
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400658
Prema Bhatt474b1752018-08-10 15:54:13 -0700659INSERT INTO `cloud_sites` (`ID`, `REGION_ID`, `IDENTITY_SERVICE_ID`, `CLOUD_VERSION`, `CLLI`, `CLOUDIFY_ID`, `PLATFORM`, `ORCHESTRATOR`, `LAST_UPDATED_BY`, `CREATION_TIMESTAMP`, `UPDATE_TIMESTAMP`) VALUES ('mtn13', 'mtn13', 'MTN13', '2.5', 'MDT13', 'mtn13', NULL, 'orchestrator', 'MSO_USER', '2018-07-17 14:06:28', '2018-07-17 14:06:28');
660
661INSERT INTO `controller_selection_reference` (`VNF_TYPE`, `CONTROLLER_NAME`, `ACTION_CATEGORY`) VALUES
Rob Daughertyadd0df02018-08-30 14:26:55 -0400662('vLoadBalancerMS/vLoadBalancerMS 0', 'APPC', 'ConfigScaleOut'),
663('vLoadBalancerMS/vLoadBalancerMS 0', 'APPC', 'HealthCheck');
Benjamin, Max (mb388a)69455a22018-09-04 11:21:02 -0400664
665INSERT INTO `configuration`
666 (`model_uuid`,
667 `model_invariant_uuid`,
668 `model_version`,
669 `model_name`,
670 `tosca_node_type`,
671 `description`,
672 `creation_timestamp`)
673VALUES ( 'c59a41ca-9b3b-11e8-98d0-529269fb1459',
674 '15881e64-9b3c-11e8-98d0-529269fb1459',
675 'testModelVersion',
676 'testModelName',
677 'testToscaModelType',
678 'testConfigurationDescription',
679 '2018-07-17 14:05:08' );
680
681
682INSERT INTO `vnfc_customization`
683 (`model_customization_uuid`,
684 `model_instance_name`,
685 `model_uuid`,
686 `model_invariant_uuid`,
687 `model_version`,
688 `model_name`,
689 `tosca_node_type`,
690 `description`,
691 `creation_timestamp`)
692VALUES ( '9bcce658-9b37-11e8-98d0-529269fb1459',
693 'testModelInstanceName',
694 'b25735fe-9b37-11e8-98d0-529269fb1459',
695 'ba7e6ef0-9b37-11e8-98d0-529269fb1459',
696 'testModelVersion',
697 'testModelName',
698 'toscaNodeType',
699 'testVnfcCustomizationDescription',
700 '2018-07-17 14:05:08');
701
702INSERT INTO `cvnfc_customization`
703 (`id`,
704 `model_customization_uuid`,
705 `model_instance_name`,
706 `model_uuid`,
707 `model_invariant_uuid`,
708 `model_version`,
709 `model_name`,
710 `tosca_node_type`,
711 `description`,
712 `nfc_function`,
713 `nfc_naming_code`,
714 `creation_timestamp`,
Benjamin, Max (mb388a)69455a22018-09-04 11:21:02 -0400715 `vnfc_cust_model_customization_uuid`)
716VALUES ( '1',
717 '9bcce658-9b37-11e8-98d0-529269fb1459',
718 'testModelInstanceName',
719 'b25735fe-9b37-11e8-98d0-529269fb1459',
720 'ba7e6ef0-9b37-11e8-98d0-529269fb1459',
721 'testModelVersion',
722 'testModelName',
723 'testToscaNodeType',
724 'testCvnfcCustomzationDescription',
725 'testNfcFunction',
726 'testNfcNamingCode',
727 '2018-07-17 14:05:08',
Benjamin, Max (mb388a)69455a22018-09-04 11:21:02 -0400728 '9bcce658-9b37-11e8-98d0-529269fb1459');
729
eeginux53bb2f22019-03-09 00:57:00 +0000730insert into service(model_uuid, model_name, model_invariant_uuid, model_version, description, creation_timestamp, tosca_csar_artifact_uuid, service_type, service_role, environment_context, workload_context) values
731('5df8b6de-2083-11e7-93ae-92361f002676', 'PNF_routing_service', '9647dfc4-2083-11e7-93ae-92361f002676', '1.0', 'PNF service', '2019-03-08 12:00:29', null, 'NA', 'NA', 'Luna', 'Oxygen');
732
733insert into pnf_resource(orchestration_mode, description, creation_timestamp, model_uuid, model_invariant_uuid, model_version, model_name, tosca_node_type) values
734('', 'PNF routing', '2019-03-08 12:00:28', 'ff2ae348-214a-11e7-93ae-92361f002680', '2fff5b20-214b-11e7-93ae-92361f002680', '1.0', 'PNF resource', null);
735
736insert into pnf_resource_customization(model_customization_uuid, model_instance_name, nf_type, nf_role, nf_function, nf_naming_code, creation_timestamp, pnf_resource_model_uuid, multi_stage_design, cds_blueprint_name, cds_blueprint_version) values
737('68dc9a92-214c-11e7-93ae-92361f002680', 'PNF routing', 'routing', 'routing', 'routing', 'routing', '2019-03-08 12:00:29', 'ff2ae348-214a-11e7-93ae-92361f002680', null, "test_configuration_restconf", "1.0.0");
738
739insert into pnf_resource_customization_to_service(service_model_uuid, resource_model_customization_uuid) values
Benjamin, Max (mb388a)86f04e12019-04-02 22:54:57 -0400740('5df8b6de-2083-11e7-93ae-92361f002676', '68dc9a92-214c-11e7-93ae-92361f002680');
Elena Kuleshoveeaa9572019-04-08 01:17:53 -0400741
742insert into workflow(artifact_uuid, artifact_name, name, operation_name, version, description, body, resource_target, source) values
743('5b0c4322-643d-4c9f-b184-4516049e99b1', 'testingWorkflow', 'testingWorkflow', 'create', 1, 'Test Workflow', null, 'vnf', 'sdc');
Elena Kuleshovfd4d6832019-04-08 22:08:29 -0400744
745insert into vnf_resource_to_workflow(vnf_resource_model_uuid, workflow_id) values
746('ff2ae348-214a-11e7-93ae-92361f002671', '1');
747
748insert into activity_spec(name, description, version) values
749('testActivity1', 'Test Activity 1', 1);
750
751insert into workflow_activity_spec_sequence(workflow_id, activity_spec_id, seq_no) values
752(1, 1, 1);
Bonkur, Venkat (vb8416)00915792019-04-10 21:10:01 -0400753
754INSERT INTO activity_spec (NAME, DESCRIPTION, VERSION)
755VALUES
756('VNFSetInMaintFlagActivity','Activity to Set InMaint Flag in A&AI',1.0),
757('VNFCheckPserversLockedFlagActivity','Activity Check Pservers Locked Flag VNF',1.0),
758('VNFCheckInMaintFlagActivity','Activity CheckIn Maint Flag on VNF',1.0),
759('VNFCheckClosedLoopDisabledFlagActivity','Activity Check Closed Loop Disabled Flag on VNF',1.0),
760('VNFSetClosedLoopDisabledFlagActivity','Activity Set Closed Loop Disabled Flag on VNF',1.0),
761('VNFUnsetClosedLoopDisabledFlagActivity','Activity Unset Closed Loop Disabled Flag on VNF',1.0),
762('VNFLockActivity','Activity Lock on VNF',1.0),
763('VNFUnlockActivity','Activity UnLock on VNF',1.0),
764('VNFStopActivity','Activity Stop on VNF',1.0),
765('VNFStartActivity','Activity Start on VNF',1.0),
766('VNFSnapShotActivity','Activity Snap Shot on VNF',1.0),
767('FlowCompleteActivity','Activity Complete on VNF',1.0),
768('PauseForManualTaskActivity','Activity Pause For Manual Task on VNF',1.0),
769('DistributeTrafficActivity','Activity Distribute Traffic on VNF',1.0),
770('DistributeTrafficCheckActivity','Activity Distribute Traffic Check on VNF',1.0),
771('VNFHealthCheckActivity','Activity Health Check on VNF',1.0),
772('VNFQuiesceTrafficActivity','Activity Quiesce Traffic on VNF',1.0),
773('VNFResumeTrafficActivity','Activity Resume Traffic on VNF',1.0),
774('VNFUnsetInMaintFlagActivity','Activity Unset InMaint Flag on VNF',1.0),
775('VNFUpgradeBackupActivity','Activity Upgrade Backup on VNF',1.0),
776('VNFUpgradePostCheckActivity','Activity Upgrade Post Check on VNF',1.0),
777('VNFUpgradePreCheckActivity','Activity Upgrade PreCheck on VNF',1.0),
778('VNFUpgradeSoftwareActivity','Activity UpgradeS oftware on VNF',1.0),
779('VnfInPlaceSoftwareUpdate','Activity InPlace Software Update on VNF',1.0);
780
781INSERT INTO activity_spec_categories (NAME)
782VALUES ('VNF');
783
784INSERT INTO activity_spec_to_activity_spec_categories(ACTIVITY_SPEC_ID, ACTIVITY_SPEC_CATEGORIES_ID)
785VALUES
786((select ID from activity_spec where NAME='VNFSetInMaintFlagActivity' and VERSION=1.0),
787(select ID from activity_spec_categories where NAME='VNF')),
788((select ID from activity_spec where NAME='VNFCheckPserversLockedFlagActivity' and VERSION=1.0),
789(select ID from activity_spec_categories where NAME='VNF')),
790((select ID from activity_spec where NAME='VNFCheckInMaintFlagActivity' and VERSION=1.0),
791(select ID from activity_spec_categories where NAME='VNF')),
792((select ID from activity_spec where NAME='VNFCheckClosedLoopDisabledFlagActivity' and VERSION=1.0),
793(select ID from activity_spec_categories where NAME='VNF')),
794((select ID from activity_spec where NAME='VNFSetClosedLoopDisabledFlagActivity' and VERSION=1.0),
795(select ID from activity_spec_categories where NAME='VNF')),
796((select ID from activity_spec where NAME='VNFUnsetClosedLoopDisabledFlagActivity' and VERSION=1.0),
797(select ID from activity_spec_categories where NAME='VNF')),
798((select ID from activity_spec where NAME='VNFLockActivity' and VERSION=1.0),
799(select ID from activity_spec_categories where NAME='VNF')),
800((select ID from activity_spec where NAME='VNFUnlockActivity' and VERSION=1.0),
801(select ID from activity_spec_categories where NAME='VNF')),
802((select ID from activity_spec where NAME='VNFStopActivity' and VERSION=1.0),
803(select ID from activity_spec_categories where NAME='VNF')),
804((select ID from activity_spec where NAME='VNFStartActivity' and VERSION=1.0),
805(select ID from activity_spec_categories where NAME='VNF')),
806((select ID from activity_spec where NAME='VNFSnapShotActivity' and VERSION=1.0),
807(select ID from activity_spec_categories where NAME='VNF')),
808((select ID from activity_spec where NAME='FlowCompleteActivity' and VERSION=1.0),
809(select ID from activity_spec_categories where NAME='VNF')),
810((select ID from activity_spec where NAME='PauseForManualTaskActivity' and VERSION=1.0),
811(select ID from activity_spec_categories where NAME='VNF')),
812((select ID from activity_spec where NAME='DistributeTrafficActivity' and VERSION=1.0),
813(select ID from activity_spec_categories where NAME='VNF')),
814((select ID from activity_spec where NAME='DistributeTrafficCheckActivity' and VERSION=1.0),
815(select ID from activity_spec_categories where NAME='VNF')),
816((select ID from activity_spec where NAME='VNFHealthCheckActivity' and VERSION=1.0),
817(select ID from activity_spec_categories where NAME='VNF')),
818((select ID from activity_spec where NAME='VNFQuiesceTrafficActivity' and VERSION=1.0),
819(select ID from activity_spec_categories where NAME='VNF')),
820((select ID from activity_spec where NAME='VNFResumeTrafficActivity' and VERSION=1.0),
821(select ID from activity_spec_categories where NAME='VNF')),
822((select ID from activity_spec where NAME='VNFUnsetInMaintFlagActivity' and VERSION=1.0),
823(select ID from activity_spec_categories where NAME='VNF')),
824((select ID from activity_spec where NAME='VNFUpgradeBackupActivity' and VERSION=1.0),
825(select ID from activity_spec_categories where NAME='VNF')),
826((select ID from activity_spec where NAME='VNFUpgradePostCheckActivity' and VERSION=1.0),
827(select ID from activity_spec_categories where NAME='VNF')),
828((select ID from activity_spec where NAME='VNFUpgradePreCheckActivity' and VERSION=1.0),
829(select ID from activity_spec_categories where NAME='VNF')),
830((select ID from activity_spec where NAME='VNFUpgradeSoftwareActivity' and VERSION=1.0),
831(select ID from activity_spec_categories where NAME='VNF')),
832((select ID from activity_spec where NAME='VnfInPlaceSoftwareUpdate' and VERSION=1.0),
833(select ID from activity_spec_categories where NAME='VNF'));
834
835INSERT INTO activity_spec_parameters (NAME, TYPE, DIRECTION, DESCRIPTION)
836VALUES('WorkflowException','WorkflowException','output','Description');
837
838INSERT INTO activity_spec_to_activity_spec_parameters( ACTIVITY_SPEC_ID, ACTIVITY_SPEC_PARAMETERS_ID)
839VALUES
840((select ID from activity_spec where NAME='VNFSetInMaintFlagActivity' and VERSION=1.0),
841(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
842((select ID from activity_spec where NAME='VNFCheckPserversLockedFlagActivity' and VERSION=1.0),
843(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
844((select ID from activity_spec where NAME='VNFCheckInMaintFlagActivity' and VERSION=1.0),
845(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
846((select ID from activity_spec where NAME='VNFCheckClosedLoopDisabledFlagActivity' and VERSION=1.0),
847(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
848((select ID from activity_spec where NAME='VNFSetClosedLoopDisabledFlagActivity' and VERSION=1.0),
849(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
850((select ID from activity_spec where NAME='VNFUnsetClosedLoopDisabledFlagActivity' and VERSION=1.0),
851(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
852((select ID from activity_spec where NAME='VNFLockActivity' and VERSION=1.0),
853(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
854((select ID from activity_spec where NAME='VNFUnlockActivity' and VERSION=1.0),
855(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
856((select ID from activity_spec where NAME='VNFStopActivity' and VERSION=1.0),
857(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
858((select ID from activity_spec where NAME='VNFStartActivity' and VERSION=1.0),
859(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
860((select ID from activity_spec where NAME='VNFSnapShotActivity' and VERSION=1.0),
861(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
862((select ID from activity_spec where NAME='FlowCompleteActivity' and VERSION=1.0),
863(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
864((select ID from activity_spec where NAME='PauseForManualTaskActivity' and VERSION=1.0),
865(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
866((select ID from activity_spec where NAME='DistributeTrafficActivity' and VERSION=1.0),
867(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
868((select ID from activity_spec where NAME='DistributeTrafficCheckActivity' and VERSION=1.0),
869(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
870((select ID from activity_spec where NAME='VNFHealthCheckActivity' and VERSION=1.0),
871(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
872((select ID from activity_spec where NAME='VNFQuiesceTrafficActivity' and VERSION=1.0),
873(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
874((select ID from activity_spec where NAME='VNFResumeTrafficActivity' and VERSION=1.0),
875(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
876((select ID from activity_spec where NAME='VNFUnsetInMaintFlagActivity' and VERSION=1.0),
877(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
878((select ID from activity_spec where NAME='VNFUpgradeBackupActivity' and VERSION=1.0),
879(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
880((select ID from activity_spec where NAME='VNFUpgradePostCheckActivity' and VERSION=1.0),
881(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
882((select ID from activity_spec where NAME='VNFUpgradePreCheckActivity' and VERSION=1.0),
883(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output')),
884((select ID from activity_spec where NAME='VNFUpgradeSoftwareActivity' and VERSION=1.0),
885(select ID from activity_spec_parameters where NAME='WorkflowException' and DIRECTION='output'));
886
887INSERT INTO `user_parameters`(`NAME`,`PAYLOAD_LOCATION`,`LABEL`,`TYPE`,`DESCRIPTION`,`IS_REQUIRED`,`MAX_LENGTH`,`ALLOWABLE_CHARS`)
888VALUES
889('cloudOwner','cloudConfiguration','Cloud Owner','text','',1,7,''),
890('operations_timeout','userParams','Operations Timeout','text','',1,50,''),
891('existing_software_version','userParams','Existing Software Version','text','',1,50,''),
892('tenantId','cloudConfiguration','Tenant/Project ID','text','',1,36,''),
893('new_software_version','userParams','New Software Version','text','',1,50,''),
894('lcpCloudRegionId','cloudConfiguration','Cloud Region ID','text','',1,7,'');
895
896INSERT INTO `activity_spec_to_user_parameters`(`ACTIVITY_SPEC_ID`,`USER_PARAMETERS_ID`)
897VALUES
898((select ID from activity_spec where NAME='VNFStopActivity' and VERSION=1.0),
899(select ID from user_parameters where NAME='lcpCloudRegionId')),
900((select ID from activity_spec where NAME='VNFStopActivity' and VERSION=1.0),
901(select ID from user_parameters where NAME='tenantId')),
902((select ID from activity_spec where NAME='VNFStartActivity' and VERSION=1.0),
903(select ID from user_parameters where NAME='lcpCloudRegionId')),
904((select ID from activity_spec where NAME='VNFStartActivity' and VERSION=1.0),
905(select ID from user_parameters where NAME='tenantId')),
906((select ID from activity_spec where NAME='VNFSnapShotActivity' and VERSION=1.0),
907(select ID from user_parameters where NAME='lcpCloudRegionId')),
908((select ID from activity_spec where NAME='VNFSnapShotActivity' and VERSION=1.0),
909(select ID from user_parameters where NAME='tenantId')),
910((select ID from activity_spec where NAME='VNFQuiesceTrafficActivity' and VERSION=1.0),
911(select ID from user_parameters where NAME='operations_timeout')),
912((select ID from activity_spec where NAME='VNFUpgradeBackupActivity' and VERSION=1.0),
913(select ID from user_parameters where NAME='existing_software_version')),
914((select ID from activity_spec where NAME='VNFUpgradeBackupActivity' and VERSION=1.0),
915(select ID from user_parameters where NAME='new_software_version')),
916((select ID from activity_spec where NAME='VNFUpgradePostCheckActivity' and VERSION=1.0),
917(select ID from user_parameters where NAME='existing_software_version')),
918((select ID from activity_spec where NAME='VNFUpgradePostCheckActivity' and VERSION=1.0),
919(select ID from user_parameters where NAME='new_software_version')),
920((select ID from activity_spec where NAME='VNFUpgradePreCheckActivity' and VERSION=1.0),
921(select ID from user_parameters where NAME='existing_software_version')),
922((select ID from activity_spec where NAME='VNFUpgradePreCheckActivity' and VERSION=1.0),
923(select ID from user_parameters where NAME='new_software_version')),
924((select ID from activity_spec where NAME='VNFUpgradeSoftwareActivity' and VERSION=1.0),
925(select ID from user_parameters where NAME='existing_software_version')),
926((select ID from activity_spec where NAME='VNFUpgradeSoftwareActivity' and VERSION=1.0),
927(select ID from user_parameters where NAME='new_software_version'));