Coder Social home page Coder Social logo

Comments (4)

supertylerc avatar supertylerc commented on June 12, 2024

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.

supertylerc avatar supertylerc commented on June 12, 2024

This should've been mostly fixed by #63. The only thing that isn't fixed is the presence of the final prompt.

from netmiko.

Ragsboss avatar Ragsboss commented on June 12, 2024

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.

ktbyers avatar ktbyers commented on June 12, 2024

@Ragsboss Please open a separate issue on this. You need to test the issue using Netmiko 1.1.

from netmiko.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.