SlideShare a Scribd company logo
1 of 37
Download to read offline
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 CLI
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
https://www.ansible.com/networks
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.
RedHat/Ansible/Cisco initiatives
1. RedHat/Ansible Press Release
http://www.redhat.com/en/about/press-releases/red-hat-brings-devops-network-new-ansible-capabilities
2. Ansible on Cisco Nexus Webinar, March
3. Cisco Modules update
4. Ansible on Cisco Nexus White Paper
5. More to come…
36© 2013-2014 Cisco and/or its affiliates. All rights reserved.
Managing Your Cisco Datacenter Network with Ansible
Fabrizio Maccioni
Technical Marketing Engineer
E-mail: fabrimac@cisco.com
Twitter: @fabrimaccioni

More Related Content

What's hot

Hostvn ceph in production v1.1 dungtq
Hostvn   ceph in production v1.1 dungtqHostvn   ceph in production v1.1 dungtq
Hostvn ceph in production v1.1 dungtqViet Stack
 
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN ControllerOpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN ControllerYongyoon Shin
 
ISUCONインフラ提供から見るCycloudのこれから #ca_base_next / future of Cycloud see from ISUCO...
ISUCONインフラ提供から見るCycloudのこれから #ca_base_next / future of Cycloud see from ISUCO...ISUCONインフラ提供から見るCycloudのこれから #ca_base_next / future of Cycloud see from ISUCO...
ISUCONインフラ提供から見るCycloudのこれから #ca_base_next / future of Cycloud see from ISUCO...whywaita
 
[2015-11월 정기 세미나] Cloud Native Platform - Pivotal
[2015-11월 정기 세미나] Cloud Native Platform - Pivotal[2015-11월 정기 세미나] Cloud Native Platform - Pivotal
[2015-11월 정기 세미나] Cloud Native Platform - PivotalOpenStack Korea Community
 
Deploying vn fs with kubernetes pods and vms
Deploying vn fs with kubernetes pods and vmsDeploying vn fs with kubernetes pods and vms
Deploying vn fs with kubernetes pods and vmsLibbySchulze1
 
Deploying Kubernetes without scaring off your security team - KubeCon 2017
Deploying Kubernetes without scaring off your security team - KubeCon 2017Deploying Kubernetes without scaring off your security team - KubeCon 2017
Deploying Kubernetes without scaring off your security team - KubeCon 2017Major Hayden
 
OpenStack and private cloud
OpenStack and private cloudOpenStack and private cloud
OpenStack and private cloudSK Telecom
 
Integrate Kubernetes into CORD(Central Office Re-architected as a Datacenter)
Integrate Kubernetes into CORD(Central Office Re-architected as a Datacenter)Integrate Kubernetes into CORD(Central Office Re-architected as a Datacenter)
Integrate Kubernetes into CORD(Central Office Re-architected as a Datacenter)inwin stack
 
實際架構實踐演化與解決方案
實際架構實踐演化與解決方案實際架構實踐演化與解決方案
實際架構實踐演化與解決方案Camel Camel
 
Cloud-based Virtualization for Test Automation
Cloud-based Virtualization for Test AutomationCloud-based Virtualization for Test Automation
Cloud-based Virtualization for Test AutomationVikram G Hosakote
 
[OpenStack 하반기 스터디] DPDK & OpenStack why?
[OpenStack 하반기 스터디] DPDK & OpenStack why?[OpenStack 하반기 스터디] DPDK & OpenStack why?
[OpenStack 하반기 스터디] DPDK & OpenStack why?OpenStack Korea Community
 
CloudStack IPv6 in production
CloudStack IPv6 in productionCloudStack IPv6 in production
CloudStack IPv6 in productionShapeBlue
 
/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat
/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat
/bin/tails from OpenStack Operations: Rarm Nagalingam, Red HatOpenStack
 
Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例kao kuo-tung
 
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...Laure Vergeron
 
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치OpenStack Korea Community
 
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
 
Intro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networkingIntro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networkingPacket
 

What's hot (20)

Hostvn ceph in production v1.1 dungtq
Hostvn   ceph in production v1.1 dungtqHostvn   ceph in production v1.1 dungtq
Hostvn ceph in production v1.1 dungtq
 
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN ControllerOpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
OpenStack KOREA 정기 세미나_OpenStack meet iNaaS SDN Controller
 
ISUCONインフラ提供から見るCycloudのこれから #ca_base_next / future of Cycloud see from ISUCO...
ISUCONインフラ提供から見るCycloudのこれから #ca_base_next / future of Cycloud see from ISUCO...ISUCONインフラ提供から見るCycloudのこれから #ca_base_next / future of Cycloud see from ISUCO...
ISUCONインフラ提供から見るCycloudのこれから #ca_base_next / future of Cycloud see from ISUCO...
 
