This repository was archived by the owner on Feb 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 42
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First version of napalm-junos is almost ready
- Loading branch information
Showing
14 changed files
with
76 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
language: python | ||
|
||
python: | ||
- 2.7 | ||
|
||
install: | ||
- pip install -r requirements.txt | ||
- pip install . | ||
|
||
deploy: | ||
provider: pypi | ||
user: dbarroso | ||
password: | ||
secure: FWTA4L2e08mMpD8BbCNWTZN1XFCQKSlYUfPqT0aXDz/GgEK2KfZqbzj1V8Xwx4pXuBHSy8JunlpLGdc18dqtfMKpryz7elWbIsvyPNvcVFxYatG1RdDZB3qiN0MWTCVOCTUyOeglbOsaahKlV66RGBRbQpx107woZ/I+hg43jeNdi6fUer5Ip2DXLMFkR7yb5vbI+tc9KM1Z3/isSzmpkYWQm1MUGxnFonye46r6MoSOANTDpzNIAQKOKwUvGwdovZCAhdqn8JQp8EsKB9Tl0QK56k2//TWmOlglvwL3vVHOeP0V12fc8viKvYRGXKSCwzcz+bi5RSGo0Afurc7lVrmHgJbJIfXxilucE0OBOn58487wynn3k+30D39V9PnddYJ6iNU1ji7/qYpCbyE9ydSKFu4rFgwDbFTU1kJ+JlmNmoJYET/rZITQNUjtFC9grtjSdpouurzNS4eSg7CD8EfzVV6i3IS+1p9n4xosUxdCRl8/jhm9pNMW2OaM00r4GwW2Xt4kDP9J8OWDhlErDLE5lR4EjuGPCLmCYTWcl3DtvUlDCqBs5JZutHV+6raHBw7qFUcI2MxacjQys/3etjIUb9UilbBP1cnqec5Q/FfcTvD0QXCT56f1eM87eh4ysxmHFIDrW+ZwaDW/DicOExfeq264bYOge01poQEkdGM= | ||
on: | ||
tags: true | ||
branch: master | ||
|
||
script: | ||
- cd test/unit | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_bgp_config | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_bgp_neighbors | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_bgp_neighbors_detail | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_environment | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_facts | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces_counters | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_lldp_neighbors | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_lldp_neighbors_detail | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_arp_table | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_ntp_peers | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_interfaces_ip | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_mac_address_table | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_route_to | ||
- nosetests -v TestJunOSDriver:TestGetterJunOSDriver.test_get_snmp_information |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include requirements.txt | ||
include napalm_junos/utils/*.yml | ||
include napalm_junos/templates/*.j2 | ||
include napalm_junos/utils/textfsm_templates/*.tpl |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
junos-eznc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
"""setup.py file.""" | ||
|
||
import uuid | ||
|
||
from setuptools import setup, find_packages | ||
from pip.req import parse_requirements | ||
|
||
__author__ = 'David Barroso <dbarrosop@dravetech.com>' | ||
|
||
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) | ||
reqs = [str(ir.req) for ir in install_reqs] | ||
|
||
setup( | ||
name="napalm-junos", | ||
version="0.1.0", | ||
packages=find_packages(), | ||
author="David Barroso", | ||
author_email="dbarrosop@dravetech.com", | ||
description="Network Automation and Programmability Abstraction Layer with Multivendor support", | ||
classifiers=[ | ||
'Topic :: Utilities', | ||
'Programming Language :: Python', | ||
'Operating System :: POSIX :: Linux', | ||
'Operating System :: MacOS', | ||
], | ||
url="https://github.com/napalm-automation/napalm-junos", | ||
include_package_data=True, | ||
install_requires=reqs, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters