Added a new field called 'backend_status' to the core model. This field
authorSapan Bhatia <gwsapan@gmail.com>
Tue, 29 Apr 2014 01:06:39 +0000 (21:06 -0400)
committerSapan Bhatia <gwsapan@gmail.com>
Tue, 29 Apr 2014 01:06:39 +0000 (21:06 -0400)
is to be used by the Observer to convey the status of object
provisioning to the end user.

planetstack/core/models/plcorebase.py

index 7251a81..f7fdf8a 100644 (file)
@@ -21,6 +21,8 @@ class PlCoreBase(models.Model):
     created = models.DateTimeField(auto_now_add=True)
     updated = models.DateTimeField(auto_now=True)
     enacted = models.DateTimeField(null=True, default=None)
+    backend_status = models.CharField(max_length=140,
+                                      default="Ok")
 
     class Meta:
         abstract = True