SlideShare une entreprise Scribd logo
1  sur  37
Télécharger pour lire hors ligne
Managing Your Cisco Datacenter
Network with Ansible
Fabrizio Maccioni
Technical Marketing Engineer
fabrimac@cisco.com
@fabrimaccioni
2© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Session Objective:
Abstract
As IT organizations adopt the cloud strategyto build agile data centers, they
realize the need to move fast and drive higher levels of innovation.
One of the key components is automation for reliable provisioning and
management of the datacenter network.
Join us as we discuss how Ansible can be leveraged to manage your Cisco
data center network.
3© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Session NOT Objective:
Explain what Ansible is
Try to sell Ansible and/or Cisco gear
Deep dive on Ansible modules
Agenda
What problems are we trying to solve?
Ansible Overview on Cisco Nexus
Cisco Nexus before Ansible 2.0
New features introducedin Ansible 2.0
References and Joint RedHat/Ansible/Ciscoinitiatives
Agenda
What problems are we trying to solve?
Ansible Overview on Cisco Nexus
Cisco Nexus before Ansible 2.0
New features introducedin Ansible 2.0
References and Joint RedHat/Ansible/Ciscoinitiatives
6© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Why?
“I can spin up servers in minutes with my Ansible Playbooks,
why does it take orders of magnitude more to spin up and affect
change on my Network Elements?”
“IT Organizations using configuration management tools
deploy 30x more frequently with 200x shorter lead times;
they have 60x fewer failures and recover 168x faster”
2015 State of DevOps Report
7© 2013-2014 Cisco and/or its affiliates. All rights reserved.
ServicesNetwork
Data CenterAutomation and IT Collaboration
Today: SerializedConfigurationand Management
SUCCESSFUL
DEPLOYMENT
Slow
Error Prone
ApplicationsCompute
Application
Requirements
8© 2013-2014 Cisco and/or its affiliates. All rights reserved.
ServicesNetwork
Data CenterAutomation and IT Collaboration
Today: SerializedConfigurationand Management
SUCCESSFUL
DEPLOYMENT
ApplicationsCompute
Application
Requirements
9© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Access
Core
DC Network Transformation
Legacy 3 tiers Architecture
Aggregation
10© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Leaf
Spine
Huge Fabrics: many Spines and 100s Leaves
DC Network Transformation
Modern Fabrics Architecture
Border Leaf
Huge Fabrics: many Spines and 100s Leaves
Scale
Consistency
L3
11© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Huge Fabrics: many Spines and 100s Leaves
Ansible and Cisco: Better Together
Huge Fabrics: many Spines and 100s LeavesNetwork, Servers and Applications Configurations managed by Ansible
… Cisco UCS
Cisco Nexus
Fabric
Agenda
What problems are we trying to solve?
Ansible Overview on Cisco Nexus
Cisco Nexus before Ansible 2.0
New features introducedin Ansible 2.0
References and Joint RedHat/Ansible/Ciscoinitiatives
13© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Why Ansible?
• Everybody talks about Ansible!!
• Streamlined and Fast
• Yaml is easy
• Good Documentation
• Agentless!
• Agentless!!
• Agentless!!!
Must be cool!!
https://clusterhq.com/assets/pdfs/state-of-container-usage-june-2015.pdf
Which container orchestration tools
are you considering?
14© 2013-2014 Cisco and/or its affiliates. All rights reserved.
(Via SSH/HTTP[S])
(Via ssh)
Ansible Overview on Cisco Nexus
How Ansible TypicallyWorks
CLI
15© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Show
clock
NXAPI Web Server
(NGINX)
{
"jsonrpc": "2.0",
"method": "cli",
"params": {
"cmd": "show clock",
"version": 1
},
"id": 1
}
{
"jsonrpc": "2.0",
"result": {
"body": {
"simple_time": "15:00:37.762 PST Mon Aug 18 2014n"
}
},
"id": 1
}
HTTP / HTTPS
Switch(config)# feature nxapi
Ansible Overview on Cisco Nexus
Technology Enabler: NX-API
16© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Ansible Overview on Cisco Nexus
NXAPI Web Sandbox (1) Point browser to IP Address of Network Element
(2) Enter CLI Commands
(2) See formatted input as you type (3) See formatted output in json/xml
(3) Click POST (4) Generate Python script
17© 2013-2014 Cisco and/or its affiliates. All rights reserved.
System
Physical
eth1/1,
eth1/2…
BGP
BGP router
ID, peers…
ARP
ARP
entries
VRF
VRF
instances
Ansible Overview on Cisco Nexus
Object Model
18© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Ansible Overview on Cisco Nexus
Object Model
19© 2013-2014 Cisco and/or its affiliates. All rights reserved.
System
BgpEntity BgpInstance BgpDomain BgpPeer
BgpLocalASN
BgpPeerAf
BgpPeerEntry
L1PhysIf
ethpmPhysIf ethpmPortCap
L1Load
L1StormControl
Globally unique identifier for an object in the database
Naming rule on http://developer.cisco.com
Ansible Overview on Cisco Nexus
Object Model
sys/bgp/inst/dom-default/peer-[192.168.0.2]sys/phys-[eth1/1]/phys/portcap
20© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Python
API
BashTCL
CLI(VSH)
NGINIX
Server
Data Management Engine
Netconf
Transport: SSH
Data: XML
Object Store
SNMP
Agent
SNMP
NX-API
REST
Netconf
Client
BGP LACP ACL QoSVLAN
Transaction Commit Status: Success/Raise
Fault
1
Ansible Overview on Cisco Nexus
Object Model
NX-API
CLI
21© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Ansible Overview on Cisco Nexus
Object Model: Native vs Open Models
Data Management Engine
Transport: SSH
Data: XML
Object Store
BGP LACP ACL QoSVLAN
Transaction Commit Status: Success/Raise
Fault
NX-API
REST
Model Mapping
Agenda
What problems are we trying to solve?
Ansible Overview on Cisco Nexus
Cisco Nexus before Ansible 2.0
New features introducedin Ansible 2.0
References and Joint RedHat/Ansible/Ciscoinitiatives
23© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Cisco Nexus before Ansible 2.0
how to
1. Install pycsco Open Source Library
2. Clone nxos-ansible Ansible Modules Repository
And follow instructions at
https://github.com/jedelman8/nxos-ansible
3. Test some Playbooks
https://github.com/jedelman8/nxos-ansible/tree/master/test-playbooks
24© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Command SNMP groupSNMP Server
SNMP
Community
SNMP user
Interface VTP VLAN
AAAserverAAAServer host
ACL
Copy
DirFeature File Copy
Get Facts
Get Interface
Get IPv4
Interface
Get Neighbors HSRP IGMP
NTP Switchport VPC
UDLD
Cisco NX-OS Configuration
Cisco Nexus before Ansible 2.0
Modules
https://github.com/jedelman8/nxos-ansible/tree/master/library
25© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Cisco Nexus before Ansible 2.0
Sample Playbook: VLAN configuration
Agenda
What problems are we trying to solve?
Ansible Overview on Cisco Nexus
Cisco Nexus before Ansible 2.0
New features introduced in Ansible 2.0
References and Joint RedHat/Ansible/Ciscoinitiatives
27© 2013-2014 Cisco and/or its affiliates. All rights reserved.
New features introduced in Ansible 2.0
Key Features
• New Nexus Core Modules!!
nxos_config Manage Cisco NXOS configuration sections
nxos_command Run arbitrary command on Cisco NXOS devices
nxos_template Manage Cisco NXOS device configurations over SSH or NXAPI
• Support for different transports
SSH and NX-API
• Several new useful Options
delegate_to,waitfor, force, backup, retries,before/after and more!
28© 2013-2014 Cisco and/or its affiliates. All rights reserved.
New features introduced in Ansible 2.0
Key Features
• IOS/IOS-XE and IOS-XR Core Modules
• ios_config Manage Cisco IOS configuration sections
• ios_template Manage Cisco IOS device configurations over SSH
29© 2013-2014 Cisco and/or its affiliates. All rights reserved.
New features introduced in Ansible 2.0
How to
1. Install pycsco Library
2. Clone nxos-ansible Repository
3. Follow instructions at
https://github.com/jedelman8/nxos-ansible
Test some Playbooks
https://github.com/ansible/test-nxos.git
30© 2013-2014 Cisco and/or its affiliates. All rights reserved.
New features introduced in Ansible 2.0
Sample Playbook
31© 2013-2014 Cisco and/or its affiliates. All rights reserved.
ServicesNetwork
Cisco And Ansible: Better Together
SUCCESSFUL
DEPLOYMENT
ApplicationsCompute
Application
Requirements
ACCELERATE APPLICATION DEPLOYMENT
Open NX-OS
Open Ecosystem
Ansible Native Support
Agenda
What problems are we trying to solve?
Ansible Overview on Cisco Nexus
Cisco Nexus before Ansible 2.0
New features introducedin Ansible 2.0
References and Joint RedHat/Ansible/Ciscoinitiatives
33© 2013-2014 Cisco and/or its affiliates. All rights reserved.
References
Ansible
http://docs.ansible.com/ansible/list_of_network_modules.html
GitHub
https://github.com/datacenter
https://github.com/datacenter/opennxos
https://github.com/datacenter/nxos-ansible
Cisco
§ http://www.cisco.com/go/ansible
34© 2013-2014 Cisco and/or its affiliates. All rights reserved.
http://developer.cisco.com
Cisco Open Initiative: DevNet
Community
Developer
Support
Events
35© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Joint RedHat/Ansible/Cisco initiatives
1. RedHat/Ansible Press Release, February
2. Ansible on Cisco Nexus Webinar, March
3. Cisco Modules update
4. Ansible on Cisco Nexus White Paper
5. More to come…
Ansible Modules
36© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Managing Your Cisco Datacenter Network with Ansible
Fabrizio Maccioni
Technical Marketing Engineer
fabrimac@cisco.com
@fabrimaccioni

