SlideShare ist ein Scribd-Unternehmen logo
1 von 12
Romain Decker
@woueb
VMTN6665E
#VMworld #VMTN6665E
NSX, API, AutomationNSX, API, Automation and
Unicorns
• This presentation may contain product features that are currently under development.
• This overview of new technology represents no commitment from VMware to deliver these
features in any generally available product.
• Features are subject to change, and must not be included in contracts, purchase orders, or
sales agreements of any kind.
• Technical feasibility and market demand will affect final delivery.
• Pricing and packaging for any new technologies or features discussed or presented have not
been determined.
Disclaimer
2
Why Automate?
Application + Infrastructure
App
request
NETWORKING
SECURITY
New or pre-existing virtual networking and security
Infrastructure Only
Infra
request
NETWORKING
SECURITY
New virtual networking and/or security infrastructure
3
Consistent configuration
Accelerate workload deployment
Avoid risk from human errors
Compliance and auditability
NSX Manager
NSX REST API
NSX Automation Solutions
4
vRealize
Automation
vCloud
Director
vRealize
Orchestrator
VIO
VMware Cloud Management DevOps Language / Tools
curl -X get https://{{nsxmanager}}/api/7.0/nsx/postman
5
Postman Collection
NSX API calls can be easily added
with RAML Spec
https://github.com/vmware/nsxraml
Variable Input
Globally defined
XML Body pre-populated
Code Snippets
Generates code
snippets for multiple
tools or languages
NSX Ansible Module
6
Infrastructure as Code to get NSX to a desired state
https://github.com/vmware/nsxansible
Ansible features an state-driven resource model
that describes the desired state of a configuration
Ansible in 5 key words: abstraction, agentless,
playbooks, extensibility, idempotency
Based on NSX RAML specification file describing
the NSX-v API
Deployment, installation and logical topologies
supported
macOS and Linux
Execution #1
2 logical switches are created
Execution #2
Nothing happens, as the logical
switches already exist
Execution #3
Playbook re-creates 1st logical switch,
and leave the 2nd one untouched
Idempotency? ¯_(ツ)_/¯
Idempotence ~ property of certain operations in mathematics and computer
science, that can be applied multiple times without changing the result beyond
the initial application. – Wikipedia
7
Wikipedia, please help me!
Idempotency ~ An operation is idempotent if the result of performing it once is
exactly the same as the result of performing it repeatedly without any intervening
actions. – Ansible Documentation
PowerNSX
8
PowerShell module that abstracts the VMware
NSX API to a set of easily used functions
https://github.com/vmware/powernsx
Available for Windows, but also for Linux and
macOS (using PowerShell Core)
Requires PowerShell 3.0
Opensource
 NSX Manager setup
 Host Preparation
 Logical Switching
 Logical Routing
 NSX ESG
 Dynamic Routing
273 FUNCTIONS
 Distributed Firewall
 Service Composer
 NSX Edge LB
 SSL VPN
#TAM3281E CONFIDENTIAL
Which Tools Should I Use?
9
Meet Kevin, Stuart and Bob
Bob: Cloud AdminKevin: Network / Security AdminStuart: VMware Admin
Use the Force Code Luke!
10
Don’t be limited by existing examples
Invent use cases
Use the tools that you need
Combine tools
Describe your infrastructure: separation of
configuration (WHAT) from the logic (HOW)
More Resources
11
Automating NSX for vSphere with
PowerNSX
CONFIDENTIAL
PowerNSX in Hands on Labs
VMware Github
https://github.com/vmware/nsxansible
https://github.com/vmware/nsxraml
https://github.com/vmware/powernsx
https://github.com/vmware/pynsxv
NSX, API, Automation and Unicorns

Weitere ähnliche Inhalte

Was ist angesagt?

Was ist angesagt? (20)

VMworld 2013: Troubleshooting VXLAN and Network Services in a Virtualized Env...
VMworld 2013: Troubleshooting VXLAN and Network Services in a Virtualized Env...VMworld 2013: Troubleshooting VXLAN and Network Services in a Virtualized Env...
VMworld 2013: Troubleshooting VXLAN and Network Services in a Virtualized Env...
 
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
[OpenStack Day in Korea 2015] Track 3-6 - Archiectural Overview of the Open S...
 
OpenContrail Cloudwatt Feedback
OpenContrail Cloudwatt FeedbackOpenContrail Cloudwatt Feedback
OpenContrail Cloudwatt Feedback
 
Open stack networking_101_part-1
Open stack networking_101_part-1Open stack networking_101_part-1
Open stack networking_101_part-1
 
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI AutomationVMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
VMworld 2016: Enforcing a vSphere Cluster Design with PowerCLI Automation
 
Is OpenStack Neutron production ready for large scale deployments?
Is OpenStack Neutron production ready for large scale deployments?Is OpenStack Neutron production ready for large scale deployments?
Is OpenStack Neutron production ready for large scale deployments?
 
