'data': { 'volume': 'str',
'path': 'str',
'server': ['GlusterServer'],
- '*debug-level': 'int' } }
+ '*debug-level': 'int',
+ '*logfile': 'str' } }
+ ##
+ # @ReplicationMode
+ #
+ # An enumeration of replication modes.
+ #
+ # @primary: Primary mode, the vm's state will be sent to secondary QEMU.
+ #
+ # @secondary: Secondary mode, receive the vm's state from primary QEMU.
+ #
+ # Since: 2.8
+ ##
+ { 'enum' : 'ReplicationMode', 'data' : [ 'primary', 'secondary' ] }
+
+ ##
+ # @BlockdevOptionsReplication
+ #
+ # Driver specific block device options for replication
+ #
+ # @mode: the replication mode
+ #
+ # @top-id: #optional In secondary mode, node name or device ID of the root
+ # node who owns the replication node chain. Ignored in primary mode.
+ #
+ # Since: 2.8
+ ##
+ { 'struct': 'BlockdevOptionsReplication',
+ 'base': 'BlockdevOptionsGenericFormat',
+ 'data': { 'mode': 'ReplicationMode',
+ '*top-id': 'str' } }
+
##
# @BlockdevOptions
#