Contenu connexe

Tendances

Ansible, best practices
Ansible, best practicesAnsible, best practices
Ansible, best practicesBas Meijer
 
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'rmcleay
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to AnsibleKnoldus Inc.
 
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...Simplilearn
 
Go Faster with Ansible (AWS meetup)
Go Faster with Ansible (AWS meetup)Go Faster with Ansible (AWS meetup)
Go Faster with Ansible (AWS meetup)Richard Donkin
 
Ansible at work
Ansible at workAnsible at work
Ansible at workBas Meijer
 
docker build with Ansible
docker build with Ansibledocker build with Ansible
docker build with AnsibleBas Meijer
 
Getting started with Ansible
Getting started with AnsibleGetting started with Ansible
Getting started with AnsibleIvan Serdyuk
 
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12Keith Resar
 
Ansible Intro - June 2015 / Ansible Barcelona User Group
Ansible Intro - June 2015 / Ansible Barcelona User GroupAnsible Intro - June 2015 / Ansible Barcelona User Group
Ansible Intro - June 2015 / Ansible Barcelona User GroupOrestes Carracedo
 
Using Ansible for Deploying to Cloud Environments
Using Ansible for Deploying to Cloud EnvironmentsUsing Ansible for Deploying to Cloud Environments
Using Ansible for Deploying to Cloud Environmentsahamilton55
 
DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!Jeff Geerling
 
Ansible on aws - Pop-up Loft Tel Aviv
Ansible on aws - Pop-up Loft Tel AvivAnsible on aws - Pop-up Loft Tel Aviv
Ansible on aws - Pop-up Loft Tel AvivAmazon Web Services
 
Python Deployment with Fabric
Python Deployment with FabricPython Deployment with Fabric
Python Deployment with Fabricandymccurdy
 
Docker ansible-make-chef-puppet-unnecessary-minnihan
Docker ansible-make-chef-puppet-unnecessary-minnihanDocker ansible-make-chef-puppet-unnecessary-minnihan
Docker ansible-make-chef-puppet-unnecessary-minnihanjbminn
 
Ansible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less CoffeeAnsible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less CoffeeSarah Z
 

Tendances (20)

Ansible and AWS
Ansible and AWSAnsible and AWS
Ansible and AWS
 
Network automation (NetDevOps) with Ansible
Network automation (NetDevOps) with AnsibleNetwork automation (NetDevOps) with Ansible
Network automation (NetDevOps) with Ansible
 
Ansible, best practices
Ansible, best practicesAnsible, best practices
Ansible, best practices
 
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
DevOps in a Regulated World - aka 'Ansible, AWS, and Jenkins'
 
Introduction to Ansible
Introduction to AnsibleIntroduction to Ansible
Introduction to Ansible
 
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
What Is Ansible? | How Ansible Works? | Ansible Tutorial For Beginners | DevO...
 
Go Faster with Ansible (AWS meetup)
Go Faster with Ansible (AWS meetup)Go Faster with Ansible (AWS meetup)
Go Faster with Ansible (AWS meetup)
 
Ansible at work
Ansible at workAnsible at work
Ansible at work
 
docker build with Ansible
docker build with Ansibledocker build with Ansible
docker build with Ansible
 
Getting started with Ansible
Getting started with AnsibleGetting started with Ansible
Getting started with Ansible
 
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
Ansible Automation Best Practices From Startups to Enterprises - Minnebar 12
 
Ansible Intro - June 2015 / Ansible Barcelona User Group
Ansible Intro - June 2015 / Ansible Barcelona User GroupAnsible Intro - June 2015 / Ansible Barcelona User Group
Ansible Intro - June 2015 / Ansible Barcelona User Group
 
Using Ansible for Deploying to Cloud Environments
Using Ansible for Deploying to Cloud EnvironmentsUsing Ansible for Deploying to Cloud Environments
Using Ansible for Deploying to Cloud Environments
 
DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!DevOps for Humans - Ansible for Drupal Deployment Victory!
DevOps for Humans - Ansible for Drupal Deployment Victory!
 
Ansible on aws - Pop-up Loft Tel Aviv
Ansible on aws - Pop-up Loft Tel AvivAnsible on aws - Pop-up Loft Tel Aviv
Ansible on aws - Pop-up Loft Tel Aviv
 
Python Deployment with Fabric
Python Deployment with FabricPython Deployment with Fabric
Python Deployment with Fabric
 
Ansible
AnsibleAnsible
Ansible
 
Docker ansible-make-chef-puppet-unnecessary-minnihan
Docker ansible-make-chef-puppet-unnecessary-minnihanDocker ansible-make-chef-puppet-unnecessary-minnihan
Docker ansible-make-chef-puppet-unnecessary-minnihan
 
Ansible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less CoffeeAnsible: How to Get More Sleep and Require Less Coffee
Ansible: How to Get More Sleep and Require Less Coffee
 
ansible why ?
ansible why ?ansible why ?
ansible why ?
 

En vedette

Using Ansible Dynamic Inventory with Amazon EC2
Using Ansible Dynamic Inventory with Amazon EC2Using Ansible Dynamic Inventory with Amazon EC2
Using Ansible Dynamic Inventory with Amazon EC2Brian Schott
 
Ansible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife OrchestrationAnsible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife Orchestrationbcoca
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentationJohn Lynch
 
Testing Ansible with Jenkins and Docker
Testing Ansible with Jenkins and DockerTesting Ansible with Jenkins and Docker
Testing Ansible with Jenkins and DockerDennis Rowe
 
