commit | d5ec9e992f500ab3b52b3273282e75829837ab43 | [log] [tgz] |
---|---|---|
author | Saurav Das <sauravdas@alumni.stanford.edu> | Tue Jan 17 10:40:18 2017 -0800 |
committer | Ray Milkey <ray@onlab.us> | Tue Jan 17 22:41:43 2017 +0000 |
tree | 243eef73c3e5b5f18d1159726650dadad81cb088 | |
parent | 77daee891b268bd92d52fc17df328e9c211d3c63 [diff] |
Adding to the 'devices' cli command an output that displays the local connectivity of a device. For example, "id=of:0000000000000203, available=true, local-status=connected 18m7s ago, role=STANDBY, ..." Also increasing the resolution of the TimeAgo utility. Change-Id: Ie1b89bd193552e0edd38a9ca28c5ce99b1d27c19
diff --git a/protocols/pcep/ctl/src/test/java/org/onosproject/pcelabelstore/util/MockDeviceService.java b/protocols/pcep/ctl/src/test/java/org/onosproject/pcelabelstore/util/MockDeviceService.java index b8c5017..0917eb2 100644 --- a/protocols/pcep/ctl/src/test/java/org/onosproject/pcelabelstore/util/MockDeviceService.java +++ b/protocols/pcep/ctl/src/test/java/org/onosproject/pcelabelstore/util/MockDeviceService.java
@@ -145,4 +145,10 @@ // TODO Auto-generated method stub return false; } + + @Override + public String localStatus(DeviceId deviceId) { + // TODO Auto-generated method stub + return null; + } }