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 · 9 comments
Assignees
Labels

Comments

@h4ndzdatm0ld
Copy link

@h4ndzdatm0ld h4ndzdatm0ld commented Aug 18, 2019

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

@respawner respawner self-assigned this Aug 18, 2019
@respawner

This comment has been minimized.

Copy link
Owner

@respawner respawner commented Aug 18, 2019

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

This comment has been minimized.

Copy link
Author

@h4ndzdatm0ld h4ndzdatm0ld commented Oct 28, 2019

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

@respawner

This comment has been minimized.

Copy link
Owner

@respawner respawner commented Oct 28, 2019

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

This comment has been minimized.

Copy link
Author

@h4ndzdatm0ld 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.

@respawner

This comment has been minimized.

Copy link
Owner

@respawner respawner commented Oct 28, 2019

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

This comment has been minimized.

Copy link
Author

@h4ndzdatm0ld h4ndzdatm0ld commented Oct 28, 2019

Thanks! Looking forward to it.

respawner added a commit that referenced this issue Oct 30, 2019
@respawner

This comment has been minimized.

Copy link
Owner

@respawner respawner commented Oct 31, 2019

@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

This comment has been minimized.

Copy link
Author

@h4ndzdatm0ld h4ndzdatm0ld commented Nov 7, 2019

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

@respawner

This comment has been minimized.

Copy link
Owner

@respawner respawner 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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.