The following are instructions for setting up a system starting from a stock system images.
These instructions were tested on a 64-bit systems from https://github.com/opscode/bento, and using the Junos PyEZ library version 0.0.5.
- FreeBSD 9.2
sudo pkg_add -r py27-pip libxml2 libxslt
sudo pip install junos-eznc
Once you've completed the above step, you should be able to create a Device
instance, connect to a Junos system, and display the "facts", as illustrated in the README.md file.
Enjoy!
Development code can be installed directly from GitHub based on any branch, commit, or tag.
Packages from Step 1 are required.
sudo pkg_add -r git
sudo pip install git+https://github.com/Juniper/py-junos-eznc.git
or
sudo pip install git+https://github.com/Juniper/py-junos-eznc.git@<branch,tag,commit>