commit | fba2857430e7b4a06c67fd2e8d68764de121f0cc | [log] [tgz] |
---|---|---|
author | Thomas Vachuska <tom@onlab.us> | Wed Mar 25 18:48:59 2015 -0700 |
committer | Ray Milkey <ray@onlab.us> | Fri Mar 27 21:54:36 2015 +0000 |
tree | ef413156cbad2c2ec70628837a88588c18e26018 | |
parent | db49800f19f8200d3ca5604075f7310eace1ce6b [diff] |
Enhanced app CLI. apps now support -a|--active option to show only activated apps. app command now takes a list of app ids to allow single command to activate/deactivate/uninstall multiple apps Deprecated old CLI commands which were already not included in the run-time config. Consolidated intent & topology metrics to use the same app id since they are bundled into the same app. Added 'reinstall' and 'reinstall!' option to onos-app tool. Change-Id: I1406843bf608acf8e7d969a547b929d056e77067
diff --git a/apps/metrics/intent/src/main/java/org/onosproject/metrics/intent/IntentMetrics.java b/apps/metrics/intent/src/main/java/org/onosproject/metrics/intent/IntentMetrics.java index 237fd17..21878ca 100644 --- a/apps/metrics/intent/src/main/java/org/onosproject/metrics/intent/IntentMetrics.java +++ b/apps/metrics/intent/src/main/java/org/onosproject/metrics/intent/IntentMetrics.java
@@ -88,8 +88,7 @@ @Activate protected void activate() { - appId = - coreService.registerApplication("org.onosproject.metrics.intent"); + appId = coreService.registerApplication("org.onosproject.metrics"); clear(); registerMetrics();
diff --git a/apps/metrics/topology/src/main/java/org/onosproject/metrics/topology/TopologyMetrics.java b/apps/metrics/topology/src/main/java/org/onosproject/metrics/topology/TopologyMetrics.java index a2f0d5c..ec02c3b 100644 --- a/apps/metrics/topology/src/main/java/org/onosproject/metrics/topology/TopologyMetrics.java +++ b/apps/metrics/topology/src/main/java/org/onosproject/metrics/topology/TopologyMetrics.java
@@ -108,8 +108,7 @@ @Activate protected void activate() { - appId = - coreService.registerApplication("org.onosproject.metrics.topology"); + appId = coreService.registerApplication("org.onosproject.metrics"); clear(); registerMetrics();