update app names
diff --git a/xos/onboard/volt/models.py b/xos/onboard/volt/models.py
index 2127b7d..3a30705 100644
--- a/xos/onboard/volt/models.py
+++ b/xos/onboard/volt/models.py
@@ -184,14 +184,14 @@
KIND = VOLT_KIND
class Meta:
- app_label = "cord"
+ app_label = "volt"
verbose_name = "vOLT Service"
class VOLTTenant(Tenant):
KIND = VOLT_KIND
class Meta:
- app_label = "cord"
+ app_label = "volt"
verbose_name = "vOLT Tenant"
s_tag = models.IntegerField(null=True, blank=True, help_text="s-tag")
@@ -323,7 +323,7 @@
class VOLTDevice(PlCoreBase):
class Meta:
- app_label = "cord"
+ app_label = "volt"
name = models.CharField(max_length=254, help_text="name of device", null=False, blank=False)
volt_service = models.ForeignKey(VOLTService, related_name='volt_devices')
@@ -335,7 +335,7 @@
class AccessDevice(PlCoreBase):
class Meta:
- app_label = "cord"
+ app_label = "volt"
volt_device = models.ForeignKey(VOLTDevice, related_name='access_devices')
uplink = models.IntegerField(null=True, blank=True)
@@ -345,7 +345,7 @@
class AccessAgent(PlCoreBase):
class Meta:
- app_label = "cord"
+ app_label = "volt"
name = models.CharField(max_length=254, help_text="name of agent", null=False, blank=False)
volt_service = models.ForeignKey(VOLTService, related_name='access_agents')
@@ -355,7 +355,7 @@
class AgentPortMapping(PlCoreBase):
class Meta:
- app_label = "cord"
+ app_label = "volt"
access_agent = models.ForeignKey(AccessAgent, related_name='port_mappings')
mac = models.CharField(max_length=32, help_text="MAC Address", null=True, blank=True)
diff --git a/xos/onboard/vsg/models.py b/xos/onboard/vsg/models.py
index 0b56aa6..af9d66d 100644
--- a/xos/onboard/vsg/models.py
+++ b/xos/onboard/vsg/models.py
@@ -42,7 +42,7 @@
super(VSGService, self).__init__(*args, **kwargs)
class Meta:
- app_label = "cord"
+ app_label = "vsg"
verbose_name = "vSG Service"
proxy = True