Search in sources :

Example 1 with StartupNiciraNvpCommand

use of com.cloud.legacymodel.communication.command.startup.StartupNiciraNvpCommand in project cosmic by MissionCriticalCloud.

the class NiciraNvpResource method initialize.

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

Aggregations

StartupCommand (com.cloud.legacymodel.communication.command.startup.StartupCommand)1 StartupNiciraNvpCommand (com.cloud.legacymodel.communication.command.startup.StartupNiciraNvpCommand)1