diff --git a/confluent_server/VERSION b/confluent_server/VERSION index 9459d4ba..e173b1a0 100644 --- a/confluent_server/VERSION +++ b/confluent_server/VERSION @@ -1 +1 @@ -1.1 +1.1.post1 diff --git a/confluent_server/confluent/core.py b/confluent_server/confluent/core.py index 837fb296..8c27e360 100644 --- a/confluent_server/confluent/core.py +++ b/confluent_server/confluent/core.py @@ -117,6 +117,14 @@ noderesources = { # this is a dummy value, http or socket must handle special 'session': PluginRoute({}), }, + 'events': { + 'hardware': { + 'log': PluginRoute({ + 'pluginattrs': ['hardwaremanagement.method'], + 'default': 'ipmi', + }) + } + }, 'power': { 'state': PluginRoute({ 'pluginattrs': ['hardwaremanagement.method'], diff --git a/confluent_server/confluent/messages.py b/confluent_server/confluent/messages.py index 03175cc3..5a8c24cb 100644 --- a/confluent_server/confluent/messages.py +++ b/confluent_server/confluent/messages.py @@ -21,6 +21,13 @@ import confluent.exceptions as exc import json +valid_health_values = set([ + 'ok', + 'warning', + 'critical', + 'failed', + 'unknown', +]) def _htmlify_structure(indict): ret = "