Search in sources :

Example 1 with StartupExternalDhcpCommand

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

the class BaremetalDhcpResourceBase method initialize.

@Override
public StartupCommand[] initialize() {
    StartupExternalDhcpCommand cmd = new StartupExternalDhcpCommand();
    cmd.setName(_name);
    cmd.setDataCenter(_zoneId);
    cmd.setPrivateIpAddress(_ip);
    cmd.setStorageIpAddress("");
    cmd.setVersion("");
    cmd.setGuid(_guid);
    return new StartupCommand[] { cmd };
}
Also used : StartupCommand(com.cloud.agent.api.StartupCommand) StartupExternalDhcpCommand(com.cloud.agent.api.StartupExternalDhcpCommand)

Aggregations

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