class SimpleIO(_UpdateSIO): input_required = _UpdateSIO.input_required + ('id', 'config_cid') input_optional = tuple( drop_sio_elems(_UpdateSIO.input_optional, 'id')) + (Int('bind_port'), 'service_name') request_elem = 'zato_channel_zmq_start_request' response_elem = 'zato_channel_zmq_start_response'
class SimpleIO(AdminSIO): input_required = 'topic_name', 'is_internal' input_optional = drop_sio_elems(common_sub_data, 'is_internal', 'topic_name') output_optional = 'sub_key', 'queue_depth' default_value = None force_empty_keys = True
class SimpleIO(AdminSIO): input_required = ('cluster_id', 'id', 'sub_key', 'active_status') input_optional = drop_sio_elems(common_sub_data, 'active_status', 'sub_key') output_required = ('id', 'name')