-
Notifications
You must be signed in to change notification settings - Fork 977
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
add ssh command to print device info #763
Conversation
Thanks for the PR! The name of the command seems fine and I believe the a json flag would be helpful if you don't mind adding it. |
👍 ok will do soon |
@nbrownus updated now.
|
@kazzmir looks good, mind signing the latest CLA? |
Sure, where do I go to sign it? Its suprisingly hard to find. Maybe the main readme should have a link to the cla. |
That is a wonderful question. A fresh commit might trigger the bot to prompt for it, I am searching for another solution in the mean time. |
Thanks for the contribution! Before we can merge this, we need @kazzmir to sign the Salesforce Inc. Contributor License Agreement. |
This PR adds a new ssh command
device-info
that responds with the name of the tun device, and the cidr of the tun. Example output:I need the tun device name because I would like to monitor the network device using other programs, and since the tun device name is dynamic, querying nebula seems like the best way to get it. I actually don't need the cidr, but since its available on the Device interface it seems easy enough to print as well.
If this seems reasonable I can add a json flag like the other print-xxx commands. Also the name of the ssh command is negotiable.