Thomas Vachuska
Committed by Gerrit Code Review

Providing a work-around for a bug in the gossip stores, which prevents annotatio…

…ns from sticking initially.

Change-Id: I791a0bb3747865604f4d7edba5978a49312ebf7b
...@@ -154,6 +154,10 @@ class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider { ...@@ -154,6 +154,10 @@ class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider {
154 prepareForDeviceEvents(nodes.size()); 154 prepareForDeviceEvents(nodes.size());
155 for (JsonNode node : nodes) { 155 for (JsonNode node : nodes) {
156 parseDevice(node); 156 parseDevice(node);
157 +
158 + // FIXME: hack to make sure device attributes take
159 + // This will be fixed when GossipDeviceStore uses ECM
160 + parseDevice(node);
157 } 161 }
158 } 162 }
159 } finally { 163 } finally {
...@@ -237,7 +241,10 @@ class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider { ...@@ -237,7 +241,10 @@ class ConfigProvider implements DeviceProvider, LinkProvider, HostProvider {
237 if (nodes != null) { 241 if (nodes != null) {
238 for (JsonNode node : nodes) { 242 for (JsonNode node : nodes) {
239 parseHost(node); 243 parseHost(node);
240 - parseHost(node); // FIXME: hack to make sure host positions take 244 +
245 + // FIXME: hack to make sure host attributes take
246 + // This will be fixed when GossipHostStore uses ECM
247 + parseHost(node);
241 } 248 }
242 } 249 }
243 } finally { 250 } finally {
......