[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR[OpenStack 하반기 스터디] HA using DVR
[OpenStack 하반기 스터디] HA using DVR
 
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
[OpenStack Days Korea 2016] Track1 - Mellanox CloudX - Acceleration for Cloud...
 
Presentation v mware v-sphere distributed switch—technical deep dive
Presentation   v mware v-sphere distributed switch—technical deep divePresentation   v mware v-sphere distributed switch—technical deep dive
Presentation v mware v-sphere distributed switch—technical deep dive
 
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSXOVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
OVHcloud Hosted Private Cloud Platform Network use cases with VMware NSX
 
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
[OpenStack Days Korea 2016] Track3 - OpenStack on 64-bit ARM with X-Gene
 
Open stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetupsOpen stack networking_101_update_2014-os-meetups
Open stack networking_101_update_2014-os-meetups
 
Linux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack NetworkingLinux Tag 2014 OpenStack Networking
Linux Tag 2014 OpenStack Networking
 
OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)OpenStack Quantum Intro (OS Meetup 3-26-12)
OpenStack Quantum Intro (OS Meetup 3-26-12)
 
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...Orchestration tool roundup   kubernetes vs. docker vs. heat vs. terra form vs...
Orchestration tool roundup kubernetes vs. docker vs. heat vs. terra form vs...
 
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
OpenStack in Action 4! Emilien Macchi & Sylvain Afchain - What's new in neutr...
 
Cumulus Linux 2.5 Overview
Cumulus Linux 2.5 OverviewCumulus Linux 2.5 Overview
Cumulus Linux 2.5 Overview
 
Neutron DVR
Neutron DVRNeutron DVR
Neutron DVR
 
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
 
Open Networking for Your OpenStack
Open Networking for Your OpenStackOpen Networking for Your OpenStack
Open Networking for Your OpenStack
 

Ähnlich wie NSX, API, Automation and Unicorns

Oracle ExaLogic Overview
Oracle ExaLogic OverviewOracle ExaLogic Overview
Oracle ExaLogic Overview
Peter Doolan
 

Ähnlich wie NSX, API, Automation and Unicorns (20)

VMworld 2014: Introduction to NSX
VMworld 2014: Introduction to NSXVMworld 2014: Introduction to NSX
VMworld 2014: Introduction to NSX
 
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
 
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
 
Net Devops Overview
Net Devops OverviewNet Devops Overview
Net Devops Overview
 
Automation for cloud
Automation for cloudAutomation for cloud
Automation for cloud
 
Automation Evolution with Junos
Automation Evolution with JunosAutomation Evolution with Junos
Automation Evolution with Junos
 
TechWiseTV Workshop: Open NX-OS and Devops with Puppet Labs
TechWiseTV Workshop: Open NX-OS and Devops with Puppet LabsTechWiseTV Workshop: Open NX-OS and Devops with Puppet Labs
TechWiseTV Workshop: Open NX-OS and Devops with Puppet Labs
 
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
Marcelo Perazolo, Lead Software Architect, IBM Corporation - Monitoring a Pow...
 
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez BlancoOSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
OSDC 2012 | OpenNebula Tutorial by Constantino Vazquez Blanco
 
Pivotal Container Service Overview
Pivotal Container Service Overview Pivotal Container Service Overview
Pivotal Container Service Overview
 
NCS: NEtwork Control System Hands-on Labs
NCS:  NEtwork Control System Hands-on Labs NCS:  NEtwork Control System Hands-on Labs
NCS: NEtwork Control System Hands-on Labs
 
One pk whitepaper
One pk whitepaperOne pk whitepaper
One pk whitepaper
 
VMworld 2013: Real-world Deployment Scenarios for VMware NSX
VMworld 2013: Real-world Deployment Scenarios for VMware NSX VMworld 2013: Real-world Deployment Scenarios for VMware NSX
VMworld 2013: Real-world Deployment Scenarios for VMware NSX
 
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
<iframe src="http://video.yandex.ru/iframe/ya-events/0ro6nfi3fv.5216/" hei...
 
IBM POWER Systems
IBM POWER SystemsIBM POWER Systems
IBM POWER Systems
 
Enabling NFV features in kubernetes
Enabling NFV features in kubernetesEnabling NFV features in kubernetes
Enabling NFV features in kubernetes
 
Oracle ExaLogic Overview
Oracle ExaLogic OverviewOracle ExaLogic Overview
Oracle ExaLogic Overview
 
Infrastructure Automation
Infrastructure Automation Infrastructure Automation
Infrastructure Automation
 
Netsft2017 day in_life_of_nfv
Netsft2017 day in_life_of_nfvNetsft2017 day in_life_of_nfv
Netsft2017 day in_life_of_nfv
 
Multicore 101: Migrating Embedded Apps to Multicore with Linux
Multicore 101: Migrating Embedded Apps to Multicore with LinuxMulticore 101: Migrating Embedded Apps to Multicore with Linux
Multicore 101: Migrating Embedded Apps to Multicore with Linux
 

Kürzlich hochgeladen

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 