Automation and Ansible
Automation and AnsibleAutomation and Ansible
Automation and Ansiblejtyr
 
Automated Deployments with Ansible
Automated Deployments with AnsibleAutomated Deployments with Ansible
Automated Deployments with AnsibleMartin Etmajer
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricksbcoca
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction Robert Reiz
 
Infrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & AnsibleInfrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & AnsibleRobert Reiz
 
Test-Driven Infrastructure with Ansible, Test Kitchen, Serverspec and RSpec
Test-Driven Infrastructure with Ansible, Test Kitchen, Serverspec and RSpecTest-Driven Infrastructure with Ansible, Test Kitchen, Serverspec and RSpec
Test-Driven Infrastructure with Ansible, Test Kitchen, Serverspec and RSpecMartin Etmajer
 
It Works On My Machine: Vagrant for Software Development
It Works On My Machine: Vagrant for Software DevelopmentIt Works On My Machine: Vagrant for Software Development
It Works On My Machine: Vagrant for Software DevelopmentCarlos Perez
 
Microservices: The Right Way
Microservices: The Right WayMicroservices: The Right Way
Microservices: The Right WayDaniel Woods
 
Automated Deployment with Capistrano
Automated Deployment with CapistranoAutomated Deployment with Capistrano
Automated Deployment with CapistranoSumit Chhetri
 
Multi-provider Vagrant and Chef: AWS, VMware, and more
Multi-provider Vagrant and Chef: AWS, VMware, and moreMulti-provider Vagrant and Chef: AWS, VMware, and more
Multi-provider Vagrant and Chef: AWS, VMware, and moreChef Software, Inc.
 
Vagrant for real (codemotion rome 2016)
Vagrant for real (codemotion rome 2016)Vagrant for real (codemotion rome 2016)
Vagrant for real (codemotion rome 2016)Michele Orselli
 
Automated UCS configuration with Ansible
Automated UCS configuration with AnsibleAutomated UCS configuration with Ansible
Automated UCS configuration with AnsibleUnivention GmbH
 
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...Cisco DevNet
 
V2 and beyond
V2 and beyondV2 and beyond
V2 and beyondjimi-c
 

En vedette (20)

Using Ansible Dynamic Inventory with Amazon EC2
Using Ansible Dynamic Inventory with Amazon EC2Using Ansible Dynamic Inventory with Amazon EC2
Using Ansible Dynamic Inventory with Amazon EC2
 
Ansible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife OrchestrationAnsible - Swiss Army Knife Orchestration
Ansible - Swiss Army Knife Orchestration
 
Ansible presentation
Ansible presentationAnsible presentation
Ansible presentation
 
Testing Ansible with Jenkins and Docker
Testing Ansible with Jenkins and DockerTesting Ansible with Jenkins and Docker
Testing Ansible with Jenkins and Docker
 
Automation and Ansible
Automation and AnsibleAutomation and Ansible
Automation and Ansible
 
Automated Deployments with Ansible
Automated Deployments with AnsibleAutomated Deployments with Ansible
Automated Deployments with Ansible
 
Ansible tips & tricks
Ansible tips & tricksAnsible tips & tricks
Ansible tips & tricks
 
Ansible Introduction
Ansible Introduction Ansible Introduction
Ansible Introduction
 
Infrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & AnsibleInfrastructure Deployment with Docker & Ansible
Infrastructure Deployment with Docker & Ansible
 
Test-Driven Infrastructure with Ansible, Test Kitchen, Serverspec and RSpec
Test-Driven Infrastructure with Ansible, Test Kitchen, Serverspec and RSpecTest-Driven Infrastructure with Ansible, Test Kitchen, Serverspec and RSpec
Test-Driven Infrastructure with Ansible, Test Kitchen, Serverspec and RSpec
 
It Works On My Machine: Vagrant for Software Development
It Works On My Machine: Vagrant for Software DevelopmentIt Works On My Machine: Vagrant for Software Development
It Works On My Machine: Vagrant for Software Development
 
Vagrant For DevOps
Vagrant For DevOpsVagrant For DevOps
Vagrant For DevOps
 
Vagrant to-aws-flow
Vagrant to-aws-flowVagrant to-aws-flow
Vagrant to-aws-flow
 
Microservices: The Right Way
Microservices: The Right WayMicroservices: The Right Way
Microservices: The Right Way
 
Automated Deployment with Capistrano
Automated Deployment with CapistranoAutomated Deployment with Capistrano
Automated Deployment with Capistrano
 
Multi-provider Vagrant and Chef: AWS, VMware, and more
Multi-provider Vagrant and Chef: AWS, VMware, and moreMulti-provider Vagrant and Chef: AWS, VMware, and more
Multi-provider Vagrant and Chef: AWS, VMware, and more
 
Vagrant for real (codemotion rome 2016)
Vagrant for real (codemotion rome 2016)Vagrant for real (codemotion rome 2016)
Vagrant for real (codemotion rome 2016)
 
Automated UCS configuration with Ansible
Automated UCS configuration with AnsibleAutomated UCS configuration with Ansible
Automated UCS configuration with Ansible
 
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
NetDevOps for the Network Dude: How to get started with API's, Ansible and Py...
 
V2 and beyond
V2 and beyondV2 and beyond
V2 and beyond
 

