nvflare.ha.overseer.utils module

check_integrity(privilege_file)[source]
get_system_state()[source]
load_privilege()[source]
promote_sp(sp)[source]
set_system_state(state)[source]
simple_PSP_policy(incoming_sp, now)[source]

Find the primary SP (PSP).

If there is no PSP or current PSP timeout, choose one without heartbeat timeout.

update_sp_state(project, now, heartbeat_timeout=10)[source]