use of org.apache.cloudstack.network.opendaylight.agent.commands.StartupOpenDaylightControllerCommand in project cloudstack by apache.
the class OpenDaylightControllerResource method initialize.
@Override
public StartupCommand[] initialize() {
StartupOpenDaylightControllerCommand sc = new StartupOpenDaylightControllerCommand();
sc.setGuid((String) configuration.get("guid"));
sc.setName(getName());
sc.setDataCenter((String) configuration.get("zoneId"));
sc.setPod("");
sc.setPrivateIpAddress("");
sc.setStorageIpAddress("");
sc.setVersion(OpenDaylightControllerResource.class.getPackage().getImplementationVersion());
return new StartupCommand[] { sc };
}
Aggregations