Similaire à Managing Your Cisco Datacenter Network with Ansible

Beginner's guide to net devops with cisco devnet and ansible
Beginner's guide to net devops with cisco devnet and ansibleBeginner's guide to net devops with cisco devnet and ansible
Beginner's guide to net devops with cisco devnet and ansiblecong tuan
 
4. Kubernetes - Application centric infrastructure kubernetes, contiv
4. Kubernetes - Application centric infrastructure  kubernetes, contiv4. Kubernetes - Application centric infrastructure  kubernetes, contiv
4. Kubernetes - Application centric infrastructure kubernetes, contivJuraj Hantak
 
Triangle Kubernetes Meetup: Container cloud networking - Contiv for K8S & Ope...
Triangle Kubernetes Meetup: Container cloud networking - Contiv for K8S & Ope...Triangle Kubernetes Meetup: Container cloud networking - Contiv for K8S & Ope...
Triangle Kubernetes Meetup: Container cloud networking - Contiv for K8S & Ope...Sanjeev Rampal
 
BRKSPG-2069-64bit-package.pdf
BRKSPG-2069-64bit-package.pdfBRKSPG-2069-64bit-package.pdf
BRKSPG-2069-64bit-package.pdfHeng30
 
One tool, two fabrics: Ansible and Nexus 9000
One tool, two fabrics: Ansible and Nexus 9000One tool, two fabrics: Ansible and Nexus 9000
One tool, two fabrics: Ansible and Nexus 9000Joel W. King
 
PLNOG14: Service orchestration in provider network, Tail-f - Przemysław Borek
PLNOG14: Service orchestration in provider network, Tail-f - Przemysław BorekPLNOG14: Service orchestration in provider network, Tail-f - Przemysław Borek
PLNOG14: Service orchestration in provider network, Tail-f - Przemysław BorekPROIDEA
 
Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...
Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...
Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...Sanjeev Rampal
 
CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014Hortonworks
 
RTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIRTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIJoel W. King
 
PLNOG16: IOS XR – 12 lat innowacji, Krzysztof Mazepa
PLNOG16: IOS XR – 12 lat innowacji, Krzysztof MazepaPLNOG16: IOS XR – 12 lat innowacji, Krzysztof Mazepa
PLNOG16: IOS XR – 12 lat innowacji, Krzysztof MazepaPROIDEA
 
Ansible x napalm x nso 解説・比較パネルディスカッション nso
Ansible x napalm x nso 解説・比較パネルディスカッション nsoAnsible x napalm x nso 解説・比較パネルディスカッション nso
Ansible x napalm x nso 解説・比較パネルディスカッション nsoAkira Iwamoto
 
NSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
NSO: Network Service Orchestrator enabled by Tail-f Hands-on LabNSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
NSO: Network Service Orchestrator enabled by Tail-f Hands-on LabCisco Canada
 
Network Function Virtualization (NFV) using IOS-XR
Network Function Virtualization (NFV) using IOS-XRNetwork Function Virtualization (NFV) using IOS-XR
Network Function Virtualization (NFV) using IOS-XRCisco Canada
 
Gain Insight and Programmability with Cisco DC Networking
Gain Insight and Programmability with Cisco DC NetworkingGain Insight and Programmability with Cisco DC Networking
Gain Insight and Programmability with Cisco DC NetworkingCisco Canada
 
Cisco Connect Vancouver 2017 - Compute infrastructure for a hybrid cloud
Cisco Connect Vancouver 2017 - Compute infrastructure for a hybrid cloudCisco Connect Vancouver 2017 - Compute infrastructure for a hybrid cloud
Cisco Connect Vancouver 2017 - Compute infrastructure for a hybrid cloudCisco Canada
 
Elastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ CiscoElastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ CiscoElasticsearch
 
Top 5 favourite features of Cisco ACI in Pulsant Cloud Data Centres
Top 5 favourite features of Cisco ACI in Pulsant Cloud Data Centres Top 5 favourite features of Cisco ACI in Pulsant Cloud Data Centres
Top 5 favourite features of Cisco ACI in Pulsant Cloud Data Centres Martin Lipka
 
Azure Kubernetes Service - benefits and challenges
Azure Kubernetes Service - benefits and challengesAzure Kubernetes Service - benefits and challenges
Azure Kubernetes Service - benefits and challengesWojciech Barczyński
 

Similaire à Managing Your Cisco Datacenter Network with Ansible (20)

Beginner's guide to net devops with cisco devnet and ansible
Beginner's guide to net devops with cisco devnet and ansibleBeginner's guide to net devops with cisco devnet and ansible
Beginner's guide to net devops with cisco devnet and ansible
 
4. Kubernetes - Application centric infrastructure kubernetes, contiv
4. Kubernetes - Application centric infrastructure  kubernetes, contiv4. Kubernetes - Application centric infrastructure  kubernetes, contiv
4. Kubernetes - Application centric infrastructure kubernetes, contiv
 
Triangle Kubernetes Meetup: Container cloud networking - Contiv for K8S & Ope...
Triangle Kubernetes Meetup: Container cloud networking - Contiv for K8S & Ope...Triangle Kubernetes Meetup: Container cloud networking - Contiv for K8S & Ope...
Triangle Kubernetes Meetup: Container cloud networking - Contiv for K8S & Ope...
 
