Change-Id: I416e39f80ede88365b748a2c5c4d46f439a79dd1
Issue-ID: VVP-313
Signed-off-by: Ezhilarasi <ezhrajam@in.ibm.com>
networks.append(k)
for k, v in yml["resources"].items():
- if not has_properties(v) and v.get("type") != "OS::Neutron::Subnet":
- continue
network_prop = v.get("properties", {}).get("network", {}).get("get_resource")
-
- if not network_prop:
+ if (
+ not has_properties(v) and v.get("type") != "OS::Neutron::Subnet"
+ and not network_prop
+ ):
continue
x = 0
for network in networks: