Search in sources :

Example 1 with StartupNiciraNvpCommand

use of com.cloud.agent.api.StartupNiciraNvpCommand in project cloudstack by apache.

the class NiciraNvpResource method initialize.

@Override
public StartupCommand[] initialize() {
    final StartupNiciraNvpCommand sc = new StartupNiciraNvpCommand();
    sc.setGuid(guid);
    sc.setName(name);
    sc.setDataCenter(zoneId);
    sc.setPod("");
    sc.setPrivateIpAddress("");
    sc.setStorageIpAddress("");
    sc.setVersion(NiciraNvpResource.class.getPackage().getImplementationVersion());
    return new StartupCommand[] { sc };
}
Also used : StartupCommand(com.cloud.agent.api.StartupCommand) StartupNiciraNvpCommand(com.cloud.agent.api.StartupNiciraNvpCommand)

Aggregations

StartupCommand (com.cloud.agent.api.StartupCommand)1 StartupNiciraNvpCommand (com.cloud.agent.api.StartupNiciraNvpCommand)1