ciscodevnet / brkdev-1368 Goto Github PK
View Code? Open in Web Editor NEWCode used for the Cisco Live Session BRKDEV-1368
Code used for the Cisco Live Session BRKDEV-1368
might want to update README for given error:
==> iosxe1: Running provisioner: ansible...
Vagrant has automatically selected the compatibility mode '2.0'
according to the Ansible version installed (2.5.4).
Alternatively, the compatibility mode can be specified in your Vagrantfile:
https://www.vagrantup.com/docs/provisioning/ansible_common.html#compatibility_mode
iosxe1: Running ansible-playbook...
PLAY [Complete Boot] ***********************************************************
TASK [Pause to complete boot] **************************************************
Pausing for 15 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [iosxe1]
PLAY [Bootstrap IOS XE Devices] ************************************************
TASK [Set Device Hostname] *****************************************************
fatal: [iosxe1]: FAILED! => {"msg": "Error reading SSH protocol banner[Errno 54] Connection reset by peer"}
to retry, use: --limit @/Users/jabelk/proofofconcept/devnet/BRKDEV-1368/ansible/playbooks/ansible_provision.retry
PLAY RECAP *********************************************************************
iosxe1 : ok=1 changed=0 unreachable=0 failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.
wait a few minutes for IOS XE to boot, then run
vagrant provision
to re run the playbook against devices now booted.
small typo: instead of
<filter>
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
<interface></interface>
</interfaces>
</filter>
added look_for_keys = False, and allow_agent=False to manager.connect
if __name__ == '__main__':
with manager.connect(host=ios_xe1["address"], port=ios_xe1["port"],
username=ios_xe1["username"],
password=ios_xe1["password"],
hostkey_verify=False,
look_for_keys = False,
allow_agent=False) as m:
from README pip install requirements.txt
not working:
$ pip install requirements.txt
Collecting requirements.txt
Could not find a version that satisfies the requirement requirements.txt (from versions: )
No matching distribution found for requirements.txt
should be
$ pip install -r requirements.txt
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.