Using Python for Juniper on a Mac

stock_175px-juniper-networks
Juniper Networks has developed a python library to manage their devices.  The library is called "junos-eznc" hosted at GitHub.  This library is meant to be able to handle commands programmatically that you would usually do at a CLI.  In order to use it, you will need to also install "ncclient" which implements NETCONF in python.  The easiest way to install is to use PIP. MacPro:~ aaronpaxson$  sudo pip install ncclient MacPro:~ aaronpaxson$  sudo pip install junos-eznc If you receive an error regarding "error: 'cc' failed with exit status 1", this is because you don't have the C compiler in...
More