cisco devnet and ansible beginner's guide to netdevops withs guide to... · sean cavanaugh...
TRANSCRIPT
Sean CavanaughTechnical Marketing Manager, [email protected]
Beginner's Guide to NetDevOps with Cisco DevNet and Ansible
Hank PrestonDeveloper Evangelist, [email protected]
WHAT WE’RE TALKING ABOUT TODAY2.5 AnnouncementRed Hat SummitAnsible AutomatesAnsiblefest 2018
NetDevOps with Cisco’s Hank Preston- Cisco IOS-XE- Cisco NX-OS- Cisco ACI- What to do next?
Q/A
Installation Directions:docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
Ansible 2.5 Porting Guide:docs.ansible.com/ansible/2.5/porting_guides/porting_guide_2.5.html
Ansible 2.5 Networking Features Blog:www.ansible.com/blog/coming-soon-networking-features-in-ansible-2.5
Ansible 2.5 has launchednetwork_cli and netconf are top level connection methods!
Look, Feel and Operate like AnsibleProvider method is no longer needed
---
- hosts: rtr1
connection: network_cli
remote_user: admin
become: yes
become_method: enable
tasks:
- name: Backup Configuration
ios_config:
backup: yes
For more information or to register visit: ansible.com/automates
Washington D.C. April 19th, 2018
Tokyo, JapanApril 24, 2018
Kuala Lumpur, MalaysiaApril 19th, 2018
April 30- May 4
Booth 1120
Hybrid Cloud Network Interconnect with Ansible
Steven Carter, Principal Solutions ArchitectPeter Sprygada, Distinguished Engineer
Tuesday, May 8 @ 11:45AM
May 8-10
Top 3 F5 BIG-IP and Ansible Use Cases
Eric Mcleroy, Sr. Solutions Architect Wednesday, May 9 @ 4:30PM
Booth 849
August 13-16, Boston, MA
October 2-3
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Ansible + Cisco Scope
• Demo: NetDevOps Configuration Management with Ansible
• What to do next!
Review
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• ACI http://bit.ly/ansible-aci
• AireOS http://bit.ly/ansible-aireos
• ASA http://bit.ly/ansible-asa
• IOS http://bit.ly/ansible-ios
• IOS XR http://bit.ly/ansible-iosxr
• NX OS http://bit.ly/ansible-nxos
• NETCONF http://bit.ly/ansible-netconf
• NSO http://bit.ly/ansible-nso
• UCS http://bit.ly/ansible-ucs
What can you do with Ansible + Cisco?
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Physical Topology• “Core” – IOS XE Routers• “Distribution” – NX-OS Switches• “Access” – NX-OS Switches
• Network has been cabled already
• Management access to devices enabled• No other configuration completed
Starting Network Topology
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Layer 3 Links between Core/Dist• OSPF Area 0 Routing Configured
• Distribution configured for VPC Domain
• Layer 2 port-channel trunk to access
• Set of VLANs Configured• SVIs at Distribution with HSRP Configured
Desired Network Configuration
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Inventory File• List network devices• Connection details• Logically grouped for configuration
• Host/Group Variable Files• Device specific details• General group details
• Ansible Roles• Align to network roles
• Ansible Playbook• Run roles against relevant groups
Use our Ansible Mastery!
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Network Policy: Bridge Domains, VRFs, etc
• Application Policy: App Profiles, EPGs, Contracts, etc
ACI Application Policy with Ansible
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
• Resources• Network Automation with Ansible (ansible.com)
• Ansible Network Modules (ansible.com)
• Networking Support Docs (ansible.com)
• Do the Demo Yourself!• https://github.com/hpreston/netdevops_demos
• DevNet Learning Labs• Introduction to Ansible • Using Ansible with NX-OS Devices • Introduction to ACI and Ansible • Home Lab: Using Ansible from your Desktop OS
• Blogs and Videos• What does "Network as Code" Mean?• Automating Cisco ACI with Ansible Eliminates Repetitive Day-to-Day Tasks
• NetDevOps Video Module
What do do next?
© 2018 Cisco and/or its affiliates. All rights reserved. Cisco Public
Got more questions? Stay in touch!
[email protected] @hfpreston http://github.com/hpreston
@CiscoDevNet facebook.com/ciscodevnet/ http://github.com/CiscoDevNet
Hank Preston developer.cisco.com
19
github.com/network-automation
facebook.com/ansibleautomation
twitter.com/ansible
+