Harsh Prateek Bora a2d2b80fbd Add Gluster protocol as supported network disk backend
This patch introduces the RNG schema and updates necessary data strucutures
to allow various hypervisors to make use of Gluster protocol as one of the
supported network disk backend. Next patch will add support to make use of
this feature in Qemu since it now supports Gluster protocol as one of the
network based storage backend.

Two new optional attributes for <host> element are introduced - 'transport'
and 'socket'. Valid transport values are tcp, unix or rdma. If none specified,
tcp is assumed. If transport is unix, socket specifies path to unix socket.

This patch allows users to specify disks on gluster backends like this:

    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol='gluster' name='Volume1/image'>
        <host name='example.org' port='6000' transport='tcp'/>
      </source>
      <target dev='vda' bus='virtio'/>
    </disk>

    <disk type='network' device='disk'>
      <driver name='qemu' type='raw'/>
      <source protocol='gluster' name='Volume2/image'>
        <host transport='unix' socket='/path/to/sock'/>
      </source>
      <target dev='vdb' bus='virtio'/>
    </disk>

Signed-off-by: Harsh Prateek Bora <harsh@linux.vnet.ibm.com>
2012-11-27 10:19:22 +01:00
..
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2012-10-12 00:03:43 +02:00
2011-04-01 16:03:11 -06:00
2009-11-06 16:05:18 +01:00
2011-10-29 19:50:48 +02:00
2009-09-22 12:55:39 +02:00
2009-12-03 15:27:24 +01:00
2011-03-28 10:40:24 +08:00
2012-06-13 18:23:00 +01:00
2011-08-26 17:52:55 +02:00
2011-02-18 08:59:51 +01:00
2011-04-01 16:03:11 -06:00
2009-07-16 15:06:42 +02:00
2011-10-28 10:07:45 +01:00
2012-11-02 12:08:11 +08:00
2009-07-29 09:04:21 +01:00
2012-10-12 00:03:43 +02:00
2012-08-10 10:58:38 +02:00
2011-05-11 08:18:04 -06:00
2011-04-01 16:03:11 -06:00