Comments (8)
napalm-ios
is using netmiko
(https://github.com/ktbyers/netmiko/tree/master/netmiko) as transport libray. AFAIK netmiko provides now support for telnet - @ktbyers please correct me if I'm wrong. If that's the case, I think we can definitely introduce this feature, via a new optional argument (http://napalm.readthedocs.io/en/latest/support/index.html#optional-arguments). We can then extend this for other drivers as iosxr, junos (as junos-eznc 2.0 introduced telnet support) and maybe others.
from napalm-ios.
Hi @mirceaulinic,
I'm not a developer, but i saw that netmiko provides support for telnet. So, you are right.
How could I help you to deploy the new optional argument? I'm interested in helping this project.
from napalm-ios.
Netmiko supports telnet using device_type 'cisco_ios_telnet'. Extreme might work using this driver (for Netmiko).
napalm-ios can't be made to work with telnet as configuration file operations all use secure copy to transfer files (at least as currently constructed).
from napalm-ios.
@ktbyers how hard would it be to support the getters over telnet? Obviously, if the user decide to use telnet as transport configuration related methods should be disabled.
from napalm-ios.
@dbarrosop getters is probably easy if the Netmiko 'cisco_ios_telnet' driver just works.
from napalm-ios.
I will let you decide if it's worth supporting the getters via telnet. I understand configuration might be trickier.
from napalm-ios.
I can't bring myself to implement this...if someone else wants to, submit a PR on it. You would just to add an optional_argument to pass in a protocol, telnet or ssh.
Then just switch the device_type from cisco_ios to cisco_ios_telnet.
from napalm-ios.
You would just to add an optional_argument to pass in a protocol, telnet or ssh.
How does transport_type
sound to you @ktbyers? The reasoning I'm asking is that we could probably offer telnet transport for other drivers as well.
Then just switch the device_type from cisco_ios to cisco_ios_telnet.
And raise exception for config-related methods? Or something else? - I understand they won't work at all over telnet.
from napalm-ios.
Related Issues (20)
- ios throw 'SSH session not active' when load_merge_candidate is called HOT 27
- Implement `get_bgp_neighbors_detail` HOT 1
- Latency Issue Cause various errors - increased global_delay_factor HOT 2
- remove 'ip scp server enable' after deployment HOT 1
- load_merge_candidate & commit_config slow (takes 40 seconds) HOT 4
- Regex used fto match the name of the network interface HOT 9
- get_environment fails on Cisco 3850 switch HOT 3
- get_environment fails on Cisco 4500 HOT 1
- get_facts returns the whole string from "show version" not just the software version HOT 4
- get_snmp_information() returns ACL names as "N/A" if none exist for a community HOT 2
- Missing end in "merge_config.txt" causes the error "!Error: cfgdiff returned error 5" HOT 1
- ISSUE WITH BASIC NAPALM CODE HOT 5
- "ValueError: Unable to find prompt" on commit_config() operation HOT 11
- get_facts() errors if "show hosts" command returns nothing HOT 2
- napalm-ios ping is not correctly tracking probes_sent HOT 1
- get_interfaces_ip executes a show command for each interface HOT 1
- CSR1000V HOT 1
- Cannot install config if candidate change username HOT 1
- Is AAA (TACACS) Supported? Not able to login nor test. HOT 4
- get_facts()['version'] Unknown on old 2950 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from napalm-ios.