Breaking the Ice with OpenStack...
Transcript of Breaking the Ice with OpenStack...
Aboutme..
Senior Design Engineer at PLUMgrid Inc with over three years of experience inimplemenFng soGware-defined networking (SDN), high availability, distributedsystemsandAPIs.AnacFvememberoftheOpenStackcommunity,withcontribuFonsinthenetworkingecosystem,focusedprimarilyonNeutronprojectinOpenStack.
@smuneebahmed
WhatisOpenStack?• OpenStackisacloudmanagementsystemthatcontrolslargepoolsof
compute,storage,andnetworkingresourcesthroughoutadatacenter,allmanagedthroughadashboardthatgivesadministratorscontrolwhileempoweringtheiruserstoprovisionresourcesthroughawebinterface.
OpenStackCoreServicesCompute(Nova)providesvirtualserversondemand.ComputeresourcesareaccessibleviaAPIsfordevelopersbuildingcloudapplicaFonsandviawebinterfacesforadminsandusers.Thecomputearchitectureisdesignedtoscalehorizontallyonstandardhardware.
Network(Neutron)isapluggable,scalableandAPI-drivensystemformanagingnetworksandIPaddresses.ItallowsuserstocustomizenetworkseTngs,thenprovisiondifferentnetworktypes(suchasflatnetworks,VLANsorvirtualprivatenetworks)ondemand.
BlockStorage(Cinder)providespersistentblockstorageguesttoguestVMs.They’remeanttobeassignedtocomputeinstancestoallowforexpandedstorage.TheCindersoGwaremanagesthecreaFonoftheseblocks,plustheoperaFonsforaYachinganddetachingtheblockstocomputeservers.
NeutronOverview• IncubaFonprojectinApril2011• PromotedtoCoreProjectatFolsomSummit(April2012)• NeutronsolvestwomainproblemsinNova–Network:
1. Limitednetworkingtechnologyo Basiclinuxbridging-basedimplementaFono Limitedfeatures(ACL,QoS,VPN?)o LimitedmulF-tenancyisolaFon–802.1qVLANtags
2. LimitedUser/Tenantcontroloverthenetworko Tenantcannotcreatetheirownnetworktopologieso TenantcannotleveragedifferentnetworkvirtualizaFontechnologies
WhyuseNeutron?• ProvidesRESTAPIstomanagenetworkconnecFonsforthe
resourcesmanagedbyotherOpenStackservices(e.g.Nova)• Createrichtopologies• TechnologyagnosFc• Extensible• MulF-tenancy:IsolaFon,AbstracFon,fullcontrolovervirtual
networks• Modulardesign:APIspecifiesservice,vendorprovidesits
implementaFon• AdvanceServicesSupport(LB,VPN,Firewall)
neutron-server
• RESTAPI• HTTP(S)PythonWSGIApplicaFon
• CustomaryTCPportis9696
• Exposeslogicalresources
o networkso subnetso ports
• Request/ResponseSerializaFon
neutron-server
• RPCService• AMQPviaOslomessaging
modules
• EnablesbidirecFonalagentcommunicaFon
• OpFonal
neutron-server• PLUGIN
• WriYeninPython
• OnlyoneisacFve
• MustimplementV2APIcalls
• OpFonaldatabaseaccess
• OpFonalextensionsupport
PluginExtensions• AddlogicalresourcestotheRESTAPI
• Discoveredbyserveratstartup:
– REST:/v2.0/extensions
• Commonextensions:– Binding,DHCP,L3,Provider,Quota,SecurityGroups
• Otherextensions:– ExtraRoutes,Metering