← Back to team overview

launchpad-reviewers team mailing list archive

[Merge] lp:~rvb/maas/maas-fix-new-tests into lp:maas

 

Raphaël Badin has proposed merging lp:~rvb/maas/maas-fix-new-tests into lp:maas.

Requested reviews:
  Launchpad code reviewers (launchpad-reviewers)

For more details, see:
https://code.launchpad.net/~rvb/maas/maas-fix-new-tests/+merge/100082

Change default node status to NODE_STATUS.DECLARED.
-- 
https://code.launchpad.net/~rvb/maas/maas-fix-new-tests/+merge/100082
Your team Launchpad code reviewers is requested to review the proposed merge of lp:~rvb/maas/maas-fix-new-tests into lp:maas.
=== modified file 'src/maasserver/models.py'
--- src/maasserver/models.py	2012-03-30 07:24:27 +0000
+++ src/maasserver/models.py	2012-03-30 08:40:10 +0000
@@ -110,7 +110,7 @@
 class NODE_STATUS:
     """The vocabulary of a `Node`'s possible statuses."""
     # A node starts out as READY.
-    DEFAULT_STATUS = 4
+    DEFAULT_STATUS = 0
 
     #: The node has been created and has a system ID assigned to it.
     DECLARED = 0