Lab Automation by WWT: Ansible Tower and Cisco DNA Center as a - - PowerPoint PPT Presentation

lab automation by wwt
SMART_READER_LITE
LIVE PREVIEW

Lab Automation by WWT: Ansible Tower and Cisco DNA Center as a - - PowerPoint PPT Presentation

Lab Automation by WWT: Ansible Tower and Cisco DNA Center as a Platform Andrius Benokraitis Jeff Andiorio Product Manager Technical Solutions Architect andriusb@redhat.com Jeff.andiorio@wwt.com WHAT WERE TALKING ABOUT TODAY Upcoming


slide-1
SLIDE 1

Andrius Benokraitis Product Manager andriusb@redhat.com

Lab Automation by WWT:

Ansible Tower and Cisco DNA Center as a Platform

Jeff Andiorio Technical Solutions Architect Jeff.andiorio@wwt.com

slide-2
SLIDE 2

WHAT WE’RE TALKING ABOUT TODAY

Upcoming Events F5 Agility Ansiblefest 2018 Updates for Network Automation for Ansible 2.6 Porting Guide for 2.6 Lab Automation by WWT Ansible Tower and Cisco DNA Center as a Platform Q&A

slide-3
SLIDE 3

August 13-16, Boston, MA

slide-4
SLIDE 4

October 2-3

slide-5
SLIDE 5

Connection Plug-ins

  • httpapi - New connection method that simplifies connections to platform-specific

APIs such as Arista eAPI and Cisco NXAPI. This method replaces connection: local with connection: httpapi and then specifying the specific platform via the ansible_network_os variable.

Modules

  • net_get - downloads a large config file to target network device with SCP/SFTP
  • net_put - copies a large config file to target network device with SCP/SFTP
  • netconf_get - fetches the configuration and state data from remote NETCONF enabled network

device/host

  • netconf_rpc - executes generic NETCONF RPC (remote procedure call) commands that are

defined by NETCONF standard as well as proprietary RPC-based NETCONF capabilities supported by the remote network device/host

New for Ansible Network Automation

slide-6
SLIDE 6

Platform Support

  • Cisco Meraki
  • Extreme Networks

a.

SLXOS

b.

EXOS

  • F5 BIG-IQ
  • Infoblox - Fully supported with Red Hat Subscription
  • Ubiquiti EdgeOS

New for Ansible Network Automation

slide-7
SLIDE 7

Ansible 2.5 -> 2.6 Porting Guide

Docmentation: https://docs.ansible.com/ansible/2.6/porting_guides/porting_guide_2.6.html#networking

slide-8
SLIDE 8

Ab Abstrac act

WWT's Advanced Technology Center has many environments that can be accessed by customers and internal engineers to get hands-on exposure to the newest technologies. Maintaining and managing these labs absolutely requires automation and Ansible is a great choice. This webinar will explore the Ansible use case in WWT's deployment of Cisco DNA Center (DNA-C) / SD Access labs and WWT's newly released DNA-C Ansible Modules developed to aid in the automation of environment provisioning.

slide-9
SLIDE 9

Jeff Andiorio

Technical Solutions Architect, Mobility and Access Pr Previously worked for: Comm-Works, Harbor Technologies, Datatec, USAF Ex Experienced i in: Routing, Switching, Wireless, Service Provider, Data Center, Python, Ansible Lo Locatio tion: Mullica Hill, NJ Co Contact Informatio ion Email: Jeff.Andiorio@wwt.com

slide-10
SLIDE 10

Ag Agenda

  • What is DNA Center in < 5 Minutes
  • DNA Center and the ATC
  • Automating the Labs
  • DNA as a Platform Use Case
  • Short Live Demo
  • Questions?
slide-11
SLIDE 11

DNA Ce Center in Less Than 5 Minutes

slide-12
SLIDE 12

What is DNA Ce Center?

Network Infrastructure

Automation

  • Simplify
  • Abstract
  • Intent Defined

Assurance

  • Ingest Telemetry
  • Correlate to draw conclusions
  • Actionable Insights
slide-13
SLIDE 13

DNA Ce Center GUI Quick Look

slide-14
SLIDE 14

Network Infrastructure

C:> C:> C:> C:> C:> C:>

DNA Center as a Platform

  • App to App
  • Deploy intent
  • State or health
  • Higher-level orchestration
  • Self-service portal
slide-15
SLIDE 15

APIs Available

slide-16
SLIDE 16

REST APIs

Methods

GET POST PUT DELETE

  • Representational State Transfer
  • Uses HTTP Protocol
  • Simple to understand
slide-17
SLIDE 17

RE REST AP APIs

