Comments (4)
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.
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.
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.
Hi
Please provide an update so that we can plan accordingly
from pyats.
Related Issues (20)
- Support for aarch64 linux HOT 2
- EtherChannel info is not consistent across platforms HOT 17
- Missing Python3.11 pyats and genie wheel files. HOT 10
- pip install pyats[full] not working
- genie learn isis fails to parse alternate configurations HOT 3
- [Feature Request] Expose unicon connection API through Genie. HOT 3
- xunit.xml: FIXME: fill this with the [STDOUT|STDERR] of the test run HOT 16
- pyats-log 23.1 depends on python-engineio<4.0.0 and >=3.13.0 HOT 13
- AttributeError: 'ProcessorDecorator' object has no attribute 'source' HOT 5
- Unicon hangs when parsing Juniper's username@hostname prompt if line is too long. HOT 9
- Installation of Unicon in Linux Alpine HOT 8
- learn STP crashes with error UnboundLocalError: local variable 'inst_dict' referenced before assignment HOT 5
- Couldn't install pyats[full] 23.6/23.5 with poetry HOT 6
- Unable to learn BGP - UnboundLocalError: local variable 'session_state' referenced before assignment HOT 10
- Pyats fails full install with 3 errors HOT 5
- testbed.connect exception behavior HOT 5
- No pyats.datastructures 23.11 wheels available for MacOS HOT 2
- Fail Copy_To_Device cleaner via FTP on iOS XR HOT 2
- pyats 24.1 with behave fails to start a job with easypy errror for test_suite
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 pyats.