SlideShare una empresa de Scribd logo
1 de 73
Descargar para leer sin conexión
Building Hybrid Clouds
with Cisco Intercloud
Fabric
John McDonough
Intercloud Fabric Technical Marketing Engineer
TechWiseTV Workshop
Agenda
• Introduction
• Hands On
• Intercloud Fabric Architecture and Infrastructure
• Supported Operating Systems
• Building Intercloud Fabric Cloud Links
• Creating Virtual Data Centers
• Templates and Catalogs
• REST API
Agenda
Introduction
Introduction – Session Information
• Session – Cisco Intercloud Fabric builds and manages hybrid clouds, securely
extending the enterprise data center to the cloud. The latest version of
Intercloud Fabric is a feature-rich release that seamlessly joins multiple clouds
from global cloud providers. We will review as many of these features and
functions today as time allows.
• Who am I?
• John McDonough – Technical Marketing Engineer
• Cisco Employee since 2004
• Developer, Advanced Services, Technical Marketing Engineer
• Blogs – https://blogs.cisco.com/author/johnmcdonough
• Twitter – @johnamcdonough
Hands On
Hands On
• 60 Day License for 10 VMs (20 HCUs) included in Intercloud Fabric
• Install and run with your Amazon AWS or Microsoft Azure provider accounts
• Azure 30 day $200 credit works with Intercloud Fabric
• DevNet Sandbox
• Test out the ICF APIs in DevNet sandbox
• http://develper.cisco.com/cloud
• Cisco dCloud
• Self-Paced lab/demo covering all aspects of Intercloud Fabric
• Running the latest release, offering the greatest flexibility
• http://dcloud.cisco.com
Intercloud Fabric
Architecture and Infrastructure
You
ChoiceOpen
Securely Extend
Your Data Center
to Cloud
Cisco Intercloud Fabric –
Consistent Network and Security for Hybrid Cloud
Interclou
d Alliance
Public
Clouds
INTERCLOUD
Intercloud
Services
Intercloud
Providers
Accelerate Cloud
Adoption with Consistent
Operational Model
Accelerate
Innovation with
Choice of Clouds
DISRUPTIONSPEEDEFFICIENCY
Intercloud
Alliance
Public
Clouds
INTERCLOUD
Intercloud
Services
Intercloud
Providers
350 Data Centers
65 Partners
50 Countries
Infrastructure
Extension
Flexible bi-directional
Workload Placement
Cisco Hybrid Cloud Architecture
Any Hypervisor, Any Cloud with Security and Data Sovereignty
Enterprise
Security
You
Consistent
Operation
Model
Cisco Intercloud Fabric: Solution Overview
CISCO
INTERCLOUD
FABRIC
End User Portal
Cloud VM
catalogs and
Templates
IT Admin
Cloud
Configuration
and Security
Rest APIs
vSphere
HyperV
OpenStack
KVM
Private Data
Center
Intercloud
Ecosystem
Intercloud Fabric
Provider Platform
Intercloud Fabric
for Providers
Intercloud Fabric Secure Extender
(Secure Network Extension)
DC/Private
Cloud
Provider
Cloud
Cisco Intercloud Fabric Architectural Details
Intercloud
Switch
VM Manager
Intercloud
Fabric Services
Intercloud
Extender
Intercloud
Fabric Director
End User and IT Admin Portal
Workload and Fabric ManagementIT AdminsEnd Users
VM VM
VM VM
Intercloud Fabric
for Business
Intercloud Fabric Structure
Cisco Intercloud Fabric Architecture is Modularized to Achieve the Elasticity
Needed to Support Evolving Cloud Environments
ICF Core Infrastructure ICFD PNSC ICFPP
Secure
Communications
Private Cloud: Enterprise Public Cloud: Provider
ICF Core Services
Security Management
and Visibility
AutomationNetworking VM Portability
ICF Extended Services + External Partners (storage, load balancing, etc.)
ICF Object Relationships – Taxonomy
Network Policy
Provider Acct
Enterprise
VDC
Virtual Data
Center
Private
Cloud IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
Provider Account – Stores the credentials and region for a provider. Many IcfClouds
can be under a single Provider Account
IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
Cloud VDC
Virtual Data
Center
NIC(s)
System Policy
Name Template
DNS domain
DNS Server
Compute Policy
Host Selection
Network Policy
NIC(s)
NIC
Name
Port
IP Source
NIC
Name
Port
IP Source
IP POOLDHCP
NIC
Name
Port
IP Source
NIC
Name
Port
IP Source
IP POOLDHCP
Public
Cloud
ICF Object Relationships – Taxonomy
Network Policy
Provider Acct
Enterprise
VDC
Virtual Data
Center
Private
Cloud IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
Provider Account – Stores the credentials and region for a provider. Many IcfClouds
can be under a single Provider Account
IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
Cloud VDC
Virtual Data
Center
NIC(s)
System Policy
Name Template
DNS domain
DNS Server
Compute Policy
Host Selection
Network Policy
NIC(s)
NIC
Name
Port
IP Source
NIC
Name
Port
IP Source
IP POOLDHCP
NIC
Name
Port
IP Source
NIC
Name
Port
IP Source
IP POOLDHCP
Public
Cloud
ICF Object Relationships – Taxonomy
Network Policy
Provider Acct
Enterprise
VDC
Virtual Data
Center
Private
Cloud IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
Provider Account – Stores the credentials and region for a provider. Many IcfClouds
can be under a single Provider Account
IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
IcfCloud – connects enterprise network (ICX) to cloud network (ICS)
Cloud VDC
Virtual Data
Center
NIC(s)
System Policy
Name Template
DNS domain
DNS Server
Compute Policy
Host Selection
Network Policy
NIC(s)
NIC
Name
Port
IP Source
NIC
Name
Port
IP Source
IP POOLDHCP
NIC
Name
Port
IP Source
NIC
Name
Port
IP Source
IP POOLDHCP
Public
Cloud
Supported Operating Systems
Supported Operating Systems
Cisco Intercloud
Services*
Microsoft Azure
Amazon AWS
CentOS 6.2-6.5
RHEL 6.0-65
SUSE 11 SP2/SP3
Windows 2008R2/2012/2012R2
CentOS 6.2-6.5
RHEL 6.0-65
SUSE 11 SP2/SP3
Windows 2008R2/2012/2012R2
CentOS 6.2-6.5
RHEL 6.0-65,
SUSE 11 SP2/SP3
Windows 2008R2/2012/2012R2
*OS support on CIS is dependent upon the cloud provider
Building Intercloud Fabric Links
Intercloud Fabric Links
IcfCloud • Secure Tunnels
• Site-to-Site tunnel - Enterprise to Cloud Provider
• UDP, TCP, HTTPS
• Multiple encryption, hash, and rekey choices
• Access tunnel – intra VM communication in the provider Cloud
• UDP
• Multiple encryption, hash and rekey choices
• IP Group
• AWS Security Groups
• Azure Endpoints
• CIS – dependent upon provider support
Intercloud Fabric – Tunnel Profile
Intercloud Fabric – IP Groups
Intercloud Fabric – Providers
Platform • AWS – access to global regions*
• Azure – access to global regions**
• CIS – dependent upon the provider
• Intercloud Fabric Firewall
• Intercloud Fabric Router
• Inter-VLAN routing
• Default Gateway / Extended Gateway
• NAT
• VPN***
Services
*Generally available regions – Government regions are not yet supported
**Generally available regions – Australia only for Australians – Government regions are not yet supported
***Not available in Azure
Building Virtual Data Centers
Intercloud Fabric Building Virtual Data Centers
• Logical policy driven entities
• Group Association
• Multiple VDCs per IcfCloud
• Workload Instantiation Controls
• Template Modification Controls
• Private Cloud
• Compute Policy
• Network Policy
• Application Groups (Network + Compute)
• Provider Cloud
• Network Policy
• System Policy
• Application Groups (Network + System)
Intercloud Fabric
Templates and Catalogs
Intercloud Fabric Templates
• Enterprise Workloads
• Enterprise templates
• Uploaded to Intercloud Fabric
• Uploaded to Cloud Provider Region
• 1 Template can be associated with multiple catalogs, networks, and system policies
Intercloud Fabric Templates and Catalogs
• Logical policy driven entities
• Group Association
• Catalog entry associated with specific IcfCloud and template
• Multiple entries per IcfCloud
• Adheres to VDC policies
• User Instantiation
• May or may not be allowed to modify deployed workload name
• May or may not be allowed to modify workload characteristics*
• Subject to workload limits in VDC and license availability
*ICF uses a cloud fit algorithm to select best possible provider offering, test deployment to determine workload type
REST APIs
Intercloud Fabric REST APIs
• Full VM lifecycle APIs
• Instantiation
• Migration (convert  move convert) less vendor specific tools
• Power
• Termination
• Consistent APIs across Cloud Providers
• Many Clouds one API
• E.g. Power cycle call is the same for Provider A … Provider Z
• Simplified scripts
• E.g. No special cases per provider
• REST Architecture
Applications with Intercloud Fabric
Capacity Augmentation and E-Commerce Hosting
Problem
• Need to burst to cloud
than building capacity
for seasonal peaks or
unanticipated demand
• Cloud workload break
enterprise security
and compliance rules
ADDNS
Enterprise DC
Public
Cloud
Capacity Augmentation and E-Commerce Hosting
Problem
• Need to burst to cloud
than building capacity
for seasonal peaks or
unanticipated demand
• Cloud workload break
enterprise security
and compliance rulesICF Shell
Continue to use existing
enterprise services
Extend Web and/or App Tier into
Public cloud to augment
on-prem capacity demands
ADDNS
Enterprise DC
Public
Cloud
Business Outcomes
• Save cost and time to
build additional
capacity
• Use all existing
enterprise services
Problem
• Developers using
public cloud natively
without enterprise
security
• Developers cannot
use or test against
enterprise services
and databases
Secure Application Development and Test
ICF Shell
Usergroup1 Portal
Usergroup2 Portal
1. Developers accessing
public cloud through
Enterprise portal
2. Extend multiple networks
from Private DC to cloud with
enterprise security policies
Enterprise Portal
Enterprise DC
Public
Cloud
ADDNS
Diminish Shadow IT Over Time
Enterprise DC
Import existing cloud
workloads into ICF
Shell (Beta)
Problem
• Enterprise security
and compliance at
risk when public
clouds accessed
directly
Business Outcomes
• Meet Enterprise
compliance policy
mandates across
private / public cloud
resources
ICF Shell
Usergroup1 Portal
Usergroup2 Portal
Public
Cloud
Enterprise PortalEnterprise Portal
Usergroup3 Portal
Cisco Enterprise Cloud Suite
Hybrid-Ready Private Cloud
Virtual Network Services
Modern Self-Service Portal and Catalog
Out-of-box application templates
Stack Designer
Integrated Infrastructure
Management
UCS-based Integrated Infrastructure
Multi-Vendor Compute, Network, Storage, and Virtualization
Hybrid Cloud
Connectivity
Infrastructureassurance,3rdparty
billing,resourcemanagement
Cloud Services
Ecosystem of
Service Providers
Compliance
Policy-based
deployment/governance
in cloud
Choice
Freedom to place
workloads across
heterogeneous clouds
Consistency
Security/Networking
as an extension of
Private Cloud
Control
Unified workload
management
across clouds
Cisco Intercloud Fabric
Customer Benefits
DC/Private Cloud
Public
/Provider
Cloud
Q & A
Appendices
Intercloud Fabric
REST API
X-Cloupia-Request-Key
ICF REST API X-Cloupia-Request-Key
• Need to create the Header “X-Cloupia-Request-Key”
• Get the key
https://icdf-ip-hostname/app/api/rest?"opName=getRESTKey&user=username&password=mypass
• F43955535D6148ADB742799BB20874C0
• Create the Header
• X-Cloupia-Request-Key:F43955535D6148ADB742799BB20874C0
• All other operations will use the header as the authentication token
Intercloud Fabric
REST API Operations
ICF REST API Operations
• User Operations
• getRESTKey – (admin/end user) See X-Cloupia-Request-Key earlier in this document
• userAPIAddUser – (admin)
• userId, password, firstName, lastName, email, role, groupName
• role choices: ‘Regular = Service End-User’, GroupAdmin = Group Admin’, ‘Admin = Service
Admin’
https://icfd-ip-
addr/app/api/rest?opName=userAPIAddUser&opData={param0:’userId',param1:’password',param2:’firstName',param3:’lastName',param4:’email
',param5:’role',param6:’group’} - users
https://icfd-ip-
addr/app/api/rest?opName=userAPIAddUser&opData={param0:’userId',param1:’password',param2:’firstName',param3:’lastName',param4:’email
',param5:’role',param6:null} – admins
*group is null unquoted for admins
• Intercloud:userAPIResetUserPassword – (admin/end user)
• userId
• newPassword
• resetAPIKey – boolen – values: true|false
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIResetUserPassword&opData={param0:’userId',param1:’newPassword',
param2:false}
ICF REST API Operations
• User Operations – continued
• userAPIResetMyPassword – (admin/end user)
• newPassword
https://icfd-ip-addr/app/api/rest?opName=userAPIResetMyPassword&opData={param0:’newPassword'}
• userAPIGetUserLoginProfile – (admin/end user)
• userId
https://icfd-ip-addr/app/api/rest?opName=userAPIGetUserLoginProfile&opData={param0:’userId'}
• userAPIDeleteUser – (admin)
• userId
opName=userAPIDeleteUser&opData={param0:’userId'}
• userAPIGetMyLoginProfile – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=userAPIGetMyLoginProfile
ICF REST API Operations
• Catalog Operations
• userAPIGetAllCatalogs – (admin)
• No opData
https://icfd-ip-addr/app/api/rest?opName=userAPIGetAllCatalogs
• userAPIGetCatalogsPerGroup – (admin/end user – for their group)
• groupName
https://icfd-ip-addr/app/api/rest?opName=userAPIGetCatalogsPerGroup&opData={param0:’groupName’}
ICF REST API Operations
• Cloud Operations
• intercloud:userAPIGetAllVCenters – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=intercloud:userAPIGetAllVCenters
• Intercloud:userAPIGetAllDataCenters – (admin/end user)
• vmManager
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllDataCenters&opData={param0:’vmManager’}
• Intercloud:userAPIGetAllEsxHosts – (admin/end user)
• vmManager
• dataCenter
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIGetAllEsxHosts&opData={param0:’vmManager',param1:’dataCenter’}
ICF REST API Operations
• Cloud Operations – continued
• Intercloud:userAPIgetStaticListByName – (admin)
• dataStoreList  this actual word
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIgetStaticListByName&opData={param0:’dataStoreList’}
• Intercloud:userAPIGetAllicfClouds – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllicfClouds
• Intercloud:userAPIGetAllTunnelProfiles – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllTunnelProfiles
• Intercloud:userAPIGeticfCloudSummary – (admin)
• icfCloudId
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGeticfCloudSummary&opData={param0:’icfCloudId’}
ICF REST API Operations
• Cloud Operations – continued
• Intercloud:userAPIGetAllDeviceProfiles – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllDeviceProfiles
• Intercloud:userAPIGetAllPvtDataTrunkPortProfiles – (admin/end user)
• vmManager
• dataCenter
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIGetAllPvtDataTrunkPortProfiles&opData={param0:’vmManager',param
1:’dataCenter'}
ICF REST API Operations
• Network Operations
• Intercloud:userAPIcreateStaticIPPool – (admin)
• policyName
• staticIpPool – as a range e.g. 192.168.250.50-192.168.250.100
• vlanId
• gatewayIp
• subnetMask
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIcreateStaticIPPool&opData={param0:’policyName',param1:’staticIpPoo
l',param2:’vlanId',param3:’gatewayIp',param4:’subnetMask’}
• Intercloud:userAPIcreateTunnelProfileWithDefaultValues – (admin)
• tunnelProfileName
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIcreateTunnelProfileWithDefaultValues&opData={param0:’tunnelProfile
Name’}
• Intercloud:userAPIGetAllPvtMgmtPortProfiles – (admin/end user)
• vmManager
• dataCenter
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIGetAllPvtMgmtPortProfiles&opData={param0:’vmManager',param1:’dat
aCenter'}
ICF REST API Operations
• Network Operations - continued
• Intercloud:userAPIGetAllStaticIPPoolPolicy – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllStaticIPPoolPolicy
• Intercloud:userAPIGetAllStaticIPPools – (admin/end user)
• policyId
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIGetAllStaticIPPools&opData={param0:’policyId’}
• Intercloud:userAPIGetIPAddressPool – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetIPAddressPool
ICF REST API Operations
• Service Request Operations
• userAPIGetServiceRequests – (admin/end user – for their SRs)
• No opData
https://icfd-ip-addr/app/api/rest?opName=userAPIGetServiceRequests
• userAPIGetServiceRequestDetails – (admin/end user – for their SRs)
• requestId
https://icfd-ip-
addr/app/api/rest?opName=userAPIGetServiceRequestDetails&opData={param0:’requestId’}
• userAPIGetVMsForServiceRequest– (admin/end user – for their SRs)
• requestId
https://icfd-ip-
addr/app/api/rest?opName=userAPIGetVMsForServiceRequest&opData={param0:’requestId’}
ICF REST API Operations
• VDC Operations
• userAPIGetAllVDCs – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=userAPIGetAllVDCs
ICF REST API Operations
• VM Operations
• Note in all API calls vmId refers to the vmId number in ICF, except
Intercloud:userAPIOnboardVM where vmId is the AWS ‘Instance ID’
• Intercloud:userAPIGetAllVms – (admin/end user)
• No opData
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllVms
• Intercloud:userAPIGetVMSummary – (admin/end user – for their VMs)
• vmId
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetVMSummary&opData={param0:’vmId’}
• Intercloud:userAPIGetVMVnics – (admin/end user – for their VMs)
• vmId
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetVMVnics&opData={param0:’vmId’}
ICF REST API Operations
• VM Operations – continued
• Intercloud:userAPIProvisionVM – (admin/end user)
• catalogName
• targetVdc
• comment
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIProvisionVM&opData={param0:’catalogName',param1:targetVdc',param
2:’comment’}
• Intercloud:userAPIOnboardVM – (admin/end user) – AWS only
• vmId - The identifier, in the format i-xxxx, of the VM instance running on the Amazon cloud
• vmName - The name of the VM
• targetVdc - The name of the target VDC
• AppCategory - The Application Category in the VDC to assign to the VM
• OS - The operating system in the form OS_version_architecture, such as CentOS_6.2_64bit
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIOnboardVM&opData={param0:’vmId',param1:vmName',param2:’targetV
dc’,param3:’ AppCategory’,param4:’OS’}
ICF REST API Operations
• VM Operations – continued
• Intercloud:userAPIMoveVMToCloud – (admin/end user – for their VMs)
• vmId
• vmName
• targetVdc
• comment
• removeSource – boolean – values: true|false
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIMoveVMToCloud&opData={param0:’vmId',param1:vmName',param2:’tar
getVdc’,param3:’comment’,param4:’removeSource’}
ICF REST API Operations
• VM Operations – continued
• Intercloud:userAPIMoveVMToEnterprise – (admin/end user – for their VMs)
• vmId
• vmName
• targetVdc
• ipAddress – IP address of destination Hypervisor host
• datastoreName – Private cloud datastore where VM will reside
• comment
• removeSource – boolean – values: true|false
https://icfd-ip-
addr/app/api/rest?opName=Intercloud:userAPIMoveVMToEnterprise&opData={param0:’vmId',param1:vmName',param
2:’targetVdc’,param3:’ ipAddress’,param4:’datastoreName’,param5:’comment’,param6:’removeSource’}
ICF REST API Operations
• VM Operations – continued
• Intercloud:userAPIVmPowerOff – (admin/end user)
• vmd
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIVmPowerOff&opData={param0:’vmId’}
• Intercloud:userAPIVmPowerOn – (admin/end user)
• vmId
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIVmPowerOn&opData={param0:’vmId’}
• Intercloud:userAPIVmReboot – (admin/end user)
• Vmd
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIVmReboot&opData={param0:’vmId’}
• Intercloud:userAPIVmTerminate – (admin/end user)
• vmId
https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIVmTerminate&opData={param0:’vmId’}
JSON & XML Reference
REST – What is it?
• Representational State Transfer
• REST is an architectural style consisting of a coordinated set of architectural constraints applied to
components, connectors, and data elements, within a distributed hypermedia system. REST ignores
the details of component implementation and protocol syntax in order to focus on the roles of
components, the constraints upon their interaction with other components, and their interpretation of
significant data elements.
• Architectural Constraints
• Client-Server / Stateless / Cacheable / Layered / Code on Demand (optional) / Uniform Interface
• Identification of resources / Manipulation of resources / Self-descriptive / Hypermedia as the engine
of application state
• HTTP Vocabulary reuse
• GET / POST / PUT / DELETE
• The PUT and DELETE methods are idempotent methods. The GET method is a safe method (or
nullipotent), meaning that calling it produces no side-effects. POST is a create method.
JSON – What is it?
• JSON (JavaScript Object Notation) is a lightweight data-interchange format.
• It is easy for humans to read and write.
• It is easy for machines to parse and generate.
• It is based on a subset of the JavaScript Programming Language
• JSON is a text format that is completely language independent
• Uses conventions that are familiar to programmers (or just people)
JSON – Structures
• JSON is built on two structures:
• Object – A collection of name/value pairs.
• Programming language representations – record, struct, dictionary, hash table, keyed
list, or associative array.
• Array – An ordered list of values.
• Programming language representations – array, vector, list, or sequence.
• These are universal data structures. Virtually all modern programming
languages support them in one form or another.
JSON Structure Forms – Object
• Object
• An object is an unordered set of name/value pairs.
• An object begins with { (left brace) and ends with } (right brace).
• Each name is followed by : (colon)
• name/value pairs are separated by , (comma).
JSON Structure Forms – Array
• Array
• An array is an ordered collection of values.
• An array begins with [ (left bracket) and ends with ] (right bracket).
• Values are separated by , (comma).
JSON – Values
• A value can be a string in double quotes, or a number, or true or false or null, or
an object or an array. These structures can be nested.
JSON – String
• A string is a sequence of zero or more Unicode characters, wrapped in double
quotes, using backslash escapes.
• A character is represented as a single character string.
JSON – Number
• A number is very much like a C or Java number, except that the octal and
hexadecimal formats are not used.
• object
• {} / {members}
• members
• pair / pair , members
• pair
• string : value
• array
• [] / [ elements ]
• elements
• value – or – value , elements
• value
• string
• number
• object
• array
• true
• false
• null
• string
• “”
• “ chars ”
• chars
• char
• char chars
• char
• any-Unicode-character-
except-"-or-  -or- control-
character
• “
• 
• /
• b
• f
• n
• r
• t
• u four-hex-digits
• number
• int / int frac / int exp / int frac
exp
• int
• digit / digit1-9 digits
• - digit / - digit1-9 digits
• frac
• . digits
• exp
• e digits
• digits
• digit / digit digits
• e
• E
• e+
• e-
• E
• E+
• E-
JSON - Structures • Strings • Numbers
XML – What is it?
• XML stands for eXtensible Markup Language
• XML was designed to carry data, not to display data
• XML tags are not predefined. You must define your own tags!!!
• XML is designed to be self-descriptive
• XML is a W3C Recommendation
• XML is a markup language much like HTML
• XML is not a replacement for HTML.
• XML was designed to transport and store data, with focus on what data is
• HTML was designed to display data, with focus on how data looks
• HTML is about displaying information, while XML is about carrying information.
• XML does not do anything, sorry 
XML – Basic Document Structure
• Element tags
• Elements can have associated attributes
• Attributes
• Attributes have values
• Text content (not in APIC)
• Miscellaneous
• Encoding, document type declarations
• Entity references
• Comments, processing instructions, etc…
XML – Basic Document Structure
• XML components
1
<?xml version=‘1.0’ encoding=‘UTF-8’?> XML Declaration
2
<!DOCTYPE order SYSTEM ‘order.dtd’> Document Type
Declaration
3
<?xml-stylesheet type=‘text/xsl’ href=‘style.xsl’?> Processing Instructions
4 <order> Element Tags
5 <item code=‘BK123’> Element Attributes
6 <name>Jonathan Strange and Mr. Norrell</name> Attribute Values
7 <price currency=‘USD’ student_discount=‘20%’>42.00</price> Text Content
8 </item>
9 </order>
XML – Proper Format
• Elements must be balanced, properly nested
• e.g. <br /> OK
• e.g. <b>bold <i> and italic </i> text</b> OK
• e.g. <b>bold <i> and italic </b> text</i> BAD!
• e.g. <ul> <li> list item </ul> BAD!
• Attributes must be specified, quoted
• e.g. <img src=‘images/banner.gif’/> OK
• e.g. <img src=images/banner.gif /> BAD!
• e.g. <ul compact> <li> list item </li> </ul> BAD!
Thank You for Attending
For TechWiseTV episodes, TechWiseTV Workshops, Fundamentals and
Networking 101’s visit http://www.TechWiseTV.com.
https://www.facebook.com/techwise
https://twitter.com/techwisetv

Más contenido relacionado

La actualidad más candente

La actualidad más candente (20)

Micro services
Micro servicesMicro services
Micro services
 
State of the EUC - 2020 What's new in End-User Computing
State of the EUC - 2020 What's new in End-User ComputingState of the EUC - 2020 What's new in End-User Computing
State of the EUC - 2020 What's new in End-User Computing
 
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...
Evolve or Fall Behind: Driving Transformation with Containers - Sai Vennam - ...
 
Cloud Transition Patterns for Media Enterprises
Cloud Transition Patterns for Media EnterprisesCloud Transition Patterns for Media Enterprises
Cloud Transition Patterns for Media Enterprises
 
State of the EUC - 2020 What's new in End-User Computing
State of the EUC - 2020 What's new in End-User ComputingState of the EUC - 2020 What's new in End-User Computing
State of the EUC - 2020 What's new in End-User Computing
 
Migrate to WVD and Beyond
Migrate to WVD and BeyondMigrate to WVD and Beyond
Migrate to WVD and Beyond
 
Conquering Disaster Recovery Challenges and Out-of-Control Data with the Hybr...
Conquering Disaster Recovery Challenges and Out-of-Control Data with the Hybr...Conquering Disaster Recovery Challenges and Out-of-Control Data with the Hybr...
Conquering Disaster Recovery Challenges and Out-of-Control Data with the Hybr...
 
Skip the anxiety attack when building secure containerized apps
Skip the anxiety attack when building secure containerized appsSkip the anxiety attack when building secure containerized apps
Skip the anxiety attack when building secure containerized apps
 
Wars I’ve Seen From Java EE to Spring and more, Azure has you covered
Wars I’ve SeenFrom Java EE to Spring and more, Azure has you coveredWars I’ve SeenFrom Java EE to Spring and more, Azure has you covered
Wars I’ve Seen From Java EE to Spring and more, Azure has you covered
 
Cloud for Kubernetes : Session3
Cloud for Kubernetes : Session3Cloud for Kubernetes : Session3
Cloud for Kubernetes : Session3
 
VMWare and SoftLayer Hybrid IT
VMWare and SoftLayer Hybrid ITVMWare and SoftLayer Hybrid IT
VMWare and SoftLayer Hybrid IT
 
Cloud infrastructure 5
Cloud infrastructure 5Cloud infrastructure 5
Cloud infrastructure 5
 
Deploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWSDeploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWS
 
Deploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWSDeploy, Scale and Manage your Microsoft Investments with AWS
Deploy, Scale and Manage your Microsoft Investments with AWS
 
Docker Tools in Visual Studio and Azure
Docker Tools in Visual Studio and AzureDocker Tools in Visual Studio and Azure
Docker Tools in Visual Studio and Azure
 
Integrating Okta with Anypoint Platform for a mobile security use case
Integrating Okta with Anypoint Platform for a mobile security use caseIntegrating Okta with Anypoint Platform for a mobile security use case
Integrating Okta with Anypoint Platform for a mobile security use case
 
Networking deep dive
Networking deep diveNetworking deep dive
Networking deep dive
 
Developing and Deploying Microservices to IBM Cloud Private
Developing and Deploying Microservices to IBM Cloud PrivateDeveloping and Deploying Microservices to IBM Cloud Private
Developing and Deploying Microservices to IBM Cloud Private
 
D do s_white_paper
D do s_white_paperD do s_white_paper
D do s_white_paper
 
IBM Public Cloud Platform Nov 2021
IBM Public Cloud Platform Nov 2021IBM Public Cloud Platform Nov 2021
IBM Public Cloud Platform Nov 2021
 

Similar a TechWiseTV Workshop: Intercloud Fabric

Cisco at v mworld 2015 intercloud - hybrid cloud solutions for vmware workloa...
Cisco at v mworld 2015 intercloud - hybrid cloud solutions for vmware workloa...Cisco at v mworld 2015 intercloud - hybrid cloud solutions for vmware workloa...
Cisco at v mworld 2015 intercloud - hybrid cloud solutions for vmware workloa...
ldangelo0772
 

Similar a TechWiseTV Workshop: Intercloud Fabric (20)

DEVNET-1008 Private or Public or Hybrid ? Which Cloud Should I choose?
DEVNET-1008 Private or Public or Hybrid ? Which Cloud Should I choose?DEVNET-1008 Private or Public or Hybrid ? Which Cloud Should I choose?
DEVNET-1008 Private or Public or Hybrid ? Which Cloud Should I choose?
 
DEVNET-1009 Cisco Intercloud Fabric for Business (ICFB), Helping Enterprises...
DEVNET-1009	Cisco Intercloud Fabric for Business (ICFB),  Helping Enterprises...DEVNET-1009	Cisco Intercloud Fabric for Business (ICFB),  Helping Enterprises...
DEVNET-1009 Cisco Intercloud Fabric for Business (ICFB), Helping Enterprises...
 
Cisco’s Cloud Ready Infrastructure
Cisco’s Cloud Ready InfrastructureCisco’s Cloud Ready Infrastructure
Cisco’s Cloud Ready Infrastructure
 
[OpenStack Days Korea 2016] Track2 - 가상화 네트워크와 클라우드간 협업
[OpenStack Days Korea 2016] Track2 - 가상화 네트워크와 클라우드간 협업[OpenStack Days Korea 2016] Track2 - 가상화 네트워크와 클라우드간 협업
[OpenStack Days Korea 2016] Track2 - 가상화 네트워크와 클라우드간 협업
 
Cisco’s Cloud Strategy, including our acquisition of CliQr
Cisco’s Cloud Strategy, including our acquisition of CliQr Cisco’s Cloud Strategy, including our acquisition of CliQr
Cisco’s Cloud Strategy, including our acquisition of CliQr
 
Cisco at v mworld 2015 intercloud - hybrid cloud solutions for vmware workloa...
Cisco at v mworld 2015 intercloud - hybrid cloud solutions for vmware workloa...Cisco at v mworld 2015 intercloud - hybrid cloud solutions for vmware workloa...
Cisco at v mworld 2015 intercloud - hybrid cloud solutions for vmware workloa...
 
Container Networking Deep Dive
Container Networking Deep DiveContainer Networking Deep Dive
Container Networking Deep Dive
 
Presentation citrix cloud platform for infrastructure as a service
Presentation   citrix cloud platform for infrastructure as a servicePresentation   citrix cloud platform for infrastructure as a service
Presentation citrix cloud platform for infrastructure as a service
 
Presentation cisco nexus enabling the cloud infrastructure
Presentation   cisco nexus enabling the cloud infrastructurePresentation   cisco nexus enabling the cloud infrastructure
Presentation cisco nexus enabling the cloud infrastructure
 
2014-09-15 cloud platform master class
2014-09-15 cloud platform master class2014-09-15 cloud platform master class
2014-09-15 cloud platform master class
 
Hybridní cloud s F5 v prostředí kontejnerů
Hybridní cloud s F5 v prostředí kontejnerůHybridní cloud s F5 v prostředí kontejnerů
Hybridní cloud s F5 v prostředí kontejnerů
 
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking
[OpenStack Days Korea 2016] An SDN Pioneer's Vision of Networking
 
Service fabric and azure service fabric mesh
Service fabric and azure service fabric meshService fabric and azure service fabric mesh
Service fabric and azure service fabric mesh
 
Presentation cloud, the whole offer
Presentation   cloud, the whole offerPresentation   cloud, the whole offer
Presentation cloud, the whole offer
 
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
MNAssociationEnterpriseArchitectsCloudFoundryJuly2017
 
Simplifier le deploiement d'applications dans le nuage hybride
Simplifier le deploiement d'applications dans le nuage hybrideSimplifier le deploiement d'applications dans le nuage hybride
Simplifier le deploiement d'applications dans le nuage hybride
 
IXcloud, Global 1st Cloud OS, Openstack Cloud
IXcloud, Global 1st Cloud OS, Openstack CloudIXcloud, Global 1st Cloud OS, Openstack Cloud
IXcloud, Global 1st Cloud OS, Openstack Cloud
 
Cisco ONE Enterprise Cloud Suite
Cisco ONE Enterprise Cloud SuiteCisco ONE Enterprise Cloud Suite
Cisco ONE Enterprise Cloud Suite
 
Presentation cloupia product overview and demo
Presentation   cloupia product overview and demoPresentation   cloupia product overview and demo
Presentation cloupia product overview and demo
 
IDERA Slides: Managing the Transition to Hybrid Cloud
IDERA Slides: Managing the Transition to Hybrid CloudIDERA Slides: Managing the Transition to Hybrid Cloud
IDERA Slides: Managing the Transition to Hybrid Cloud
 

Más de Robb Boyd

Más de Robb Boyd (20)

Enterprise-Grade Trust: Collaboration Without Compromise
Enterprise-Grade Trust: Collaboration Without CompromiseEnterprise-Grade Trust: Collaboration Without Compromise
Enterprise-Grade Trust: Collaboration Without Compromise
 
TechWiseTV Workshop - Q&A - Cisco Catalyst 9600: Deep Dive and Design Conside...
TechWiseTV Workshop - Q&A - Cisco Catalyst 9600: Deep Dive and Design Conside...TechWiseTV Workshop - Q&A - Cisco Catalyst 9600: Deep Dive and Design Conside...
TechWiseTV Workshop - Q&A - Cisco Catalyst 9600: Deep Dive and Design Conside...
 
TechWiseTV Workshop: Cisco Catalyst 9600: Deep Dive and Design Considerations
TechWiseTV Workshop: Cisco Catalyst 9600: Deep Dive and Design ConsiderationsTechWiseTV Workshop: Cisco Catalyst 9600: Deep Dive and Design Considerations
TechWiseTV Workshop: Cisco Catalyst 9600: Deep Dive and Design Considerations
 
TechWiseTV Workshop - Q&A - Cisco Catalyst 9100 Access Points for Wi-Fi 6
TechWiseTV Workshop - Q&A - Cisco Catalyst 9100 Access Points for Wi-Fi 6TechWiseTV Workshop - Q&A - Cisco Catalyst 9100 Access Points for Wi-Fi 6
TechWiseTV Workshop - Q&A - Cisco Catalyst 9100 Access Points for Wi-Fi 6
 
TechWiseTV Workshop - Q&A - Application Hosting on the Cisco Catalyst 9000 Sw...
TechWiseTV Workshop - Q&A - Application Hosting on the Cisco Catalyst 9000 Sw...TechWiseTV Workshop - Q&A - Application Hosting on the Cisco Catalyst 9000 Sw...
TechWiseTV Workshop - Q&A - Application Hosting on the Cisco Catalyst 9000 Sw...
 
TechWiseTV Workshop: Cisco Catalyst 9100 Access Points for Wi-Fi 6
TechWiseTV Workshop: Cisco Catalyst 9100 Access Points for Wi-Fi 6TechWiseTV Workshop: Cisco Catalyst 9100 Access Points for Wi-Fi 6
TechWiseTV Workshop: Cisco Catalyst 9100 Access Points for Wi-Fi 6
 
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series SwitchesTechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
TechWiseTV Workshop: Application Hosting on Catalyst 9000 Series Switches
 
TechWiseTV Workshop 314 - Q&A Cisco SD-WAN Security
TechWiseTV Workshop 314 - Q&A Cisco SD-WAN Security TechWiseTV Workshop 314 - Q&A Cisco SD-WAN Security
TechWiseTV Workshop 314 - Q&A Cisco SD-WAN Security
 
Technical Overview of Cisco Catalyst 9200 Series Switches
Technical Overview of Cisco Catalyst 9200 Series SwitchesTechnical Overview of Cisco Catalyst 9200 Series Switches
Technical Overview of Cisco Catalyst 9200 Series Switches
 
The Enhanced Cisco Container Platform
The Enhanced Cisco Container PlatformThe Enhanced Cisco Container Platform
The Enhanced Cisco Container Platform
 
TechWiseTV Workshop: Improving Performance and Agility with Cisco HyperFlex
TechWiseTV Workshop: Improving Performance and Agility with Cisco HyperFlexTechWiseTV Workshop: Improving Performance and Agility with Cisco HyperFlex
TechWiseTV Workshop: Improving Performance and Agility with Cisco HyperFlex
 
TechWiseTV Workshop: SD-WAN Security
TechWiseTV Workshop: SD-WAN SecurityTechWiseTV Workshop: SD-WAN Security
TechWiseTV Workshop: SD-WAN Security
 
TechWiseTV Workshop: Cisco Catalyst 9800 Series Wireless Controller
TechWiseTV Workshop: Cisco Catalyst 9800 Series Wireless ControllerTechWiseTV Workshop: Cisco Catalyst 9800 Series Wireless Controller
TechWiseTV Workshop: Cisco Catalyst 9800 Series Wireless Controller
 
Protect Kubernetes Environments with Cisco Stealthwatch Cloud
Protect Kubernetes Environments with Cisco Stealthwatch CloudProtect Kubernetes Environments with Cisco Stealthwatch Cloud
Protect Kubernetes Environments with Cisco Stealthwatch Cloud
 
Incredible Compute Density: Cisco DNA Center Platform: Digging Deeper with APIs
Incredible Compute Density: Cisco DNA Center Platform: Digging Deeper with APIsIncredible Compute Density: Cisco DNA Center Platform: Digging Deeper with APIs
Incredible Compute Density: Cisco DNA Center Platform: Digging Deeper with APIs
 
Infrastructure Solutions for Deploying AI/ML/DL Workloads at Scale
Infrastructure Solutions for Deploying AI/ML/DL Workloads at ScaleInfrastructure Solutions for Deploying AI/ML/DL Workloads at Scale
Infrastructure Solutions for Deploying AI/ML/DL Workloads at Scale
 
TechWiseTV Workshop Q&A: Cisco UCS C4200
TechWiseTV Workshop Q&A: Cisco UCS C4200TechWiseTV Workshop Q&A: Cisco UCS C4200
TechWiseTV Workshop Q&A: Cisco UCS C4200
 
TechWiseTV Workshop: Cisco UCS C4200
TechWiseTV Workshop: Cisco UCS C4200TechWiseTV Workshop: Cisco UCS C4200
TechWiseTV Workshop: Cisco UCS C4200
 
TechWiseTV Workshop: ASR 9000
TechWiseTV Workshop: ASR 9000 TechWiseTV Workshop: ASR 9000
TechWiseTV Workshop: ASR 9000
 
TechWiseTV Workshop: Q&A Cisco Hybrid Cloud Platform for Google Cloud
TechWiseTV Workshop: Q&A Cisco Hybrid Cloud Platform for Google CloudTechWiseTV Workshop: Q&A Cisco Hybrid Cloud Platform for Google Cloud
TechWiseTV Workshop: Q&A Cisco Hybrid Cloud Platform for Google Cloud
 

Último

Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Chandigarh Call girls 9053900678 Call girls in Chandigarh
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
dharasingh5698
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
nilamkumrai
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
@Chandigarh #call #Girls 9053900678 @Call #Girls in @Punjab 9053900678
 

Último (20)

Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
Shikrapur - Call Girls in Pune Neha 8005736733 | 100% Gennuine High Class Ind...
 
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting  High Prof...
VIP Model Call Girls Hadapsar ( Pune ) Call ON 9905417584 Starting High Prof...
 
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
Low Sexy Call Girls In Mohali 9053900678 🥵Have Save And Good Place 🥵
 
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
Pirangut | Call Girls Pune Phone No 8005736733 Elite Escort Service Available...
 
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
VVIP Pune Call Girls Sinhagad WhatSapp Number 8005736733 With Elite Staff And...
 
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort ServiceCall Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
Call Girls in Prashant Vihar, Delhi 💯 Call Us 🔝9953056974 🔝 Escort Service
 
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...Pune Airport ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready...
Pune Airport ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready...
 
Trump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts SweatshirtTrump Diapers Over Dems t shirts Sweatshirt
Trump Diapers Over Dems t shirts Sweatshirt
 
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
best call girls in Hyderabad Finest Escorts Service 📞 9352988975 📞 Available ...
 
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Himatnagar 7001035870 Whatsapp Number, 24/07 Booking
 
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
Hire↠Young Call Girls in Tilak nagar (Delhi) ☎️ 9205541914 ☎️ Independent Esc...
 
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Pollachi 7001035870 Whatsapp Number, 24/07 Booking
 
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
( Pune ) VIP Baner Call Girls 🎗️ 9352988975 Sizzling | Escorts | Girls Are Re...
 
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
6.High Profile Call Girls In Punjab +919053900678 Punjab Call GirlHigh Profil...
 
Microsoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck MicrosoftMicrosoft Azure Arc Customer Deck Microsoft
Microsoft Azure Arc Customer Deck Microsoft
 
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
📱Dehradun Call Girls Service 📱☎️ +91'905,3900,678 ☎️📱 Call Girls In Dehradun 📱
 
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
All Time Service Available Call Girls Mg Road 👌 ⏭️ 6378878445
 
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...Katraj ( Call Girls ) Pune  6297143586  Hot Model With Sexy Bhabi Ready For S...
Katraj ( Call Girls ) Pune 6297143586 Hot Model With Sexy Bhabi Ready For S...
 
Real Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirtReal Men Wear Diapers T Shirts sweatshirt
Real Men Wear Diapers T Shirts sweatshirt
 
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...Russian Call Girls Pune  (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
Russian Call Girls Pune (Adult Only) 8005736733 Escort Service 24x7 Cash Pay...
 

TechWiseTV Workshop: Intercloud Fabric

  • 1. Building Hybrid Clouds with Cisco Intercloud Fabric John McDonough Intercloud Fabric Technical Marketing Engineer TechWiseTV Workshop
  • 3. • Introduction • Hands On • Intercloud Fabric Architecture and Infrastructure • Supported Operating Systems • Building Intercloud Fabric Cloud Links • Creating Virtual Data Centers • Templates and Catalogs • REST API Agenda
  • 5. Introduction – Session Information • Session – Cisco Intercloud Fabric builds and manages hybrid clouds, securely extending the enterprise data center to the cloud. The latest version of Intercloud Fabric is a feature-rich release that seamlessly joins multiple clouds from global cloud providers. We will review as many of these features and functions today as time allows. • Who am I? • John McDonough – Technical Marketing Engineer • Cisco Employee since 2004 • Developer, Advanced Services, Technical Marketing Engineer • Blogs – https://blogs.cisco.com/author/johnmcdonough • Twitter – @johnamcdonough
  • 7. Hands On • 60 Day License for 10 VMs (20 HCUs) included in Intercloud Fabric • Install and run with your Amazon AWS or Microsoft Azure provider accounts • Azure 30 day $200 credit works with Intercloud Fabric • DevNet Sandbox • Test out the ICF APIs in DevNet sandbox • http://develper.cisco.com/cloud • Cisco dCloud • Self-Paced lab/demo covering all aspects of Intercloud Fabric • Running the latest release, offering the greatest flexibility • http://dcloud.cisco.com
  • 9. You ChoiceOpen Securely Extend Your Data Center to Cloud Cisco Intercloud Fabric – Consistent Network and Security for Hybrid Cloud Interclou d Alliance Public Clouds INTERCLOUD Intercloud Services Intercloud Providers Accelerate Cloud Adoption with Consistent Operational Model Accelerate Innovation with Choice of Clouds DISRUPTIONSPEEDEFFICIENCY
  • 10. Intercloud Alliance Public Clouds INTERCLOUD Intercloud Services Intercloud Providers 350 Data Centers 65 Partners 50 Countries Infrastructure Extension Flexible bi-directional Workload Placement Cisco Hybrid Cloud Architecture Any Hypervisor, Any Cloud with Security and Data Sovereignty Enterprise Security You Consistent Operation Model
  • 11. Cisco Intercloud Fabric: Solution Overview CISCO INTERCLOUD FABRIC End User Portal Cloud VM catalogs and Templates IT Admin Cloud Configuration and Security Rest APIs vSphere HyperV OpenStack KVM Private Data Center Intercloud Ecosystem
  • 12. Intercloud Fabric Provider Platform Intercloud Fabric for Providers Intercloud Fabric Secure Extender (Secure Network Extension) DC/Private Cloud Provider Cloud Cisco Intercloud Fabric Architectural Details Intercloud Switch VM Manager Intercloud Fabric Services Intercloud Extender Intercloud Fabric Director End User and IT Admin Portal Workload and Fabric ManagementIT AdminsEnd Users VM VM VM VM Intercloud Fabric for Business
  • 13. Intercloud Fabric Structure Cisco Intercloud Fabric Architecture is Modularized to Achieve the Elasticity Needed to Support Evolving Cloud Environments ICF Core Infrastructure ICFD PNSC ICFPP Secure Communications Private Cloud: Enterprise Public Cloud: Provider ICF Core Services Security Management and Visibility AutomationNetworking VM Portability ICF Extended Services + External Partners (storage, load balancing, etc.)
  • 14. ICF Object Relationships – Taxonomy Network Policy Provider Acct Enterprise VDC Virtual Data Center Private Cloud IcfCloud – connects enterprise network (ICX) to cloud network (ICS) Provider Account – Stores the credentials and region for a provider. Many IcfClouds can be under a single Provider Account IcfCloud – connects enterprise network (ICX) to cloud network (ICS) IcfCloud – connects enterprise network (ICX) to cloud network (ICS) Cloud VDC Virtual Data Center NIC(s) System Policy Name Template DNS domain DNS Server Compute Policy Host Selection Network Policy NIC(s) NIC Name Port IP Source NIC Name Port IP Source IP POOLDHCP NIC Name Port IP Source NIC Name Port IP Source IP POOLDHCP Public Cloud
  • 15. ICF Object Relationships – Taxonomy Network Policy Provider Acct Enterprise VDC Virtual Data Center Private Cloud IcfCloud – connects enterprise network (ICX) to cloud network (ICS) Provider Account – Stores the credentials and region for a provider. Many IcfClouds can be under a single Provider Account IcfCloud – connects enterprise network (ICX) to cloud network (ICS) IcfCloud – connects enterprise network (ICX) to cloud network (ICS) Cloud VDC Virtual Data Center NIC(s) System Policy Name Template DNS domain DNS Server Compute Policy Host Selection Network Policy NIC(s) NIC Name Port IP Source NIC Name Port IP Source IP POOLDHCP NIC Name Port IP Source NIC Name Port IP Source IP POOLDHCP Public Cloud
  • 16. ICF Object Relationships – Taxonomy Network Policy Provider Acct Enterprise VDC Virtual Data Center Private Cloud IcfCloud – connects enterprise network (ICX) to cloud network (ICS) Provider Account – Stores the credentials and region for a provider. Many IcfClouds can be under a single Provider Account IcfCloud – connects enterprise network (ICX) to cloud network (ICS) IcfCloud – connects enterprise network (ICX) to cloud network (ICS) Cloud VDC Virtual Data Center NIC(s) System Policy Name Template DNS domain DNS Server Compute Policy Host Selection Network Policy NIC(s) NIC Name Port IP Source NIC Name Port IP Source IP POOLDHCP NIC Name Port IP Source NIC Name Port IP Source IP POOLDHCP Public Cloud
  • 18. Supported Operating Systems Cisco Intercloud Services* Microsoft Azure Amazon AWS CentOS 6.2-6.5 RHEL 6.0-65 SUSE 11 SP2/SP3 Windows 2008R2/2012/2012R2 CentOS 6.2-6.5 RHEL 6.0-65 SUSE 11 SP2/SP3 Windows 2008R2/2012/2012R2 CentOS 6.2-6.5 RHEL 6.0-65, SUSE 11 SP2/SP3 Windows 2008R2/2012/2012R2 *OS support on CIS is dependent upon the cloud provider
  • 20. Intercloud Fabric Links IcfCloud • Secure Tunnels • Site-to-Site tunnel - Enterprise to Cloud Provider • UDP, TCP, HTTPS • Multiple encryption, hash, and rekey choices • Access tunnel – intra VM communication in the provider Cloud • UDP • Multiple encryption, hash and rekey choices • IP Group • AWS Security Groups • Azure Endpoints • CIS – dependent upon provider support
  • 21. Intercloud Fabric – Tunnel Profile
  • 23. Intercloud Fabric – Providers Platform • AWS – access to global regions* • Azure – access to global regions** • CIS – dependent upon the provider • Intercloud Fabric Firewall • Intercloud Fabric Router • Inter-VLAN routing • Default Gateway / Extended Gateway • NAT • VPN*** Services *Generally available regions – Government regions are not yet supported **Generally available regions – Australia only for Australians – Government regions are not yet supported ***Not available in Azure
  • 25. Intercloud Fabric Building Virtual Data Centers • Logical policy driven entities • Group Association • Multiple VDCs per IcfCloud • Workload Instantiation Controls • Template Modification Controls • Private Cloud • Compute Policy • Network Policy • Application Groups (Network + Compute) • Provider Cloud • Network Policy • System Policy • Application Groups (Network + System)
  • 27. Intercloud Fabric Templates • Enterprise Workloads • Enterprise templates • Uploaded to Intercloud Fabric • Uploaded to Cloud Provider Region • 1 Template can be associated with multiple catalogs, networks, and system policies
  • 28. Intercloud Fabric Templates and Catalogs • Logical policy driven entities • Group Association • Catalog entry associated with specific IcfCloud and template • Multiple entries per IcfCloud • Adheres to VDC policies • User Instantiation • May or may not be allowed to modify deployed workload name • May or may not be allowed to modify workload characteristics* • Subject to workload limits in VDC and license availability *ICF uses a cloud fit algorithm to select best possible provider offering, test deployment to determine workload type
  • 30. Intercloud Fabric REST APIs • Full VM lifecycle APIs • Instantiation • Migration (convert  move convert) less vendor specific tools • Power • Termination • Consistent APIs across Cloud Providers • Many Clouds one API • E.g. Power cycle call is the same for Provider A … Provider Z • Simplified scripts • E.g. No special cases per provider • REST Architecture
  • 32. Capacity Augmentation and E-Commerce Hosting Problem • Need to burst to cloud than building capacity for seasonal peaks or unanticipated demand • Cloud workload break enterprise security and compliance rules ADDNS Enterprise DC Public Cloud
  • 33. Capacity Augmentation and E-Commerce Hosting Problem • Need to burst to cloud than building capacity for seasonal peaks or unanticipated demand • Cloud workload break enterprise security and compliance rulesICF Shell Continue to use existing enterprise services Extend Web and/or App Tier into Public cloud to augment on-prem capacity demands ADDNS Enterprise DC Public Cloud Business Outcomes • Save cost and time to build additional capacity • Use all existing enterprise services
  • 34. Problem • Developers using public cloud natively without enterprise security • Developers cannot use or test against enterprise services and databases Secure Application Development and Test ICF Shell Usergroup1 Portal Usergroup2 Portal 1. Developers accessing public cloud through Enterprise portal 2. Extend multiple networks from Private DC to cloud with enterprise security policies Enterprise Portal Enterprise DC Public Cloud ADDNS
  • 35. Diminish Shadow IT Over Time Enterprise DC Import existing cloud workloads into ICF Shell (Beta) Problem • Enterprise security and compliance at risk when public clouds accessed directly Business Outcomes • Meet Enterprise compliance policy mandates across private / public cloud resources ICF Shell Usergroup1 Portal Usergroup2 Portal Public Cloud Enterprise PortalEnterprise Portal Usergroup3 Portal
  • 36. Cisco Enterprise Cloud Suite Hybrid-Ready Private Cloud Virtual Network Services Modern Self-Service Portal and Catalog Out-of-box application templates Stack Designer Integrated Infrastructure Management UCS-based Integrated Infrastructure Multi-Vendor Compute, Network, Storage, and Virtualization Hybrid Cloud Connectivity Infrastructureassurance,3rdparty billing,resourcemanagement Cloud Services Ecosystem of Service Providers
  • 37. Compliance Policy-based deployment/governance in cloud Choice Freedom to place workloads across heterogeneous clouds Consistency Security/Networking as an extension of Private Cloud Control Unified workload management across clouds Cisco Intercloud Fabric Customer Benefits DC/Private Cloud Public /Provider Cloud
  • 38. Q & A
  • 39.
  • 42. ICF REST API X-Cloupia-Request-Key • Need to create the Header “X-Cloupia-Request-Key” • Get the key https://icdf-ip-hostname/app/api/rest?"opName=getRESTKey&user=username&password=mypass • F43955535D6148ADB742799BB20874C0 • Create the Header • X-Cloupia-Request-Key:F43955535D6148ADB742799BB20874C0 • All other operations will use the header as the authentication token
  • 44. ICF REST API Operations • User Operations • getRESTKey – (admin/end user) See X-Cloupia-Request-Key earlier in this document • userAPIAddUser – (admin) • userId, password, firstName, lastName, email, role, groupName • role choices: ‘Regular = Service End-User’, GroupAdmin = Group Admin’, ‘Admin = Service Admin’ https://icfd-ip- addr/app/api/rest?opName=userAPIAddUser&opData={param0:’userId',param1:’password',param2:’firstName',param3:’lastName',param4:’email ',param5:’role',param6:’group’} - users https://icfd-ip- addr/app/api/rest?opName=userAPIAddUser&opData={param0:’userId',param1:’password',param2:’firstName',param3:’lastName',param4:’email ',param5:’role',param6:null} – admins *group is null unquoted for admins • Intercloud:userAPIResetUserPassword – (admin/end user) • userId • newPassword • resetAPIKey – boolen – values: true|false https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIResetUserPassword&opData={param0:’userId',param1:’newPassword', param2:false}
  • 45. ICF REST API Operations • User Operations – continued • userAPIResetMyPassword – (admin/end user) • newPassword https://icfd-ip-addr/app/api/rest?opName=userAPIResetMyPassword&opData={param0:’newPassword'} • userAPIGetUserLoginProfile – (admin/end user) • userId https://icfd-ip-addr/app/api/rest?opName=userAPIGetUserLoginProfile&opData={param0:’userId'} • userAPIDeleteUser – (admin) • userId opName=userAPIDeleteUser&opData={param0:’userId'} • userAPIGetMyLoginProfile – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=userAPIGetMyLoginProfile
  • 46. ICF REST API Operations • Catalog Operations • userAPIGetAllCatalogs – (admin) • No opData https://icfd-ip-addr/app/api/rest?opName=userAPIGetAllCatalogs • userAPIGetCatalogsPerGroup – (admin/end user – for their group) • groupName https://icfd-ip-addr/app/api/rest?opName=userAPIGetCatalogsPerGroup&opData={param0:’groupName’}
  • 47. ICF REST API Operations • Cloud Operations • intercloud:userAPIGetAllVCenters – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=intercloud:userAPIGetAllVCenters • Intercloud:userAPIGetAllDataCenters – (admin/end user) • vmManager https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllDataCenters&opData={param0:’vmManager’} • Intercloud:userAPIGetAllEsxHosts – (admin/end user) • vmManager • dataCenter https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIGetAllEsxHosts&opData={param0:’vmManager',param1:’dataCenter’}
  • 48. ICF REST API Operations • Cloud Operations – continued • Intercloud:userAPIgetStaticListByName – (admin) • dataStoreList  this actual word https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIgetStaticListByName&opData={param0:’dataStoreList’} • Intercloud:userAPIGetAllicfClouds – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllicfClouds • Intercloud:userAPIGetAllTunnelProfiles – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllTunnelProfiles • Intercloud:userAPIGeticfCloudSummary – (admin) • icfCloudId https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGeticfCloudSummary&opData={param0:’icfCloudId’}
  • 49. ICF REST API Operations • Cloud Operations – continued • Intercloud:userAPIGetAllDeviceProfiles – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllDeviceProfiles • Intercloud:userAPIGetAllPvtDataTrunkPortProfiles – (admin/end user) • vmManager • dataCenter https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIGetAllPvtDataTrunkPortProfiles&opData={param0:’vmManager',param 1:’dataCenter'}
  • 50. ICF REST API Operations • Network Operations • Intercloud:userAPIcreateStaticIPPool – (admin) • policyName • staticIpPool – as a range e.g. 192.168.250.50-192.168.250.100 • vlanId • gatewayIp • subnetMask https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIcreateStaticIPPool&opData={param0:’policyName',param1:’staticIpPoo l',param2:’vlanId',param3:’gatewayIp',param4:’subnetMask’} • Intercloud:userAPIcreateTunnelProfileWithDefaultValues – (admin) • tunnelProfileName https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIcreateTunnelProfileWithDefaultValues&opData={param0:’tunnelProfile Name’} • Intercloud:userAPIGetAllPvtMgmtPortProfiles – (admin/end user) • vmManager • dataCenter https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIGetAllPvtMgmtPortProfiles&opData={param0:’vmManager',param1:’dat aCenter'}
  • 51. ICF REST API Operations • Network Operations - continued • Intercloud:userAPIGetAllStaticIPPoolPolicy – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllStaticIPPoolPolicy • Intercloud:userAPIGetAllStaticIPPools – (admin/end user) • policyId https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIGetAllStaticIPPools&opData={param0:’policyId’} • Intercloud:userAPIGetIPAddressPool – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetIPAddressPool
  • 52. ICF REST API Operations • Service Request Operations • userAPIGetServiceRequests – (admin/end user – for their SRs) • No opData https://icfd-ip-addr/app/api/rest?opName=userAPIGetServiceRequests • userAPIGetServiceRequestDetails – (admin/end user – for their SRs) • requestId https://icfd-ip- addr/app/api/rest?opName=userAPIGetServiceRequestDetails&opData={param0:’requestId’} • userAPIGetVMsForServiceRequest– (admin/end user – for their SRs) • requestId https://icfd-ip- addr/app/api/rest?opName=userAPIGetVMsForServiceRequest&opData={param0:’requestId’}
  • 53. ICF REST API Operations • VDC Operations • userAPIGetAllVDCs – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=userAPIGetAllVDCs
  • 54. ICF REST API Operations • VM Operations • Note in all API calls vmId refers to the vmId number in ICF, except Intercloud:userAPIOnboardVM where vmId is the AWS ‘Instance ID’ • Intercloud:userAPIGetAllVms – (admin/end user) • No opData https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetAllVms • Intercloud:userAPIGetVMSummary – (admin/end user – for their VMs) • vmId https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetVMSummary&opData={param0:’vmId’} • Intercloud:userAPIGetVMVnics – (admin/end user – for their VMs) • vmId https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIGetVMVnics&opData={param0:’vmId’}
  • 55. ICF REST API Operations • VM Operations – continued • Intercloud:userAPIProvisionVM – (admin/end user) • catalogName • targetVdc • comment https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIProvisionVM&opData={param0:’catalogName',param1:targetVdc',param 2:’comment’} • Intercloud:userAPIOnboardVM – (admin/end user) – AWS only • vmId - The identifier, in the format i-xxxx, of the VM instance running on the Amazon cloud • vmName - The name of the VM • targetVdc - The name of the target VDC • AppCategory - The Application Category in the VDC to assign to the VM • OS - The operating system in the form OS_version_architecture, such as CentOS_6.2_64bit https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIOnboardVM&opData={param0:’vmId',param1:vmName',param2:’targetV dc’,param3:’ AppCategory’,param4:’OS’}
  • 56. ICF REST API Operations • VM Operations – continued • Intercloud:userAPIMoveVMToCloud – (admin/end user – for their VMs) • vmId • vmName • targetVdc • comment • removeSource – boolean – values: true|false https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIMoveVMToCloud&opData={param0:’vmId',param1:vmName',param2:’tar getVdc’,param3:’comment’,param4:’removeSource’}
  • 57. ICF REST API Operations • VM Operations – continued • Intercloud:userAPIMoveVMToEnterprise – (admin/end user – for their VMs) • vmId • vmName • targetVdc • ipAddress – IP address of destination Hypervisor host • datastoreName – Private cloud datastore where VM will reside • comment • removeSource – boolean – values: true|false https://icfd-ip- addr/app/api/rest?opName=Intercloud:userAPIMoveVMToEnterprise&opData={param0:’vmId',param1:vmName',param 2:’targetVdc’,param3:’ ipAddress’,param4:’datastoreName’,param5:’comment’,param6:’removeSource’}
  • 58. ICF REST API Operations • VM Operations – continued • Intercloud:userAPIVmPowerOff – (admin/end user) • vmd https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIVmPowerOff&opData={param0:’vmId’} • Intercloud:userAPIVmPowerOn – (admin/end user) • vmId https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIVmPowerOn&opData={param0:’vmId’} • Intercloud:userAPIVmReboot – (admin/end user) • Vmd https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIVmReboot&opData={param0:’vmId’} • Intercloud:userAPIVmTerminate – (admin/end user) • vmId https://icfd-ip-addr/app/api/rest?opName=Intercloud:userAPIVmTerminate&opData={param0:’vmId’}
  • 59. JSON & XML Reference
  • 60. REST – What is it? • Representational State Transfer • REST is an architectural style consisting of a coordinated set of architectural constraints applied to components, connectors, and data elements, within a distributed hypermedia system. REST ignores the details of component implementation and protocol syntax in order to focus on the roles of components, the constraints upon their interaction with other components, and their interpretation of significant data elements. • Architectural Constraints • Client-Server / Stateless / Cacheable / Layered / Code on Demand (optional) / Uniform Interface • Identification of resources / Manipulation of resources / Self-descriptive / Hypermedia as the engine of application state • HTTP Vocabulary reuse • GET / POST / PUT / DELETE • The PUT and DELETE methods are idempotent methods. The GET method is a safe method (or nullipotent), meaning that calling it produces no side-effects. POST is a create method.
  • 61. JSON – What is it? • JSON (JavaScript Object Notation) is a lightweight data-interchange format. • It is easy for humans to read and write. • It is easy for machines to parse and generate. • It is based on a subset of the JavaScript Programming Language • JSON is a text format that is completely language independent • Uses conventions that are familiar to programmers (or just people)
  • 62. JSON – Structures • JSON is built on two structures: • Object – A collection of name/value pairs. • Programming language representations – record, struct, dictionary, hash table, keyed list, or associative array. • Array – An ordered list of values. • Programming language representations – array, vector, list, or sequence. • These are universal data structures. Virtually all modern programming languages support them in one form or another.
  • 63. JSON Structure Forms – Object • Object • An object is an unordered set of name/value pairs. • An object begins with { (left brace) and ends with } (right brace). • Each name is followed by : (colon) • name/value pairs are separated by , (comma).
  • 64. JSON Structure Forms – Array • Array • An array is an ordered collection of values. • An array begins with [ (left bracket) and ends with ] (right bracket). • Values are separated by , (comma).
  • 65. JSON – Values • A value can be a string in double quotes, or a number, or true or false or null, or an object or an array. These structures can be nested.
  • 66. JSON – String • A string is a sequence of zero or more Unicode characters, wrapped in double quotes, using backslash escapes. • A character is represented as a single character string.
  • 67. JSON – Number • A number is very much like a C or Java number, except that the octal and hexadecimal formats are not used.
  • 68. • object • {} / {members} • members • pair / pair , members • pair • string : value • array • [] / [ elements ] • elements • value – or – value , elements • value • string • number • object • array • true • false • null • string • “” • “ chars ” • chars • char • char chars • char • any-Unicode-character- except-"-or- -or- control- character • “ • • / • b • f • n • r • t • u four-hex-digits • number • int / int frac / int exp / int frac exp • int • digit / digit1-9 digits • - digit / - digit1-9 digits • frac • . digits • exp • e digits • digits • digit / digit digits • e • E • e+ • e- • E • E+ • E- JSON - Structures • Strings • Numbers
  • 69. XML – What is it? • XML stands for eXtensible Markup Language • XML was designed to carry data, not to display data • XML tags are not predefined. You must define your own tags!!! • XML is designed to be self-descriptive • XML is a W3C Recommendation • XML is a markup language much like HTML • XML is not a replacement for HTML. • XML was designed to transport and store data, with focus on what data is • HTML was designed to display data, with focus on how data looks • HTML is about displaying information, while XML is about carrying information. • XML does not do anything, sorry 
  • 70. XML – Basic Document Structure • Element tags • Elements can have associated attributes • Attributes • Attributes have values • Text content (not in APIC) • Miscellaneous • Encoding, document type declarations • Entity references • Comments, processing instructions, etc…
  • 71. XML – Basic Document Structure • XML components 1 <?xml version=‘1.0’ encoding=‘UTF-8’?> XML Declaration 2 <!DOCTYPE order SYSTEM ‘order.dtd’> Document Type Declaration 3 <?xml-stylesheet type=‘text/xsl’ href=‘style.xsl’?> Processing Instructions 4 <order> Element Tags 5 <item code=‘BK123’> Element Attributes 6 <name>Jonathan Strange and Mr. Norrell</name> Attribute Values 7 <price currency=‘USD’ student_discount=‘20%’>42.00</price> Text Content 8 </item> 9 </order>
  • 72. XML – Proper Format • Elements must be balanced, properly nested • e.g. <br /> OK • e.g. <b>bold <i> and italic </i> text</b> OK • e.g. <b>bold <i> and italic </b> text</i> BAD! • e.g. <ul> <li> list item </ul> BAD! • Attributes must be specified, quoted • e.g. <img src=‘images/banner.gif’/> OK • e.g. <img src=images/banner.gif /> BAD! • e.g. <ul compact> <li> list item </li> </ul> BAD!
  • 73. Thank You for Attending For TechWiseTV episodes, TechWiseTV Workshops, Fundamentals and Networking 101’s visit http://www.TechWiseTV.com. https://www.facebook.com/techwise https://twitter.com/techwisetv