@@ -310,6 +310,41 @@ pub fn create_dbus_pool<'a>(
310310 . add_p ( pool_3_8:: metadata_version_property ( & f) )
311311 . add_p ( pool_3_8:: free_token_slots_property ( & f) )
312312 . add_p ( pool_3_8:: volume_key_loaded_property ( & f) ) ,
313+ )
314+ . add (
315+ f. interface ( consts:: POOL_INTERFACE_NAME_3_9 , ( ) )
316+ . add_m ( pool_3_6:: create_filesystems_method ( & f) )
317+ . add_m ( pool_3_7:: destroy_filesystems_method ( & f) )
318+ . add_m ( pool_3_0:: snapshot_filesystem_method ( & f) )
319+ . add_m ( pool_3_0:: add_blockdevs_method ( & f) )
320+ . add_m ( pool_3_8:: bind_clevis_method ( & f) )
321+ . add_m ( pool_3_8:: unbind_clevis_method ( & f) )
322+ . add_m ( pool_3_5:: init_cache_method ( & f) )
323+ . add_m ( pool_3_0:: add_cachedevs_method ( & f) )
324+ . add_m ( pool_3_8:: bind_keyring_method ( & f) )
325+ . add_m ( pool_3_8:: unbind_keyring_method ( & f) )
326+ . add_m ( pool_3_8:: rebind_keyring_method ( & f) )
327+ . add_m ( pool_3_8:: rebind_clevis_method ( & f) )
328+ . add_m ( pool_3_0:: rename_method ( & f) )
329+ . add_m ( pool_3_3:: grow_physical_device_method ( & f) )
330+ . add_m ( pool_3_7:: get_metadata_method ( & f) )
331+ . add_m ( pool_3_7:: get_fs_metadata_method ( & f) )
332+ . add_p ( pool_3_0:: name_property ( & f) )
333+ . add_p ( pool_3_0:: uuid_property ( & f) )
334+ . add_p ( pool_3_0:: encrypted_property ( & f) )
335+ . add_p ( pool_3_0:: avail_actions_property ( & f) )
336+ . add_p ( pool_3_8:: key_descs_property ( & f) )
337+ . add_p ( pool_3_8:: clevis_infos_property ( & f) )
338+ . add_p ( pool_3_0:: has_cache_property ( & f) )
339+ . add_p ( pool_3_0:: alloc_size_property ( & f) )
340+ . add_p ( pool_3_0:: used_size_property ( & f) )
341+ . add_p ( pool_3_0:: total_size_property ( & f) )
342+ . add_p ( pool_3_1:: fs_limit_property ( & f) )
343+ . add_p ( pool_3_1:: enable_overprov_property ( & f) )
344+ . add_p ( pool_3_1:: no_alloc_space_property ( & f) )
345+ . add_p ( pool_3_8:: metadata_version_property ( & f) )
346+ . add_p ( pool_3_8:: free_token_slots_property ( & f) )
347+ . add_p ( pool_3_8:: volume_key_loaded_property ( & f) ) ,
313348 ) ;
314349
315350 let path = object_path. get_name ( ) . to_owned ( ) ;
@@ -459,6 +494,24 @@ pub fn get_pool_properties(
459494 consts:: POOL_METADATA_VERSION_PROP => shared:: pool_metadata_version( pool) ,
460495 consts:: POOL_FREE_TOKEN_SLOTS_PROP => shared:: pool_free_token_slots( pool) ,
461496 consts:: POOL_VOLUME_KEY_LOADED => shared:: pool_volume_key_loaded( pool, pool_uuid)
497+ } ,
498+ consts:: POOL_INTERFACE_NAME_3_9 => {
499+ consts:: POOL_NAME_PROP => shared:: pool_name_prop( pool_name) ,
500+ consts:: POOL_UUID_PROP => uuid_to_string!( pool_uuid) ,
501+ consts:: POOL_ENCRYPTED_PROP => shared:: pool_enc_prop( pool) ,
502+ consts:: POOL_AVAIL_ACTIONS_PROP => shared:: pool_avail_actions_prop( pool) ,
503+ consts:: POOL_KEY_DESCS_PROP => shared:: pool_key_descs_prop( pool) ,
504+ consts:: POOL_CLEVIS_INFOS_PROP => shared:: pool_clevis_infos_prop( pool) ,
505+ consts:: POOL_HAS_CACHE_PROP => shared:: pool_has_cache_prop( pool) ,
506+ consts:: POOL_ALLOC_SIZE_PROP => shared:: pool_allocated_size( pool) ,
507+ consts:: POOL_TOTAL_USED_PROP => shared:: pool_used_size( pool) ,
508+ consts:: POOL_TOTAL_SIZE_PROP => shared:: pool_total_size( pool) ,
509+ consts:: POOL_FS_LIMIT_PROP => shared:: pool_fs_limit( pool) ,
510+ consts:: POOL_OVERPROV_PROP => shared:: pool_overprov_enabled( pool) ,
511+ consts:: POOL_NO_ALLOCABLE_SPACE_PROP => shared:: pool_no_alloc_space( pool) ,
512+ consts:: POOL_METADATA_VERSION_PROP => shared:: pool_metadata_version( pool) ,
513+ consts:: POOL_FREE_TOKEN_SLOTS_PROP => shared:: pool_free_token_slots( pool) ,
514+ consts:: POOL_VOLUME_KEY_LOADED => shared:: pool_volume_key_loaded( pool, pool_uuid)
462515 }
463516 }
464517}
0 commit comments