@utils.supported_filters([])
@database.run_in_session()
@user_api.check_user_permission(
    permission.PERMISSION_LIST_METADATAS
)
@utils.wrap_to_dict(RESP_METADATA_FIELDS)
def get_os_metadata(os_id, user=None, session=None, **kwargs):
    return {'os_config': _get_os_metadata(os_id)}
get os metadatas.
dataset/ETHPy150Open openstack/compass-core/compass/db/api/metadata_holder.py/get_os_metadata