diff options
author | Fu Jinhua <fu.jinhua@zte.com.cn> | 2017-10-11 03:29:12 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2017-10-11 03:29:12 +0000 |
commit | 5d90f52c5a7326507cfbe289eb48e7c6c9301912 (patch) | |
tree | cc5611fcc1c0c14774db556ea0d8364b5ca7a5a0 | |
parent | 72037d4a1c91f65ecafa44517a1c713881c04963 (diff) | |
parent | 7cf2fac177f1f92daac87c14ff683f3bf38fb68d (diff) |
Merge "Add global-customer-id and service-type parameter"
-rw-r--r-- | lcm/pub/database/models.py | 2 | ||||
-rw-r--r-- | resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/lcm/pub/database/models.py b/lcm/pub/database/models.py index 35de4e44..306cc510 100644 --- a/lcm/pub/database/models.py +++ b/lcm/pub/database/models.py @@ -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): diff --git a/resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql b/resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql index b2588f05..79c48509 100644 --- a/resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql +++ b/resources/dbscripts/mysql/vfc-nfvo-lcm-createobj.sql @@ -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; |