rename openstack network_id field to net_id to avoid conflict with django network_id...
authorTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 8 Apr 2014 20:37:56 +0000 (16:37 -0400)
committerTony Mack <tmack@paris.CS.Princeton.EDU>
Tue, 8 Apr 2014 20:37:56 +0000 (16:37 -0400)
planetstack/core/models/network.py

index c76004b..298c54d 100644 (file)
@@ -67,7 +67,7 @@ class NetworkDeployments(PlCoreBase):
     # Stores the openstack ids at various deployments
     network = models.ForeignKey(Network)    
     deployment = models.ForeignKey(Deployment)
-    network_id = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum network")
+    net_id = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum network")
     router_id = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum router id")
     subnet_id = models.CharField(null=True, blank=True, max_length=256, help_text="Quantum subnet id") 
     subnet = models.CharField(max_length=32, blank=True)