[2015-11월 정기 세미나] Cloud Native Platform - Pivotal
[2015-11월 정기 세미나] Cloud Native Platform - Pivotal[2015-11월 정기 세미나] Cloud Native Platform - Pivotal
[2015-11월 정기 세미나] Cloud Native Platform - Pivotal
 
Deploying vn fs with kubernetes pods and vms
Deploying vn fs with kubernetes pods and vmsDeploying vn fs with kubernetes pods and vms
Deploying vn fs with kubernetes pods and vms
 
Deploying Kubernetes without scaring off your security team - KubeCon 2017
Deploying Kubernetes without scaring off your security team - KubeCon 2017Deploying Kubernetes without scaring off your security team - KubeCon 2017
Deploying Kubernetes without scaring off your security team - KubeCon 2017
 
OpenStack and private cloud
OpenStack and private cloudOpenStack and private cloud
OpenStack and private cloud
 
Integrate Kubernetes into CORD(Central Office Re-architected as a Datacenter)
Integrate Kubernetes into CORD(Central Office Re-architected as a Datacenter)Integrate Kubernetes into CORD(Central Office Re-architected as a Datacenter)
Integrate Kubernetes into CORD(Central Office Re-architected as a Datacenter)
 
實際架構實踐演化與解決方案
實際架構實踐演化與解決方案實際架構實踐演化與解決方案
實際架構實踐演化與解決方案
 
Cloud-based Virtualization for Test Automation
Cloud-based Virtualization for Test AutomationCloud-based Virtualization for Test Automation
Cloud-based Virtualization for Test Automation
 
[OpenStack 하반기 스터디] DPDK & OpenStack why?
[OpenStack 하반기 스터디] DPDK & OpenStack why?[OpenStack 하반기 스터디] DPDK & OpenStack why?
[OpenStack 하반기 스터디] DPDK & OpenStack why?
 
OpenStack Manila 紹介
OpenStack Manila 紹介OpenStack Manila 紹介
OpenStack Manila 紹介
 
CloudStack IPv6 in production
CloudStack IPv6 in productionCloudStack IPv6 in production
CloudStack IPv6 in production
 
/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat
/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat
/bin/tails from OpenStack Operations: Rarm Nagalingam, Red Hat
 
Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例Immutable infrastructure 介紹與實做:以 kolla 為例
Immutable infrastructure 介紹與實做:以 kolla 為例
 
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
Docker Meetup Tokyo #23 - Zenko Open Source Multi-Cloud Data Controller - Lau...
 
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
[OpenStack Day in Korea 2015] Track 1 - Triple O를 이용한 빠르고 쉬운 OpenStack 설치
 
TripleO
 TripleO TripleO
TripleO
 
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...
 
Intro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networkingIntro to Project Calico: a pure layer 3 approach to scale-out networking
Intro to Project Calico: a pure layer 3 approach to scale-out networking
 

Viewers also liked

Visual resume fabrizio maccioni
Visual resume fabrizio maccioniVisual resume fabrizio maccioni
Visual resume fabrizio maccionifmaccioni
 
Ansible benelux meetup - Amsterdam 27-5-2015
Ansible benelux meetup - Amsterdam 27-5-2015Ansible benelux meetup - Amsterdam 27-5-2015
Ansible benelux meetup - Amsterdam 27-5-2015Pavel Chunyayev
 
Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016
Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016
Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016Pavel Chunyayev
 
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...LeanIX GmbH
 
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
 

Viewers also liked (6)

Visual resume fabrizio maccioni
Visual resume fabrizio maccioniVisual resume fabrizio maccioni
Visual resume fabrizio maccioni
 
Ansible benelux meetup - Amsterdam 27-5-2015
Ansible benelux meetup - Amsterdam 27-5-2015Ansible benelux meetup - Amsterdam 27-5-2015
Ansible benelux meetup - Amsterdam 27-5-2015
 
Extending ansible
Extending ansibleExtending ansible
Extending ansible
 
Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016
Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016
Extending Ansible - Ansible Benelux meetup - Amsterdam 11-02-2016
 
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
CodeTalks Vortrag: Automatisierung mit Ansible & Jenkins @ LeanIX Enterprise ...
 
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
 

Similar to AnsibleFest London 2016 - 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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
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
 
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...PROIDEA
 
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
 
tack Deployment in the Enterprise
tack Deployment in the Enterprisetack Deployment in the Enterprise
tack Deployment in the EnterpriseCisco Canada
 

Similar to AnsibleFest London 2016 - 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
 
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
 
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
 
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...
 
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
 
