Merge pull request #315 from adosztal/master

Updates to NX-OSv9k and Network Automation
This commit is contained in:
Jeremy Grossmann 2018-03-17 00:05:48 +07:00 committed by GitHub
commit a609ebcd0a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 1 deletions

View File

@ -25,6 +25,13 @@
"kvm": "require" "kvm": "require"
}, },
"images": [ "images": [
{
"filename": "nxosv-final.7.0.3.I7.3.qcow2",
"version": "7.0.3.I7.3",
"md5sum": "9d7a20367bf681a239f14097bbce470a",
"filesize": 983629824,
"download_url": "https://software.cisco.com/download/"
},
{ {
"filename": "nxosv-final.7.0.3.I7.2.qcow2", "filename": "nxosv-final.7.0.3.I7.2.qcow2",
"version": "7.0.3.I7.2", "version": "7.0.3.I7.2",
@ -71,6 +78,13 @@
} }
], ],
"versions": [ "versions": [
{
"name": "7.0.3.I7.3",
"images": {
"bios_image": "OVMF-20160813.fd",
"hda_disk_image": "nxosv-final.7.0.3.I7.3.qcow2"
}
},
{ {
"name": "7.0.3.I7.2", "name": "7.0.3.I7.2",
"images": { "images": {

View File

@ -11,7 +11,10 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get -y --no-install-rec
&& rm -rf /var/lib/apt/lists/* \ && rm -rf /var/lib/apt/lists/* \
&& pip install --upgrade pip \ && pip install --upgrade pip \
&& pip install cryptography netmiko napalm pyntc \ && pip install cryptography netmiko napalm pyntc \
&& pip install --upgrade paramiko && mkdir /scripts && pip install --upgrade paramiko && mkdir /scripts \
&& mkdir /root/.ssh/ \
&& echo "KexAlgorithms diffie-hellman-group1-sha1,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1" > /root/.ssh/config \
&& echo "Ciphers 3des-cbc,blowfish-cbc,aes128-cbc,aes128-ctr,aes256-ctr" >> /root/.ssh/config
VOLUME [ "/root","/usr", "/scripts" ] VOLUME [ "/root","/usr", "/scripts" ]
CMD [ "sh", "-c", "cd; exec bash -i" ] CMD [ "sh", "-c", "cd; exec bash -i" ]