On 03/23/2017 01:10 PM, Eric Blake wrote: >> # @RbdAuthMethod: >> # >> # An enumeration of rados auth_supported types >> # >> # Since: 2.9 >> ## >> -{ 'struct': 'RbdAuthMethod', >> - 'data': { 'auth': 'RbdAuthSupport' } } >> +{ 'enum': 'RbdAuthMethod', >> + 'data': [ 'cephx', 'none' ] } > > Changes BlockdevOptionsRbd from: > > ..., "auth-supported": [ { "auth": "none" } ],
Another question - why does auth-supported take an array? Can you really pass both 'none' and 'cephx' at the same time? Or can you only pass an array of at most one element, at which point why is it an array? -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature