- remove object_ids as class variable declaration
authorTony Mack <tmack@cs.princeton.edu>
Wed, 15 Nov 2006 17:23:01 +0000 (17:23 +0000)
committerTony Mack <tmack@cs.princeton.edu>
Wed, 15 Nov 2006 17:23:01 +0000 (17:23 +0000)
25 files changed:
PLC/Methods/AddAddressType.py
PLC/Methods/AddAddressTypeToAddress.py
PLC/Methods/AddBootState.py
PLC/Methods/AddConfFile.py
PLC/Methods/AddConfFileToNode.py
PLC/Methods/AddConfFileToNodeGroup.py
PLC/Methods/AddMessage.py
PLC/Methods/AddNode.py
PLC/Methods/AddNodeGroup.py
PLC/Methods/AddNodeNetwork.py
PLC/Methods/AddNodeToNodeGroup.py
PLC/Methods/AddNodeToPCU.py
PLC/Methods/AddPCU.py
PLC/Methods/AddPerson.py
PLC/Methods/AddPersonKey.py
PLC/Methods/AddPersonToSite.py
PLC/Methods/AddPersonToSlice.py
PLC/Methods/AddRole.py
PLC/Methods/AddRoleToPerson.py
PLC/Methods/AddSite.py
PLC/Methods/AddSiteAddress.py
PLC/Methods/AddSlice.py
PLC/Methods/AddSliceAttribute.py
PLC/Methods/AddSliceAttributeType.py
PLC/Methods/AddSliceToNodes.py

index ceb1807..7c5d59c 100644 (file)
@@ -27,7 +27,6 @@ class AddAddressType(Method):
         
     event_type = 'Add'    
     object_type = 'AddressType'
-    object_ids = []
 
     def call(self, auth, address_type_fields):
         address_type_fields = dict(filter(can_update, address_type_fields.items()))
index c03a07f..5f4d1c1 100644 (file)
@@ -27,7 +27,6 @@ class AddAddressTypeToAddress(Method):
 
     event_type = 'AddTo'
     object_type = 'Address'
-    object_ids = []
 
     def call(self, auth, address_type_id_or_name, address_id):
        address_types = AddressTypes(self.api, [address_type_id_or_name])
index 080c2be..9572332 100644 (file)
@@ -22,7 +22,6 @@ class AddBootState(Method):
 
     event_type = 'Add'
     object_type = 'BootState'
-    object_ids = []
     
     def call(self, auth, name):
         boot_state = BootState(self.api)
index 39007eb..1e04d8d 100644 (file)
@@ -28,7 +28,6 @@ class AddConfFile(Method):
 
     event_type = 'Add'
     object_type = 'ConfFile'
-    object_ids = []
 
     def call(self, auth, conf_file_fields):
         conf_file_fields = dict(filter(can_update, conf_file_fields.items()))
index 7ddb6b0..47886a8 100644 (file)
@@ -26,7 +26,6 @@ class AddConfFileToNode(Method):
 
     event_type = 'AddTo'
     object_type = 'ConfFile'
-    object_ids = []
 
     def call(self, auth, conf_file_id, node_id_or_hostname):
        # Get configuration file
index 1d0a9ad..c81f85f 100644 (file)
@@ -27,7 +27,6 @@ class AddConfFileToNodeGroup(Method):
 
     event_type = 'AddTo'
     object_type = 'ConfFile'
-    object_ids = []
 
     def call(self, auth, conf_file_id, nodegroup_id_or_name):
        # Get configuration file
index 6108f9b..7de64cb 100644 (file)
@@ -23,7 +23,6 @@ class AddMessage(Method):
 
     event_type = 'Add'
     object_type = 'Message'
-    object_ids = []
 
     def call(self, auth, message_fields):
         message = Message(self.api, message_fields)
index 5ccc735..2fc9837 100644 (file)
@@ -35,7 +35,6 @@ class AddNode(Method):
 
     event_type = 'Add'
     object_type = 'Node'
-    object_ids = []
 
     def call(self, auth, site_id_or_login_base, node_fields):
         node_fields = dict(filter(can_update, node_fields.items()))
index 8ea7433..864fe8e 100644 (file)
@@ -28,7 +28,6 @@ class AddNodeGroup(Method):
 
     event_type = 'Add'
     object_type = 'NodeGroup'
-    object_ids = []
 
     def call(self, auth, nodegroup_fields):
         nodegroup_fields = dict(filter(can_update, nodegroup_fields.items()))
index a768662..949c573 100644 (file)
@@ -41,8 +41,7 @@ class AddNodeNetwork(Method):
 
     event_type = 'Add'
     object_type = 'NodeNetwork'
-    object_ids = []
-
+    
     def call(self, auth, node_id_or_hostname, nodenetwork_fields):
         nodenetwork_fields = dict(filter(can_update, nodenetwork_fields.items()))
 
