您好,欢迎访问三七文档
当前位置:首页 > 商业/管理/HR > 项目/工程管理 > VMware M10-SDDC-APIs-v2.0
SDDCIntensiveWorkshopAgendaLabBuild-outandDeploymentTheCustomer,Components&VisionSSOArchitectureVSANStorageArchitectureSDDCAPIExtensionsSDDCInfrastructureMessagingOrchestratingtheSDDCvCloudNetworkingandSecurityAdvancedVCACExtendingVCACSDDCAPIsHybridCloudVCOpsDashboardingBCDRAvailabilityComplianceandRemediationBusinessCriticalApplications2ConfidentialEXPOSEDAPISHowdoesthevCloudSuiteintegratewithitselfandwith3rdparties?3ConfidentialExternalIntegrationPointsvCloudAPI+ExtensionsNotifications/BlockingTasks(AMQP)vCloudNetworkingandSecurityAPI,NVPAPI,NSXAPIvCloudAutomationCenterAPIvSANAPIOperationsManagerAPI•WebServices•JDBCDriverEcosystemFrameworkConfigurationManagerAPIvCenterOrchestrator•Workflowbuildingblocks(Soap,REST,SSH,SNMP)•vCOPlugins(WritteninJava,openframework)vCenterAPIVIXAPICominginthe2014release:vAPITherearemoreAPIs/SDKsavailable,howeverthesearethekeyonesusedwhenintegratingwithothersystems/services.4ConfidentialTHEAPISWhatcanIconsume?5ConfidentialvSphereAPIOverviewExposedviaSOAPbyvCenterServerandESXiServerCRUDoperationsforvSphereentities:•VM•Compute:Host,Cluster,ResourcePool•Storage:Datastore,StoragePod•Networking:Network,DistributedVirtualSwitch,DistributedVirtualPortGroup•Organize:Folder,DatacenterPropertyCollectorisonlywaytogetdata•Querylanguageispowerfulandrelativelyefficient.•Butit’sdifficulttolearntouse.LedtothedevelopmentscriptingSDKs.Needgreatskilltobeabletoaccessvirtualization.6ConfidentialPolicyBasedManagementServiceProvidesaccesstoStoragePolicyManagedObjectsProfileManager:Storageprofiles&associatedentitiesComplianceManager:Compliancecheckingofprofiles&entitiesPlacementSolver:PlacementcompatibilitycheckingClientconnectstovCenterserverandobtainsvCentersessioncookie.Clientcanusethecookietoestablishconnectionwithstoragepolicyserver.7ConfidentialvCloudAPI&SDKExposedviaRESTbyvCloudDirectorCRUDoperationsforvCloudentities:•vApps,Catalog•Organization,Users•VirtualDatacenter(provider&organization)In5.1theAPIcoversmostofwhattheUIcando(FeatureParityAPI/UIisaVERYHIGHpriority).AddedRESTqueryservicethatallowsdatatobecollectedefficientlyThevCloudSDK’sforREST,Java,PHP,.NETareavailableat:AllowsforthedevelopmentofinteractiveclientsofvCloudDirectorusingaRESTfulapplicationdevelopmentstyle(RESTAPIShell).SimplecommandstructureofGET,PUT,POSTandDELETE.SimpleobjectrepresentationsusingXMLelements.FlexibleconsumptionoptionsincludingRESTClients,cURL,andLanguageBindings(SDK)ExtensionOperationsConsumersProvidersAdminOperationsUserOperations9ConfidentialDynamicCloudInterfaceTheDynamicCloudInterfaceprovidesastandardized,securedRESTfulinterfaceforcloudaccessandinteraction,controlledthroughbusiness-awarepolicyforconsumerssuchasusers,infrastructure,devices,andapplications.CustommodelsareautomaticallyexposedthroughtheDCI.AswiththecorevCACmodels,custommodelscanbeconfiguredsoaccesstotheunderlyingdataiscontrolledbybusiness-specificsecuritypoliciesbasedondefinedroles,tasks,andpermissions.ForadetailedreferencetothecoreentitytypesaccessiblethroughDCI,seetheDynamicCloudInterfaceHTMLReference.DCIDataAccessLayerModelManagerRESTEntitiesHostsRequestsVirtualMachinesAgentCostProfileSecurityDataModel10ConfidentialvCenterOperationsAPIvCenterOperationsOpenAPI•HTTPPOSTServlet•ActionsaresubmittedasPOSTbody•ResultsasplaintextvCenterOperationsFSDBJDBCDriver•DirectaccesstovCOPSmetrics•RequiresiptableschangesonvCOPSAnalyticsVM•DirectRMIconnectiontoFSDB.Noauth.•Selectonly(Noinsert/update/delete)•NeedtoqueryPostgresDBforentity&metricIDs11ConfidentialvCenterOrchestratorRESTAPISOAPAPI(OLD)RESTAPI(NEW)LDAPAuthenticationWorkflowExecutionStartGetStatusUserinteractionCatalogContentStatusnotificationsSchedulingDatapresentationRunhistoryPlug-inobjectsSystemobjectsPackageimport/exportWorkflowimport/exportManageworkflowsManageactionsManageresourcesManagepackagesContentpermissionsVMwareSSOLDAPStartGetstatusUserinteraction12ConfidentialvCNSRESTAPI•vCNS5.1.xintroducedversion3.0oftheRESTAPI.•ManyURLshavechangedasaresultofnewRESTAPIversion.•URLsformakingAPIrequestsstillusethe2.0designator.Example:••NVP(Nicira)alsohasaRESTbasedAPI.•InsteadofXMLasapayload(body),theNSXAPIusesJSON.•JSON:JavaScriptObjectNotation13ConfidentialNVPAPIJSONExampleExampleofaJSONBodywhenmakingaRESTAPIcalltoanNVPManager:{display_name:“Main_Transport”,credential:{type:MgmtAddrCredential,mgmt_address:9.9.9.9”},transport_connectors:[{type:STTConnector”,transport_zone_uuid:“112358aabceb”,ip_address:9.9.9.9”}]}14ConfidentialAPIUnification•TheNSXAPIprovidesasubsetofcapabilitiesthatarecommonacrossthevariousnetworkingplatformsincluding:vCNS,NSXforvSphere,andNSXforMulti-Hypervisor.•TheNSXAPIusesJSONinsteadofXML•TheNVPManagerandthenewNSXManagerhasanAPIinspectorbuilt-inthatdrasticallysimplifiesdevelopment.15ConfidentialNetworkingAPIUnificationNSXAPIvCloudNetworking&SecurityAPIVxLANvWire(L2)EdgeRouting(L3)DNS,DHCP&IPAMEdgeFirewall(L4–L7)
本文标题:VMware M10-SDDC-APIs-v2.0
链接地址:https://www.777doc.com/doc-3592999 .html