URI Format

https://dnac-prod.campus.wwtatc.local/api/v1/network-device?family=Unified AP

  • Protocol – The protocol, either secure or non-secure http
  • Host – IP Address or hostname of target device
  • Resource – Path to API of interest
  • Parameters – filter to be applied to research

Protocol Host Resource Parameters

slide-18
SLIDE 18

DNA Ce Center in the ATC

slide-19
SLIDE 19

ATC Vision

To create a collaborative ecosystem to design, build, educate, demonstrate and deploy innovative technology products and integrated architectural solutions for our customers, partners and employees around the globe.

AT ATC Mission Statement

slide-20
SLIDE 20

DNA DNA-C C in the ATC

  • 11 Distinct Environments
  • Training
  • R&D
  • Demos
  • Multiple Capabilities

Network Infrastructure

slide-21
SLIDE 21

Example of Environments

  • DNA Center Controllers
  • Identity Services Engine (ISE)
  • Routers
  • Switches
  • Wireless LAN Controllers
  • Virtual Machines
slide-22
SLIDE 22

Lifecycle of the Lab

Reserve Setup Execute Teardown

slide-23
SLIDE 23

Automating g in the ATC

slide-24
SLIDE 24

Goal al : Automation of Lab ab Cap apab abilities

Go Goal: Dynamically provision all elements of a capability to a predetermined state, accurately and with no manual intervention. Be Benefit its: Improved user experience due to the reliability and predictability of the capabilities and significant operational savings by relying on automation to execute all changes. Reduce Errors Reduce Effort Increase Scale

slide-25
SLIDE 25

Wh Why Ansible Tower?

  • Ease of Adoption
  • Existing Modules
  • API
  • Historical Logs
slide-26
SLIDE 26

Wh What t Are We Automati ting?

  • Ansible VMware Modules for Snapshot

management Cisco DNA Center

  • Ansible URI Modules for REST API Calls
  • DNA Center REST API Calls for configuration and

backup/restores

  • New Ansible Modules for DNA Center
  • Cisco Switch and Router Configurations using

Ansible Modules, Jinja Templates

slide-27
SLIDE 27

Au Autom

  • mation
  • n Sol
  • lution
  • n Com

Compon

  • nen

ents

Cisco DNA Center

Underlay Network Infrastructure Identity Services Engine

slide-28
SLIDE 28

DNA Ce Center as a Platform Use Ca Case

slide-29
SLIDE 29

Ne New O Opportu tunities ities f for Au Automa matio tion

  • Multiple checkpoints
  • Backup/Restore
  • No Factory Reset
  • Upgrades require rebuild of environments/checkpoints

Baseline End-State

slide-30
SLIDE 30

Ne New Ansible Modules for DNA NA Center

Network Infrastructure DNA Center as a Platform DNA-C Modules

Group Hierarchy Common Settings Global Credentials Credential Assignments Discovery IP Pools Role Assignments Site Assignments

Ne New Ansible Modules for DNA NA Center

Network Infrastructure DNA Center as a Platform DNA-C Modules

Group Hierarchy Common Settings Global Credentials Credential Assignments Discovery IP Pools Role Assignments Site Assignments

slide-31
SLIDE 31

DNA Ce Center Modules Demo

slide-32
SLIDE 32

Module(s) Architecture

dna dnac_activate_crede dential dna dnac_de device_assign_ n_site dna dnac_archi hive_config dna dnac_de device_role

Dnac.py in (~/module_utils/network)

dna dnac_timezone ne dna dnac_ba banne nner dna dnac_ntp dna dnac_snm nmp dna dnac_dhc dhcp dna dnac_dns dns dna dnac_ne netflow

  • w

dna dnac_syslog dna dnac_cli_crede dential dna dnac_ippo ppool dna dnac_snm nmpv2_crede dential dna dnac_group up

slide-33
SLIDE 33

Benefits of Ne New Modules

  • Enhance Overarching Automation Strategy
  • Expose Simplified Wrapper for DNAC
  • Create Flexibility in Lab Provisioning
slide-34
SLIDE 34

Key Take-aways

  • DNA Center is an interface to the network (DNAC-aap)
  • DNA Center Ansible Modules Expand Automation Options
  • Automation is fun-damental!
  • Ansible is powerful!
slide-35
SLIDE 35

Q&A

slide-36
SLIDE 36
slide-37
SLIDE 37

Useful Links

DevNet on DNA Center as a Platform https://developer.cisco.com/docs/dna-center/#!cisco-dna-center-platform-

  • verview

Cisco DNA Center APIs an any DNA Center https://{{dna_center}}/dna/apitester