Search in sources :

Example 1 with StartupExternalLoadBalancerCommand

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

the class F5BigIpResource method initialize.

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

Example 2 with StartupExternalLoadBalancerCommand

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

the class NetscalerResource method initialize.

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

Aggregations

StartupCommand (com.cloud.agent.api.StartupCommand)2 StartupExternalLoadBalancerCommand (com.cloud.agent.api.StartupExternalLoadBalancerCommand)2