Code Monkey home page Code Monkey logo

Comments (22)

thaixuann avatar thaixuann commented on June 9, 2024

Thanks @MikeJames15 . Wil look into and let you know once the issue is fixed.

--Thai.

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

Hello @MikeJames15 ,
Would you please provide the full output from the device for this command so that we can see if there is anything else we missed? Please send the output to [email protected].

Thanks,
--Thai.

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

We fixed this issue. A pyats and genie package v19.11 has been released with the fix.
Could you please run the following command and try again to see if it works?

pip install --upgrade pyats
pip install --upgrade genie

Please let us know if you have question.

Thanks,
--Thai.

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

jeaubin avatar jeaubin commented on June 9, 2024

@MikeJames15 -

From our side, all these imports are still fine,

In [1]: from genie.libs.parser.utils import get_parser
In [2]:
It still works as expected,

In [2]: import genie.libs.parser
...: from genie.libs.parser.utils import get_parser
...: from genie.conf.base import Device
...: from pyats.datastructures import AttrDict
...: from genie.metaparser.util.schemaengine import Any, Optional
...:
In [3]:

Can you make sure that all your packages are updated to 19.11

pip list | grep genie
pip list | grep pyats

If you want to debug this, you could come to our Webex team, and I'll be happy to help you to debug it with you: https://eurl.io/#r18UzrQVr

from genieparser.

jeaubin avatar jeaubin commented on June 9, 2024

Regarding

No such attribute in abstraction package 'genie.libs.parser': 'genie.libs.parser.show_bgp'

Is it possible you have changed the OS of the device. We see this error when our "abstraction" library cannot find a specific implementation for that OS.

Let us know

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

simingy avatar simingy commented on June 9, 2024

this is because of pypa/pip#7408

pip uninstall unicon unicon.plugins
and
pip install unicon

should fix it for now

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

from genieparser.

MikeJames15 avatar MikeJames15 commented on June 9, 2024

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

Hello @MikeJames15
Sorry for the delays

We are having 2 issues with the outputs provided:

  1. The interface for of the output doesn't seem to have issue or error as you described:
    provided output with interface: TenGigabitEthernet0/0/0
    provided error output interface: TenGigabitEthernet0/1/0
  2. The class map name is duplicated:

Class-map: class4 (match-any)
23354 packets, 5387547 bytes
1 minute offered rate 0000 bps, drop rate 0000 bps
Match: ip dscp af21 (18) af22 (20)
Queueing
queue limit 41666 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 23354/5387547
bandwidth remaining 25%

Class-map: class4 (match-any)
1079724 packets, 72717061 bytes
1 minute offered rate 8000 bps, drop rate 0000 bps
Match: any
Queueing
queue limit 41666 packets
(queue depth/total drops/no-buffer drops) 0/0/0
(pkts output/bytes output) 1026702/51418238
bandwidth remaining 25%
TenGigabitEthernet0/0/1

Can you please check and help us verify?

Thanks,

--Thai.

from genieparser.

thaixuann avatar thaixuann commented on June 9, 2024

Hello @MikeJames15 ,
Any update on this?

Thanks,
--Thai.

from genieparser.

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.