A few cosmetic changes in logging
This commit is contained in:
@ -121,4 +121,6 @@ class Validator(object):
|
||||
if not rv:
|
||||
ret_rv = False
|
||||
|
||||
if ret_rv:
|
||||
self.logger.debug("Semantics correctly validated")
|
||||
return ret_rv, ret_msgs
|
||||
|
@ -40,7 +40,6 @@ def validate_bridgedomains(yaml):
|
||||
if not 'bridgedomains' in yaml:
|
||||
return result, msgs
|
||||
|
||||
logger.debug("Validating bridgedomains...")
|
||||
for ifname, iface in yaml['bridgedomains'].items():
|
||||
logger.debug("bridgedomain %s" % iface)
|
||||
bd_mtu = 1500
|
||||
|
@ -38,7 +38,6 @@ def validate_loopbacks(yaml):
|
||||
if not 'loopbacks' in yaml:
|
||||
return result, msgs
|
||||
|
||||
logger.debug("Validating loopbacks...")
|
||||
for ifname, iface in yaml['loopbacks'].items():
|
||||
logger.debug("loopback %s" % iface)
|
||||
if 'addresses' in iface and not 'lcp' in iface:
|
||||
|
Reference in New Issue
Block a user