use of org.onosproject.drivers.fujitsu.behaviour.VoltFwdlConfig in project onos by opennetworkinglab.
the class VoltOndemandFwdlCommand method doExecute.
@Override
protected void doExecute() {
DriverService service = get(DriverService.class);
deviceId = DeviceId.deviceId(uri);
DriverHandler h = service.createHandler(deviceId);
VoltFwdlConfig volt = h.behaviour(VoltFwdlConfig.class);
String reply = volt.upgradeFirmwareOndemand(target);
if (reply != null) {
print("%s", reply);
} else {
print("ONU firmware-upgrade failure %s", deviceId.toString());
}
}
Aggregations