%PDF- %PDF-
| Direktori : /proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/self/root/proc/3522530/root/usr/lib/python2.7/site-packages/salt/modules/napalm_netacl.pyc |
�
���^c @@ s� 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 d l m Z d Z d g Z d � Z d � Z e e d e e e
e e e
d
e e
e e e d � � Z e e e e
d e e e
e e e e
d
e e
e d � � Z e e e
d e e e
e e e e
d
e e
e d
� � Z d e e d � Z d e e d � Z d S( u�
NAPALM ACL
==========
Generate and load ACL (firewall) configuration on network devices.
.. versionadded:: 2017.7.0
:codeauthor: Mircea Ulinic <mircea@cloudflare.com>
:maturity: new
:depends: capirca, napalm
:platform: unix
Dependencies
------------
The firewall configuration is generated by Capirca_.
.. _Capirca: https://github.com/google/capirca
To install Capirca, execute: ``pip install capirca``.
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 unicode_literalst print_functionN( t proxy_napalm_wrapu netaclu *c 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.
uc The netacl (napalm_acl) module cannot be loaded: Please install capirca and napalm.N( t HAS_CAPIRCAt saltt utilst napalmt virtualt __opts__t __virtualname__t __file__t False( ( ( s>