commit | 1a100a98f4029deadbd87aadfeb3a93f39470481 | [log] [tgz] |
---|---|---|
author | sisubram <sisubram@partner.ciena.com> | Wed Aug 09 10:26:00 2017 +0000 |
committer | Thomas Vachuska <tom@opennetworking.org> | Mon Aug 14 20:45:19 2017 +0000 |
tree | 299bc75c05dc14a3e73f8d4c31c1e8ee088562fb | |
parent | 95c84ed91c437c26d24c1ca97d59721bb4c4a645 [diff] [blame] |
[ONOS-6270] linkWeightFunction was set as 'geoDistance', it is still using default linkWeightFunction 'hopCount' after restart Change-Id: I925869e88251465a65a7cc592c094cdbe2a4f0a4
diff --git a/core/store/dist/src/main/java/org/onosproject/store/topology/impl/DistributedTopologyStore.java b/core/store/dist/src/main/java/org/onosproject/store/topology/impl/DistributedTopologyStore.java index 7f39105..c59d30d 100644 --- a/core/store/dist/src/main/java/org/onosproject/store/topology/impl/DistributedTopologyStore.java +++ b/core/store/dist/src/main/java/org/onosproject/store/topology/impl/DistributedTopologyStore.java
@@ -134,8 +134,9 @@ new InternalBroadcastPointListener(); @Activate - protected void activate() { + protected void activate(ComponentContext context) { configService.registerProperties(getClass()); + modified(context); KryoNamespace.Builder hostSerializer = KryoNamespace.newBuilder() .register(KryoNamespaces.API);