Ansible x napalm x nso 解説・比較パネルディスカッション nso
Ansible x napalm x nso 解説・比較パネルディスカッション nsoAnsible x napalm x nso 解説・比較パネルディスカッション nso
Ansible x napalm x nso 解説・比較パネルディスカッション nso
 
ACI Hands-on Lab
ACI Hands-on LabACI Hands-on Lab
ACI Hands-on Lab
 
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
 
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
 
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
 
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
 
Azure Kubernetes Service - benefits and challenges
Azure Kubernetes Service - benefits and challengesAzure Kubernetes Service - benefits and challenges
Azure Kubernetes Service - benefits and challenges
 
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
PLNOG19 - Krzysztof Mazepa - Yang Development Kit – stwórz swój pierwszy prog...
 
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
 
tack Deployment in the Enterprise
tack Deployment in the Enterprisetack Deployment in the Enterprise
tack Deployment in the Enterprise
 

Recently uploaded

VoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXVoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXTarek Kalaji
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationIES VE
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintMahmoud Rabie
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioChristian Posta
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6DianaGray10
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfJamie (Taka) Wang
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024SkyPlanner
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopBachir Benyammi
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAshyamraj55
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxGDSC PJATK
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsSeth Reyes
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureEric D. Schabell
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1DianaGray10
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...DianaGray10
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDELiveplex
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfDaniel Santiago Silva Capera
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfAijun Zhang
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1DianaGray10
 

Recently uploaded (20)

VoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBXVoIP Service and Marketing using Odoo and Asterisk PBX
VoIP Service and Marketing using Odoo and Asterisk PBX
 
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve DecarbonizationUsing IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
Using IESVE for Loads, Sizing and Heat Pump Modeling to Achieve Decarbonization
 
Empowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership BlueprintEmpowering Africa's Next Generation: The AI Leadership Blueprint
Empowering Africa's Next Generation: The AI Leadership Blueprint
 
20230104 - machine vision
20230104 - machine vision20230104 - machine vision
20230104 - machine vision
 
Comparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and IstioComparing Sidecar-less Service Mesh from Cilium and Istio
Comparing Sidecar-less Service Mesh from Cilium and Istio
 
UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6UiPath Studio Web workshop series - Day 6
UiPath Studio Web workshop series - Day 6
 
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
activity_diagram_combine_v4_20190827.pdfactivity_diagram_combine_v4_20190827.pdf
 
Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024Salesforce Miami User Group Event - 1st Quarter 2024
Salesforce Miami User Group Event - 1st Quarter 2024
 
NIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 WorkshopNIST Cybersecurity Framework (CSF) 2.0 Workshop
NIST Cybersecurity Framework (CSF) 2.0 Workshop
 
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPAAnypoint Code Builder , Google Pub sub connector and MuleSoft RPA
Anypoint Code Builder , Google Pub sub connector and MuleSoft RPA
 
Cybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptxCybersecurity Workshop #1.pptx
Cybersecurity Workshop #1.pptx
 
Computer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and HazardsComputer 10: Lesson 10 - Online Crimes and Hazards
Computer 10: Lesson 10 - Online Crimes and Hazards
 
OpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability AdventureOpenShift Commons Paris - Choose Your Own Observability Adventure
OpenShift Commons Paris - Choose Your Own Observability Adventure
 
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1UiPath Platform: The Backend Engine Powering Your Automation - Session 1
UiPath Platform: The Backend Engine Powering Your Automation - Session 1
 
20150722 - AGV
20150722 - AGV20150722 - AGV
20150722 - AGV
 
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
Connector Corner: Extending LLM automation use cases with UiPath GenAI connec...
 
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDEADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
ADOPTING WEB 3 FOR YOUR BUSINESS: A STEP-BY-STEP GUIDE
 
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdfIaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
IaC & GitOps in a Nutshell - a FridayInANuthshell Episode.pdf
 
Machine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdfMachine Learning Model Validation (Aijun Zhang 2024).pdf
Machine Learning Model Validation (Aijun Zhang 2024).pdf
 
Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1Secure your environment with UiPath and CyberArk technologies - Session 1
Secure your environment with UiPath and CyberArk technologies - Session 1
 

AnsibleFest London 2016 - 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 CLI
  • 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 https://www.ansible.com/networks 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. RedHat/Ansible/Cisco initiatives 1. RedHat/Ansible Press Release http://www.redhat.com/en/about/press-releases/red-hat-brings-devops-network-new-ansible-capabilities 2. Ansible on Cisco Nexus Webinar, March 3. Cisco Modules update 4. Ansible on Cisco Nexus White Paper 5. More to come…
  • 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 E-mail: fabrimac@cisco.com Twitter: @fabrimaccioni