def __ipv4_quad(value):
 return (salt.utils.validate.net.ipv4_addr(value), value, 'dotted IPv4 address')

def __ipv4_quad ( value ) : return ( salt . utils . validate . net . ipv4_addr ( value ) , value , 'dotted IPv4 address' )
validate an ipv4 address .