use of org.onosproject.ui.impl.topo.model.UiSharedTopologyModel in project onos by opennetworkinglab.
the class UiCacheHostsCommand method doExecute.
@Override
protected void doExecute() {
UiSharedTopologyModel model = get(UiSharedTopologyModel.class);
sorted(model.getHosts()).forEach(h -> print("%s", h));
}
use of org.onosproject.ui.impl.topo.model.UiSharedTopologyModel in project onos by opennetworkinglab.
the class UiCacheMembersCommand method doExecute.
@Override
protected void doExecute() {
UiSharedTopologyModel model = get(UiSharedTopologyModel.class);
// note: getClusterMembers() returns an already sorted list...
model.getClusterMembers().forEach(m -> print("%s", m));
}
use of org.onosproject.ui.impl.topo.model.UiSharedTopologyModel in project onos by opennetworkinglab.
the class UiCacheDevicesCommand method doExecute.
@Override
protected void doExecute() {
UiSharedTopologyModel model = get(UiSharedTopologyModel.class);
sorted(model.getDevices()).forEach(d -> print("%s", d));
}
use of org.onosproject.ui.impl.topo.model.UiSharedTopologyModel in project onos by opennetworkinglab.
the class UiCacheLinksCommand method doExecute.
@Override
protected void doExecute() {
UiSharedTopologyModel model = get(UiSharedTopologyModel.class);
sorted(model.getDeviceLinks()).forEach(l -> print("%s", l));
}
use of org.onosproject.ui.impl.topo.model.UiSharedTopologyModel in project onos by opennetworkinglab.
the class UiCacheRegionsCommand method doExecute.
@Override
protected void doExecute() {
UiSharedTopologyModel model = get(UiSharedTopologyModel.class);
print("%s", model.getNullRegion());
sorted(model.getRegions()).forEach(r -> print("%s", r));
}
Aggregations