use of org.onosproject.drivers.fujitsu.behaviour.VoltNeConfig in project onos by opennetworkinglab.
the class VoltGetAllCommand method doExecute.
@Override
protected void doExecute() {
DriverService service = get(DriverService.class);
deviceId = DeviceId.deviceId(uri);
DriverHandler h = service.createHandler(deviceId);
VoltNeConfig volt = h.behaviour(VoltNeConfig.class);
String reply = volt.getAll();
if (reply != null) {
print("%s", reply);
} else {
print("No reply from %s", deviceId.toString());
}
}
Aggregations