You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 4
Next »
https://github.com/Juniper/ChassisInfoFetcher
|
|
---|
Virtulbox must be install |
|
Docker Toolbox on windows 10 | |
| cd c:/ |
FROM ubuntu:xenial as build
RUN apt-get update \
&& apt-get install -y python-pip python-dev libffi-dev libssl-dev libxml2-dev libxslt1-dev git \
&& apt-get --no-install-recommends install -y virtualbox-guest-utils \
&& apt-get install -y python-paramiko
RUN python -m pip uninstall pip setuptools wheel\
&& python -m pip install --upgrade pip \
&& python -m pip install --upgrade setuptools wheel
RUN pip install --upgrade junos-eznc \
&& pip install urwid \
&& pip install enum \
# && git clone https://github.com/Juniper/py-space-platform.git \
# && pip install ./py-space-platform \
# && pip list | egrep "setup|wh|pip|junos-eznc|space" \
&& pip install requests \
&& pip install git+https://github.com/Juniper/py-space-platform.git@v1.0.0
RUN git clone https://github.com/Juniper/ChassisInfoFetcher.git
| git clone Building the Docker image docker build -t cif - < Dockerfile Running the application inside a container docker run -it cif
|
| cd ChassisInfoFetcher/CIF/
echo "172.30.95.174,Netbox,Netbox,22" > hosts.csv python alpp.py
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|