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

Added rancid Cisco PoE control dev file #28

Merged
merged 2 commits into from
Jul 20, 2018
Merged

Conversation

sjthespian
Copy link
Contributor

@sjthespian sjthespian commented Jul 20, 2018

#27

I threw together a quick-n-dirty dev file to support using rancid (http://www.shrubbery.net/rancid/) for controlling devices using PoE on Cisco switches. I've needed to power-cycle too many of my cameras and PoE Raspberry Pis, and got tired of doing it by hand!

It's not the most elegant thing I have ever written, but it works for me. This could all be done via. direct ssh/telnet to the Cisco device, but I figured I would let rancid take care of the connection negotiation just to keep it simpler.

It should be straight forward to adapt this for any other managed switch that supports PoE and rancid.

@garlick
Copy link
Member

garlick commented Jul 20, 2018

Thanks - this will also need to be added to the Makefile.am so that it becomes part of the dist tarball. You can just tack that on as a second commit if you like.

@sjthespian
Copy link
Contributor Author

@garlick done.

@garlick
Copy link
Member

garlick commented Jul 20, 2018

Thanks very much!

@garlick garlick merged commit 7403da3 into chaos:master Jul 20, 2018
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

Successfully merging this pull request may close these issues.

2 participants