+ def check_ext_net(self):
+ """ checks if external network exists """
+ ext_net = snaps_utils.get_ext_net_name(self.os_creds)
+ if ext_net:
+ LOGGER.info("External network found: %s", ext_net)
+ else:
+ raise Exception("ERROR: No external networks in the deployment.")
+