use of org.onosproject.store.service.MapInfo in project onos by opennetworkinglab.
the class MapsListCommand method doExecute.
@Override
protected void doExecute() {
StorageAdminService storageAdminService = get(StorageAdminService.class);
List<MapInfo> mapInfo = storageAdminService.getMapInfo();
if (outputJson()) {
print("%s", json(mapInfo));
} else {
displayMaps(mapInfo);
}
}
Aggregations