Search in sources :

Example 1 with StartupExternalFirewallCommand

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

the class CiscoVnmcResource method initialize.

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

Example 2 with StartupExternalFirewallCommand

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

the class JuniperSrxResource method initialize.

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

Example 3 with StartupExternalFirewallCommand

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

the class PaloAltoResource method initialize.

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

Aggregations

StartupCommand (com.cloud.agent.api.StartupCommand)3 StartupExternalFirewallCommand (com.cloud.agent.api.StartupExternalFirewallCommand)3