cisco devnet and ansible beginner's guide to netdevops withs guide to... · sean cavanaugh...

19
Sean Cavanaugh Technical Marketing Manager, Ansible [email protected] Beginner's Guide to NetDevOps with Cisco DevNet and Ansible Hank Preston Developer Evangelist, Cisco [email protected]

Upload: dokhuong

Post on 27-Feb-2019

239 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

Sean CavanaughTechnical Marketing Manager, [email protected]

Beginner's Guide to NetDevOps with Cisco DevNet and Ansible

Hank PrestonDeveloper Evangelist, [email protected]

Page 2: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

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

Page 3: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

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!

Page 4: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

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

Page 5: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

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

Page 6: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

April 30- May 4

Booth 1120

Page 7: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

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

Page 8: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

Booth 849

Page 9: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

August 13-16, Boston, MA

Page 10: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

October 2-3

Page 11: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

© 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

Page 12: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

© 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?

Page 13: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

© 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

Page 14: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

© 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

Page 15: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

© 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!

Page 16: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

© 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

Page 17: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

© 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?

Page 18: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

© 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

Page 19: Cisco DevNet and Ansible Beginner's Guide to NetDevOps withs Guide to... · Sean Cavanaugh Technical Marketing Manager, Ansible seanc@redhat.com Beginner's Guide to NetDevOps with

19

Q / [email protected]

github.com/network-automation

facebook.com/ansibleautomation

twitter.com/ansible

+