aboutsummaryrefslogtreecommitdiffstats
path: root/installation
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-08-29 14:16:05 -0400
committerAlexis de Talhouët <adetalhouet89@gmail.com>2018-08-29 14:16:05 -0400
commit38e9021bf6afcb176e3a7f75dd6b296ba99ca348 (patch)
tree4ebf1e091b80a574b7eaaefd3aebdb65d8d438a4 /installation
parent1a6b55f1548c099456bfb72cf4181ea783932b08 (diff)
Added external_key column to IPAM_IP_ASSIGNMENT
external_key column is to store a keu uniquely identifying the resource to a service, both within the ONAP and the external system. That key will be set prior assignment, and we be used during unassignment, to avoid having to correlate to many values. The external_key *must* be unique, at least per service. Hence lookup using both service-instance-id and external_key will be used during unassign process. Change-Id: I67691fc32b46bb6cbacd66402f5fda6456cd7e06 Issue-ID: CCSDK-463 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: b3cc6305655fee9a85d8ac42488e371b741a2f61
Diffstat (limited to 'installation')
-rw-r--r--installation/sdnc/src/main/resources/ipam.data.dump1
1 files changed, 1 insertions, 0 deletions
diff --git a/installation/sdnc/src/main/resources/ipam.data.dump b/installation/sdnc/src/main/resources/ipam.data.dump
index ededc73b..7371077d 100644
--- a/installation/sdnc/src/main/resources/ipam.data.dump
+++ b/installation/sdnc/src/main/resources/ipam.data.dump
@@ -57,6 +57,7 @@ CREATE TABLE `IPAM_IP_ASSIGNEMENT` (
`service_instance_id` varchar(255) DEFAULT NULL,
`vf_module_id` varchar(255) DEFAULT NULL,
`prefix_id` varchar(255) DEFAULT NULL,
+ `external_key` varchar(255) DEFAULT NULL,
`ip_address_id` varchar(255) DEFAULT NULL,
`ip_address` varchar(255) DEFAULT NULL,
`ip_address_type` varchar(255) DEFAULT NULL,