Search in sources :

Example 1 with AssociateAsaWithLogicalEdgeFirewallCommand

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

the class CiscoVnmcElement method associateAsaWithLogicalEdgeFirewall.

private boolean associateAsaWithLogicalEdgeFirewall(long vlanId, String asaMgmtIp, long hostId) {
    AssociateAsaWithLogicalEdgeFirewallCommand cmd = new AssociateAsaWithLogicalEdgeFirewallCommand(vlanId, asaMgmtIp);
    Answer answer = _agentMgr.easySend(hostId, cmd);
    return answer.getResult();
}
Also used : Answer(com.cloud.agent.api.Answer) AssociateAsaWithLogicalEdgeFirewallCommand(com.cloud.agent.api.AssociateAsaWithLogicalEdgeFirewallCommand)

Aggregations

Answer (com.cloud.agent.api.Answer)1 AssociateAsaWithLogicalEdgeFirewallCommand (com.cloud.agent.api.AssociateAsaWithLogicalEdgeFirewallCommand)1