Files
napalm-fortios/utils/junos_views.py
T
Elisa Jasinska 4a8884c91a added junos facts() and interfaces()
and basic bgp and lldp neigh tables/views (<- untested)
2015-05-06 17:16:28 +02:00

9 lines
183 B
Python
Executable File

"""
Load tables/views
"""
from jnpr.junos.factory import loadyaml
from os.path import splitext
_YAML_ = splitext(__file__)[0] + '.yml'
print _YAML_
globals().update(loadyaml(_YAML_))