Addressing some review comments regarding component configuration. Fixed 'resour…
…ce' to 'resources'. Doh! Change-Id: I69b32948aa5caf12a357f877efa8dcbf87c7a9e6
Showing
6 changed files
with
2 additions
and
11 deletions
... | @@ -123,13 +123,11 @@ public class NullLinkProvider extends AbstractProvider implements LinkProvider { | ... | @@ -123,13 +123,11 @@ public class NullLinkProvider extends AbstractProvider implements LinkProvider { |
123 | Executors.newScheduledThreadPool(THREADS, groupedThreads("onos/null", "link-driver-%d")); | 123 | Executors.newScheduledThreadPool(THREADS, groupedThreads("onos/null", "link-driver-%d")); |
124 | 124 | ||
125 | // For flicker = true, duration between events in msec. | 125 | // For flicker = true, duration between events in msec. |
126 | - @Property(name = "eventRate", intValue = 0, label = "Duration between Link Event") | 126 | + @Property(name = "eventRate", intValue = DEFAULT_RATE, label = "Duration between Link Event") |
127 | private int eventRate = DEFAULT_RATE; | 127 | private int eventRate = DEFAULT_RATE; |
128 | 128 | ||
129 | // topology configuration file | 129 | // topology configuration file |
130 | - @Property(name = "cfgFile", | 130 | + @Property(name = "cfgFile", value = CFG_PATH, label = "Topology file location") |
131 | - value = "/opt/onos/apache-karaf-3.0.2/etc/linkGraph.cfg", | ||
132 | - label = "Topology file location") | ||
133 | private String cfgFile = CFG_PATH; | 131 | private String cfgFile = CFG_PATH; |
134 | 132 | ||
135 | // flag checked to create a LinkDriver, if rate is non-zero. | 133 | // flag checked to create a LinkDriver, if rate is non-zero. | ... | ... |
-
Please register or login to post a comment