code: def authorize_host_to_volume(self, volume_id,
                                   hardware_ids=None,
                                   virtual_guest_ids=None,
                                   ip_address_ids=None,
                                   **kwargs):
          
          host_templates = []
          storage_utils.populate_host_templates(host_templates,
                                                hardware_ids,
                                                virtual_guest_ids,
                                                ip_address_ids,
                                                None)
  
          return self.client.call('Network_Storage', 'allowAccessFromHostList',
                                  host_templates, id=volume_id, **kwargs)
docs: Authorizes hosts to Block Storage Volumes
  
          :param volume_id: The Block volume to authorize hosts to
          :param hardware_ids: A List of SoftLayer_Hardware ids
          :param virtual_guest_ids: A List of SoftLayer_Virtual_Guest ids
          :param ip_address_ids: A List of SoftLayer_Network_Subnet_IpAddress ids
          :return: Returns an array of
                  SoftLayer_Network_Storage_Allowed_Host objects
                  which now have access to the given Block volume