Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...



ubuntu 18


Code Block
titleinstallation
#Basic dependencies:
sudo apt-get install python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev


sudo pip install --upgrade pip

#To install PyEz:
python -m pip install junos-eznc

#To install urwid:
python -m pip install urwid

#To install Space Ez:
cd ~/Documents/

git clone https://github.com/Juniper/py-space-platform.git

sudo python -m pip install ./py-space-platform


#To install the aplication
git clone https://github.com/Juniper/ChassisInfoFetcher






host.cvs


Code Block
titlerun the script app.py
#Edit the hosts.cvs file:
-------------------------
cd ~/Documents/ChassisInfoFetcher/CIF/

sudo cp hosts.csv hosts.csv.backup
sudo vi hosts.csv

more hosts.csv
172.30.95.206,NetBox,Netbox,22




#Run the graphical application:
python
-------------------------------
cd ~/Documents/ChassisInfoFetcher/CIF/

sudo python app.py