Merge pull request #241 from adosztal/network_automation

New appliance: Network Automation
This commit is contained in:
Julien Duponchelle 2017-06-29 14:21:58 +02:00 committed by GitHub
commit 9c3b52ffa4
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,18 @@
{
"name": "Network Automation",
"category": "guest",
"description": "This container provides the popular tools used for network automation: Netmiko, NAPALM, Pyntc, and Ansible.",
"vendor_name": "GNS3",
"vendor_url": "http://www.gns3.com",
"product_name": "Network Automation",
"registry_version": 3,
"status": "stable",
"maintainer": "GNS3 Team",
"maintainer_email": "developers@gns3.net",
"symbol": "linux_guest.svg",
"docker": {
"adapters": 1,
"image": "gns3/network_automation:latest",
"console_type": "telnet"
}
}

View File

@ -0,0 +1,14 @@
# docker base image for Netmiko, NAPALM, Pyntc, and Ansible
FROM ubuntu:xenial
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-recommends install \
telnet curl openssh-client nano vim-tiny iputils-ping python build-essential libssl-dev libffi-dev \
python-pip python-setuptools python-dev net-tools ansible \
&& rm -rf /var/lib/apt/lists/* \
&& pip install --upgrade pip \
&& pip install cryptography netmiko napalm pyntc
VOLUME [ "/root" ]
CMD [ "sh", "-c", "cd; exec bash -i" ]

View File

@ -0,0 +1,19 @@
# Ubuntu - Network Automation Toolbox
This appliance contains the following network automation tools:
- Netmiko
- NAPALM
- Pyntc
- Ansible
The /root folder is mount by default
## Build and publish the Images
First the base image has to be created:
```
docker build -t gns3/network_automation:latest .
docker push gns3/network_automation:latest (optional)
```