Comments (4)
It looks like the prompt isn't being stripped after running a command as well:
>>> ip_interfaces = dev.send_command("show interfaces terse | grep inet")
>>> print(ip_interfaces)
ge-0/0/0.0 up up inet 10.0.2.15/24
sp-0/0/0.0 up up inet
inet6
sp-0/0/0.16383 up up inet 10.0.0.1 --> 10.0.0.16
ge-0/0/1.0 up up inet 172.16.0.1/31
ge-0/0/2.0 up up inet 192.168.0.200/24
lo0.16384 up up inet 127.0.0.1 --> 0/0
lo0.16385 up up inet 10.0.0.1 --> 0/0
ansible@apples>
>>>
from netmiko.
This should've been mostly fixed by #63. The only thing that isn't fixed is the presence of the final prompt.
from netmiko.
Hi Tyler, I'm seeing for EOS, the final prompt is present - but not always. Is this a known issue? I'm issuing a command that's producing JSON output and when the prompt is present, JSON parsing fails. We are using version 0.4.3 and target device is
Arista DCS-7050QX-32-F
Hardware version: 02.11
Software image version: 4.16.6M
Any help is appreciated
from netmiko.
@Ragsboss Please open a separate issue on this. You need to test the issue using Netmiko 1.1.
from netmiko.
Related Issues (20)
- oserror: [winerror 10038] an operation was attempted on something that is not a socket
- Cant access SG200 and CBS switches using netmiko python scripts HOT 4
- Problem connecting to TP-Link switch HOT 7
- Only commands less than 64 caharacters work (Mikrotik) HOT 12
- hp_comware H3C device which in RBM mode using send_config_set with netmiko.exceptions.ReadTimeout HOT 11
- HP Comware - Display arp - no output HOT 10
- Unable to send config via txt file on Juniper device using NetMiko. Below exception HOT 1
- SSH Session Disconnect Taking Long Time After Running TMOS Command! HOT 4
- Mikrotik RouterOS - Unable to file_transfer to devices lacking flash filesystems
- Mikrotik RouterOS - file_transfer to device fails verification (not waiting long enough) HOT 1
- Unexpected FortiOS Version encountered
- Pattern not detected: '[>#]' in output - TPLINK device HOT 6
- Performance improvement, support setting DEFAULT_WINDOW_SIZE HOT 6
- Issue with Zyxel GS1900 HOT 8
- Exception has occurred: ReadTimeout HOT 2
- Netmiko tools threading solution needs updated
- SSHDetect not working with Jumphost inbetween HOT 1
- Nokia SROS issue with return value in ["xx"] HOT 7
- Warning and error: syntax error, expecting ']' or <data>: [
- security: allow SessionLog object to be passed to session_log arg HOT 12
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 netmiko.