use of org.onosproject.net.behaviour.ConfigSetter in project onos by opennetworkinglab.
the class NetconfRpcTestCommand method doExecute.
@Override
protected void doExecute() {
DriverService service = get(DriverService.class);
deviceId = DeviceId.deviceId(uri);
DriverHandler h = service.createHandler(deviceId);
ConfigSetter config = h.behaviour(ConfigSetter.class);
checkNotNull(cfgFile, "Configuration file cannot be null");
print(config.setConfiguration(cfgFile));
}
Aggregations