]> git.ipfire.org Git - thirdparty/libvirt.git/commit
conf: Requires either uuid or usage of secret
authorOsier Yang <jyang@redhat.com>
Thu, 20 Jun 2013 10:27:04 +0000 (18:27 +0800)
committerJiri Denemark <jdenemar@redhat.com>
Fri, 21 Jun 2013 07:41:48 +0000 (09:41 +0200)
commit9b8ee6d0f289983803831f320e3adf1d65494efd
tree17de2c1e0cebddb443d233d8c04a87a4ba1b0774
parentadb7b0b562bf23bcb2909b13d93bed6ab9cd01f2
conf: Requires either uuid or usage of secret

As the RNG schema for disk auth secret implies, it requires either
"uuid" or "usage":

  <define name='diskAuthSecret'>
    <element name='secret'>
      <attribute name='type'>
        <choice>
          <value>ceph</value>
          <value>iscsi</value>
        </choice>
      </attribute>
      <choice>
        <attribute name='uuid'>
          <ref name="UUID"/>
        </attribute>
        <attribute name='usage'>
          <ref name='genericName'/>
        </attribute>
      </choice>
    </element>
  </define>
src/conf/domain_conf.c