BRKSPG-2069-64bit-package.pdf
BRKSPG-2069-64bit-package.pdfBRKSPG-2069-64bit-package.pdf
BRKSPG-2069-64bit-package.pdf
 
One tool, two fabrics: Ansible and Nexus 9000
One tool, two fabrics: Ansible and Nexus 9000One tool, two fabrics: Ansible and Nexus 9000
One tool, two fabrics: Ansible and Nexus 9000
 
PLNOG14: Service orchestration in provider network, Tail-f - Przemysław Borek
PLNOG14: Service orchestration in provider network, Tail-f - Przemysław BorekPLNOG14: Service orchestration in provider network, Tail-f - Przemysław Borek
PLNOG14: Service orchestration in provider network, Tail-f - Przemysław Borek
 
Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...
Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...
Architecture of Cisco Container Platform: A new Enterprise Multi-Cloud Kubern...
 
CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014CISCO - Presentation at Hortonworks Booth - Strata 2014
CISCO - Presentation at Hortonworks Booth - Strata 2014
 
RTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACIRTP NPUG: Ansible Intro and Integration with ACI
RTP NPUG: Ansible Intro and Integration with ACI
 
PLNOG16: IOS XR – 12 lat innowacji, Krzysztof Mazepa
PLNOG16: IOS XR – 12 lat innowacji, Krzysztof MazepaPLNOG16: IOS XR – 12 lat innowacji, Krzysztof Mazepa
PLNOG16: IOS XR – 12 lat innowacji, Krzysztof Mazepa
 
ACI Hands-on Lab
ACI Hands-on LabACI Hands-on Lab
ACI Hands-on Lab
 
Ansible x napalm x nso 解説・比較パネルディスカッション nso
Ansible x napalm x nso 解説・比較パネルディスカッション nsoAnsible x napalm x nso 解説・比較パネルディスカッション nso
Ansible x napalm x nso 解説・比較パネルディスカッション nso
 
NSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
NSO: Network Service Orchestrator enabled by Tail-f Hands-on LabNSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
NSO: Network Service Orchestrator enabled by Tail-f Hands-on Lab
 
Network Function Virtualization (NFV) using IOS-XR
Network Function Virtualization (NFV) using IOS-XRNetwork Function Virtualization (NFV) using IOS-XR
Network Function Virtualization (NFV) using IOS-XR
 
Gain Insight and Programmability with Cisco DC Networking
Gain Insight and Programmability with Cisco DC NetworkingGain Insight and Programmability with Cisco DC Networking
Gain Insight and Programmability with Cisco DC Networking
 
5 cisco open_stack
5 cisco open_stack5 cisco open_stack
5 cisco open_stack
 
Cisco Connect Vancouver 2017 - Compute infrastructure for a hybrid cloud
Cisco Connect Vancouver 2017 - Compute infrastructure for a hybrid cloudCisco Connect Vancouver 2017 - Compute infrastructure for a hybrid cloud
Cisco Connect Vancouver 2017 - Compute infrastructure for a hybrid cloud
 
Elastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ CiscoElastic Cloud Enterprise @ Cisco
Elastic Cloud Enterprise @ Cisco
 
Top 5 favourite features of Cisco ACI in Pulsant Cloud Data Centres
Top 5 favourite features of Cisco ACI in Pulsant Cloud Data Centres Top 5 favourite features of Cisco ACI in Pulsant Cloud Data Centres
Top 5 favourite features of Cisco ACI in Pulsant Cloud Data Centres
 
Azure Kubernetes Service - benefits and challenges
Azure Kubernetes Service - benefits and challengesAzure Kubernetes Service - benefits and challenges
Azure Kubernetes Service - benefits and challenges
 

Dernier

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024Lonnie McRorey
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsNathaniel Shimoni
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rick Flair
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenHervé Boutemy
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxLoriGlavin3
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Dernier (20)

TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024TeamStation AI System Report LATAM IT Salaries 2024
TeamStation AI System Report LATAM IT Salaries 2024
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
Time Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directionsTime Series Foundation Models - current state and future directions
Time Series Foundation Models - current state and future directions
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...Rise of the Machines: Known As Drones...
Rise of the Machines: Known As Drones...
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
DevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache MavenDevoxxFR 2024 Reproducible Builds with Apache Maven
DevoxxFR 2024 Reproducible Builds with Apache Maven
 
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptxThe Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
The Fit for Passkeys for Employee and Consumer Sign-ins: FIDO Paris Seminar.pptx
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

