> Network network = getOrCreateNetwork(templateOptions,
> sharedResourceName);
> - getOrCreateFirewalls(templateOptions, network,
> firewallTagNamingConvention.get(group));
> + // add firewalls *only* if the template options don't contain explicit
> network
> + if (templateOptions.network() == null) {
But with this change, the following code that is working now, will stop
working, right?
```java
Template template = compute.templateBuilder().options(
compute.tempalteOptions()
.networks("foo")
.inboundPorts(22, 80)
).build();
```
---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs-google/pull/172/files/a083442f462a4b5dcc0c9dabfcca8a181b8e2889#r72950604