Add StorageDomain schema
Add StorageDomain schema

XML looks like:

  <storage_domain>
    <type>DATA</type>
    <storage>
      <type>NFS</type>
      <path>/exports/RHEV/images/0</path>
      <host>172.31.0.6</host>
    </storage>
  </storage_domain>

The schema uses:

  <xs:choice>
    <xs:group ref="NfsStorage"/>
    <xs:group ref="IscsiStorage"/>
  </xs:choice>

to model the NFS vs. iSCSI specific elements.

Unfortunately, this isn't translated very nicely into Java - it simply is
a single Storage class with all allowed options as properties. There is
no validation that e.g. only NFS specific properties are set when the
storage type is NFS.

markmc/rhevm-api,markmc/rhevm-api,colloquium/rhevm-api,markmc/rhevm-api,colloquium/rhevm-api