Merge "Add global-customer-id and service-type parameter"
authorFu Jinhua <fu.jinhua@zte.com.cn>
Wed, 11 Oct 2017 03:29:12 +0000 (03:29 +0000)
committerGerrit Code Review <gerrit@onap.org>
Wed, 11 Oct 2017 03:29:12 +0000 (03:29 +0000)
lcm/pub/database/models.py
resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql

index 35de4e4..306cc51 100644 (file)
@@ -46,6 +46,8 @@ class NSInstModel(models.Model):
     scale_params = models.TextField(db_column='SCALEPARAMS', max_length=2000, null=True, blank=True)
     create_time = models.CharField(db_column='CREATETIME', max_length=200, null=True, blank=True)
     lastuptime = models.CharField(db_column='LASTUPTIME', max_length=200, null=True, blank=True)
+    global_customer_id = models.CharField(db_column='GLOBALCUSTOMERID', max_length=50, null=True, blank=True)
+    service_type = models.CharField(db_column='SERVICETYPE', max_length=50, null=True, blank=True)
 
 
 class NfPackageModel(models.Model):
index b2588f0..79c4850 100644 (file)
@@ -143,7 +143,9 @@ CREATE TABLE NFVO_NSINST (
   `INPUTPARAMS` longtext NULL, 
   `SCALEPARAMS` longtext NULL,
   `CREATETIME` varchar(200) NULL, 
-  `LASTUPTIME` varchar(200) NULL 
+  `LASTUPTIME` varchar(200) NULL,
+  `GLOBALCUSTOMERID` varchar(50) NULL,
+   `SERVICETYPE` varchar(50) NULL
 );
 
 DROP TABLE IF EXISTS NFVO_PORTINST;