-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Add MTU field to the get_interfaces - Add sanitized=False to the get_config (but don't implement it) - Add VRF argument to the get_arp_table (but don't implement it) - Update Copyright Signed-off-by: tang hao <[email protected]>
- Loading branch information
Showing
16 changed files
with
246 additions
and
207 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
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
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
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
coveralls | ||
ddt | ||
flake8-import-order | ||
pytest | ||
pytest-cov | ||
pytest-json | ||
pytest-pythonpath | ||
pylama | ||
mock | ||
tox | ||
coveralls==3.0.0 | ||
ddt==1.4.1 | ||
flake8-import-order==0.18.1 | ||
pytest==5.4.3 | ||
pytest==5.4.3 | ||
pytest-cov==2.11.1 | ||
pytest-json==0.4.0 | ||
pytest-pythonpath==0.7.3 | ||
pylama==7.7.1 | ||
mock==4.0.3 | ||
tox==3.21.4 |
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 |
---|---|---|
@@ -1,3 +1,7 @@ | ||
napalm>=2.0.0 | ||
netmiko>=1.4.2 | ||
future | ||
napalm>=3.0.0 | ||
setuptools>=38.4.0 | ||
netmiko>=3.1.0 | ||
paramiko>=2.6.0 | ||
requests>=2.7.0 | ||
future | ||
jinja2 |
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
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 |
---|---|---|
@@ -1,31 +1,32 @@ | ||
"""setup.py file.""" | ||
|
||
import uuid | ||
|
||
from setuptools import setup, find_packages | ||
try: # for pip >= 10 | ||
from pip._internal.req import parse_requirements | ||
except ImportError: # for pip <= 9.0.3 | ||
from pip.req import parse_requirements | ||
|
||
__author__ = 'Hao Tang <[email protected]>' | ||
|
||
install_reqs = parse_requirements('requirements.txt', session=uuid.uuid1()) | ||
reqs = [str(ir.req) for ir in install_reqs] | ||
with open("requirements.txt", "r") as fs: | ||
reqs = [r for r in fs.read().splitlines() if (len(r) > 0 and not r.startswith("#"))] | ||
|
||
with open("README.md", "r") as fs: | ||
long_description = fs.read() | ||
|
||
setup( | ||
name="napalm-ce", | ||
version="0.1.1", | ||
packages=find_packages(), | ||
version="0.2.0", | ||
packages=find_packages(exclude=("test*",)), | ||
author="Hao Tang", | ||
author_email="[email protected]", | ||
description="Network Automation and Programmability Abstraction Layer with Multivendor support", | ||
description="NAPALM driver for Huawei CloudEngine switches", | ||
license="Apache 2.0", | ||
long_description=long_description, | ||
long_description_content_type="text/markdown", | ||
classifiers=[ | ||
'Topic :: Utilities', | ||
'Programming Language :: Python', | ||
'Programming Language :: Python :: 2', | ||
'Programming Language :: Python :: 2.7', | ||
'Programming Language :: Python :: 3.6', | ||
"Topic :: Utilities", | ||
"License :: OSI Approved :: Apache Software License", | ||
"Programming Language :: Python", | ||
"Programming Language :: Python :: 3", | ||
"Programming Language :: Python :: 3.6", | ||
"Programming Language :: Python :: 3.7", | ||
"Programming Language :: Python :: 3.8", | ||
'Operating System :: POSIX :: Linux', | ||
'Operating System :: MacOS', | ||
], | ||
|
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
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
Oops, something went wrong.