tacker/tacker/db/migration/alembic_migrations/versions
tpatil 55b96c51e3 Add unique constraint on vnfd_id column
In Vnf LCM, when user will call create vnf instance API, vnfdId
will be passed in the CreateVnfRequest as per SOL002,
section 5.5.2.3 [1]. Based on this vnfdId, it will look for the
vnf package to load the csar package at the time of instantiating vnf
instance. So it's important that vnfdId is unique in the
``vnf_package_vnfd`` dbb table.

Added ``vnfd_id`` and ``deleted`` columns as unique key in
``vnf_package_vnfd`` db table.

[1] : https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/002/02.06.01_60/gs_nfv-sol002v020601p.pdf

Change-Id: I2da2acf256bec307b606c5a152c0d47af24ad525
Blueprint: support-etsi-nfv-specs
2020-04-14 00:38:56 +00:00
..
0ad3bbce1c18_create_of_network_service_tables.py Implement NSD Support - Add CRUD operations for NSD 2017-01-16 22:03:09 +05:30
0ad3bbce1c19_increase_vim_password_size.py Increase vim password column length 2017-01-20 15:51:16 +08:00
0ae5b1ce3024_unique_constraint_name.py Introduce uniqueness constraint on resource names 2016-09-22 00:01:51 -07:00
1c6b0d82afcd_servicevm_framework.py Merge "Cleanup copyright header" 2016-04-07 01:19:11 +00:00
2ff0a0e360f1_audit_support.py Adds audit support for VIM, VNFD and VNF 2016-08-19 21:38:52 +00:00
4c31092895b8_remove_service_instance.py Make the db migration scripts complete 2015-12-06 06:08:06 +00:00
4ee19c8a6d0a_audit_support_events.py Adds common services plugin for audit support 2016-08-20 05:25:10 +00:00
5d490546290c_add_name_to_classifiers.py Add names to classifiers in the vnffgd template 2018-01-23 15:51:58 +02:00
5f88e86b35c7_make_vnfd_vnf_vim_name_mandatory.py Make VNFD/VNF/VIM Name Mandatory in Tacker API's 2016-06-14 07:42:58 -04:00
6e56d4474b2a_blob_to_json_text.py Update json module to jsonutils 2019-02-27 11:59:02 +00:00
8f7145914cb0_remove_infra_driver_column.py Removes downgrade from db migration scripts 2017-03-02 08:39:11 +05:30
9d425296f2c3_add_vnfpkgm_db.py Add DB script and models for vnf packages 2019-09-18 12:24:14 +00:00
12a57080b277_add_service_db.py Removes downgrade from db migration scripts 2017-03-02 08:39:11 +05:30
12a57080b278_alter_devices.py Removes downgrade from db migration scripts 2017-03-02 08:39:11 +05:30
13c0e0661015_add_descrition_to_vnf.py fix typos 2019-02-11 05:54:08 +00:00
13ecc2dd6f7f_change_nullable_value_of_path_id.py Correct forwarding graph 'id' to match 'chain_id' in port chain 2018-07-27 07:50:06 +00:00
22f5385a3d3f_add_status_to_vims.py Add monitor feature to the VIM 2016-07-08 22:51:33 +05:30
22f5385a3d4f_remove_proxydb.py Removes downgrade from db migration scripts 2017-03-02 08:39:11 +05:30
22f5385a3d50_rename_devicedb.py Device refactor Part1: Rename device db name 2016-08-15 23:54:06 +08:00
24bec5f211c7_alter_value_in_deviceattributes.py Alter the 'value' column in 'deviceattributes' table 2016-01-25 00:07:03 +05:30
31acbaeb8299_change_vim_shared_property_to_false.py Support to use barbican to encode vim password 2017-06-26 07:23:10 -07:00
81ffa86020d_rpc_proxy.py db update: 2015-04-10 11:33:12 -07:00
354de64ba129_set_mandatory_columns_not_null.py db schema improvements: set mandatory column not null 2016-06-11 08:58:27 +05:30
941b5a6fff9e_enable_soft_delete.py Enables soft deletion for VIM, VNFD and VNF 2016-08-20 04:23:30 +00:00
975e28392888_add_unique_key_vnf_package_vnfd.py Add unique constraint on vnfd_id column 2020-04-14 00:38:56 +00:00
2774a42c7163_remove_service_related.py Removes downgrade from db migration scripts 2017-03-02 08:39:11 +05:30
4747cc26b9c6_add_support_vnffg_to_ns_database.py Implement VNFFG support for NS 2018-07-19 02:53:34 +00:00
5246a6bd410f_multisite_vim.py Removes downgrade from db migration scripts 2017-03-02 08:39:11 +05:30
000632983ada_add_template_source_column.py Support VNF create from inline template 2017-02-08 05:59:45 +05:30
5958429bcb3c_modify_datatype_of_value.py Fix pep8 errors in tacker code 2016-01-27 21:09:42 +01:00
507122918800_adds_vnffg.py Implements VNFFG into NFVO 2016-09-09 18:07:10 -04:00
HEAD Add unique constraint on vnfd_id column 2020-04-14 00:38:56 +00:00
README rename neutron/db to tacker/db 2014-07-04 18:20:50 +09:00
abbef484b34c_modify_unique_constraint_on_vnf_packages_user_data.py Add VNF package update API 2020-04-14 00:37:10 +00:00
acf941e54075_add_error_reason_to_device.py Removes downgrade from db migration scripts 2017-03-02 08:39:11 +05:30
b07673bb8654_set_status_type_tenant_id_length.py Don't change existing nullable property 2016-08-04 15:23:12 +08:00
c7cde2f45f82_set_description_to_text.py db schema improvements: description is set to text 2016-06-10 08:46:33 +05:30
c256228ed37c_unique_constraint_on_name_and_id.py Adds unique constraint on name and tenant_id 2017-03-25 07:57:46 +05:30
cd04a8335c18_mgmt_url_to_mgmt_ip_address.py Parameter changed from mgmt_url to mgmt_ip_address 2019-01-31 10:08:17 +00:00
d4f265e8eb9d_add_default_to_vim.py Transition default VIM to API and DB operation 2016-08-01 09:07:54 -07:00
e9a1e47fb0b5_add_template_source_status_to_vnffgtemplate_and_nsd.py Update creating directly VNFFG and NS from descriptor template. 2017-07-19 21:57:45 -07:00
e8918cda6433_add_attributes_to_vnffg.py Removes downgrade from db migration scripts 2017-03-02 08:39:11 +05:30
e7993093baf1_add_unique_constraint_on_deleted_at.py Adds unique constraint on deleted_at 2017-05-11 17:00:56 +00:00
ef14f8026327_add_default_onboarded_template_source.py Add onboarded as default template-source 2017-02-15 03:05:34 +00:00
f5c1c3b0f6b4_set_default_value_for_deleted_at.py Prevent to create duplicate entry 2017-07-06 02:04:39 +00:00
f958f58e5daa_uuid_consistency.py Don't change existing nullable property 2016-08-04 15:23:12 +08:00

README

This directory contains the migration scripts for the Tacker project.  Please
see the README in tacker/db/migration on how to use and generate new
migrations.