summaryrefslogtreecommitdiffstats
path: root/lcm/lcm/pub/database/models.py
diff options
context:
space:
mode:
authorlaili <lai.li@zte.com.cn>2018-09-07 17:32:51 +0800
committerlaili <lai.li@zte.com.cn>2018-09-07 17:32:51 +0800
commit70bb01f730b2586821d7d231906d1e1f6f090cb8 (patch)
treefb05e1c7f8885d7b0628573b74fa83c04e3c4d70 /lcm/lcm/pub/database/models.py
parent16c4a5ff577f27c6ff404059612ecf68eb044b1f (diff)
Align grant request with SOL003.
-Align grant request. -Rename resouceid to resourceid. Change-Id: I1a933ba6248911984500a06f3fd031fddec06880 Issue-ID: VFC-1101 Signed-off-by: laili <lai.li@zte.com.cn>
Diffstat (limited to 'lcm/lcm/pub/database/models.py')
-rw-r--r--lcm/lcm/pub/database/models.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/lcm/lcm/pub/database/models.py b/lcm/lcm/pub/database/models.py
index cbdd85cc..47a22fdd 100644
--- a/lcm/lcm/pub/database/models.py
+++ b/lcm/lcm/pub/database/models.py
@@ -105,7 +105,7 @@ class StorageInstModel(models.Model):
storageid = models.CharField(db_column='STORAGEID', primary_key=True, max_length=255)
vimid = models.CharField(db_column='VIMID', max_length=255)
- resouceid = models.CharField(db_column='RESOURCEID', max_length=255)
+ resourceid = models.CharField(db_column='RESOURCEID', max_length=255)
insttype = models.IntegerField(db_column='INSTTYPE')
instid = models.CharField(db_column='INSTID', max_length=255)
name = models.CharField(db_column='NAME', max_length=255, null=True)
@@ -130,7 +130,7 @@ class VmInstModel(models.Model):
vmid = models.CharField(db_column='VMID', primary_key=True, max_length=255)
vimid = models.CharField(db_column='VIMID', max_length=255)
tenant = models.CharField(db_column='TENANT', max_length=255, null=True)
- resouceid = models.CharField(db_column='RESOURCEID', max_length=255)
+ resourceid = models.CharField(db_column='RESOURCEID', max_length=255)
vmname = models.CharField(db_column='VMNAME', max_length=255)
nic_array = models.CharField(db_column='NICARRAY', max_length=255)
metadata = models.CharField(db_column='METADATA', max_length=255)
@@ -165,7 +165,7 @@ class FlavourInstModel(models.Model):
flavourid = models.CharField(db_column='FLAVOURID', max_length=255, primary_key=True)
vimid = models.CharField(db_column='VIMID', max_length=255)
- resouceid = models.CharField(db_column='RESOURCEID', max_length=255)
+ resourceid = models.CharField(db_column='RESOURCEID', max_length=255)
name = models.CharField(db_column='NAME', max_length=255)
tenant = models.CharField(db_column='TENANT', max_length=255, null=True)
vcpu = models.IntegerField(db_column='VCPU', null=True)
@@ -186,7 +186,7 @@ class NetworkInstModel(models.Model):
networkid = models.CharField(db_column='NETWORKID', primary_key=True, max_length=255)
vimid = models.CharField(db_column='VIMID', max_length=255)
- resouceid = models.CharField(db_column='RESOURCEID', max_length=255)
+ resourceid = models.CharField(db_column='RESOURCEID', max_length=255)
insttype = models.IntegerField(db_column='INSTTYPE')
instid = models.CharField(db_column='INSTID', max_length=255)
name = models.CharField(db_column='NAME', max_length=255)
@@ -213,7 +213,7 @@ class SubNetworkInstModel(models.Model):
subnetworkid = models.CharField(db_column='SUBNETWORKID', primary_key=True, max_length=255)
vimid = models.CharField(db_column='VIMID', max_length=255)
- resouceid = models.CharField(db_column='RESOURCEID', max_length=255)
+ resourceid = models.CharField(db_column='RESOURCEID', max_length=255)
networkid = models.CharField(db_column='NETWORKID', max_length=255)
insttype = models.IntegerField(db_column='INSTTYPE')
instid = models.CharField(db_column='INSTID', max_length=255)
@@ -256,7 +256,7 @@ class PortInstModel(models.Model):
networkid = models.CharField(db_column='NETWORKID', max_length=255)
subnetworkid = models.CharField(db_column='SUBNETWORKID', max_length=255, null=True)
vimid = models.CharField(db_column='VIMID', max_length=255)
- resouceid = models.CharField(db_column='RESOURCEID', max_length=255)
+ resourceid = models.CharField(db_column='RESOURCEID', max_length=255)
name = models.CharField(db_column='NAME', max_length=255, null=True)
insttype = models.IntegerField(db_column='INSTTYPE')
instid = models.CharField(db_column='INSTID', max_length=255)