Need to check faucet.yaml exists.
@@ -87,6 +87,7 @@ class Parser:
def clear_mirrors(self, config_file):
faucet_conf = self._read_faucet_conf(config_file)
+ if faucet_conf:
dps = faucet_conf.get('dps', None)
if dps:
for switch in dps:
