- allow max_slices and max_slivers to be set when adding a new site
authorMark Huang <mlhuang@cs.princeton.edu>
Sat, 11 Nov 2006 17:58:17 +0000 (17:58 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Sat, 11 Nov 2006 17:58:17 +0000 (17:58 +0000)
PLC/Methods/AddSite.py

index 5fcfe9f..4177cfb 100644 (file)
@@ -6,7 +6,8 @@ from PLC.Auth import Auth
 
 can_update = lambda (field, value): field in \
              ['name', 'abbreviated_name', 'login_base',
-              'is_public', 'latitude', 'longitude', 'url']
+              'is_public', 'latitude', 'longitude', 'url',
+              'max_slices', 'max_slivers']
 
 class AddSite(Method):
     """