def validate_post_plugin_load():
 if (('dhcp_agents_per_network' in cfg.CONF) and (cfg.CONF.dhcp_agents_per_network <= 0)):
  msg = (_("dhcp_agents_per_network must be >= 1. '%s' is invalid.") % cfg.CONF.dhcp_agents_per_network)
  return msg

def validate_post_plugin_load ( ) : if ( ( 'dhcp_agents_per_network' in cfg . CONF ) and ( cfg . CONF . dhcp_agents_per_network <= 0 ) ) : msg = ( _ ( "dhcp_agents_per_network must be >= 1. '%s' is invalid." ) % cfg . CONF . dhcp_agents_per_network ) return msg
checks if the configuration variables are valid .