Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »


https://github.com/Juniper/ChassisInfoFetcher



cmd on Windows 10  ( as administrator )
Install VirtualBoxhttps://www.virtualbox.org/wiki/Downloads

Install Vagrant

4- Vagrant installation and creation of the first box

https://www.vagrantup.com/downloads.html


c:\ChassisInfoFetcher>vagrant --version
Vagrant 2.2.9

c:\ChassisInfoFetcher>vagrant plugin list
vagrant-disksize (0.1.3, global)
vagrant-host-shell (0.0.4, global)
vagrant-junos (0.2.1, global)
vagrant-share (1.1.10, global)


download the ChassisInfoFetcher Project 


 

https://github.com/Juniper/ChassisInfoFetcher

c:\>git clone https://github.com/Juniper/ChassisInfoFetcher.git


ChassisInfoFetcher/CIF

notepad hosts.csv

172.30.95.206,NetBox,Netbox,22
172.30.95.174,Netbox,Netbox,22

First modify the vagrantfile:

config.vm.box = "ubuntu/xenial32"


cd C:\ChassisInfoFetcher

vagrant up

vagrant provision

vagrant ssh

edit / check the host file ( list of routers, switch, firewall )

cd /home/ubuntu/ChassisInfoFetcher

more hosts.csv

run the app.py

cd /home/ubuntu/ChassisInfoFetcher

python app.py

export resul from the ./output directory














Vagrantrfile is a Ruby file , and there is a problem with the speach mark




  • No labels