Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IOSXR learn BGP key error #82

Open
Kani999 opened this issue Oct 12, 2021 · 0 comments
Open

IOSXR learn BGP key error #82

Kani999 opened this issue Oct 12, 2021 · 0 comments
Assignees

Comments

@Kani999
Copy link

Kani999 commented Oct 12, 2021

I've run into the issue with the following command

genie learn bgp --testbed-file testbed.yaml devices IOSXR_DEV

Genie output

Issue while building the feature

Traceback (most recent call last):
  File "src/genie/cli/commands/learn.py", line 365, in genie.cli.commands.learn.LearnCommand._retrieve_ops
  File "/home/jankrupa/.local/lib/python3.8/site-packages/genie/libs/ops/bgp/iosxr/bgp.py", line 546, in learn
    self.make()
  File "/home/jankrupa/.local/lib/python3.8/site-packages/genie/ops/base/base.py", line 101, in make
    self.maker.make(*args, **kwargs)
  File "src/genie/ops/base/maker.py", line 312, in genie.ops.base.maker.Maker.make
  File "src/genie/ops/base/maker.py", line 418, in genie.ops.base.maker.Maker._call_parser
  File "src/genie/metaparser/_metaparser.py", line 272, in genie.metaparser._metaparser.MetaParser.parse
  File "/home/jankrupa/.local/lib/python3.8/site-packages/genie/libs/parser/iosxr/show_bgp.py", line 4285, in cli
    sub_dict['advertised'][prefix]['index'][index]['path'] = path
KeyError: 'advertised'
@ghost ghost assigned domachad Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants