-
Notifications
You must be signed in to change notification settings - Fork 98
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
Error in bgp_router query on Huawei #187
Comments
I have this same issue. Ping commands and traceroute work fine, but the command issued for the routing table is incorrect as already mentioned. As per the example, display bgp routing-table 1.1.1.0/24 needs to be display bgp routing-table 1.1.1.0 24 What is the best way to address this? |
I suspect this is being caused by the addition of the Specifically - you can see that the formatting override for
This particular if statement will probably need to be moved into the Formatter class to fix this properly. |
Further to the above - I don't have environment to test this in (so I don't want to create a pull request), but adding the following code to Delete or comment out the following lines
Add the following to
Add the following to the
If someone running Huawei gear is confident enough to try this in their installation and see if it resolves the issue, that would be good :) . Pre-made file below: |
Hi @jakeb91, did not work, the error below is the result when starting the Hyperglass service. Traceback (most recent call last): Regards |
For me it worked just editing the code below:
|
What version are you on? 1.0.4? I will alter it in /hyperglass/execution/drivers/__construct.py The error below is returned. Has anything been tweaked or just what was mentioned? Traceback (most recent call last): |
Edit on /hyperglass/execution/drivers/_construct.py and not /hyperglass/execution/drivers/__construct.py only just make these changes with Formatter(self.device.nos, self.query_data.query_type) as formatter: Distro: Linux Debian 11 64Bits NetInstall |
#That way I was successful Delete or comment out the following lines Line 39-40:
Add the following to def _get_formatter(self) in the Formatter class:
Add the following to the Formatter class
|
Above solutions did not work for me in real environment, the solution I found was:
|
The related pull request has the working / fixed code - I don't have access to Huawei gear anymore though so I was unable to test it. |
I have the same issue here using |
Can anyone re-test this in v2 and list any changes that may be needed? |
Same problem with 2.0.4 |
In Huawei it is necessary to have a space after the slash "1.1.1.0 24", by the logs, this treatment is not happening.
Up to version 1.0.0, this treatment is performed, according to the logs below.
Best Regards
The text was updated successfully, but these errors were encountered: