%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python2.7/site-packages/salt/matchers/
Upload File :
Create Path :
Current File : //lib/python2.7/site-packages/salt/matchers/ipcidr_match.pyc

�
���^c@@s�dZddlmZmZmZddlZddlmZddlZ	ej
rbddlZnddlj
jZeje�Zdd�ZdS(u%
This is the default ipcidr matcher.
i(tabsolute_importtprint_functiontunicode_literalsN(tsixcC@s�|st}nytj|�}Wn5ytj|�}WqZtjd|�gSXnXdj|j�}|d}||kr�t}nSt	|tj
tjf�r�tj
|�||k}ntjjj|||�}|S(u6
    Matches based on IP address or CIDR notation
    uInvalid IP/CIDR target: %suipv{0}ugrains(t__opts__t	ipaddresst
ip_addresst
ip_networktlogterrortformattversiontFalset
isinstancetIPv4AddresstIPv6AddressRt	text_typetsalttutilstnetworkt	in_subnet(ttgttoptstprototgrainstmatch((s>/usr/lib/python2.7/site-packages/salt/matchers/ipcidr_match.pyRs$		
	(t__doc__t
__future__RRRtloggingtsalt.extRtsalt.utils.networkRtPY3Rtsalt.ext.ipaddresstextt	getLoggert__name__RtNoneR(((s>/usr/lib/python2.7/site-packages/salt/matchers/ipcidr_match.pyt<module>s	

Zerion Mini Shell 1.0