nvflare.fuel.f3.cellnet.net_agent module
-
class NetAgent(cell, change_root_cb=None, agent_closed_cb=None)[source]
Bases: object
-
add_subnet_monitor(monitor: SubnetMonitor)[source]
-
add_to_subnet(subnet_id: str, monitor_fqcn: str = 'server')[source]
-
change_root(new_root_url: str)[source]
-
close()[source]
-
delete_subnet_monitor(subnet_id: str)[source]
-
get_comm_config(target: str)[source]
-
get_config_vars(target: str)[source]
-
get_connectors(target_fqcn: str) -> (<class 'dict'>, <class 'dict'>)[source]
-
get_msg_stats_table(target: str, mode: str)[source]
-
get_peers(target_fqcn: str)[source]
-
get_pool_list(target: str)[source]
-
get_process_info(target: str)[source]
-
get_route_info(target_fqcn: str) -> (<class 'dict'>, <class 'dict'>)[source]
-
get_url_use(url) → dict[source]
-
request_cells_info() -> (<class 'str'>, typing.List[str])[source]
-
show_pool(target: str, pool_name: str, mode: str)[source]
-
speed_test(from_fqcn: str, to_fqcn: str, num_tries, payload_size) → dict[source]
-
start_bulk_test(targets: list, size: int)[source]
-
start_route(from_fqcn: str, target_fqcn: str) -> (<class 'str'>, <class 'dict'>, <class 'dict'>)[source]
-
start_stress_test(targets: list, num_rounds=10, timeout=5.0)[source]
-
stop()[source]
-
stop_cell(target: str) → str[source]
-
stop_subnet(monitor: SubnetMonitor)[source]
-
class SubnetMonitor(subnet_id: str, member_cells: List[str], trouble_alert_threshold: float)[source]
Bases: ABC
-
member_offline(member_cell_fqcn: str)[source]
-
member_online(member_cell_fqcn: str)[source]
-
put_member_offline(member: _Member)[source]
-
put_member_online(member: _Member)[source]
-
stop_subnet()[source]