GithubHelp home page GithubHelp logo

Comments (4)

HATmess avatar HATmess commented on June 3, 2024

here the outputs:

bgp is not yet developed for device MX480-R06-01

Traceback (most recent call last):
File "src/genie/cli/commands/learn.py", line 315, in genie.cli.commands.learn.LearnCommand._retrieve_ops
File "src/genie/ops/utils.py", line 167, in genie.ops.utils.get_ops
KeyError: 'package'

Traceback (most recent call last):
File "/mnt/c/Users/user/PycharmProjects/pats_space/main.py", line 14, in
show_interface = dev.parse('show isis adjacency')
File "src/genie/conf/base/device.py", line 529, in genie.conf.base.device.Device.parse
File "/usr/local/lib/python3.10/dist-packages/genie/libs/parser/utils/common.py", line 166, in get_parser
raise ParserNotFound(command, lookup._tokens)
genie.libs.parser.utils.common.ParserNotFound: Could not find parser for show isis adjacency under ('junos', 'MX', None)
root@ALG-330009-LT:/mnt/c/Users/user/PycharmProjects/pats_space# pyats learn bgp --testbed-file mytest.yaml --output today

Learning '['bgp']' on devices '['MX480-R06-01']'
100%|████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 3.05it/s]
+==============================================================================+
| Genie Learn Summary for device MX480-R06-01 |
+==============================================================================+
| Connected to MX480-R06-01 |

- Log: today/connection_MX480-R06-01.txt
Could not learn feature 'bgp'
- Exception: today/bgp_junos_MX480-R06-01_exception.txt
- Feature not yet developed for this os
==============================================================================

from pyats.

Taarini avatar Taarini commented on June 3, 2024

Hi

Thanks for reporting the issue. Since genieparser is community driven. Requesting you to contribute to the library with the potential fix to help resolve the issue. Please let me know of any help you need to create a PR with the fix

from pyats.

Taarini avatar Taarini commented on June 3, 2024

Hi

Please let me know whether you're planning to contribute to the community. If not I can add this to our backlog and let you know once it is released.

from pyats.

Taarini avatar Taarini commented on June 3, 2024

Hi

Please provide an update so that we can plan accordingly

from pyats.

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.