Vmware NSX® Automation Fundamentals
Total Page:16
File Type:pdf, Size:1020Kb
VMware NSX® Automation Fundamentals Caio Oliveira, VMware Thiago Koga, VMware Foreword by Martin Casado II | VMware NSX® Automation Fundamentals Caio Oliveira, VMware Thiago Koga, VMware Foreword by Martin Casado | III VMWARE PRESS Program Managers Katie Holms Shinie Shaw Technical Writer Rob Greanias Reviewers and Content Contributors Marcos Hernandez Anderson Duboc Gustavo Santana Angel Villar Garea Andrew Voltmer Scott Goodman Designer and Production Manager Michaela Loeffler Sappington Warning & Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors, VMware Press, VMware, and the publisher shall have neither liability nor responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book. The opinions expressed in this book belong to the author and are not necessarily those of VMware. VMware, Inc. 3401 Hillview Avenue Palo Alto CA 94304 USA Tel 877-486-9273 Fax 650-427-5001 www.vmware.com. Copyright © 2018 VMware, Inc. All rights reserved. This product is protected by U.S. and international copyright and intellectual property laws. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents. VMware is a registered trademark or trademark of VMware, Inc. and its subsidiaries in the United States and/or other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies. IV | Table of Contents About the Reviewers and Content Contributors ...........................................XII Preface ............................................................................................................................ XV Foreword ....................................................................................................................... XVI Chapter 1 - Introduction ................................................................................................1 Intended Audience ............................................................................................................2 What it will teach .............................................................................................................. 3 Why this subject is important .................................................................................... 3 How to proceed ................................................................................................................. 3 Disclaimer ............................................................................................................................. 4 Concept Definitions ......................................................................................................... 5 Programmability ................................................................................................................ 5 Automation ...........................................................................................................................7 Orchestration ...................................................................................................................... 9 Chapter 2 - Data Center Automation Challenges ........................................... 13 Network Automation Challenges ............................................................................16 Security Automation Challenges .............................................................................19 Tales from the Field – Gustavo Santana..............................................................23 Tales from the Field – Marcos Hernandez ..........................................................27 Chapter 3 - Automation Concepts ....................................................................... 29 What is an API? ................................................................................................................32 API Documentation ...................................................................................................... 34 What to look for in a good API ................................................................................35 REST Definitions ..............................................................................................................36 Consuming NSX REST API thought different methods ..............................37 XML Definitions ................................................................................................................38 Myth Buster – Automation is for Cloud Only ..................................................40 Physical and Virtual Workloads Paradigm .......................................................40 Chapter 4 - NSX and vRealize Automation ...................................................... 45 Current Product Interoperability (January 2018) .......................................... 46 vRealize Automation Definitions ............................................................................ 48 vRealize Automation Main Components ........................................................... 50 Life Cycle Extensibility ................................................................................................52 Key Features ......................................................................................................................52 Common Use Cases for vRealize Automation .................................................53 NSX and vRealize Automation Benefits ............................................................. 54 NSX and vRealize Automation Integration ........................................................58 Why this integration is helping organizations? ..............................................59 What enterprise are looking for out of this integration? ...........................60 vRealize Automation Network Profiles .................................................................61 Use Cases for vRealize Automation with NSX ................................................ 66 Day Two Operations with vRealize Automation and NSX .........................73 | V Chapter 5 - NSX and OpenStack ...........................................................................77 OpenStack Definitions ................................................................................................ 80 Neutron Concepts and NSX Integration .............................................................82 NSX and OpenStack Benefits .................................................................................. 88 Benefits of NSX .................................................................................................................91 NSX and OpenStack Integration .............................................................................93 NSX and VMware Integrated OpenStack ........................................................ 106 Tales from the Field – Marcos Hernandez ......................................................... 115 Chapter 6 - VMware vRealize Automation, OpenStack, or Both? ..........117 Tales From The Field – Angel Villar Garea ....................................................... 122 Chapter 7 - VMware NSX and Other Automations Tools...........................125 Chapter 8 - Conclusion ............................................................................................137 Bibliography .................................................................................................................139 Index ................................................................................................................................143 VI | List of Figures Figure 1.1 Programmability Workflow ................................................................... 6 Figure 1.2 Different Automation Solutions .......................................................... 8 Figure 1.3 Infrastructure Conductor (Maestro) ............................................... 10 Figure 2.1 Cars substitution of Horse-Drawn Vehicles .................................14 Figure 2.2 Car Industrialization .................................................................................15 Figure 2.3 SDN - Hardware Approach...................................................................18 Figure 2.4 Network Virtualization - Software Approach .............................18 Figure 2.5 Anatomy of a modern Cyber-Attack ..............................................19 Figure 2.6 Security Data Center Expenses and Losses .............................. 20 Figure 2.7 East-West and North-South Traffic in the Data Center.........21 Figure 2.8 Automation with a Preconfigured Network ...............................24 Figure 2.9 Physical Network Automation ...........................................................25 Figure 3.1 Automation may be Different for Each Person/Organization.............................................................................. 30 Figure 3.2 API Interactions .........................................................................................33 Figure 3.3 VMware NSX RESTful API ....................................................................35 Figure 3.4 HTTP verbs/methods and CRUD Operations............................36 Figure 3.5 VMware NSX® API™ Structure (example) .....................................37 Figure 3.6 Postman within Chrome to GET Syslog Information .............39 Figure 3.7 People, Process and Technology ...................................................