Kürzlich hochgeladen (20)

The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 

NSX, API, Automation and Unicorns

  • 1. Romain Decker @woueb VMTN6665E #VMworld #VMTN6665E NSX, API, AutomationNSX, API, Automation and Unicorns
  • 2. • This presentation may contain product features that are currently under development. • This overview of new technology represents no commitment from VMware to deliver these features in any generally available product. • Features are subject to change, and must not be included in contracts, purchase orders, or sales agreements of any kind. • Technical feasibility and market demand will affect final delivery. • Pricing and packaging for any new technologies or features discussed or presented have not been determined. Disclaimer 2
  • 3. Why Automate? Application + Infrastructure App request NETWORKING SECURITY New or pre-existing virtual networking and security Infrastructure Only Infra request NETWORKING SECURITY New virtual networking and/or security infrastructure 3 Consistent configuration Accelerate workload deployment Avoid risk from human errors Compliance and auditability
  • 4. NSX Manager NSX REST API NSX Automation Solutions 4 vRealize Automation vCloud Director vRealize Orchestrator VIO VMware Cloud Management DevOps Language / Tools
  • 5. curl -X get https://{{nsxmanager}}/api/7.0/nsx/postman 5 Postman Collection NSX API calls can be easily added with RAML Spec https://github.com/vmware/nsxraml Variable Input Globally defined XML Body pre-populated Code Snippets Generates code snippets for multiple tools or languages
  • 6. NSX Ansible Module 6 Infrastructure as Code to get NSX to a desired state https://github.com/vmware/nsxansible Ansible features an state-driven resource model that describes the desired state of a configuration Ansible in 5 key words: abstraction, agentless, playbooks, extensibility, idempotency Based on NSX RAML specification file describing the NSX-v API Deployment, installation and logical topologies supported macOS and Linux
  • 7. Execution #1 2 logical switches are created Execution #2 Nothing happens, as the logical switches already exist Execution #3 Playbook re-creates 1st logical switch, and leave the 2nd one untouched Idempotency? ¯_(ツ)_/¯ Idempotence ~ property of certain operations in mathematics and computer science, that can be applied multiple times without changing the result beyond the initial application. – Wikipedia 7 Wikipedia, please help me! Idempotency ~ An operation is idempotent if the result of performing it once is exactly the same as the result of performing it repeatedly without any intervening actions. – Ansible Documentation
  • 8. PowerNSX 8 PowerShell module that abstracts the VMware NSX API to a set of easily used functions https://github.com/vmware/powernsx Available for Windows, but also for Linux and macOS (using PowerShell Core) Requires PowerShell 3.0 Opensource  NSX Manager setup  Host Preparation  Logical Switching  Logical Routing  NSX ESG  Dynamic Routing 273 FUNCTIONS  Distributed Firewall  Service Composer  NSX Edge LB  SSL VPN #TAM3281E CONFIDENTIAL
  • 9. Which Tools Should I Use? 9 Meet Kevin, Stuart and Bob Bob: Cloud AdminKevin: Network / Security AdminStuart: VMware Admin
  • 10. Use the Force Code Luke! 10 Don’t be limited by existing examples Invent use cases Use the tools that you need Combine tools Describe your infrastructure: separation of configuration (WHAT) from the logic (HOW)
  • 11. More Resources 11 Automating NSX for vSphere with PowerNSX CONFIDENTIAL PowerNSX in Hands on Labs VMware Github https://github.com/vmware/nsxansible https://github.com/vmware/nsxraml https://github.com/vmware/powernsx https://github.com/vmware/pynsxv

Hinweis der Redaktion

  1. WHY > WHAT
  2. API documentation is built from RAML spec file
  3. One playbook can be run against a pattern or collections of hosts. Ansible features an state-driven resource model that describes the desired state of computer systems and services, not the paths to get them to this state.  Abstraction: declarative approach allows separation of configuration (WHAT) from the logic (HOW) Agentless: use SSH Playbooks: Ansible’s configuration, deployment, and orchestration language Extensibility: based on modules Idempotency: same expected behavior – every single time What is a playbook? A series of tasks that can be run to deliver a desired configuration; marked up in YAML. NB: Points on Ansible positioning… : Declarative approach allows separation of Configuration (What I want the system to look like) from the logic of implementation (The how…) This separation simplifies the frequently modified configuration of the system from the much less frequently modified ‘How’. Both are lifecycled separately Significant advantage : Configuration declaration becomes your ‘backup’ Configuration IS demonstrably the source of truth Configuration can be version controlled (Who, when, and why of changes) Configuration can be confidently reverted to last known good… Disadvantage Live system adhoc changes become transient (and probably not desirable) Skill / Mindset changes required.
  4. Tasks are meant to be idempotent... which means that it must be safe to run a task over and over again without any side effects. Demo: https://asciinema.org/a/136358 or http://bit.ly/nsx01
  5. Use the solution you are comfortable with Depends on the requirement VS tool capabilities Tools already used in your company Depends on how your workloads are currently provisioned