blob: b7d0061e65365dc33af251d2236b07b493458f75 [file] [log] [blame]
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -04001
2
3CREATE TABLE IF NOT EXISTS `northbound_request_ref_lookup` (
4`id` INT(11) NOT NULL AUTO_INCREMENT,
5`REQUEST_SCOPE` VARCHAR(200) NOT NULL,
6`MACRO_ACTION` VARCHAR(200) NOT NULL,
7`ACTION` VARCHAR(200) NOT NULL,
8`IS_ALACARTE` TINYINT(1) NOT NULL DEFAULT 0,
9`IS_TOPLEVELFLOW` TINYINT(1) NOT NULL DEFAULT 0,
10`MIN_API_VERSION` DOUBLE NOT NULL,
11`MAX_API_VERSION` DOUBLE NULL,
12PRIMARY KEY (`id`),
13UNIQUE INDEX `UK_northbound_request_ref_lookup` (`MIN_API_VERSION` ASC, `REQUEST_SCOPE` ASC, `ACTION` ASC, `IS_ALACARTE` ASC, `MACRO_ACTION` ASC))
14ENGINE = InnoDB
15DEFAULT CHARACTER SET = latin1;
16
17CREATE TABLE IF NOT EXISTS building_block_detail (
18id INT(11) AUTO_INCREMENT,
19BUILDING_BLOCK_NAME VARCHAR(200) NOT NULL,
20RESOURCE_TYPE VARCHAR(25) NOT NULL,
21TARGET_ACTION VARCHAR(25) NOT NULL,
22PRIMARY KEY(`id`),
23UNIQUE INDEX `UK_building_block_name`(`BUILDING_BLOCK_NAME`))
24ENGINE = InnoDB
25DEFAULT CHARACTER SET = latin1;
26
27CREATE TABLE IF NOT EXISTS `orchestration_flow_reference` (
28`id` INT(11) NOT NULL AUTO_INCREMENT,
29`COMPOSITE_ACTION` VARCHAR(200) NOT NULL,
30`SEQ_NO` INT(11) NOT NULL,
31`FLOW_NAME` VARCHAR(200) NOT NULL,
32`FLOW_VERSION` DOUBLE NOT NULL,
33`NB_REQ_REF_LOOKUP_ID` INT(11) NOT NULL,
34PRIMARY KEY (`id`),
35INDEX `fk_orchestration_flow_reference__northbound_req_ref_look_idx` (`NB_REQ_REF_LOOKUP_ID` ASC),
36UNIQUE INDEX `UK_orchestration_flow_reference` (`COMPOSITE_ACTION` ASC, `FLOW_NAME` ASC, `SEQ_NO` ASC, `NB_REQ_REF_LOOKUP_ID` ASC),
37CONSTRAINT `fk_orchestration_flow_reference__northbound_request_ref_look1`
38FOREIGN KEY (`NB_REQ_REF_LOOKUP_ID`) REFERENCES `northbound_request_ref_lookup` (`id`)
39ON DELETE CASCADE ON UPDATE CASCADE
40)
41ENGINE = InnoDB DEFAULT CHARACTER SET = latin1;
42
43create table `allotted_resource` (
44 `model_uuid` varchar(200) not null,
45 `model_invariant_uuid` varchar(200) not null,
46 `model_version` varchar(20) not null,
47 `model_name` varchar(200) not null,
48 `tosca_node_type` varchar(200) default null,
49 `subcategory` varchar(200) default null,
50 `description` varchar(1200) default null,
51 `creation_timestamp` datetime not null default current_timestamp,
52 primary key (`model_uuid`)
53) engine=innodb default charset=latin1;
54
55
56
57
58create table `allotted_resource_customization` (
59 `model_customization_uuid` varchar(200) not null,
60 `model_instance_name` varchar(200) not null,
61 `providing_service_model_uuid` varchar(200) default null,
62 `providing_service_model_invariant_uuid` varchar(200) default null,
63 `providing_service_model_name` varchar(200) default null,
64 `target_network_role` varchar(200) default null,
65 `nf_type` varchar(200) default null,
66 `nf_role` varchar(200) default null,
67 `nf_function` varchar(200) default null,
68 `nf_naming_code` varchar(200) default null,
69 `min_instances` int(11) default null,
70 `max_instances` int(11) default null,
71 `ar_model_uuid` varchar(200) not null,
72 `creation_timestamp` datetime not null default current_timestamp,
73 primary key (`model_customization_uuid`),
74 key `fk_allotted_resource_customization__allotted_resource1_idx` (`ar_model_uuid`),
75 constraint `fk_allotted_resource_customization__allotted_resource1` foreign key (`ar_model_uuid`) references `allotted_resource` (`model_uuid`) on delete cascade on update cascade
76) engine=innodb default charset=latin1;
77
78
79
80
81create table `heat_environment` (
82 `artifact_uuid` varchar(200) not null,
83 `name` varchar(100) not null,
84 `version` varchar(20) not null,
85 `description` varchar(1200) default null,
86 `body` longtext not null,
87 `artifact_checksum` varchar(200) not null default 'manual record',
88 `creation_timestamp` datetime not null default current_timestamp,
89 primary key (`artifact_uuid`)
90) engine=innodb default charset=latin1;
91
92
93
94create table `heat_files` (
95 `artifact_uuid` varchar(200) not null,
96 `name` varchar(200) not null,
97 `version` varchar(20) not null,
98 `description` varchar(1200) default null,
99 `body` longtext not null,
100 `artifact_checksum` varchar(200) not null default 'manual record',
101 `creation_timestamp` datetime not null default current_timestamp,
102 primary key (`artifact_uuid`)
103) engine=innodb default charset=latin1;
104
105
106
107
108create table `heat_template` (
109 `artifact_uuid` varchar(200) not null,
110 `name` varchar(200) not null,
111 `version` varchar(20) not null,
112 `description` varchar(1200) default null,
113 `body` longtext not null,
114 `timeout_minutes` int(11) default null,
115 `artifact_checksum` varchar(200) not null default 'manual record',
116 `creation_timestamp` datetime not null default current_timestamp,
117 primary key (`artifact_uuid`)
118) engine=innodb default charset=latin1;
119
120
121
122create table `heat_nested_template` (
123 `parent_heat_template_uuid` varchar(200) not null,
124 `child_heat_template_uuid` varchar(200) not null,
125 `provider_resource_file` varchar(100) default null,
126 primary key (`parent_heat_template_uuid`,`child_heat_template_uuid`),
127 key `fk_heat_nested_template__heat_template2_idx` (`child_heat_template_uuid`),
128 constraint `fk_heat_nested_template__child_heat_temp_uuid__heat_template1` foreign key (`child_heat_template_uuid`) references `heat_template` (`artifact_uuid`) on delete cascade on update cascade,
129 constraint `fk_heat_nested_template__parent_heat_temp_uuid__heat_template1` foreign key (`parent_heat_template_uuid`) references `heat_template` (`artifact_uuid`) on delete cascade on update cascade
130) engine=innodb default charset=latin1;
131
132
133
134
135create table `heat_template_params` (
136 `heat_template_artifact_uuid` varchar(200) not null,
137 `param_name` varchar(100) not null,
138 `is_required` bit(1) not null,
139 `param_type` varchar(20) default null,
140 `param_alias` varchar(45) default null,
141 primary key (`heat_template_artifact_uuid`,`param_name`),
142 constraint `fk_heat_template_params__heat_template1` foreign key (`heat_template_artifact_uuid`) references `heat_template` (`artifact_uuid`) on delete cascade on update cascade
143) engine=innodb default charset=latin1;
144
145
146
147create table `network_recipe` (
148 `id` int(11) not null auto_increment,
149 `model_name` varchar(20) not null,
150 `action` varchar(50) not null,
151 `description` varchar(1200) default null,
152 `orchestration_uri` varchar(256) not null,
153 `network_param_xsd` varchar(2048) default null,
154 `recipe_timeout` int(11) default null,
155 `service_type` varchar(45) default null,
156 `creation_timestamp` datetime not null default current_timestamp,
157 `version_str` varchar(20) not null,
158 primary key (`id`),
159 unique key `uk_rl4f296i0p8lyokxveaiwkayi` (`model_name`,`action`,`version_str`)
160) engine=innodb auto_increment=178 default charset=latin1;
161
162
163
164
165create table `temp_network_heat_template_lookup` (
166 `network_resource_model_name` varchar(200) not null,
167 `heat_template_artifact_uuid` varchar(200) not null,
168 `aic_version_min` varchar(20) not null,
169 `aic_version_max` varchar(20) default null,
170 primary key (`network_resource_model_name`),
171 key `fk_temp_network_heat_template_lookup__heat_template1_idx` (`heat_template_artifact_uuid`),
172 constraint `fk_temp_network_heat_template_lookup__heat_template1` foreign key (`heat_template_artifact_uuid`) references `heat_template` (`artifact_uuid`) on delete no action on update cascade
173) engine=innodb default charset=latin1;
174
175
176
177create table `network_resource` (
178 `model_uuid` varchar(200) not null,
179 `model_name` varchar(200) not null,
180 `model_invariant_uuid` varchar(200) default null,
181 `description` varchar(1200) default null,
182 `heat_template_artifact_uuid` varchar(200) not null,
183 `neutron_network_type` varchar(20) default null,
184 `model_version` varchar(20) default null,
185 `tosca_node_type` varchar(200) default null,
186 `aic_version_min` varchar(20) not null,
187 `aic_version_max` varchar(20) default null,
188 `orchestration_mode` varchar(20) default 'heat',
189 `resource_category` varchar(20) default null,
190 `resource_sub_category` varchar(20) default null,
191 `creation_timestamp` datetime not null default current_timestamp,
192 primary key (`model_uuid`),
193 key `fk_network_resource__temp_network_heat_template_lookup1_idx` (`model_name`),
194 key `fk_network_resource__heat_template1_idx` (`heat_template_artifact_uuid`),
195 constraint `fk_network_resource__heat_template1` foreign key (`heat_template_artifact_uuid`) references `heat_template` (`artifact_uuid`) on delete no action on update cascade,
196 constraint `fk_network_resource__temp_network_heat_template_lookup__mod_nm1` foreign key (`model_name`) references `temp_network_heat_template_lookup` (`network_resource_model_name`) on delete no action on update no action
197) engine=innodb default charset=latin1;
198
199
200
201
202
203create table `network_resource_customization` (
204 `model_customization_uuid` varchar(200) not null,
205 `model_instance_name` varchar(200) not null,
206 `network_technology` varchar(45) default null,
207 `network_type` varchar(45) default null,
208 `network_role` varchar(200) default null,
209 `network_scope` varchar(45) default null,
210 `creation_timestamp` datetime not null default current_timestamp,
211 `network_resource_model_uuid` varchar(200) not null,
212 primary key (`model_customization_uuid`),
213 key `fk_network_resource_customization__network_resource1_idx` (`network_resource_model_uuid`),
214 constraint `fk_network_resource_customization__network_resource1` foreign key (`network_resource_model_uuid`) references `network_resource` (`model_uuid`) on delete cascade on update cascade
215) engine=innodb default charset=latin1;
216
217
218
219
220
221create table `tosca_csar` (
222 `artifact_uuid` varchar(200) not null,
223 `name` varchar(200) not null,
224 `version` varchar(20) not null,
225 `description` varchar(1200) default null,
226 `artifact_checksum` varchar(200) not null,
227 `url` varchar(200) not null,
228 `creation_timestamp` datetime not null default current_timestamp,
229 primary key (`artifact_uuid`)
230) engine=innodb default charset=latin1;
231
232
233
234
235create table `service` (
236 `model_uuid` varchar(200) not null,
237 `model_name` varchar(200) not null,
238 `model_invariant_uuid` varchar(200) not null,
239 `model_version` varchar(20) not null,
240 `description` varchar(1200) default null,
241 `creation_timestamp` datetime not null default current_timestamp,
242 `tosca_csar_artifact_uuid` varchar(200) default null,
243 `service_type` varchar(200) default null,
244 `service_role` varchar(200) default null,
245 `environment_context` varchar(200) default null,
246 `workload_context` varchar(200) default null,
247 `service_category` varchar(200) default null,
248 primary key (`model_uuid`),
249 key `fk_service__tosca_csar1_idx` (`tosca_csar_artifact_uuid`),
250 constraint `fk_service__tosca_csar1` foreign key (`tosca_csar_artifact_uuid`) references `tosca_csar` (`artifact_uuid`) on delete cascade on update cascade
251) engine=innodb default charset=latin1;
252
253
254
255create table `service_recipe` (
256 `id` int(11) not null auto_increment,
257 `action` varchar(50) not null,
258 `version_str` varchar(20) default null,
259 `description` varchar(1200) default null,
260 `orchestration_uri` varchar(256) not null,
261 `service_param_xsd` varchar(2048) default null,
262 `recipe_timeout` int(11) default null,
263 `service_timeout_interim` int(11) default null,
264 `creation_timestamp` datetime not null default current_timestamp,
265 `service_model_uuid` varchar(200) not null,
266 primary key (`id`),
267 unique key `uk_7fav5dkux2v8g9d2i5ymudlgc` (`service_model_uuid`,`action`),
268 key `fk_service_recipe__service1_idx` (`service_model_uuid`),
269 constraint `fk_service_recipe__service1` foreign key (`service_model_uuid`) references `service` (`model_uuid`) on delete cascade on update cascade
270) engine=innodb auto_increment=86 default charset=latin1;
271
272
273
274create table `vnf_resource` (
275 `orchestration_mode` varchar(20) not null default 'heat',
276 `description` varchar(1200) default null,
277 `creation_timestamp` datetime not null default current_timestamp,
278 `model_uuid` varchar(200) not null,
279 `aic_version_min` varchar(20) default null,
280 `aic_version_max` varchar(20) default null,
281 `model_invariant_uuid` varchar(200) default null,
282 `model_version` varchar(20) not null,
283 `model_name` varchar(200) default null,
284 `tosca_node_type` varchar(200) default null,
285 `resource_category` varchar(200) default null,
286 `resource_sub_category` varchar(200) default null,
287 `heat_template_artifact_uuid` varchar(200) default null,
288 primary key (`model_uuid`),
289 key `fk_vnf_resource__heat_template1` (`heat_template_artifact_uuid`),
290 constraint `fk_vnf_resource__heat_template1` foreign key (`heat_template_artifact_uuid`) references `heat_template` (`artifact_uuid`) on delete cascade on update cascade
291) engine=innodb default charset=latin1;
292
293
294
295
296create table `vf_module` (
297 `model_uuid` varchar(200) not null,
298 `model_invariant_uuid` varchar(200) default null,
299 `model_version` varchar(20) not null,
300 `model_name` varchar(200) not null,
301 `description` varchar(1200) default null,
302 `is_base` int(11) not null,
303 `heat_template_artifact_uuid` varchar(200) default null,
304 `vol_heat_template_artifact_uuid` varchar(200) default null,
305 `creation_timestamp` datetime not null default current_timestamp,
306 `vnf_resource_model_uuid` varchar(200) not null,
307 primary key (`model_uuid`,`vnf_resource_model_uuid`),
308 key `fk_vf_module__vnf_resource1_idx` (`vnf_resource_model_uuid`),
309 key `fk_vf_module__heat_template_art_uuid__heat_template1_idx` (`heat_template_artifact_uuid`),
310 key `fk_vf_module__vol_heat_template_art_uuid__heat_template2_idx` (`vol_heat_template_artifact_uuid`),
311 constraint `fk_vf_module__heat_template_art_uuid__heat_template1` foreign key (`heat_template_artifact_uuid`) references `heat_template` (`artifact_uuid`) on delete cascade on update cascade,
312 constraint `fk_vf_module__vnf_resource1` foreign key (`vnf_resource_model_uuid`) references `vnf_resource` (`model_uuid`) on delete cascade on update cascade,
313 constraint `fk_vf_module__vol_heat_template_art_uuid__heat_template2` foreign key (`vol_heat_template_artifact_uuid`) references `heat_template` (`artifact_uuid`) on delete cascade on update cascade
314) engine=innodb default charset=latin1;
315
316
317
318/*!40101 set @saved_cs_client = @@character_set_client */;
319/*!40101 set character_set_client = utf8 */;
320create table `vf_module_customization` (
321 `model_customization_uuid` varchar(200) not null,
322 `label` varchar(200) default null,
323 `initial_count` int(11) default '0',
324 `min_instances` int(11) default '0',
325 `max_instances` int(11) default null,
326 `availability_zone_count` int(11) default null,
327 `heat_environment_artifact_uuid` varchar(200) default null,
328 `vol_environment_artifact_uuid` varchar(200) default null,
329 `creation_timestamp` datetime not null default current_timestamp,
330 `vf_module_model_uuid` varchar(200) not null,
331 primary key (`model_customization_uuid`),
332 key `fk_vf_module_customization__vf_module1_idx` (`vf_module_model_uuid`),
333 key `fk_vf_module_customization__heat_env__heat_environment1_idx` (`heat_environment_artifact_uuid`),
334 key `fk_vf_module_customization__vol_env__heat_environment2_idx` (`vol_environment_artifact_uuid`),
335 constraint `fk_vf_module_customization__heat_env__heat_environment1` foreign key (`heat_environment_artifact_uuid`) references `heat_environment` (`artifact_uuid`) on delete cascade on update cascade,
336 constraint `fk_vf_module_customization__vf_module1` foreign key (`vf_module_model_uuid`) references `vf_module` (`model_uuid`) on delete cascade on update cascade,
337 constraint `fk_vf_module_customization__vol_env__heat_environment2` foreign key (`vol_environment_artifact_uuid`) references `heat_environment` (`artifact_uuid`) on delete cascade on update cascade
338) engine=innodb default charset=latin1;
339/*!40101 set character_set_client = @saved_cs_client */;
340
341--
342-- table structure for table `vf_module_to_heat_files`
343--
344
345
346/*!40101 set @saved_cs_client = @@character_set_client */;
347/*!40101 set character_set_client = utf8 */;
348create table `vf_module_to_heat_files` (
349 `vf_module_model_uuid` varchar(200) not null,
350 `heat_files_artifact_uuid` varchar(200) not null,
351 primary key (`vf_module_model_uuid`,`heat_files_artifact_uuid`),
352 key `fk_vf_module_to_heat_files__heat_files__artifact_uuid1_idx` (`heat_files_artifact_uuid`),
353 constraint `fk_vf_module_to_heat_files__heat_files__artifact_uuid1` foreign key (`heat_files_artifact_uuid`) references `heat_files` (`artifact_uuid`) on delete cascade on update cascade,
354 constraint `fk_vf_module_to_heat_files__vf_module__model_uuid1` foreign key (`vf_module_model_uuid`) references `vf_module` (`model_uuid`) on delete cascade on update cascade
355) engine=innodb default charset=latin1 comment='il fait ce qu''il dit';
356/*!40101 set character_set_client = @saved_cs_client */;
357
358--
359-- table structure for table `vnf_components`
360--
361
362
363/*!40101 set @saved_cs_client = @@character_set_client */;
364/*!40101 set character_set_client = utf8 */;
365create table `vnf_components` (
366 `vnf_id` int(11) not null,
367 `component_type` varchar(20) not null,
368 `heat_template_id` int(11) default null,
369 `heat_environment_id` int(11) default null,
370 `creation_timestamp` datetime not null default current_timestamp,
371 primary key (`vnf_id`,`component_type`)
372) engine=innodb default charset=latin1;
373/*!40101 set character_set_client = @saved_cs_client */;
374
375--
376-- table structure for table `vnf_components_recipe`
377--
378
379
380
381create table `vnf_components_recipe` (
382 `id` int(11) not null auto_increment,
383 `vnf_type` varchar(200) default null,
384 `vnf_component_type` varchar(45) not null,
385 `action` varchar(50) not null,
386 `service_type` varchar(45) default null,
387 `version` varchar(20) not null,
388 `description` varchar(1200) default null,
389 `orchestration_uri` varchar(256) not null,
390 `vnf_component_param_xsd` varchar(2048) default null,
391 `recipe_timeout` int(11) default null,
392 `creation_timestamp` datetime default current_timestamp,
393 `vf_module_model_uuid` varchar(200) default null,
394 primary key (`id`),
395 unique key `uk_4dpdwddaaclhc11wxsb7h59ma` (`vf_module_model_uuid`,`vnf_component_type`,`action`,`version`)
396) engine=innodb auto_increment=26 default charset=latin1;
397
398
399
400
401create table `vnf_recipe` (
402 `id` int(11) not null auto_increment,
403 `vnf_type` varchar(200) default null,
404 `action` varchar(50) not null,
405 `service_type` varchar(45) default null,
406 `version_str` varchar(20) not null,
407 `description` varchar(1200) default null,
408 `orchestration_uri` varchar(256) not null,
409 `vnf_param_xsd` varchar(2048) default null,
410 `recipe_timeout` int(11) default null,
411 `creation_timestamp` datetime default current_timestamp,
412 `vf_module_id` varchar(100) default null,
413 primary key (`id`),
414 unique key `uk_f3tvqau498vrifq3cr8qnigkr` (`vf_module_id`,`action`,`version_str`)
415) engine=innodb auto_increment=10006 default charset=latin1;
416
417
418
419
420
421
422
423
424create table `vnf_resource_customization` (
425 `model_customization_uuid` varchar(200) not null,
426 `model_instance_name` varchar(200) not null,
427 `min_instances` int(11) default null,
428 `max_instances` int(11) default null,
429 `availability_zone_max_count` int(11) default null,
430 `nf_type` varchar(200) default null,
431 `nf_role` varchar(200) default null,
432 `nf_function` varchar(200) default null,
433 `nf_naming_code` varchar(200) default null,
434 `creation_timestamp` datetime not null default current_timestamp,
435 `vnf_resource_model_uuid` varchar(200) not null,
436 `multi_stage_design` varchar(20) default null,
437 primary key (`model_customization_uuid`),
438 key `fk_vnf_resource_customization__vnf_resource1_idx` (`vnf_resource_model_uuid`),
439 constraint `fk_vnf_resource_customization__vnf_resource1` foreign key (`vnf_resource_model_uuid`) references `vnf_resource` (`model_uuid`) on delete cascade on update cascade
440) engine=innodb default charset=latin1;
441
442
443
444
445create table `vnf_res_custom_to_vf_module_custom` (
446 `vnf_resource_cust_model_customization_uuid` varchar(200) not null,
447 `vf_module_cust_model_customization_uuid` varchar(200) not null,
448 `creation_timestamp` datetime not null default current_timestamp,
449 primary key (`vnf_resource_cust_model_customization_uuid`,`vf_module_cust_model_customization_uuid`),
450 key `fk_vnf_res_custom_to_vf_module_custom__vf_module_customizat_idx` (`vf_module_cust_model_customization_uuid`),
451 constraint `fk_vnf_res_custom_to_vf_module_custom__vf_module_customization1` foreign key (`vf_module_cust_model_customization_uuid`) references `vf_module_customization` (`model_customization_uuid`) on delete cascade on update cascade,
452 constraint `fk_vnf_res_custom_to_vf_module_custom__vnf_resource_customiza1` foreign key (`vnf_resource_cust_model_customization_uuid`) references `vnf_resource_customization` (`model_customization_uuid`) on delete cascade on update cascade
453) engine=innodb default charset=latin1;
454
455
456create table if not exists external_service_to_internal_model_mapping (
457id int(11) not null,
458service_name varchar(200) not null,
459product_flavor varchar(200) null,
460subscription_service_type varchar(200) not null,
461service_model_uuid varchar(200) not null,
462primary key (id),
463unique index uk_external_service_to_internal_model_mapping
464(service_name asc, product_flavor asc, service_model_uuid asc));
465
466create table if not exists `collection_resource` (
467 model_uuid varchar(200) not null,
468 model_name varchar(200) not null,
469 model_invariant_uuid varchar(200) not null,
470 model_version varchar(20) not null,
471 tosca_node_type varchar(200) not null,
472 description varchar(200),
473 creation_timestamp datetime not null default current_timestamp,
474 primary key (`model_uuid`)
475)engine=innodb default charset=latin1;
476
477create table if not exists `collection_resource_customization` (
478 model_customization_uuid varchar(200) not null,
479 model_instance_name varchar(200) not null,
480 role varchar(200) NULL,
481 object_type varchar(200) not null,
482 function varchar(200) NULL,
483 collection_resource_type varchar(200) NULL,
484 creation_timestamp datetime not null default current_timestamp,
485 cr_model_uuid varchar(200) not null,
486 primary key (`model_customization_uuid`)
487)engine=innodb default charset=latin1;
488
489create table if not exists `instance_group` (
490 model_uuid varchar(200) not null,
491 model_name varchar(200) not null,
492 model_invariant_uuid varchar(200) not null,
493 model_version varchar(20) not null,
494 tosca_node_type varchar(200) NULL,
495 role varchar(200) not null,
496 object_type varchar(200) not null,
497 creation_timestamp datetime not null default current_timestamp,
498 cr_model_uuid varchar(200) not null,
499 instance_group_type varchar(200) not null,
500 primary key (`model_uuid`)
501)engine=innodb default charset=latin1;
502
503create table if not exists `collection_resource_instance_group_customization` (
504 `collection_resource_customization_model_uuid` varchar(200) not null,
505 `instance_group_model_uuid` varchar(200) not null,
506 `function` varchar(200) null,
507 `description` varchar(1200) null,
508 `subinterface_network_quantity` int(11) null,
509 `creation_timestamp` datetime not null default current_timestamp,
510 primary key (`collection_resource_customization_model_uuid`, `instance_group_model_uuid`),
511 index `fk_collection_resource_instance_group_customization__instan_idx` (`instance_group_model_uuid` asc),
512 constraint `fk_collection_resource_instance_group_customization__collecti1`
513 foreign key (`collection_resource_customization_model_uuid`)
514 references `collection_resource_customization` (`model_customization_uuid`)
515 on delete cascade
516 on update cascade,
517 constraint `fk_collection_resource_instance_group_customization__instance1`
518 foreign key (`instance_group_model_uuid`)
519 references `instance_group` (`model_uuid`)
520 on delete cascade
521 on update cascade)
522engine = innodb
523default character set = latin1;
524
525create table if not exists `vnfc_instance_group_customization` (
526 `vnf_resource_customization_model_uuid` varchar(200) not null,
527 `instance_group_model_uuid` varchar(200) not null,
528 `function` varchar(200) null,
529 `description` varchar(1200) null,
530 `creation_timestamp` datetime not null default current_timestamp,
531 primary key (`vnf_resource_customization_model_uuid`, `instance_group_model_uuid`),
532 index `fk_vnfc_instance_group_customization__instance_group1_idx` (`instance_group_model_uuid` asc),
533 constraint `fk_vnfc_instance_group_customization__vnf_resource_customizat1`
534 foreign key (`vnf_resource_customization_model_uuid`)
535 references `vnf_resource_customization` (`model_customization_uuid`)
536 on delete cascade
537 on update cascade,
538 constraint `fk_vnfc_instance_group_customization__instance_group1`
539 foreign key (`instance_group_model_uuid`)
540 references `instance_group` (`model_uuid`)
541 on delete cascade
542 on update cascade)
543engine = innodb
544default character set = latin1;
545
546 create table if not exists `configuration`
547 ( `model_uuid` varchar(200) not null,
548 `model_invariant_uuid` varchar(200) not null,
549 `model_version` varchar(20) not null,
550 `model_name` varchar(200) not null,
551 `tosca_node_type` varchar(200) not null,
552 `description` varchar(1200) null,
553 `creation_timestamp` datetime not null default current_timestamp,
554 primary key (`model_uuid`))
555 engine = innodb auto_increment = 20654
556 default character set = latin1;
557
558 create table if not exists `service_proxy` (
559 `model_uuid` varchar(200) not null,
560 `model_invariant_uuid` varchar(200) not null,
561 `model_version` varchar(20) not null,
562 `model_name` varchar(200) not null,
563 `description` varchar(1200) null,
564 `creation_timestamp` datetime not null default current_timestamp,
565 primary key (`model_uuid`))
566 engine = innodb auto_increment = 20654
567 default character set = latin1;
568
569create table if not exists `service_proxy_customization` (
570`model_customization_uuid` varchar(200) not null,
571`model_instance_name` varchar(200) not null,
572`tosca_node_type` varchar(200) not null,
573`source_service_model_uuid` varchar(200) not null,
574`creation_timestamp` datetime not null default current_timestamp,
575`service_proxy_model_uuid` varchar(200) not null,
576primary key (`model_customization_uuid`),
577index `fk_service_proxy_customization__service_proxy1_idx` (`service_proxy_model_uuid` asc),
578index `fk_service_proxy_customization__service1_idx` (`source_service_model_uuid` asc),
579constraint`fk_spr_customization__service_proxy_resource1`
580foreign key (`service_proxy_model_uuid`) references `service_proxy` (`model_uuid`)
581on delete cascade on update cascade,
582constraint `fk_service_proxy_resource_customization__service1`
583foreign key (`source_service_model_uuid`) references `service`
584(`model_uuid`) on delete cascade on update cascade)
585engine = innodb
586auto_increment = 20654
587default character set = latin1;
588
589create table if not exists `configuration_customization` (
590`model_customization_uuid` varchar(200) not null,
591`model_instance_name` varchar(200) not null,
592`configuration_type` varchar(200) null,
593`configuration_role` varchar(200) null,
594`configuration_function` varchar(200) null,
595`creation_timestamp` datetime not null default current_timestamp,
596`configuration_model_uuid` varchar(200) not null,
597`service_proxy_customization_model_customization_uuid` varchar(200) null,
598`configuration_customization_model_customization_uuid` varchar(200) null,
599primary key (`model_customization_uuid`),
600index `fk_configuration_customization__configuration_idx` (`configuration_model_uuid` asc),
601index `fk_configuration_customization__service_proxy_customization_idx`
602(`service_proxy_customization_model_customization_uuid` asc),
603index `fk_configuration_customization__configuration_customization_idx`
604(`configuration_customization_model_customization_uuid` asc),
605constraint `fk_configuration_resource_customization__configuration_resour1`
606foreign key (`configuration_model_uuid`) references `configuration` (`model_uuid`)
607on delete cascade on update cascade,
608constraint `fk_configuration_customization__service_proxy_customization1` foreign
609key (`service_proxy_customization_model_customization_uuid`) references
610`service_proxy_customization` (`model_customization_uuid`)
611on delete cascade on update cascade, constraint
612`fk_configuration_customization__configuration_customization1` foreign
613key (`configuration_customization_model_customization_uuid`) references
614`configuration_customization` (`model_customization_uuid`)
615on delete cascade on update cascade)
616engine = innodb
617auto_increment =20654
618default character set = latin1;
619
620
621create table `service_proxy_customization_to_service` (
622 `service_model_uuid` varchar(200) not null,
623 `resource_model_customization_uuid` varchar(200) not null,
624 primary key (`service_model_uuid`,`resource_model_customization_uuid`)
625)engine=innodb default charset=latin1;
626
627
628create table `configuration_customization_to_service` (
629 `service_model_uuid` varchar(200) not null,
630 `resource_model_customization_uuid` varchar(200) not null,
631 primary key (`service_model_uuid`,`resource_model_customization_uuid`)
632)engine=innodb default charset=latin1;
633
634
635create table if not exists `collection_resource_customization_to_service` (
636 `service_model_uuid` varchar(200) not null,
637 `resource_model_customization_uuid` varchar(200) not null,
638 primary key (`service_model_uuid`,`resource_model_customization_uuid`)
639)engine=innodb default charset=latin1;
640
641
642create table `network_resource_customization_to_service` (
643 `service_model_uuid` varchar(200) not null,
644 `resource_model_customization_uuid` varchar(200) not null,
645 primary key (`service_model_uuid`,`resource_model_customization_uuid`)
646)engine=innodb default charset=latin1;
647
648create table `vnf_resource_customization_to_service` (
649 `service_model_uuid` varchar(200) not null,
650 `resource_model_customization_uuid` varchar(200) not null,
651 primary key (`service_model_uuid`,`resource_model_customization_uuid`)
652)engine=innodb default charset=latin1;
653
654create table `allotted_resource_customization_to_service` (
655 `service_model_uuid` varchar(200) not null,
656 `resource_model_customization_uuid` varchar(200) not null,
657 primary key (`service_model_uuid`,`resource_model_customization_uuid`)
658)engine=innodb default charset=latin1;
659
660
661
662create table ar_recipe (
663 ID INT(11) not null auto_increment,
664 MODEL_NAME VARCHAR(200) NOT NULL,
665 `ACTION` VARCHAR(200) NOT NULL,
666 VERSION_STR VARCHAR(200) NOT NULL,
667 SERVICE_TYPE VARCHAR(200),
668 DESCRIPTION VARCHAR(200),
669 ORCHESTRATION_URI VARCHAR(200) NOT NULL,
670 AR_PARAM_XSD VARCHAR(200),
671 RECIPE_TIMEOUT INT(10),
672 CREATION_TIMESTAMP DATETIME NOT NULL default current_timestamp,
673 primary key (ID),
674 unique key `uk_ar_recipe` (`model_name`,`action`,`version_str`)
675) ENGINE=InnoDB DEFAULT CHARSET=latin1;
676
677alter table collection_resource_customization
678add foreign key ( cr_model_uuid)
679references collection_resource(model_uuid)
680on delete cascade;
681
682alter table vnf_resource_customization
683add column
684instance_group_model_uuid varchar(200);
685
686alter table network_resource_customization
687add column
688instance_group_model_uuid varchar(200);
689
690
691alter table network_resource_customization
692add foreign key ( instance_group_model_uuid)
693references instance_group(model_uuid)
694on delete cascade;
695
696alter table collection_resource_customization_to_service
697add foreign key (service_model_uuid)
698references service(model_uuid)
699on delete cascade;
700
701alter table allotted_resource_customization_to_service
702add foreign key (service_model_uuid)
703references service(model_uuid)
704on delete cascade;
705
706
707alter table vnf_resource_customization_to_service
708add foreign key (service_model_uuid)
709references service(model_uuid)
710on delete cascade;
711
712
713alter table network_resource_customization_to_service
714add foreign key (service_model_uuid)
715references service(model_uuid)
716on delete cascade;
717
718
719alter table network_resource_customization_to_service
720add foreign key (resource_model_customization_uuid)
721references network_resource_customization(model_customization_uuid)
722on delete cascade;
723
724alter table vnf_resource_customization_to_service
725add foreign key (resource_model_customization_uuid)
726references vnf_resource_customization(model_customization_uuid)
727on delete cascade;
728
729alter table allotted_resource_customization_to_service
730add foreign key (resource_model_customization_uuid)
731references allotted_resource_customization(model_customization_uuid)
732on delete cascade;
733
734alter table collection_resource_customization_to_service
735add foreign key (resource_model_customization_uuid)
736references collection_resource_customization(model_customization_uuid)
737on delete cascade;
738
739
740create table if not exists `collection_network_resource_customization` (
741`model_customization_uuid` varchar(200) not null,
742`model_instance_name` varchar(200) not null,
743`network_technology` varchar(45) null,
744`network_type` varchar(45) null,
745`network_role` varchar(200) null,
746`network_scope` varchar(45) null,
747`creation_timestamp` datetime not null default current_timestamp,
748`network_resource_model_uuid` varchar(200) not null, `instance_group_model_uuid` varchar(200) null,
749`crc_model_customization_uuid` varchar(200) not null, primary key
750(`model_customization_uuid`, `crc_model_customization_uuid`),
751index `fk_collection_net_resource_customization__network_resource1_idx`
752(`network_resource_model_uuid` asc), index
753`fk_collection_net_resource_customization__instance_group1_idx`
754(`instance_group_model_uuid` asc), index
755`fk_col_net_res_customization__collection_res_customization_idx`
756(`crc_model_customization_uuid` asc), constraint
757`fk_collection_net_resource_customization__network_resource10` foreign
758key (`network_resource_model_uuid`) references
759`network_resource` (`model_uuid`) on delete cascade on
760update cascade, constraint
761`fk_collection_net_resource_customization__instance_group10` foreign key
762(`instance_group_model_uuid`) references `instance_group`
763(`model_uuid`) on delete cascade on update cascade, constraint
764`fk_collection_network_resource_customization__collection_reso1` foreign
765key (`crc_model_customization_uuid`) references
766`collection_resource_customization`
767(`model_customization_uuid`) on delete cascade on update cascade) engine
768= innodb default character set = latin1;
769
770CREATE TABLE IF NOT EXISTS `northbound_request_ref_lookup` (
771`id` INT(11) NOT NULL AUTO_INCREMENT,
772`REQUEST_SCOPE` VARCHAR(200) NOT NULL,
773`MACRO_ACTION` VARCHAR(200) NOT NULL,
774`ACTION` VARCHAR(200) NOT NULL,
775`IS_ALACARTE` TINYINT(1) NOT NULL DEFAULT 0,
776`IS_TOPLEVELFLOW` TINYINT(1) NOT NULL DEFAULT 1,
777`MIN_API_VERSION` DOUBLE NOT NULL,
778`MAX_API_VERSION` DOUBLE NULL,
779PRIMARY KEY (`id`),
780UNIQUE INDEX `UK_northbound_request_ref_lookup` (`MIN_API_VERSION` ASC, `REQUEST_SCOPE` ASC, `ACTION` ASC, `IS_ALACARTE` ASC, `MACRO_ACTION` ASC))
781ENGINE = InnoDB
782DEFAULT CHARACTER SET = latin1;
783
784CREATE TABLE IF NOT EXISTS orchestration_status_state_transition_directive (
785id INT(11) AUTO_INCREMENT,
786RESOURCE_TYPE VARCHAR(25) NOT NULL,
787ORCHESTRATION_STATUS VARCHAR(25) NOT NULL,
788TARGET_ACTION VARCHAR(25) NOT NULL,
789FLOW_DIRECTIVE VARCHAR(25) NOT NULL,
790PRIMARY KEY (id),
791UNIQUE KEY UK_orchestration_status_state_transition_directive (RESOURCE_TYPE, ORCHESTRATION_STATUS, TARGET_ACTION))
792ENGINE = InnoDB
793DEFAULT CHARACTER SET = latin1;
794
795create table if not exists model_recipe (
796 `ID` INT(11) NOT NULL AUTO_INCREMENT,
797 `MODEL_ID` INT(11),
798 `ACTION` VARCHAR(40),
799 `SCHEMA_VERSION` VARCHAR(40),
800 `DESCRIPTION` VARCHAR(40),
801 `ORCHESTRATION_URI` VARCHAR(20),
802 `MODEL_PARAM_XSD` VARCHAR(20),
803 `RECIPE_TIMEOUT` INT(11),
804 `CREATION_TIMESTAMP` datetime not null default current_timestamp,
805 PRIMARY KEY (`ID`),
806 CONSTRAINT uk1_model_recipe UNIQUE (`MODEL_ID`, `ACTION`)
807) ENGINE=InnoDB DEFAULT CHARSET=latin1;
808
809create table if not exists model (
810 `ID` INT(11) NOT NULL AUTO_INCREMENT,
811 `MODEL_CUSTOMIZATION_ID` VARCHAR(40),
812 `MODEL_CUSTOMIZATION_NAME` VARCHAR(40),
813 `MODEL_INVARIANT_ID` VARCHAR(40),
814 `MODEL_NAME` VARCHAR(40),
815 `MODEL_TYPE` VARCHAR(20),
816 `MODEL_VERSION` VARCHAR(20),
817 `MODEL_VERSION_ID` VARCHAR(40),
818 `CREATION_TIMESTAMP` datetime not null default current_timestamp,
819 `RECIPE` INT(11),
820 PRIMARY KEY (`ID`),
821 CONSTRAINT uk1_model UNIQUE (`MODEL_TYPE`, `MODEL_VERSION_ID`),
822 FOREIGN KEY (`RECIPE`) REFERENCES `model_recipe` (`MODEL_ID`) ON DELETE CASCADE ON UPDATE CASCADE
823) ENGINE=InnoDB DEFAULT CHARSET=latin1;
824
Prema Bhatt474b1752018-08-10 15:54:13 -0700825CREATE TABLE IF NOT EXISTS `controller_selection_reference` (
826 `VNF_TYPE` VARCHAR(50) NOT NULL,
827 `CONTROLLER_NAME` VARCHAR(100) NOT NULL,
828 `ACTION_CATEGORY` VARCHAR(15) NOT NULL,
829 PRIMARY KEY (`VNF_TYPE`, `CONTROLLER_NAME`, `ACTION_CATEGORY`)
830) ;
831
Benjamin, Max (mb388a)5a6a6de2018-07-30 15:56:09 -0400832ALTER TABLE `vnf_recipe`
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400833CHANGE COLUMN `VNF_TYPE` `NF_ROLE` VARCHAR(200) NULL DEFAULT NULL ;
834
835CREATE TABLE IF NOT EXISTS `identity_services` (
836 `ID` varchar(50) NOT NULL,
837 `IDENTITY_URL` varchar(200) DEFAULT NULL,
838 `MSO_ID` varchar(255) DEFAULT NULL,
839 `MSO_PASS` varchar(255) DEFAULT NULL,
Benjamin, Max (mb388a)37547ac2018-11-16 12:23:48 -0500840 `PROJECT_DOMAIN_NAME` varchar(255) DEFAULT NULL,
841 `USER_DOMAIN_NAME` varchar(255) DEFAULT NULL,
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400842 `ADMIN_TENANT` varchar(50) DEFAULT NULL,
843 `MEMBER_ROLE` varchar(50) DEFAULT NULL,
844 `TENANT_METADATA` tinyint(1) DEFAULT 0,
845 `IDENTITY_SERVER_TYPE` varchar(50) DEFAULT NULL,
846 `IDENTITY_AUTHENTICATION_TYPE` varchar(50) DEFAULT NULL,
847 `LAST_UPDATED_BY` varchar(120) DEFAULT NULL,
848 `CREATION_TIMESTAMP` timestamp NULL DEFAULT current_timestamp(),
849 `UPDATE_TIMESTAMP` timestamp NULL DEFAULT current_timestamp(),
850 PRIMARY KEY (`ID`)
851) ;
852
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400853CREATE TABLE IF NOT EXISTS `cloudify_managers` (
854 `ID` varchar(50) NOT NULL,
855 `CLOUDIFY_URL` varchar(200) DEFAULT NULL,
856 `USERNAME` varchar(255) DEFAULT NULL,
857 `PASSWORD` varchar(255) DEFAULT NULL,
858 `VERSION` varchar(20) DEFAULT NULL,
859 `LAST_UPDATED_BY` varchar(120) DEFAULT NULL,
860 `CREATION_TIMESTAMP` timestamp NULL DEFAULT current_timestamp(),
861 `UPDATE_TIMESTAMP` timestamp NULL DEFAULT current_timestamp(),
862 PRIMARY KEY (`ID`)
863) ;
864
Benjamin, Max (mb388a)a81aef22018-08-13 09:48:57 -0400865CREATE TABLE IF NOT EXISTS `cloud_sites` (
866 `ID` varchar(50) NOT NULL,
867 `REGION_ID` varchar(11) DEFAULT NULL,
868 `IDENTITY_SERVICE_ID` varchar(50) DEFAULT NULL,
869 `CLOUD_VERSION` varchar(20) DEFAULT NULL,
870 `CLLI` varchar(11) DEFAULT NULL,
871 `CLOUDIFY_ID` varchar(50) DEFAULT NULL,
872 `PLATFORM` varchar(50) DEFAULT NULL,
873 `ORCHESTRATOR` varchar(50) DEFAULT NULL,
874 `LAST_UPDATED_BY` varchar(120) DEFAULT NULL,
875 `CREATION_TIMESTAMP` timestamp NULL DEFAULT current_timestamp(),
876 `UPDATE_TIMESTAMP` timestamp NULL DEFAULT current_timestamp(),
877 PRIMARY KEY (`ID`),
878 KEY `FK_cloud_sites_identity_services` (`IDENTITY_SERVICE_ID`),
879 CONSTRAINT `FK_cloud_sites_identity_services` FOREIGN KEY (`IDENTITY_SERVICE_ID`) REFERENCES `identity_services` (`ID`)
Prema Bhatt474b1752018-08-10 15:54:13 -0700880) ;
Benjamin, Max (mb388a)69455a22018-09-04 11:21:02 -0400881
882CREATE TABLE IF NOT EXISTS vnfc_customization (
883`MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL,
884`MODEL_INSTANCE_NAME` VARCHAR(200) NOT NULL,
885`MODEL_UUID` VARCHAR(200) NOT NULL,
886`MODEL_INVARIANT_UUID` VARCHAR(200) NOT NULL,
887`MODEL_VERSION` VARCHAR(20) NOT NULL,
888`MODEL_NAME` VARCHAR(200) NOT NULL,
889`TOSCA_NODE_TYPE` VARCHAR(200) NOT NULL,
890`DESCRIPTION` VARCHAR(1200) NULL DEFAULT NULL,
891`CREATION_TIMESTAMP` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
892PRIMARY KEY (`MODEL_CUSTOMIZATION_UUID`))
893ENGINE = InnoDB
894AUTO_INCREMENT = 20654
895DEFAULT CHARACTER SET = latin1;
896
897CREATE TABLE IF NOT EXISTS cvnfc_customization (
898`ID` INT(11) NOT NULL AUTO_INCREMENT,
899`MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL,
900`MODEL_INSTANCE_NAME` VARCHAR(200) NOT NULL,
901`MODEL_UUID` VARCHAR(200) NOT NULL,
902`MODEL_INVARIANT_UUID` VARCHAR(200) NOT NULL,
903`MODEL_VERSION` VARCHAR(20) NOT NULL,
904`MODEL_NAME` VARCHAR(200) NOT NULL,
905`TOSCA_NODE_TYPE` VARCHAR(200) NOT NULL,
906`DESCRIPTION` VARCHAR(1200) NULL DEFAULT NULL,
907`NFC_FUNCTION` VARCHAR(200) NULL,
908`NFC_NAMING_CODE` VARCHAR(200) NULL,
909`CREATION_TIMESTAMP` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
910`VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL,
911`VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL,
912`VNFC_CUST_MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL, PRIMARY KEY (`ID`), INDEX `fk_cvnfc_customization__vf_module_customization1_idx` (`VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID` ASC), INDEX `fk_cvnfc_customization__vnfc_customization1_idx` (`VNFC_CUST_MODEL_CUSTOMIZATION_UUID` ASC), INDEX `fk_cvnfc_customization__vnf_resource_customization1_idx` (`VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID` ASC), UNIQUE INDEX `UK_cvnfc_customization` (`VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID` ASC, `VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID` ASC, `MODEL_CUSTOMIZATION_UUID` ASC), INDEX `fk_cvnfc_customization__vnf_vfmod_cvnfc_config_cust1_idx` (`MODEL_CUSTOMIZATION_UUID` ASC), CONSTRAINT `fk_cvnfc_customization__vf_module_customization1` FOREIGN KEY (`VF_MODULE_CUST_MODEL_CUSTOMIZATION_UUID`) REFERENCES `vf_module_customization` (`MODEL_CUSTOMIZATION_UUID`) ON
913DELETE CASCADE ON
914UPDATE CASCADE, CONSTRAINT `fk_cvnfc_customization__vnfc_customization1` FOREIGN KEY (`VNFC_CUST_MODEL_CUSTOMIZATION_UUID`) REFERENCES `vnfc_customization` (`MODEL_CUSTOMIZATION_UUID`) ON
915DELETE CASCADE ON
916UPDATE CASCADE, CONSTRAINT `fk_cvnfc_customization__vnf_resource_customization1` FOREIGN KEY (`VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID`) REFERENCES `vnf_resource_customization` (`MODEL_CUSTOMIZATION_UUID`) ON
917DELETE CASCADE ON
918UPDATE CASCADE) ENGINE = InnoDB AUTO_INCREMENT = 20654 DEFAULT CHARACTER SET = latin1;
919
920
921CREATE TABLE IF NOT EXISTS vnf_vfmodule_cvnfc_configuration_customization (
922 `ID` INT(11) NOT NULL AUTO_INCREMENT,
923 `MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL,
924 `VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL,
925 `VF_MODULE_MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL,
926 `CVNFC_MODEL_CUSTOMIZATION_UUID` VARCHAR(200) NOT NULL,
927 `MODEL_INSTANCE_NAME` VARCHAR(200) NOT NULL,
928 `CONFIGURATION_TYPE` VARCHAR(200) NULL,
929 `CONFIGURATION_ROLE` VARCHAR(200) NULL,
930 `CONFIGURATION_FUNCTION` VARCHAR(200) NULL,
931 `POLICY_NAME` VARCHAR(200) NULL,
932 `CREATION_TIMESTAMP` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
933 `CONFIGURATION_MODEL_UUID` VARCHAR(200) NOT NULL,
934 PRIMARY KEY (`ID`),
935 INDEX `fk_vnf_vfmodule_cvnfc_config_cust__configuration_idx` (`CONFIGURATION_MODEL_UUID` ASC),
936 UNIQUE INDEX `UK_vnf_vfmodule_cvnfc_configuration_customization` (`VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID` ASC , `VF_MODULE_MODEL_CUSTOMIZATION_UUID` ASC , `CVNFC_MODEL_CUSTOMIZATION_UUID` ASC , `MODEL_CUSTOMIZATION_UUID` ASC),
937 INDEX `fk_vnf_vfmodule_cvnfc_config_cust__cvnfc_cust1_idx` (`CVNFC_MODEL_CUSTOMIZATION_UUID` ASC),
938 INDEX `fk_vnf_vfmodule_cvnfc_config_cust__vf_module_cust_idx` (`VF_MODULE_MODEL_CUSTOMIZATION_UUID` ASC),
939 INDEX `fk_vnf_vfmodule_cvnfc_config_cust__vnf_res_cust_idx` (`VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID` ASC),
940 CONSTRAINT `fk_vnf_vfmod_cvnfc_config_cust__configuration_resource` FOREIGN KEY (`CONFIGURATION_MODEL_UUID`)
941 REFERENCES `configuration` (`MODEL_UUID`)
942 ON DELETE CASCADE ON UPDATE CASCADE,
943 CONSTRAINT `fk_cvnfc_configuration_customization__cvnfc_customization1` FOREIGN KEY (`CVNFC_MODEL_CUSTOMIZATION_UUID`)
944 REFERENCES `cvnfc_customization` (`MODEL_CUSTOMIZATION_UUID`)
945 ON DELETE CASCADE ON UPDATE CASCADE,
946 CONSTRAINT `fk_vnf_configuration_cvnfc_customization__vf_module_customiza1` FOREIGN KEY (`VF_MODULE_MODEL_CUSTOMIZATION_UUID`)
947 REFERENCES `vf_module_customization` (`MODEL_CUSTOMIZATION_UUID`)
948 ON DELETE CASCADE ON UPDATE CASCADE,
949 CONSTRAINT `fk_vfmodule_cvnfc_configuration_customization__vnf_resource_c1` FOREIGN KEY (`VNF_RESOURCE_CUST_MODEL_CUSTOMIZATION_UUID`)
950 REFERENCES `vnf_resource_customization` (`MODEL_CUSTOMIZATION_UUID`)
951 ON DELETE CASCADE ON UPDATE CASCADE
952) ENGINE=INNODB AUTO_INCREMENT=20654 DEFAULT CHARACTER SET=LATIN1;