summaryrefslogtreecommitdiff
path: root/net/py-junos-eznc
diff options
context:
space:
mode:
authorhe <he@pkgsrc.org>2014-09-03 07:10:25 +0000
committerhe <he@pkgsrc.org>2014-09-03 07:10:25 +0000
commit5889ec58a145e1c5a05d494f6c43e4ad224aa5b6 (patch)
tree45124503e60d9a4975a3ca00794b3dc9e852a836 /net/py-junos-eznc
parente01cd8955f497920c36e614ff68cd03a81c120cb (diff)
downloadpkgsrc-5889ec58a145e1c5a05d494f6c43e4ad224aa5b6.tar.gz
Add Junos PyEZ as py-junos-eznc.
Junos PyEZ is a Python library to remotely manage/automate Junos devices. Junos PyEZ is designed to provide the same capabilties as a user would have on the Junos CLI, but in an environment built for automation tasks. These capabiltieis include, but are not limited to: * Remote connectivty and management of Junos devices via NETCONF * Provide "facts" about the device such as software-version, serial-number, etc. * Retrieve "operational" or "run-state" information as Tables/Views * Retrieve configuration information as Tables/Views * Make configuration changes in unstructured and structured ways * Provide common utilities for tasks such as secure copy of files and software updates
Diffstat (limited to 'net/py-junos-eznc')
-rw-r--r--net/py-junos-eznc/DESCR15
-rw-r--r--net/py-junos-eznc/Makefile25
-rw-r--r--net/py-junos-eznc/PLIST183
-rw-r--r--net/py-junos-eznc/distinfo5
4 files changed, 228 insertions, 0 deletions
diff --git a/net/py-junos-eznc/DESCR b/net/py-junos-eznc/DESCR
new file mode 100644
index 00000000000..aa89bdd834c
--- /dev/null
+++ b/net/py-junos-eznc/DESCR
@@ -0,0 +1,15 @@
+Junos PyEZ is a Python library to remotely manage/automate Junos devices.
+
+Junos PyEZ is designed to provide the same capabilties as a user
+would have on the Junos CLI, but in an environment built for
+automation tasks. These capabiltieis include, but are not limited
+to:
+
+ * Remote connectivty and management of Junos devices via NETCONF
+ * Provide "facts" about the device such as software-version,
+ serial-number, etc.
+ * Retrieve "operational" or "run-state" information as Tables/Views
+ * Retrieve configuration information as Tables/Views
+ * Make configuration changes in unstructured and structured ways
+ * Provide common utilities for tasks such as secure copy of files
+ and software updates
diff --git a/net/py-junos-eznc/Makefile b/net/py-junos-eznc/Makefile
new file mode 100644
index 00000000000..1a5515e119b
--- /dev/null
+++ b/net/py-junos-eznc/Makefile
@@ -0,0 +1,25 @@
+# $NetBSD: Makefile,v 1.1 2014/09/03 07:10:25 he Exp $
+
+DISTNAME= junos-eznc-1.0.1
+EGG_NAME= ${DISTNAME:S/-/_/}
+PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
+CATEGORIES= net python
+MASTER_SITES= https://pypi.python.org/packages/source/j/junos-eznc/
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+HOMEPAGE= http://pypi.python.org/pypi/junos-eznc/
+COMMENT= Python library to manage JunOS devices
+LICENSE= apache-2.0
+
+PYTHON_VERSIONS_ACCEPTED= 27 26
+
+DEPENDS+= ${PYPKGPREFIX}-setuptools>0.6:../../devel/py-setuptools
+DEPENDS+= ${PYPKGPREFIX}-paramiko-[0-9]*:../../security/py-paramiko
+DEPENDS+= ${PYPKGPREFIX}-ncclient>=0.4.1:../../net/py-ncclient
+DEPENDS+= ${PYPKGPREFIX}-jinja2>2.7.1:../../textproc/py-jinja2
+DEPENDS+= ${PYPKGPREFIX}-yaml>3.10:../../textproc/py-yaml
+DEPENDS+= ${PYPKGPREFIX}-netaddr-[0-9]*:../../net/py-netaddr
+
+.include "../../lang/python/application.mk"
+.include "../../lang/python/egg.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/net/py-junos-eznc/PLIST b/net/py-junos-eznc/PLIST
new file mode 100644
index 00000000000..cac6444f4ef
--- /dev/null
+++ b/net/py-junos-eznc/PLIST
@@ -0,0 +1,183 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/03 07:10:25 he Exp $
+${PYSITELIB}/jnpr/junos/__init__.py
+${PYSITELIB}/jnpr/junos/__init__.pyc
+${PYSITELIB}/jnpr/junos/__init__.pyo
+${PYSITELIB}/jnpr/junos/cfg/__init__.py
+${PYSITELIB}/jnpr/junos/cfg/__init__.pyc
+${PYSITELIB}/jnpr/junos/cfg/__init__.pyo
+${PYSITELIB}/jnpr/junos/cfg/phyport/__init__.py
+${PYSITELIB}/jnpr/junos/cfg/phyport/__init__.pyc
+${PYSITELIB}/jnpr/junos/cfg/phyport/__init__.pyo
+${PYSITELIB}/jnpr/junos/cfg/phyport/base.py
+${PYSITELIB}/jnpr/junos/cfg/phyport/base.pyc
+${PYSITELIB}/jnpr/junos/cfg/phyport/base.pyo
+${PYSITELIB}/jnpr/junos/cfg/phyport/classic.py
+${PYSITELIB}/jnpr/junos/cfg/phyport/classic.pyc
+${PYSITELIB}/jnpr/junos/cfg/phyport/classic.pyo
+${PYSITELIB}/jnpr/junos/cfg/phyport/switch.py
+${PYSITELIB}/jnpr/junos/cfg/phyport/switch.pyc
+${PYSITELIB}/jnpr/junos/cfg/phyport/switch.pyo
+${PYSITELIB}/jnpr/junos/cfg/resource.py
+${PYSITELIB}/jnpr/junos/cfg/resource.pyc
+${PYSITELIB}/jnpr/junos/cfg/resource.pyo
+${PYSITELIB}/jnpr/junos/cfg/user.py
+${PYSITELIB}/jnpr/junos/cfg/user.pyc
+${PYSITELIB}/jnpr/junos/cfg/user.pyo
+${PYSITELIB}/jnpr/junos/cfg/user_ssh_key.py
+${PYSITELIB}/jnpr/junos/cfg/user_ssh_key.pyc
+${PYSITELIB}/jnpr/junos/cfg/user_ssh_key.pyo
+${PYSITELIB}/jnpr/junos/cfgro/__init__.py
+${PYSITELIB}/jnpr/junos/cfgro/__init__.pyc
+${PYSITELIB}/jnpr/junos/cfgro/__init__.pyo
+${PYSITELIB}/jnpr/junos/cfgro/srx.yml
+${PYSITELIB}/jnpr/junos/device.py
+${PYSITELIB}/jnpr/junos/device.pyc
+${PYSITELIB}/jnpr/junos/device.pyo
+${PYSITELIB}/jnpr/junos/exception.py
+${PYSITELIB}/jnpr/junos/exception.pyc
+${PYSITELIB}/jnpr/junos/exception.pyo
+${PYSITELIB}/jnpr/junos/factory/__init__.py
+${PYSITELIB}/jnpr/junos/factory/__init__.pyc
+${PYSITELIB}/jnpr/junos/factory/__init__.pyo
+${PYSITELIB}/jnpr/junos/factory/cfgtable.py
+${PYSITELIB}/jnpr/junos/factory/cfgtable.pyc
+${PYSITELIB}/jnpr/junos/factory/cfgtable.pyo
+${PYSITELIB}/jnpr/junos/factory/factory_cls.py
+${PYSITELIB}/jnpr/junos/factory/factory_cls.pyc
+${PYSITELIB}/jnpr/junos/factory/factory_cls.pyo
+${PYSITELIB}/jnpr/junos/factory/factory_loader.py
+${PYSITELIB}/jnpr/junos/factory/factory_loader.pyc
+${PYSITELIB}/jnpr/junos/factory/factory_loader.pyo
+${PYSITELIB}/jnpr/junos/factory/optable.py
+${PYSITELIB}/jnpr/junos/factory/optable.pyc
+${PYSITELIB}/jnpr/junos/factory/optable.pyo
+${PYSITELIB}/jnpr/junos/factory/table.py
+${PYSITELIB}/jnpr/junos/factory/table.pyc
+${PYSITELIB}/jnpr/junos/factory/table.pyo
+${PYSITELIB}/jnpr/junos/factory/to_json.py
+${PYSITELIB}/jnpr/junos/factory/to_json.pyc
+${PYSITELIB}/jnpr/junos/factory/to_json.pyo
+${PYSITELIB}/jnpr/junos/factory/view.py
+${PYSITELIB}/jnpr/junos/factory/view.pyc
+${PYSITELIB}/jnpr/junos/factory/view.pyo
+${PYSITELIB}/jnpr/junos/factory/viewfields.py
+${PYSITELIB}/jnpr/junos/factory/viewfields.pyc
+${PYSITELIB}/jnpr/junos/factory/viewfields.pyo
+${PYSITELIB}/jnpr/junos/facts/__init__.py
+${PYSITELIB}/jnpr/junos/facts/__init__.pyc
+${PYSITELIB}/jnpr/junos/facts/__init__.pyo
+${PYSITELIB}/jnpr/junos/facts/chassis.py
+${PYSITELIB}/jnpr/junos/facts/chassis.pyc
+${PYSITELIB}/jnpr/junos/facts/chassis.pyo
+${PYSITELIB}/jnpr/junos/facts/domain.py
+${PYSITELIB}/jnpr/junos/facts/domain.pyc
+${PYSITELIB}/jnpr/junos/facts/domain.pyo
+${PYSITELIB}/jnpr/junos/facts/ifd_style.py
+${PYSITELIB}/jnpr/junos/facts/ifd_style.pyc
+${PYSITELIB}/jnpr/junos/facts/ifd_style.pyo
+${PYSITELIB}/jnpr/junos/facts/personality.py
+${PYSITELIB}/jnpr/junos/facts/personality.pyc
+${PYSITELIB}/jnpr/junos/facts/personality.pyo
+${PYSITELIB}/jnpr/junos/facts/routing_engines.py
+${PYSITELIB}/jnpr/junos/facts/routing_engines.pyc
+${PYSITELIB}/jnpr/junos/facts/routing_engines.pyo
+${PYSITELIB}/jnpr/junos/facts/session.py
+${PYSITELIB}/jnpr/junos/facts/session.pyc
+${PYSITELIB}/jnpr/junos/facts/session.pyo
+${PYSITELIB}/jnpr/junos/facts/srx_cluster.py
+${PYSITELIB}/jnpr/junos/facts/srx_cluster.pyc
+${PYSITELIB}/jnpr/junos/facts/srx_cluster.pyo
+${PYSITELIB}/jnpr/junos/facts/switch_style.py
+${PYSITELIB}/jnpr/junos/facts/switch_style.pyc
+${PYSITELIB}/jnpr/junos/facts/switch_style.pyo
+${PYSITELIB}/jnpr/junos/facts/swver.py
+${PYSITELIB}/jnpr/junos/facts/swver.pyc
+${PYSITELIB}/jnpr/junos/facts/swver.pyo
+${PYSITELIB}/jnpr/junos/jxml.py
+${PYSITELIB}/jnpr/junos/jxml.pyc
+${PYSITELIB}/jnpr/junos/jxml.pyo
+${PYSITELIB}/jnpr/junos/op/__init__.py
+${PYSITELIB}/jnpr/junos/op/__init__.pyc
+${PYSITELIB}/jnpr/junos/op/__init__.pyo
+${PYSITELIB}/jnpr/junos/op/arp.py
+${PYSITELIB}/jnpr/junos/op/arp.pyc
+${PYSITELIB}/jnpr/junos/op/arp.pyo
+${PYSITELIB}/jnpr/junos/op/arp.yml
+${PYSITELIB}/jnpr/junos/op/bfd.py
+${PYSITELIB}/jnpr/junos/op/bfd.pyc
+${PYSITELIB}/jnpr/junos/op/bfd.pyo
+${PYSITELIB}/jnpr/junos/op/bfd.yml
+${PYSITELIB}/jnpr/junos/op/ethport.py
+${PYSITELIB}/jnpr/junos/op/ethport.pyc
+${PYSITELIB}/jnpr/junos/op/ethport.pyo
+${PYSITELIB}/jnpr/junos/op/ethport.yml
+${PYSITELIB}/jnpr/junos/op/fpc.py
+${PYSITELIB}/jnpr/junos/op/fpc.pyc
+${PYSITELIB}/jnpr/junos/op/fpc.pyo
+${PYSITELIB}/jnpr/junos/op/fpc.yml
+${PYSITELIB}/jnpr/junos/op/isis.py
+${PYSITELIB}/jnpr/junos/op/isis.pyc
+${PYSITELIB}/jnpr/junos/op/isis.pyo
+${PYSITELIB}/jnpr/junos/op/isis.yml
+${PYSITELIB}/jnpr/junos/op/lacp.py
+${PYSITELIB}/jnpr/junos/op/lacp.pyc
+${PYSITELIB}/jnpr/junos/op/lacp.pyo
+${PYSITELIB}/jnpr/junos/op/lacp.yml
+${PYSITELIB}/jnpr/junos/op/ldp.py
+${PYSITELIB}/jnpr/junos/op/ldp.pyc
+${PYSITELIB}/jnpr/junos/op/ldp.pyo
+${PYSITELIB}/jnpr/junos/op/ldp.yml
+${PYSITELIB}/jnpr/junos/op/lldp.py
+${PYSITELIB}/jnpr/junos/op/lldp.pyc
+${PYSITELIB}/jnpr/junos/op/lldp.pyo
+${PYSITELIB}/jnpr/junos/op/lldp.yml
+${PYSITELIB}/jnpr/junos/op/phyport.py
+${PYSITELIB}/jnpr/junos/op/phyport.pyc
+${PYSITELIB}/jnpr/junos/op/phyport.pyo
+${PYSITELIB}/jnpr/junos/op/phyport.yml
+${PYSITELIB}/jnpr/junos/op/routes.py
+${PYSITELIB}/jnpr/junos/op/routes.pyc
+${PYSITELIB}/jnpr/junos/op/routes.pyo
+${PYSITELIB}/jnpr/junos/op/routes.yml
+${PYSITELIB}/jnpr/junos/op/vlan.py
+${PYSITELIB}/jnpr/junos/op/vlan.pyc
+${PYSITELIB}/jnpr/junos/op/vlan.pyo
+${PYSITELIB}/jnpr/junos/op/vlan.yml
+${PYSITELIB}/jnpr/junos/op/xcvr.py
+${PYSITELIB}/jnpr/junos/op/xcvr.pyc
+${PYSITELIB}/jnpr/junos/op/xcvr.pyo
+${PYSITELIB}/jnpr/junos/op/xcvr.yml
+${PYSITELIB}/jnpr/junos/rpcmeta.py
+${PYSITELIB}/jnpr/junos/rpcmeta.pyc
+${PYSITELIB}/jnpr/junos/rpcmeta.pyo
+${PYSITELIB}/jnpr/junos/utils/__init__.py
+${PYSITELIB}/jnpr/junos/utils/__init__.pyc
+${PYSITELIB}/jnpr/junos/utils/__init__.pyo
+${PYSITELIB}/jnpr/junos/utils/config.py
+${PYSITELIB}/jnpr/junos/utils/config.pyc
+${PYSITELIB}/jnpr/junos/utils/config.pyo
+${PYSITELIB}/jnpr/junos/utils/fs.py
+${PYSITELIB}/jnpr/junos/utils/fs.pyc
+${PYSITELIB}/jnpr/junos/utils/fs.pyo
+${PYSITELIB}/jnpr/junos/utils/scp.py
+${PYSITELIB}/jnpr/junos/utils/scp.pyc
+${PYSITELIB}/jnpr/junos/utils/scp.pyo
+${PYSITELIB}/jnpr/junos/utils/start_shell.py
+${PYSITELIB}/jnpr/junos/utils/start_shell.pyc
+${PYSITELIB}/jnpr/junos/utils/start_shell.pyo
+${PYSITELIB}/jnpr/junos/utils/sw.py
+${PYSITELIB}/jnpr/junos/utils/sw.pyc
+${PYSITELIB}/jnpr/junos/utils/sw.pyo
+${PYSITELIB}/jnpr/junos/utils/util.py
+${PYSITELIB}/jnpr/junos/utils/util.pyc
+${PYSITELIB}/jnpr/junos/utils/util.pyo
+${PYSITELIB}/jnpr/junos/version.py
+${PYSITELIB}/jnpr/junos/version.pyc
+${PYSITELIB}/jnpr/junos/version.pyo
+${PYSITELIB}/${EGG_NAME}-nspkg.pth
+${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
+${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
+${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
+${PYSITELIB}/${EGG_INFODIR}/namespace_packages.txt
+${PYSITELIB}/${EGG_INFODIR}/requires.txt
+${PYSITELIB}/${EGG_INFODIR}/top_level.txt
diff --git a/net/py-junos-eznc/distinfo b/net/py-junos-eznc/distinfo
new file mode 100644
index 00000000000..45a3b05cfe1
--- /dev/null
+++ b/net/py-junos-eznc/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/03 07:10:25 he Exp $
+
+SHA1 (junos-eznc-1.0.1.tar.gz) = 626b7994ba220d06242ad56090ce5c4852ff6f6c
+RMD160 (junos-eznc-1.0.1.tar.gz) = 91aa0cb9dd36fc973732380770ea280e9af6b459
+Size (junos-eznc-1.0.1.tar.gz) = 55242 bytes