52 output <<
"BaseSubSystemControllerConfig { " << std::endl
53 <<
"service_timeout_ms: " <<
c.service_timeout_ms << std::endl
54 <<
"call_timeout_ms: " <<
c.call_timeout_ms << std::endl
55 <<
"subsystem_namespace: " <<
c.subsystem_namespace << std::endl
56 <<
"full_subsystem_required: " <<
c.full_subsystem_required << std::endl
57 <<
"unmanaged_required_nodes: [ " << std::endl;
59 for (
auto node :
c.unmanaged_required_nodes)
60 output << node <<
" ";
62 output <<
"] " << std::endl <<
"required_subsystem_nodes: [ ";
64 for (
auto node :
c.required_subsystem_nodes)
65 output << node <<
" ";
67 output <<
"] " << std::endl
Stuct containing the algorithm configuration values for the BaseSubsystemController.
int service_timeout_ms
Timeout in ms for service availability.
std::vector< std::string > required_subsystem_nodes
List of nodes to consider required and who's failure shall result in system shutdown.
bool full_subsystem_required
If this flag is true then all nodes under subsystem_namespace are treated as required in addition to ...
std::string subsystem_namespace
Node Namespace. Any node under this namespace shall have its lifecycle managed by this controller.
int call_timeout_ms
Timeout in ms for service calls.
friend std::ostream & operator<<(std::ostream &output, const BaseSubSystemControllerConfig &c)
std::vector< std::string > unmanaged_required_nodes
List of nodes which will not be directly managed by this subsystem controller.