Managing Your Cisco Datacenter Network with Ansible

  • 1. Managing Your Cisco Datacenter Network with Ansible Fabrizio Maccioni Technical Marketing Engineer fabrimac@cisco.com @fabrimaccioni
  • 2. 2© 2013-2014 Cisco and/or its affiliates. All rights reserved. Session Objective: Abstract As IT organizations adopt the cloud strategyto build agile data centers, they realize the need to move fast and drive higher levels of innovation. One of the key components is automation for reliable provisioning and management of the datacenter network. Join us as we discuss how Ansible can be leveraged to manage your Cisco data center network.
  • 3. 3© 2013-2014 Cisco and/or its affiliates. All rights reserved. Session NOT Objective: Explain what Ansible is Try to sell Ansible and/or Cisco gear Deep dive on Ansible modules
  • 4. Agenda What problems are we trying to solve? Ansible Overview on Cisco Nexus Cisco Nexus before Ansible 2.0 New features introducedin Ansible 2.0 References and Joint RedHat/Ansible/Ciscoinitiatives
  • 5. Agenda What problems are we trying to solve? Ansible Overview on Cisco Nexus Cisco Nexus before Ansible 2.0 New features introducedin Ansible 2.0 References and Joint RedHat/Ansible/Ciscoinitiatives
  • 6. 6© 2013-2014 Cisco and/or its affiliates. All rights reserved. Why? “I can spin up servers in minutes with my Ansible Playbooks, why does it take orders of magnitude more to spin up and affect change on my Network Elements?” “IT Organizations using configuration management tools deploy 30x more frequently with 200x shorter lead times; they have 60x fewer failures and recover 168x faster” 2015 State of DevOps Report
  • 7. 7© 2013-2014 Cisco and/or its affiliates. All rights reserved. ServicesNetwork Data CenterAutomation and IT Collaboration Today: SerializedConfigurationand Management SUCCESSFUL DEPLOYMENT Slow Error Prone ApplicationsCompute Application Requirements
  • 8. 8© 2013-2014 Cisco and/or its affiliates. All rights reserved. ServicesNetwork Data CenterAutomation and IT Collaboration Today: SerializedConfigurationand Management SUCCESSFUL DEPLOYMENT ApplicationsCompute Application Requirements
  • 9. 9© 2013-2014 Cisco and/or its affiliates. All rights reserved. Access Core DC Network Transformation Legacy 3 tiers Architecture Aggregation
  • 10. 10© 2013-2014 Cisco and/or its affiliates. All rights reserved. Leaf Spine Huge Fabrics: many Spines and 100s Leaves DC Network Transformation Modern Fabrics Architecture Border Leaf Huge Fabrics: many Spines and 100s Leaves Scale Consistency L3
  • 11. 11© 2013-2014 Cisco and/or its affiliates. All rights reserved. Huge Fabrics: many Spines and 100s Leaves Ansible and Cisco: Better Together Huge Fabrics: many Spines and 100s LeavesNetwork, Servers and Applications Configurations managed by Ansible … Cisco UCS Cisco Nexus Fabric
  • 12. Agenda What problems are we trying to solve? Ansible Overview on Cisco Nexus Cisco Nexus before Ansible 2.0 New features introducedin Ansible 2.0 References and Joint RedHat/Ansible/Ciscoinitiatives
  • 13. 13© 2013-2014 Cisco and/or its affiliates. All rights reserved. Why Ansible? • Everybody talks about Ansible!! • Streamlined and Fast • Yaml is easy • Good Documentation • Agentless! • Agentless!! • Agentless!!! Must be cool!! https://clusterhq.com/assets/pdfs/state-of-container-usage-june-2015.pdf Which container orchestration tools are you considering?
  • 14. 14© 2013-2014 Cisco and/or its affiliates. All rights reserved. (Via SSH/HTTP[S]) (Via ssh) Ansible Overview on Cisco Nexus How Ansible TypicallyWorks CLI
  • 15. 15© 2013-2014 Cisco and/or its affiliates. All rights reserved. Show clock NXAPI Web Server (NGINX) { "jsonrpc": "2.0", "method": "cli", "params": { "cmd": "show clock", "version": 1 }, "id": 1 } { "jsonrpc": "2.0", "result": { "body": { "simple_time": "15:00:37.762 PST Mon Aug 18 2014n" } }, "id": 1 } HTTP / HTTPS Switch(config)# feature nxapi Ansible Overview on Cisco Nexus Technology Enabler: NX-API
  • 16. 16© 2013-2014 Cisco and/or its affiliates. All rights reserved. Ansible Overview on Cisco Nexus NXAPI Web Sandbox (1) Point browser to IP Address of Network Element (2) Enter CLI Commands (2) See formatted input as you type (3) See formatted output in json/xml (3) Click POST (4) Generate Python script
  • 17. 17© 2013-2014 Cisco and/or its affiliates. All rights reserved. System Physical eth1/1, eth1/2… BGP BGP router ID, peers… ARP ARP entries VRF VRF instances Ansible Overview on Cisco Nexus Object Model
  • 18. 18© 2013-2014 Cisco and/or its affiliates. All rights reserved. Ansible Overview on Cisco Nexus Object Model
  • 19. 19© 2013-2014 Cisco and/or its affiliates. All rights reserved. System BgpEntity BgpInstance BgpDomain BgpPeer BgpLocalASN BgpPeerAf BgpPeerEntry L1PhysIf ethpmPhysIf ethpmPortCap L1Load L1StormControl Globally unique identifier for an object in the database Naming rule on http://developer.cisco.com Ansible Overview on Cisco Nexus Object Model sys/bgp/inst/dom-default/peer-[192.168.0.2]sys/phys-[eth1/1]/phys/portcap
  • 20. 20© 2013-2014 Cisco and/or its affiliates. All rights reserved. Python API BashTCL CLI(VSH) NGINIX Server Data Management Engine Netconf Transport: SSH Data: XML Object Store SNMP Agent SNMP NX-API REST Netconf Client BGP LACP ACL QoSVLAN Transaction Commit Status: Success/Raise Fault 1 Ansible Overview on Cisco Nexus Object Model NX-API CLI
  • 21. 21© 2013-2014 Cisco and/or its affiliates. All rights reserved. Ansible Overview on Cisco Nexus Object Model: Native vs Open Models Data Management Engine Transport: SSH Data: XML Object Store BGP LACP ACL QoSVLAN Transaction Commit Status: Success/Raise Fault NX-API REST Model Mapping
  • 22. Agenda What problems are we trying to solve? Ansible Overview on Cisco Nexus Cisco Nexus before Ansible 2.0 New features introducedin Ansible 2.0 References and Joint RedHat/Ansible/Ciscoinitiatives
  • 23. 23© 2013-2014 Cisco and/or its affiliates. All rights reserved. Cisco Nexus before Ansible 2.0 how to 1. Install pycsco Open Source Library 2. Clone nxos-ansible Ansible Modules Repository And follow instructions at https://github.com/jedelman8/nxos-ansible 3. Test some Playbooks https://github.com/jedelman8/nxos-ansible/tree/master/test-playbooks
  • 24. 24© 2013-2014 Cisco and/or its affiliates. All rights reserved. Command SNMP groupSNMP Server SNMP Community SNMP user Interface VTP VLAN AAAserverAAAServer host ACL Copy DirFeature File Copy Get Facts Get Interface Get IPv4 Interface Get Neighbors HSRP IGMP NTP Switchport VPC UDLD Cisco NX-OS Configuration Cisco Nexus before Ansible 2.0 Modules https://github.com/jedelman8/nxos-ansible/tree/master/library
  • 25. 25© 2013-2014 Cisco and/or its affiliates. All rights reserved. Cisco Nexus before Ansible 2.0 Sample Playbook: VLAN configuration
  • 26. Agenda What problems are we trying to solve? Ansible Overview on Cisco Nexus Cisco Nexus before Ansible 2.0 New features introduced in Ansible 2.0 References and Joint RedHat/Ansible/Ciscoinitiatives
  • 27. 27© 2013-2014 Cisco and/or its affiliates. All rights reserved. New features introduced in Ansible 2.0 Key Features • New Nexus Core Modules!! nxos_config Manage Cisco NXOS configuration sections nxos_command Run arbitrary command on Cisco NXOS devices nxos_template Manage Cisco NXOS device configurations over SSH or NXAPI • Support for different transports SSH and NX-API • Several new useful Options delegate_to,waitfor, force, backup, retries,before/after and more!
  • 28. 28© 2013-2014 Cisco and/or its affiliates. All rights reserved. New features introduced in Ansible 2.0 Key Features • IOS/IOS-XE and IOS-XR Core Modules • ios_config Manage Cisco IOS configuration sections • ios_template Manage Cisco IOS device configurations over SSH
  • 29. 29© 2013-2014 Cisco and/or its affiliates. All rights reserved. New features introduced in Ansible 2.0 How to 1. Install pycsco Library 2. Clone nxos-ansible Repository 3. Follow instructions at https://github.com/jedelman8/nxos-ansible Test some Playbooks https://github.com/ansible/test-nxos.git
  • 30. 30© 2013-2014 Cisco and/or its affiliates. All rights reserved. New features introduced in Ansible 2.0 Sample Playbook
  • 31. 31© 2013-2014 Cisco and/or its affiliates. All rights reserved. ServicesNetwork Cisco And Ansible: Better Together SUCCESSFUL DEPLOYMENT ApplicationsCompute Application Requirements ACCELERATE APPLICATION DEPLOYMENT Open NX-OS Open Ecosystem Ansible Native Support
  • 32. Agenda What problems are we trying to solve? Ansible Overview on Cisco Nexus Cisco Nexus before Ansible 2.0 New features introducedin Ansible 2.0 References and Joint RedHat/Ansible/Ciscoinitiatives
  • 33. 33© 2013-2014 Cisco and/or its affiliates. All rights reserved. References Ansible http://docs.ansible.com/ansible/list_of_network_modules.html GitHub https://github.com/datacenter https://github.com/datacenter/opennxos https://github.com/datacenter/nxos-ansible Cisco § http://www.cisco.com/go/ansible
  • 34. 34© 2013-2014 Cisco and/or its affiliates. All rights reserved. http://developer.cisco.com Cisco Open Initiative: DevNet Community Developer Support Events
  • 35. 35© 2013-2014 Cisco and/or its affiliates. All rights reserved. Joint RedHat/Ansible/Cisco initiatives 1. RedHat/Ansible Press Release, February 2. Ansible on Cisco Nexus Webinar, March 3. Cisco Modules update 4. Ansible on Cisco Nexus White Paper 5. More to come… Ansible Modules
  • 36. 36© 2013-2014 Cisco and/or its affiliates. All rights reserved. Managing Your Cisco Datacenter Network with Ansible
  • 37. Fabrizio Maccioni Technical Marketing Engineer fabrimac@cisco.com @fabrimaccioni