%PDF- %PDF-
| Direktori : /proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/modules/ |
| Current File : //proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/salt/modules/textfsm_mod.pyo |
�
���^c @@ s6 d Z d d l m Z d d l Z d d l Z y d d l Z e Z Wn e k
r] e Z n Xy d d l
Z
e Z Wn e k
r� e Z n Xy d d l m
Z
Wn! e k
r� d d l m
Z
n Xe j e � Z d Z d g Z d � Z d � Z d d d d
� Z d d d d d d d d e d d d � Z d S( s�
TextFSM
=======
.. versionadded:: 2018.3.0
Execution module that processes plain text and extracts data
using TextFSM templates. The output is presented in JSON serializable
data, and can be easily re-used in other modules, or directly
inside the renderer (Jinja, Mako, Genshi, etc.).
:depends: - textfsm Python library
.. note::
For Python 2/3 compatibility, it is more recommended to
install the ``jtextfsm`` library: ``pip install jtextfsm``.
i ( t absolute_importN( t fopent textfsmt *c C@ s t r
t St d f S( sB
Only load this execution module if TextFSM is installed.
sJ The textfsm execution module failed to load: requires the textfsm library.( t HAS_TEXTFSMt __virtualname__t False( ( ( s<