use of org.opendaylight.yang.gen.v1.urn.opendaylight.genius.srm.rpcs.rev170711.ReinstallInputBuilder in project genius by opendaylight.
the class ReinstallCommand method getInput.
private ReinstallInput getInput() {
Class<? extends EntityNameBase> entityName = SrmCliUtils.getEntityName(entityType, name);
if (entityName == null) {
session.getConsole().println(SrmCliUtils.getNameHelp(entityType));
return null;
}
ReinstallInputBuilder inputBuilder = new ReinstallInputBuilder();
inputBuilder.setEntityType(entityType);
inputBuilder.setEntityName(entityName);
return inputBuilder.build();
}
Aggregations