index 9c40b36..09bc604 100644 (file)
@@ -27,7 +27,6 @@ class AddNodeToNodeGroup(Method):
 
     event_type = 'AddTo'
     object_type = 'NodeGroup'
-    object_ids = []
 
     def call(self, auth, node_id_or_hostname, nodegroup_id_or_name):
         # Get node info
index b7248b9..1c96e25 100644 (file)
@@ -28,7 +28,6 @@ class AddNodeToPCU(Method):
     returns = Parameter(int, '1 if successful')
     event_type = 'AddTo'
     object_type = 'PCU'
-    object_ids = []
 
     def call(self, auth, node_id_or_hostname, pcu_id, port):
         # Get node
index 8866213..167f3f2 100644 (file)
@@ -36,7 +36,6 @@ class AddPCU(Method):
     
     event_type = 'Add'
     object_type = 'PCU'
-    object_ids = []
 
     def call(self, auth, site_id_or_login_base, pcu_fields):
         pcu_fields = dict(filter(can_update, pcu_fields.items()))
index 11d9733..583502d 100644 (file)
@@ -32,7 +32,6 @@ class AddPerson(Method):
 
     event_type = 'Add'
     object_type = 'Person'
-    object_ids = []
 
     def call(self, auth, person_fields):
         person_fields = dict(filter(can_update, person_fields.items()))
index fb81132..dfadfa5 100644 (file)
@@ -31,7 +31,6 @@ class AddPersonKey(Method):
 
     event_type = 'Add'
     object_type = 'Key'
-    object_ids = []
 
     def call(self, auth, person_id_or_email, key_fields):
         key_fields = dict(filter(can_update, key_fields.items()))
index fe24392..b908e7d 100644 (file)
@@ -27,7 +27,6 @@ class AddPersonToSite(Method):
     returns = Parameter(int, '1 if successful')
     event_type = 'AddTo'
     object_type = 'Site'
-    object_ids = []
 
     def call(self, auth, person_id_or_email, site_id_or_login_base):
         # Get account information
index 2ac6dd8..865ff9d 100644 (file)
@@ -26,7 +26,6 @@ class AddPersonToSlice(Method):
     returns = Parameter(int, '1 if successful')
     event_type = 'AddTo'
     object_type = 'Slice'
-    object_ids = []
 
     def call(self, auth, person_id_or_email, slice_id_or_name):
         # Get account information
index e556d0e..c90c4a2 100644 (file)
@@ -23,7 +23,6 @@ class AddRole(Method):
 
     event_type = 'Add'
     object_type = 'Role'
-    object_ids = []
 
     def call(self, auth, role_id, name):
         role = Role(self.api)
index ab3c364..279fd71 100644 (file)
@@ -29,7 +29,6 @@ class AddRoleToPerson(Method):
 
     event_type = 'AddTo'
     object_type = 'Person'
-    object_ids = []
 
     def call(self, auth, role_id_or_name, person_id_or_email):
         # Get all roles
index 4177cfb..3148048 100644 (file)
@@ -31,7 +31,6 @@ class AddSite(Method):
 
     event_type = 'Add'
     object_type = 'Site'
-    object_ids = []
 
     def call(self, auth, site_fields):
         site_fields = dict(filter(can_update, site_fields.items()))
index 6f2c5dc..eb813c0 100644 (file)
@@ -34,7 +34,6 @@ class AddSiteAddress(Method):
 
     event_type = 'Add'
     object_type = 'Address'
-    object_ids = []
 
     def call(self, auth, site_id_or_login_base, address_fields):
         address_fields = dict(filter(can_update, address_fields.items()))
index c946d7c..f2edacc 100644 (file)
@@ -40,7 +40,6 @@ class AddSlice(Method):
 
     event_type = 'Add'
     object_type = 'Slice'
-    object_ids = []
 
     def call(self, auth, slice_fields):
         slice_fields = dict(filter(can_update, slice_fields.items()))
index c7b3c77..d930492 100644 (file)
@@ -39,7 +39,6 @@ class AddSliceAttribute(Method):
 
     event_type = 'Add'
     object_type = 'SliceAttribute'
-    object_ids = []
 
     def call(self, auth, slice_id_or_name, attribute_type_id_or_name, value, node_id_or_hostname = None):
         slices = Slices(self.api, [slice_id_or_name])
index 640ee50..e481b7b 100644 (file)
@@ -29,7 +29,6 @@ class AddSliceAttributeType(Method):
 
     event_type = 'Add'
     object_type = 'SliceAttributeType'
-    object_ids = []
 
     def call(self, auth, attribute_type_fields):
         attribute_type_fields = dict(filter(can_update, attribute_type_fields.items()))
index 9dcedbd..5133746 100644 (file)
@@ -32,7 +32,6 @@ class AddSliceToNodes(Method):
 
     event_type = 'AddTo'
     object_type = 'Node'
-    object_ids = []
 
     def call(self, auth, slice_id_or_name, node_id_or_hostname_list):
         # Get slice information