%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/states/ |
| Current File : //proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/states/netacl.pyc |
�
���^c @@ sL d Z d d l m Z m Z m Z d d l Z e j e � Z y: d d l Z d d l
Z d d l Z d d l Z e
Z Wn e k
r� e Z n Xd d l Z d Z d � Z e d e e e e e e
d e e
e e e d � Z e e e
d e e e e e e e
d e e
e d � Z e e
d e e e e e e e
d e e
e d
� Z d S( u�
Network ACL
===========
Manage the firewall configuration on the network device managed through NAPALM.
The firewall configuration is generated by Capirca_.
.. _Capirca: https://github.com/google/capirca
.. versionadded:: 2017.7.0
:codeauthor: Mircea Ulinic <mircea@cloudflare.com>
:maturity: new
:depends: capirca, napalm
:platform: unix
Dependencies
------------
Capirca
~~~~~~~
To install Capirca, execute: ``pip install capirca``.
NAPALM
~~~~~~
To be able to load configuration on network devices,
it requires NAPALM_ library to be installed: ``pip install napalm``.
Please check Installation_ for complete details.
.. _NAPALM: https://napalm.readthedocs.io
.. _Installation: https://napalm.readthedocs.io/en/latest/installation.html
i ( t absolute_importt print_functiont unicode_literalsNu netaclc C@ s3 t r% t j j j t t t � r% t St d f Sd S( u7
This module requires both NAPALM and Capirca.
uU The netacl state cannot be loaded: Please install capirca and napalm.N( t HAS_CAPIRCAt saltt utilst napalmt virtualt __opts__t __virtualname__t __file__t False( ( ( s6 /usr/lib/python2.7/site-packages/salt/states/netacl.pyt __virtual__F s !u aclu %Y/%m/%dc ! K@ s� t j j j | � } t d p"