- support updating 'enabled' field
[plcapi.git] / PLC / Methods / AddSite.py
index c58f5e5..a37a7f0 100644 (file)
@@ -7,7 +7,7 @@ from PLC.Auth import Auth
 can_update = lambda (field, value): field in \
              ['name', 'abbreviated_name', 'login_base',
               'is_public', 'latitude', 'longitude', 'url',
-              'max_slices', 'max_slivers']
+              'max_slices', 'max_slivers', 'enabled']
 
 class AddSite(Method):
     """