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

Nokia-SROS #86

Open
h4ndzdatm0ld opened this issue Aug 18, 2019 · 13 comments · May be fixed by #107
Open

Nokia-SROS #86

h4ndzdatm0ld opened this issue Aug 18, 2019 · 13 comments · May be fixed by #107
Assignees

Comments

@h4ndzdatm0ld
Copy link

Hi,
Would love to work together and implement Nokia SROS to this looking glass.

@gmazoyer gmazoyer self-assigned this Aug 18, 2019
@gmazoyer
Copy link
Owner

There are two ways include support for Nokia.

  1. Write add a class inside the routers/ directory describing how to interact with the device
  2. If you don't want to write some PHP, you can just provide the list of commands to ping, traceroute, show route and show route as-path-regex that have to be executed on the device.

@h4ndzdatm0ld
Copy link
Author

Hello,
I e-mailed you back a little while ago. Just checking in with you!

@gmazoyer
Copy link
Owner

I guess I did not see your email or it did not reach me. Could you re-send it to me or paste the content here if you prefer.

@h4ndzdatm0ld
Copy link
Author

h4ndzdatm0ld commented Oct 28, 2019

No Problem,
If you are willing, here are the commands:

  1. ‘ping’
  2. ‘Traceroute’
  3. ‘show router bgp routes’
  4. ‘show router bgp routes aspath-regex’

Unlike Cisco, the ‘include’ command to filter, is ‘ | match’

If you want to work together in testing this that would be cool.
What about VRF support?
For example,
All of our internet is inside VRF 100 – therefore, the commands would equal to

  • ‘ping router 1000 8.8.8.8’
  • ‘traceroute router 1000 8.8.8.8’
  • ‘show router 100 bgp routes | match 8.8.8.8’
  • ‘show router 100 bgp routes aspath-regex xxx’

Also, is there any possibility of adding ‘community’ string searches?
Say, for example –

  • ‘show router 1000 bgp routes community 25899:999’

The test environment has gotten good feedback, hopefully we can work together.

@gmazoyer
Copy link
Owner

I'll try to implement a basic wrapper and I'll let you know when it's ready to test it.

VRF support is currently tracked in #54 I don't know yet when the feature will land in this repository but I can tell you that it will be here at some point.

@h4ndzdatm0ld
Copy link
Author

Thanks! Looking forward to it.

@gmazoyer
Copy link
Owner

@h4ndzdatm0ld can you test the master branch and give me some feedback about the first shot for the Nokia wrapper? Also if you can work on a documentation page to explain how to setup the Nokia router to use it with this looking glass like (docs/juniper.md) this would be great.

@h4ndzdatm0ld
Copy link
Author

I am not getting any return output.
What's the best way to debug SSH ?

@gmazoyer
Copy link
Owner

gmazoyer commented Nov 7, 2019

You can enable authentication debug log by setting $config['logs']['auth_debug'] = true; in the config.php file. Try looking at the auth logs in your router as well.

@h4ndzdatm0ld
Copy link
Author

Verified the connection is established, but i'm just not getting any return output via the LG.
Anyway we could maybe link up and I could set up a screen share ?

@gmazoyer
Copy link
Owner

We can discuss this off this issue on the slack channel to see how we can proceed.

@vitalisator
Copy link
Contributor

vitalisator commented Mar 21, 2020

Hi, did you reach some progress here? Just tested on my Nokia SR7750 an have same issue. I see user can login and logout but not any command is executed on the router.
the debug logs say:
[2020-03-21 20:42:48] [client: ::1] goe-0-bng-b > [BEGIN] ping count 10 8.8.8.8

[2020-03-21 20:42:49] [client: ::1] goe-0-bng-b > [END] ping count 10 8.8.8.8

Logs on the router say the same. login and after one second logout. no command executed.
Is it possible that the command are fired too fast?
Is there some way to debug the ssh communication?

@vitalisator vitalisator linked a pull request Mar 22, 2020 that will close this issue
@banman24
Copy link

Does your Looking Glass Support Nokia Routers?

If so, How do I Implement it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants