'Creates host on system with given initiator as port_id.'

def _create_host(self, port_ids, host_type, host_group=None):

    LOG.info('Creating    host    with    ports    %s.', port_ids)
    host_label = utils.convert_uuid_to_es_fmt(uuid.uuid4())
    host_type = self._get_host_type_definition(host_type)
    port_type = self.driver_protocol.lower()
    return self._client.create_host_with_ports(host_label, host_type, port_ids, group_id=host_group, port_type=port_type)
