-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
25 changed files
with
937 additions
and
2,124 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,6 @@ | ||
This directory contains eggs that were downloaded by setuptools to build, test, and run plug-ins. | ||
|
||
This directory caches those eggs to prevent repeated downloads. | ||
|
||
However, it is safe to delete this directory. | ||
|
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 +1 @@ | ||
PYTHONPATH=${workspaceDir}/lib | ||
PYTHONPATH=${workspaceFolder} |
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
Binary file not shown.
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,53 @@ | ||
Metadata-Version: 2.1 | ||
Name: fiberhome-oltcli | ||
Version: 1.0.0 | ||
Summary: OLT CommandLine API for FiberHome Co. ltd | ||
Home-page: https://github.com/dvdface/fiberhome-oltcli | ||
Author: Ding Yi | ||
Author-email: dvdface@hotmail.com | ||
License: MIT | ||
Description: # Changelist | ||
* 1.0.0, first release | ||
|
||
# Feedback | ||
|
||
give your feedback by following ways<br/> | ||
|
||
* visit https://github.com/dvdface/fiberhome-oltcli (preferred) | ||
|
||
* send email to dvdface@gmail.com | ||
|
||
|
||
# How to install | ||
|
||
`pip install fiberhome-oltcli` | ||
|
||
# Known issues | ||
|
||
None <br/> | ||
|
||
# Overview | ||
|
||
With *fiberhome-oltcli* library, you can easily access olt's commandline interface.<br/> | ||
|
||
# How to use | ||
## Use OLTCLI ### | ||
``` | ||
oltcli = OLTCLI.get(OLTModel.AN6000_17, '10.182.33.210', 'GEPON', 'GEPON') | ||
|
||
oltcli.get_authorization() | ||
``` | ||
## Use OLTTelnet ### | ||
``` | ||
telnet = OLTTelnet('10.182.33.210', 'GEPON', 'GEPON') | ||
telnet.connect() | ||
assert telnet.run('config') == '' | ||
telnet.disconnect() | ||
|
||
``` | ||
Platform: UNKNOWN | ||
Classifier: Programming Language :: Python :: 3 | ||
Classifier: License :: OSI Approved :: MIT License | ||
Classifier: Operating System :: OS Independent | ||
Requires-Python: >=3.6 | ||
Description-Content-Type: text/markdown |
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,14 @@ | ||
README.md | ||
setup.py | ||
fiberhome_oltcli.egg-info/PKG-INFO | ||
fiberhome_oltcli.egg-info/SOURCES.txt | ||
fiberhome_oltcli.egg-info/dependency_links.txt | ||
fiberhome_oltcli.egg-info/requires.txt | ||
fiberhome_oltcli.egg-info/top_level.txt | ||
oltcli/__init__.py | ||
oltcli/cli.py | ||
oltcli/telnet.py | ||
oltcli/utils.py | ||
test/test_cli.py | ||
test/test_telnet.py | ||
test/test_utils.py |
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 @@ | ||
|
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,2 @@ | ||
wait-util | ||
threadpool |
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 @@ | ||
oltcli |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.