> for (Integer port : templateOptions.getInboundPorts()) {
> - tcpRule.addPort(port);
> - udpRule.addPort(port);
> + String name = naming.name(port);
> + ImmutableSet<Firewall.Rule> rules =
> ImmutableSet.of(Firewall.Rule.permitTcpRule(port),
> Firewall.Rule.permitUdpRule(port));
> + FirewallOptions firewallOptions = new FirewallOptions()
Wait until inside the `if (firewall == null)` bit before building the options?
---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/33/files#r7512823