merge tony's changes to deployment
authorScott Baker <smbaker@gmail.com>
Fri, 6 Jun 2014 21:56:20 +0000 (14:56 -0700)
committerScott Baker <smbaker@gmail.com>
Fri, 6 Jun 2014 21:56:20 +0000 (14:56 -0700)
planetstack/core/models/site.py

index 1301ebf..072b288 100644 (file)
@@ -83,6 +83,10 @@ class SitePrivilege(PlCoreBase):
 
 class Deployment(PlCoreBase):
     name = models.CharField(max_length=200, unique=True, help_text="Name of the Deployment")
+    admin_user = models.CharField(max_length=200, null=True, blank=True, help_text="Username of an admin user at this deployment")
+    admin_password = models.CharField(max_length=200, null=True, blank=True, help_text="Password of theadmin user at this deployment")\r
+    admin_tenant = models.CharField(max_length=200, null=True, blank=True, help_text="Name of the tenant the admin user belongs to")\r
+    auth_url = models.CharField(max_length=200, null=True, blank=True, help_text="Auth url for the deployment")
 
     # smbaker: the default of 'allow all' is intended for evolutions of existing
     #    deployments. When new deployments are created via the GUI, they are