@@ -201,33 +201,39 @@ def deauthorize_host_to_volume(self, volume_id,
201201 return self .client .call ('Network_Storage' , 'removeAccessFromHostList' ,
202202 host_templates , id = volume_id , ** kwargs )
203203
204- def assign_subnets_to_acl (self , access_id , subnets_id ):
204+ def assign_subnets_to_acl (self , access_id , subnet_ids ):
205205 """Assigns subnet records to ACL for the access host.
206206
207+ access_id is the host_id obtained by: slcli block access-list <volume_id>
208+
207209 :param integer access_id: id of the access host
208- :param integer subnets_id : The ids of the subnets to be assigned
210+ :param list subnet_ids : The ids of the subnets to be assigned
209211 :return: Returns int array of assigned subnet ids
210212 """
211213 return self .client .call ('Network_Storage_Allowed_Host' ,
212214 'assignSubnetsToAcl' ,
213- subnets_id ,
215+ subnet_ids ,
214216 id = access_id )
215217
216- def remove_subnets_from_acl (self , access_id , subnets_id ):
218+ def remove_subnets_from_acl (self , access_id , subnet_ids ):
217219 """Removes subnet records from ACL for the access host.
218220
221+ access_id is the host_id obtained by: slcli block access-list <volume_id>
222+
219223 :param integer access_id: id of the access host
220- :param integer subnets_id : The ids of the subnets to be removed
224+ :param list subnet_ids : The ids of the subnets to be removed
221225 :return: Returns int array of removed subnet ids
222226 """
223227 return self .client .call ('Network_Storage_Allowed_Host' ,
224228 'removeSubnetsFromAcl' ,
225- subnets_id ,
229+ subnet_ids ,
226230 id = access_id )
227231
228232 def get_subnets_in_acl (self , access_id ):
229233 """Returns a list of subnet records for the access host.
230234
235+ access_id is the host_id obtained by: slcli block access-list <volume_id>
236+
231237 :param integer access_id: id of the access host
232238 :return: Returns an array of SoftLayer_Network_Subnet objects
233239 """
0 commit comments