Added firewallrule as a valid response for async jobs

This commit is contained in:
Andrei Savu 2012-03-15 13:07:02 +02:00
parent 2910fb2235
commit 4ace5c69ba
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ import org.jclouds.cloudstack.domain.Account;
import org.jclouds.cloudstack.domain.AsyncJob;
import org.jclouds.cloudstack.domain.AsyncJob.Builder;
import org.jclouds.cloudstack.domain.AsyncJobError;
import org.jclouds.cloudstack.domain.FirewallRule;
import org.jclouds.cloudstack.domain.IPForwardingRule;
import org.jclouds.cloudstack.domain.LoadBalancerRule;
import org.jclouds.cloudstack.domain.Network;
@ -72,6 +73,7 @@ public class ParseTypedAsyncJob implements Function<AsyncJob<Map<String, JsonBal
.put("securitygroup", SecurityGroup.class)
.put("portforwardingrule", PortForwardingRule.class)
.put("ipforwardingrule", IPForwardingRule.class)
.put("firewallrule", FirewallRule.class)
.put("network", Network.class)
.put("ipaddress", PublicIPAddress.class)
.put("virtualmachine", VirtualMachine.class)