From 055af555f8b85818eec7b3143341c6c0474a4f9d Mon Sep 17 00:00:00 2001 From: Alexey Weyl Date: Thu, 7 Apr 2016 14:00:39 +0300 Subject: [PATCH] state manager changes Change-Id: I564d4a406b624b84495bdc91c664d499d71915dc --- etc/vitrage/states_plugins/static_physical.yaml | 6 ++++++ vitrage/entity_graph/states/state_manager.py | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 etc/vitrage/states_plugins/static_physical.yaml diff --git a/etc/vitrage/states_plugins/static_physical.yaml b/etc/vitrage/states_plugins/static_physical.yaml new file mode 100644 index 000000000..172b912ec --- /dev/null +++ b/etc/vitrage/states_plugins/static_physical.yaml @@ -0,0 +1,6 @@ +category: RESOURCE +states: + - normalized state: + name: UNRECOGNIZED + priority: 10 + original states: \ No newline at end of file diff --git a/vitrage/entity_graph/states/state_manager.py b/vitrage/entity_graph/states/state_manager.py index 4516740ee..a28bfbd11 100644 --- a/vitrage/entity_graph/states/state_manager.py +++ b/vitrage/entity_graph/states/state_manager.py @@ -222,8 +222,8 @@ class StateManager(object): for datasource_type in datasource_types: if datasource_type not in datasources_with_state_conf: - LOG.error("No state configuration file for: %s", - datasource_type) + LOG.info("No state configuration file for: %s", + datasource_type) @staticmethod def _get_updated_property(new_vertex, graph_vertex, prop):