Full text
| Relatore: Prof. Marco Mellia Promotors: Prof. Dr. Ir. Kris Steenhaut Prof. Dr. Ann Nowé Supervisors: Walter Colitti Pasquale Gurzì IP/MPLSover ASON/GMPLS networks EXTENSIONOFTHEGMPLSCONTROL PLANEFORTHEMULTILAYERSERVICE DIFFERENTIATION POLITECNICODITORINO IIIFacoltàdiIngegneria CorsodilaureainIngegneriaInformatica GianpaoloCampiglia This final project was realized within the framework of the Erasmus exchange programme between Universitat Politècnica de Catalunya, Vrije Universiteit Brussel, Politecnico di Torino and submitted in partial fulfillment of the requirements for the master degree in Computer Science Engineering.
ListofAcronyms ASON–AutomaticallySwitchedOptical Network ATM–AsynchronousTransferMode CC–ConnectionController CoS–ClassofService DCN–DataCommunicationNetwork FA–ForwardingAdjacency FSC–FiberSwitchingCapable GLR–GeneralizedLabelRequest GMPLS–GeneralizedMulti‐ProtocolLabel Switching GUI–GraphicalUserInterface IETF–InternetEngineeringTaskForce IGP–InteriorGatewayProtocol IP–InternetProtocol IPoWDM–IPoverWDM IPTV–IPTelevision ISO–InternationalStandardOrganization ITU‐T–InternationalTelecommunication Union–TelecommunicationStandardizationBureau LIB–LabelInformationBase LRM–LinkResourceManager LSC–LambdaSwitchingCapable LSP–LabelSwitchedPath MPλS–Multi‐ProtocolLamdaSwitching MPLS–Multi‐ProtocolLabelSwitching MT–Multi‐Topology MTE–MultilayerTrafficEngineering OADM–OpticalAdd‐DropMultiplexer OAM&P–Operations,Administration, Maintenance,andProvisioning OC–OpticalCarrier OEO–Optical‐Electronic–Optical OIF–OpticalInternetworkingFoundation OSI–OpenSystemsInterconnection OSPF–OpenShortestPathFirst OXC–OpticalCrossConnect PSC–PacketSwitchingCapable QoS–QualityofService RSVP–ResourcereSerVationProtocol
RSVP‐TE–ResourcereSerVationProtocol‐ TrafficEngineering RWA–RoutingandWavelengthAssignment SDH–SynchronousDigitalHierarchy SLA–ServiceLevelAgreement SLRC–Single‐LayeredRouteComputation SONET–SynchronousOpticalNETwork SPF–ShortestPathFirst TDM–TimeDivisionMultiplexing TE–TrafficEngineering TED–TrafficEngineeringDatabase TLRC–Two‐LayeredRouteComputation UNI–UsertoNetworkInterface WADM–WavelengthAdd‐DropMultiplexer WDM–WavelengthDivisionMultiplexing
Chapter1‐Introduction Contents 1Introduction...........................................................................................................1 1.1OrganizationoftheThesis.....................................................................................6 2ASON/GMPLSOverview.........................................................................................9 2.1IPoWDM..............................................................................................................10 2.1.1IPoWDMNetworkArchitechture.................................................................12 2.1.2ControlPlaneIntegration.............................................................................13 2.2ASON....................................................................................................................14 2.2.1ASONControlPlane.....................................................................................16 2.3GMPLS.................................................................................................................17 2.4TrafficEngineeringinIPoWDMNetworks..........................................................20 2.4.1MultilayerTEwithASON/GMPLSrouters(MTE).........................................21 2.4.2OnLineTrafficEngineering..........................................................................24 3ServiceDifferentiation.........................................................................................27 3.1ServiceDifferentiation:theevolutiontowardsmodernscenarios.....................28 3.2Multi‐LayerTrafficEngineeringPolicies(MTE)...................................................30 3.2.1VirtualTopologyFirst(VT‐F)Policy..............................................................30 3.2.2PhysicalTopologyFirst(PTF)Policy.............................................................31 3.3ServiceDifferentiationpolicies...........................................................................32 3.3.1RoutingPolicyDifferentiation(RP‐Diff).......................................................33 3.3.2VirtualTopologyHardDifferentiatedService(VT‐HardDiff).....................34 3.3.3VirtualTopologySoftDifferentiatedService(VT‐SoftDiff)........................36 4GMPLSProtocolsforServiceDifferentiation........................................................39 4.1OSPFOverview....................................................................................................40
Chapter1‐Introduction 4.1.1Areas............................................................................................................42 4.1.2TypeofRouter.............................................................................................42 4.1.3OSPFFunctionalities....................................................................................43 4.1.4OSPFTypeofPackets...................................................................................43 4.1.5TheOSPFProtocols......................................................................................45 4.2TheOpaqueLSAOption......................................................................................47 4.2.1TheOpaqueLSA...........................................................................................47 4.2.2FloodingOpaqueLSAs.................................................................................48 4.3TrafficEngineeringExtensionstoOSPF(OSPF‐TE).............................................49 4.3.1TrafficEngineeringLSAs(TE‐LSA)................................................................49 4.3.2TE‐LSAHeader..............................................................................................50 4.3.3TE‐LSAPayload.............................................................................................50 4.3.4Sub‐TLVsDetails...........................................................................................51 4.4Multi‐TopologyRoutinginOSPF(OSPF‐MT).......................................................53 4.4.1Multi‐TopologyRoutingvs.TOS‐BasedRouting..........................................54 4.4.2ProtocolExtensionsforMulti‐Topology......................................................54 4.4.3ShortestPathCalculation.............................................................................55 4.4.4DefaultTopologyLinkExclusionCapability.................................................56 5WorkingEnvironment:ASON/GMPLSSimulationTool........................................59 5.1OMNet++.............................................................................................................60 5.1.1ModellingConcepts.....................................................................................61 5.1.2BuildingandRunningsimulations................................................................64 5.1.3AnalyzingSimulationResults.......................................................................65 5.2TheINETFramework...........................................................................................65 5.3IP/MPLSoverASON/GMPLSSimulationTool.....................................................66
Chapter1‐Introduction 5.3.1StatisticsCollector........................................................................................68 5.3.2ConnectionGenerator.................................................................................68 5.3.3Network.......................................................................................................68 5.3.4GMPLSNode................................................................................................69 5.3.5SetupHandler..............................................................................................70 5.3.6PhysicalLayer...............................................................................................70 5.3.7ControlLayer................................................................................................71 5.3.8VirtualLayer.................................................................................................76 6SimulatorExtensions...........................................................................................81 6.1ChapteroverviewandGoalofthiswork.............................................................82 6.2SimulatorExtensions...........................................................................................83 6.2.1LinkStateModule........................................................................................83 6.2.2ImplementationSteps..................................................................................83 6.3OSPFIntegration.................................................................................................84 6.4OSPFC++Classes.................................................................................................85 6.4.1Interfaceclasses...........................................................................................85 6.4.2IMessageHandlerclasses.............................................................................87 6.4.3Neighborclasses..........................................................................................89 6.4.4OSPFLSAClasses...........................................................................................92 6.5OSPF‐TE...............................................................................................................98 6.5.1LinkTLVs.......................................................................................................98 6.5.2OSPF‐TEImplementation...........................................................................103 6.5.3TheOSPFPacketclass.................................................................................103 6.5.4OSPFNeighborclass....................................................................................106 6.5.5OSPFMessageHandlerclasses....................................................................107 6.5.6SynchronizingTEDandTE‐LSADatabase...................................................108
Chapter1‐Introduction 6.6OSPF‐MT............................................................................................................111 6.6.1TheRFC4915approach.............................................................................112 6.6.2ConnectionRequestaccommodation.......................................................115 6.6.3CalculatingtheShortestPath....................................................................116 6.6.4VirtualTEDupdating..................................................................................119 7SimulationStudy................................................................................................121 7.1Systemmodelandsimulationsettings.............................................................122 7.1.1NetworkTopology......................................................................................122 7.1.2TrafficModel..............................................................................................124 7.1.3SimulationSettings....................................................................................126 7.1.4OSPFTimersandprotocolblockingprobabilityissues..............................127 7.2TCP/UDPTrafficSimulation...............................................................................129 7.2.1NetworkModel..........................................................................................129 7.2.2StandardHostimplementation.................................................................130 7.2.3SimulationSettings....................................................................................132 7.3SimulationsAnalysis..........................................................................................133 8Conclusions........................................................................................................145
Chapter1‐Introduction
Chapter1‐Introduction Page|6 toevaluatetheQoSprovidedbynetworksto“time‐sensitive”applications:blocking probabilityandpacketdelay. 1.1 OrganizationoftheThesis Sometheoreticalbasicsareneededtoproperlyunderstandthedevelopmentofthis work.Forthisreason,thefirstsectionsofthisthesisexplainbasicconceptsaboutthe topicwearetalkingabout.Chapter2presentsadescriptionofthemodernopticalnetworks,introducingtheinternet‐workingmodelusedinthedevelopmentofthe ASON/GMPLSroutersimulator.ASONcontrolplaneisintroducedtogetherwithitsnaturalparadigmGMPLS. Chapter3introducestheServiceDifferentiation,whichisthemaintopicofthiswork. First,abriefoverviewaboutthestateoftheartispresented,followedbyadescription oftwocommonlyusedMTEroutingpolicies:VT‐FandPT‐F.Thesecondpartofthissectionpresentsfinallythreedifferentalgorithmsthatwillbeimplementedinoursimulator, inordertotesttheirperformancesundertheServiceDifferentiationperspective: RoutingPolicyDifferentiation,VirtualTopologyHardDifferentiationandVirtualTopologyHardDifferentiation,designedin[14]. Chapter4givesanoverviewoverthepreliminarystudyovertheprotocolsneededto properlyimplementtheMulti‐TopologyroutingandtheServiceDifferentiationalgorithmsintroducedbefore.TrafficEngineeringandMulti‐TopologyextensionstotheOSPF aredefined.Thisisanimportantpartofthethesis,givingtheprotocolbasicstoimplementtheMTroutingwithinarealisticIP/MPLSoverASON/GMPLSsimulator.Specificationsgiveninthischapterwillbethenfollowedduringtheimplementationstageofthis work. Inchapter5,theOMNeT++simulationengineisdescribedtoletthereaderunderstand howanetworkmodelisimplementedandhowitbehavesduringsimulations.Inthe secondpartofthechaptertheINETFrameworkisintroducedand,inparticular,wefocus onthedescriptionoftheavailablesimulationtoolthatrepresentsthestartingpointof ourwork.
Chapter1‐Introduction Page|7 Chapter6givesimplementationdetailsoverthesimulatorextensions.Firstlythegoalof thethesisisshownandthesimulatorisdescribedfromthepointofviewoftheOM‐ NeT++modules.Configurationfilesandinteractionbetweenthemodulesarealsodescribed.InthesecondpartofthischapterourIP/MPLSoverASON/GMPLSsimulatorextensionsareexplainedfromalowerabstractionpointofview.Themainstepscovered duringtheimplementationstagearedescribed,togetherwiththemainimplemented C++classes,theirmethodsandvariables.Whenneeded,thechapterfocusesonhowthe twolayersinsideeachrouteraresynchronizedtoenableMulti‐LayerTrafficEngineering andServiceDifferentiationwhensettingupaconnection. Chapter7presentsanextensivesetofexperimentscarriedoutusingourfinalsimulator inordertoachievesomeimportantgoals: EvaluatethecontributiontotheServiceDifferentiationgivenbytheMTrouting approachproposedin[14],appliedtoarealisticIP/MPLSoverASON/GMPLSenvironment. ComparetheresultsobtainedsimulatingthethreeServiceDifferentiationalgorithms. Also,abriefdescriptionofthetrafficmodelimplemented,somefurtherOMNET++ modulesaddedtothesimulatorandtheirimplementationisgiven. Finally,Chapter8givessomeconclusionsontheexperimentsresultsandthesimulator development.Futureenhancementsanddevelopmentsofthesimulatorarealsosuggested.
Chapter1‐Introduction Page|8
Chapter1‐Introduction Page|9 ASON/GMPLSOverview Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|10 ThischapterfirstlypresentssomebasicsaboutIP‐over‐WDMtechnology.Inparticularit givesabriefintroductionontheopticalnetworksevolutionandadvantages.Thenwe willdescribethearchitectureandtheinternetworkingmodeladoptedforthecreationof anASON/GMPLSroutermodelthatistheoneusedinthiswork.Afterwardswewillfocusontheopticalnetwork’scontrolplaneintegrationanddescriptionforanAutomaticallySwitchedOpticalNetwork(ASON),goingintodepthindescribingtheITU‐TG.8080 officialarchitectureforit.SubsequentlyGMPLSprotocolssuitewillbeintroducedtouse itasASONinterfacesdescribedintheITUstandard.InthelastpartofthischapterTraffic EngineeringonMulti‐Layernetworksisdescribedandinparticularonlinealgorithmsand groomingfortrafficengineeringareintroduced. 2.1 IPoWDM ItiswidelybelievedthatIPprovidestheonlyconvergencelayerintheglobalandubiquitousInternet.IP,alayer3protocol,isdesignedtoaddressnetworklevelinteroperabilityandroutingoverdifferentsubnetswithdifferentlayer2technologies.AbovetheIP layer,thereareagreatvarietyofIP‐basedservicesandappliancesthatarestillevolving. AnexampleisIP‐basedhomenetworkinginterconnectingawiderangeofelectronicdevices.Hence,theinevitabledominanceofIPtrafficmakesapparenttheengineering practicesthatthenetworkinfrastructureshouldbeoptimizedforIP.BelowtheIPlayer, opticalfiberusingWDMisthemostpromisingwirelinetechnology,offeringanenormousnetworkcapacityabletosustainthecontinuousInternetgrowth. WDMtechnologywillbecomemoreattractiveasthepriceofWDMsystemslowers.In addition,WDMopticalnetworksarenolongerjustpoint‐to‐pointpipesprovidingphysicallinkservice,butblendwellwithanynewlevelofnetworkflexibilityrequirements. Thecontrolplaneisresponsiblefortransportingcontrolmessagestoexchangereachabilityandavailabilityinformationandcomputingandsettingupthedataforwarding paths.Thedataplaneisresponsibleforthetransmissionofuserandapplicationtraffic suchaspacketbufferingandforwarding.IPdoesnotseparatethedataplanefromthe controlplane,andthisinturnrequiresQoSmechanismsatrouterstodifferentiatecontrolmessagesfromdatapackets. Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|11 CombiningIPandWDMmeans,inthedataplane,onecanassignWDMopticalnetwork resourcestoforwardIPtrafficefficiently,andinthecontrolplane,onecanconstructa unifiedcontrolplane,presumablyIP‐centric,acrossIPandWDMnetworks.IPoverWDM willalsoaddressalllevelsofinteroperabilityissuesonintraandinter‐WDMopticalnetworksandIPnetworks. ThemotivationbehindIPoverWDMcanbesummarizedasfollows: WDMopticalnetworkscanaddressthecontinuousgrowthoftheInternet trafficbyexploitingtheexistingfiberinfrastructure.TheuseofWDMtechnologycansignificantlyincreasetheuseofthefiberbandwidth. MostofthedatatrafficacrossnetworksisIP.Nearlyalltheend‐userdata applicationusesIP.Conventionalvoicetrafficcanalsobepacketizedwith Voice‐over‐IP(VoIP)techniques. IPoWDMinheritstheflexibilityandtheadaptabilityofferedintheIPcontrolprotocols. IPoWDMaimstoachievedynamicon‐demandbandwidthallocation(or real‐timeprovisioning)inopticalnetworks. IPoWDMhopestoaddressWDMoropticalNetworkElements(NE)vendor interoperabilitywiththehelpofIPprotocols. IPoWDMcanachievedynamicrestorationbyleveragingthedistributed controlmechanismsimplementedinthenetwork. Fromaservicepointofview,IPoverWDMnetworkscantakeadvantageof theQoSframeworks,models,policies,andmechanismsproposedforand developedintheIPnetwork. GiventhelessonslearnedfromIPandATMintegration,IPandWDMneed acloserintegrationforefficiencyandflexibility.Forexample,classicalIP overATMisstaticandcomplex,andIPtoATMaddressresolutionismandatorytotranslatebetweenIPaddressesandATMaddresses. IPoverWDMintegrationwilleventuallytranslateintoanefficientopticalnetwork transportreducingthecostofIPtrafficandincreasingtheutilizationoftheopticalnetwork. Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|12 2.1.1 IPoWDMNetworkArchitechture TherearedifferenttypesofIPoWDMarchitectureswhichdifferintheirdynamiccapabilities,configurationsandtheinteractionsbetweentheIPandtheopticalcontrolplane. ForourworkwedecidedtoreferexclusivelytotheIPoverreconfigurableWDMarchitecture,whichisdescribedbelow,foritsreconfigurationcapabilitiesandnaturalsupport foronlinemulti‐layertrafficengineering. UnderanIPoverreconfigurableWDMarchitecture,therouterinterfacesfromtheIP routersareconnectedtotheclientinterfacesoftheWDMnetwork.Figure2.1illustrates suchanIPoverRe‐configurableWDMnetwork.Inthisarchitecture,theWDMcrossconnectsandadd/dropinterfacesarethemselvesinterconnectedintoaWDMnetwork withmulti‐wavelengthfiberlinks.Therefore,theWDMnetworkitselfhasaphysicaltopologyandalightpathtopology. Figure2.1‐IPoverreconfigurableWDM TheWDMphysicaltopologyiscomposedofNEsinterconnectedbyfibers;theWDM lightpathtopologyisformedbywavelengthchannelconnections.ReconfigurableWDM isacircuitswitchingtechnologysothewavelengthchannelsetupandtear‐downare conductedinpreservedphases.ItisimportanttopointoutthatIPtrafficswitchingand Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|13 wavelengthswitchingneverworkinthesamelayerinanIPoverreconfigurablenetworks.Thiscanbetranslatedintoanoverlaynetwork. LightpathsintheWDMnetworkaredesignedtoconformtotheIPtopology.ByappropriatelyconfiguringtheWDMcross‐connects,agivenrouterinterfacecanbeconnected toanyotherrouterinterfaceatanyotherrouter.Asaresult,theneighbouringrouterfor agivenrouterinterfaceisconfigurableunderthisarchitecture.Thisinfersthatthe physicalnetworkscansupportanumberofvirtualtopologiessubjecttothesamenetworkresourceconstraints.Lightpathsaresetup,managedandtorndownbytheoptical ControlPlaneusingtheDataControlNetwork(DCN)toexchangemessagesbetweenthe nodesandsetalltheswitchingdevices.AbriefdescriptionoftheControlPlaneandits differentimplementationmodelsisgivenbelow. 2.1.2 ControlPlaneIntegration ControlPlane(CP)isusedintheliteraturetorefertothesetofreal‐timemechanisms andalgorithmsneededforcallorconnectioncontrol.Itdealsmainlywiththesignaling tosetup,superviseandreleasecallsandconnections.Althoughadetaileddecompositionofthecontrolplaneandadescriptionofeachcomponentisnotthepurposeofthis work,wecansafelyassumethatthesignalingprotocolsforconnectionsetup,the routingprotocolssupportingnetworkdiscovery,andtheprotection/recoverymechanismsarethemostsignificantfeaturesofthecontrolplane.Inthisway,itiseasierto trackalloftherecentcontrolplaneadvancesandproposalsabouttheintegrationof multiplelayerssuchasIP,ATM,SDHandWDM. AsignificantelementintheIPandopticalintegrationisthecorrespondingbusiness modelproposedbyeachframework.Thethreebasicbusinessmodels,alongwiththe requirementsandissuesthattheyimpose,aresummarizednext: Theoverlaymodel.Theroutingalgorithm,topologydistributionandconnection setupsignalingprotocolsoftheIPandtheWDMnetworksareindependent.The overlaymodelistheonethatallowsaneasymigrationfromtheexistingsituation tothedeploymentofONEsforthetransportoftheIPdirectlyoverWDM.However,theimplementationcomplexityofthismodelisburden,anditdoesnot promotetheintegrationofthecontrolplaneoftheIPandtheWDMnet‐ Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|14 works.OnlyaformalrequestispassedfromtheIPclientlayertotheoptical serverlayer. Thepeermodel.TheIPnetworkhasfulltopologicalviewoftheopticalnetwork andjustasingleroutingalgorithminstanceisrunninginboththeIPandthe WDMnetworks.Thismodelpromotestheintegrationofthecontrolplaneofthe IPandtheWDMnetworksandissimplerinimplementation,butitsoperationis farmorecomplexthantheoverlay.Inaddition,thismodelcanworkonlyincases wherethereisasingleentityoperatingandmanagingtheIPandtheopticaladministrativedomains. Theaugmentedmodel.Thisisacombinationoftheprevioustwomodels.Each layerhasitsownprotocols;however,routinginformationexchangeisallowed betweenthetwolayers.Thismodelcanbeseenasthegoldenmean,combining theadvantagesofthepeerandoverlaymodelandminimizingtheirdisadvantagesatthesametime. Thedevelopmentofthiswork,takingintoaccountthepreviousconsiderationsandthe availablesimulationtools,hasbeenbasedontheaugmentedmodel,regardingtheprotocols’behaviorbetweenIPlayerandopticallayer. 2.2 ASON TheexistingtransportnetworksprovideSONET/SDHandWDMserviceswhoseconnectionsareprovisionedvianetworkmanagementprotocols.Thisprocessisbothslow (weekstomonths)relativetotheswitchingspeedandcostlytothenetworkproviders. Anautomaticswitchedopticalnetwork(ASON)isanoptical/transportnetworkthathas dynamicconnectioncapability.ItencompassesSONET/SDH,wavelength,andpotentially fiberconnectionservicesinbothOEOandall‐opticalnetworks.Thereareanumberof addedvaluesrelatedtosuchacapability: Trafficengineeringofopticalchannels:Wherebandwidthassignmentisbasedon actualdemandpatterns. Meshnetworktopologiesandrestoration:Meshnetworktopologiescaningeneralbeengineeredforbetterutilizationforagivendemandmatrix.Ringtopologiesmightnotbeasefficientduetotheasymmetryoftrafficpatterns. ManagedbandwidthtocoreIPnetworkconnectivity:Aswitchedopticalnetwork canprovidebandwidthandconnectivitytoanIPnetworkinadynamicmanner comparedtotherelativelystaticserviceavailabletoday. Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|15 Introductionofnewopticalservices:Theavailabilityofswitchedopticalnetworks willfacilitatetheintroductionofnewservicesattheopticallayer.Thoseservices includebandwidthondemandandopticalvirtualprivatenetworks(OVPN). ASON/ASTNarchitecturebelongstoclient‐servermodelsortheoverlaynetworkmodels asdefinedin[2].Thesalientfeatureofthismodelistheexistenceofwell‐recognized boundariesbetweenclientnetworksandproviderdomains.Client/providerseparationis adirectrecognitionoftoday'snetworkingrealitieswhereownershipoflayer3andlayer 1equipmentbelongstodifferentorganizations.Thisclient/providerdomainseparation entailstherunningofdifferentroutinginstancesateachdomain.Thusthereisnoneed tosharetopologyinformationbetweencarriersandtheirclients. Asappliedtoopticalnetworks,theASONnetworkinterfacesareshowninfigure2.2.In thisimageallthecomponentsthatcomposeASONareshown.Thearchitectureshownis intendedtoallowswitchingofopticalnetworkconnectionswithintheopticaltransport networkundercontrolofASONsignalingnetwork. Figure2.2‐ASON'sNetworkArchitecture TherearethreeseparateplanesinvolvedintheASONnetwork: Atransportplane(TP) Acontrolplane(CP) Amanagementplane(MP) Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|22 Itconsistsofapacket‐switchingfabric,lambda‐switchingfabric,andphotonicMPLS routermanager.InthephotonicMPLSroutermanager,theGMPLScontrollerdistributes itsownIPandphotoniclinkstates,andcollectsthelinkstatesofotherphotonicMPLS routerswiththeroutingprotocolofOpenShortestPathFirst(OSPF)extensions.Based onlink‐stateinformation,PCE(PathComputationElement)findsanappropriatemultilayerroute,andthesignallingprotocoloftheResourceReservationProtocolwithtraffic engineering(RSVP‐TE)extensionsmodulesetsupeachlayer’sLSPs.PCEprovidesthe functionsoftrafficengineering,includingLSProutesandoptimalvirtualnetworktopologyreconfigurationcontrol,andjudgeswhetheranewlightpathshouldbeestablished ornotwhenapacketLSPisrequested. TheanalysisoftheTrafficEngineeringinmulti‐layernetworkssuchasIPoWDM networksrequiresspecialfocusonthePhotonicMPLSrouter,whosearchitecture isdescribedmoreindepthbelow. Figure2.5showsthemodelofaPhotonicMPLSrouter,basedonthearchitectureabovementioned.TheIPpacketandlambdaswitchingfabricsareconnectedbyinternalPSC ports. Figure2.5‐PhotonicMPLSRouterArchitecture Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|23 Theabovearchitectureallowsanodetohaveeitherorbothofthefollowingfunctionalities: Source/destinationpointorswitchingpointofanOLSP.Letussupposethatthe nodeisaswitchingpointofanLSP.Thenodereceivesthetrafficfromaninput OLSP,thereforethetrafficbeinginopticalform.Thelightbeamisconvertedinto electronicformatandgiventotheIP/MPLSroutertoexecutethelabelswapping operation.Thepacketsarethenreconvertedintoopticalformatandplacedonto theoutputOLSP. SwitchingpointofanOLSP.Inthiscase,thetrafficbeingcarriedoveranoptical signalwithacertainwavelengthentersthenodefromaninputfiber.Thenode bypassestheIP/MPLSrouterandperformsthelabelswappinglikeoperations onlyintotheopticaldomain.Moreprecisely,accordingtothedecisionpreviously takenbythecontrolprotocols,thesignalistranslatedtoanotherwavelength andplacedontoanoutputfiber. WhentwoIP/MPLSroutersareconnectedthroughanOLSP,theycanbevirtuallyconsideredadjacent,nomatterhowmanyopticalfiberstheOLSPspans. MTEhasamoresignificantimpactwhentheoperatorisowneroftheintegratedmodel describedinfigure2.5,sincetheroutingalgorithmcantakeintoconsiderationbothlayers’stateinaccommodatingtrafficandconsequentlyimprovingresourceoptimization. Figure2.6,showstheframeworkofadynamicmultilayerrouting.Ifanewlightpath mustbesetuptosupportpacketLSProuting,alightpathsetuprequestisinvokedand lightpathroutingisperformed.ThelightpathroutingresultisreturnedtothepacketLSP routingprocedureforconfirmationofitsacceptability.Thisprocessisiterateduntilthe desiredresultisobtained.Ifsuccessful,themultilayerroutingprocedurenotifiesitsacceptanceofthepacketLSPsetuprequest. Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|24 Figure2.6‐FrameworkfordynamicMulti‐Layerrouting ThephotonicMPLSrouterusestheRSVP‐TEsignallingprotocol(resourcereservation protocolwithtrafficengineering)extensionstoestablishpacketLSPsandlightpathsin multi‐layernetworks.Anupper‐layerLSPsetuprequestcantriggerlower‐layerLSPsetup ifneeded.Ifthereisnolower‐layerLSPbetweenadjacentnodesalower‐layerLSPisset upbeforetheupper‐layerLSP. 2.4.2 OnLineTrafficEngineering Wavelengthpaths,calledOpticalLabelSwitchedPaths(OLSP)orlightpathsaresetup andreleasedinadistributedmannerbasedonGMPLSprotocols.Sincethephotonic MPLSrouterhasbothtypesofswitchingcapabilitiesandcanhandleGMPLS,itenables ustocreatetheoptimumnetworkconfigurationwithregardtoIPandopticalnetwork resources.Multilayeron‐linetrafficengineering,whichyieldsthedynamiccooperation ofIP/MPLSandopticallayerisrequiredtoprovideIPservicecosteffectively. ConsiderthecaseinwhichsourceanddestinationIProutersrequestpacket‐LSPswith specifiedbandwidth.Packet‐LSPsareroutedontheopticalnetworkasOptical‐LSPs.If thespecifiedpacket‐LSPbandwidthismuchsmallerthantheOLSPbandwidth,theonehopOLSPbetweenthesourceanddestinationIProutersisnotfullyutilized.Inorderto betterutilizenetworkresources,low‐speedpacketLSPsshouldbeefficientlymergedat sometransitnodesintohigh‐speedOLSP.Thisagglomerationiscalledtrafficgrooming. Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|25 Inthiswork,ithasbeenconsideredanon‐lineapproachinwhichconnectionrequests withdifferentbandwidthsarriverandomly.Inthiswaytherouteshavetoestablish lightpathinareal‐timemannerwithinthelimitsofthenetworkresources.Sinceisdifficulttopredicttrafficdemandsprecisely,theon‐lineapproachisrealisticandusefulin utilizingnetworkresourcesmorefullyandmaximizingrevenuefromthegivenresources. InthischapterithasbeenintroducedtheIPoWDMarchitectureandtheinternetworkingmodelonthebaseofwhichthisworkhasbeendeveloped.Later,itisshown theASONofficialarchitectureandtheGMPLSsuiteofprotocols.Multi‐layertrafficengineeringisalsoexplainedandonlinetrafficpoliciestosetupconnectionsareintroduced. Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|26 Chapter2–ASON/GMPLSOverview
Chapter1‐Introduction Page|27 ServiceDifferentiation Chapter3–ServiceDifferentiation
Chapter1‐Introduction Page|28 IPnetworkstodaycarrydifferenttypesoftrafficwithdifferentperformancerequirements.Forinstance,manyISP'suseIPnetworkstodeliverbundledservicesthatinclude performance‐sensitiveapplications,suchasvoiceandvideo,aswellasthebesteffort dataservices..InordertoprovideQoSinsuchmulti‐serviceenvironment,servicedifferentiationisnecessary. Servicedifferentiationiswidelyavailableinmodernrouters,e.g.,intheformofschedulingandbuffermanagementmechanismsthatresolvestheresourcecontention.InIP networks,thisislargelycontrolledbyroutingthatdetermineshownetworkresources (linkbandwidth)areassignedtocarrydifferenttrafficflows,inordertoensurethebest performanceforhigh‐prioritytraffic,whilestillmaintainingreasonableperformancefor low‐prioritytraffic. Inamulti‐servicenetwork,thedifferentiationoftheofferedQualityofService(QoS)is highlydesirablebecauseitallowstheoperatortoselladdedvalueserviceswhichincreasetheReturnonInvestment(ROI). 3.1 ServiceDifferentiation:theevolutiontowards modernscenarios OneofthemostdeployedtechnologiesoverIPnetworksforQoSistheDifferentiated Service(DiffServ).DiffServoperatesontheprincipleoftrafficclassification,whereeach datapacketisplacedintoalimitednumberoftrafficclasses.Eachrouteronthenetworkisconfiguredtodifferentiatetrafficbasedonitsclass.Eachtrafficclasscanbemanageddifferently,ensuringpreferentialtreatmentforhigher‐prioritytrafficonthenetwork.DiffServ‐awareroutersimplementPer‐HopBehaviors(PHBs),whichdefinethe packetforwardingpropertiesassociatedwithaclassoftraffic.DifferentPHBsmaybe definedtoofferguaranteesintermsof,forexample,low‐loss,low‐latencyforwardingor best‐effortforwardingproperties,jitter,etc.Allthetrafficflowingthrougharouterthat belongstothesameclassisreferredtoasaBehaviorAggregate(BA). InrecentyearsDiffServhasbeenalsointegratedwiththeMultiProtocolLabelSwitching (MPLS)technology.TheMPLSismostlyusedtoimprovetheIPlayerTrafficEngineering Chapter3–ServiceDifferentiation
Chapter1‐Introduction Page|29 creatingconnectionorientedLabelSwitchingPaths(LSPs).ByIntegratingDiffServover MPLSwecansatisfythetwomainrequirementsofQoS: EndtoEndnetworkresourcesallocation(MPLS) Differentpoliciesfortraffictreatments,intermsofdelay,loss,jitteretc., dependingonitsClassofService(DiffServ) ThewaytowardstheMulti‐LayerTrafficEngineering AsalreadyintroducedinChapter2,theopticaltechnologiesonwhichoperatorsarenowadayslargelyinvestingpermitstobypasstheelectronicpacketswitchingatintermediatenodesandimprovethecommunicationperformances.Hence,thetraditionalTrafficEngineeringschemesdeployedcombiningDiffServandMPLStechnologiesneedtobe extendedandintegratedwiththeASON/GMPLSlayer.ThisnewscenarioallowstheoperatortoaccommodateserviceseitherinIP/MPLSdomain,orintheopticaldomain,applyingQoStechniquesoveramulti‐layerenvironment. BothoperatorandfinalusercantakeadvantagefromintegratedMulti‐layerTrafficEngineering.Theformerachievesabetteroptimizationofnetworkresources,thelatter gainbenefitsintermsofperceptQoS. Chapteroverview Thischapterpresentsthebasicconceptsrepresentingthestartingpointofthiswork. First,twoofthemostusedMulti‐LayerTEroutingpolicieswillbeintroduced,together withtheiradvantagesanddrawbacks.Then,theexplainedpolicieswillbecombinedtogetherinordertoobtainthreedifferentServiceDifferentiationschemes,asdefinedin [14]. TheServiceDifferentiationalgorithmsaremainlybasedonthemulti‐topologyrouting (MTRouting)approach,wheredifferentroutesarecomputedfordifferentservice classes,allowinggreaterflexibilityinexploitingavailablenetworkresourcestomeet theirservicegoals. TheMTRoutinghasbeenrecentlyproposed(June2007)in[5],thus: ThreeServiceDifferentiationschemesexploitingthisrecentconcepthave beendefined[14] Chapter3–ServiceDifferentiation
Chapter1‐Introduction Page|30 WecanimplementthemoveranIP/MPLSoverASON/GMPLSnetworksimulatorandsimulatetheirbehavior WecanevaluatetheircontributiontotheServiceDifferentiationsupplied bythenetwork. Thesepointsgrouptogethertheideasandtheconceptsfromwhichthisworkwillbedeveloped. 3.2 MultiLayerTrafficEngineeringPolicies(MTE) AlltheOLSPscreatedoutofapoolofphysicalresourcesintheopticalnetworkcanbe consideredasavirtualtopologydecoupledfromthephysicaltopology.ThisallowsoperatorstoconsolidatehighcapacityWDMtransportwithdigitalbandwidthmanagement toenablereconfigurableservicemappingandMTE. Fromtheoperator’sperspective,integratedMTEachievesbetteroptimizedresourceutilizationandincreasesthenetworkflexibilityinaccommodatingnewservices.NewservicescanberoutedeitherontheexistingvirtualtopologyoronnewlyestablishedOLSPs. ThishasalsoimpactontheQoSexperiencedfromtheuser’spointofview. Thetwobasicmulti‐layerroutingpoliciesaredescribedinthe2followingsub‐sections. 3.2.1 VirtualTopologyFirst(VTF)Policy AsystemimplementingtheVT‐Fpolicyfirstattemptstoaggregateanewservicerequest overtheexistingvirtualtopology. ThestepsofVT‐FaresummarizedinFigure3.1. Figure3.1‐VTFFlowChart Step1. Checkifthereisanyseriesofexistinglightpathswithavailableresources thatconnectsourceanddestinationnodesusingoneormorehops(pref‐ Chapter3–ServiceDifferentiation
Chapter1‐Introduction Page|31 erenceisgiventotheshortestpath)Iffound,gotostep3.Otherwise,go tostep2. Step2. Checkifanewdirectlightpathcanbesetupbetweenthesourceanddestinationnodes.Ifyes,gotostep3.Otherwise,gotostep4. Step3. Accepttheconnectionrequestandstartitscreationwithprotocolmessages’exchange. Step4. Rejecttheconnectionrequest. 3.2.2 PhysicalTopologyFirst(PTF)Policy AsystemimplementingthePTFpolicy,firstattemptstoestablishanewdirectOLSPbetweensourceanddestinationnodes. ThestepsofPT‐FaresummarizedinFigure3.2. Figure3.2‐PTFFlowChart Step1. Checkifanewdirectlightpathcanbesetupbetweenthesourceanddestinationnodes.Ifyes,gotostep3.Otherwise,gotostep2. Step2. Checkifthereisanyseriesofexistinglightpathswithavailableresources thatconnectsourceanddestinationnodesusingoneormorehops(preferenceisgiventotheshortestpath)Iffound,gotostep3.Otherwise,go tostep4. Step3. Accepttheconnectionrequestandstartitscreationwithprotocolmessages’exchange. Step4. Rejecttheconnectionrequest. ThemaindifferencebetweenPTFandVTFcanbesummarizedintothesetwomain points: ResourceOptimization.TheVTFpolicyachieveshighcapacityutilizationwhile savingphysicalresourcesasaconsequenceofalowernumberofOLSPestab‐ Chapter3–ServiceDifferentiation
Chapter1‐Introduction Page|38 tualtopologydifferentiationapproachasVT‐HardDiffbutallowsthevirtualtopologiesto sharesomeoftheOLSPssetup. InChapter3weintroducedthewholesetofconceptsgivingrisetothedevelopmentof thisthesis.Theycanbesummarizedasfollow: WehavethreeServiceDifferentiationschemesalreadydefinedin[14]. WewanttoextendwiththeseschemesapreviousdevelopedIP/MPLSover ASON/GMPLSnetworksimulator Wewanttoevaluateandcomparethecontributetheseschemesgivetothe overallServiceDifferentiationsuppliedbythenetwork Howcanweintegratethiscapabilitywithinthesimulatorenvironment?Isthereany availableresearchontheServiceDifferentiationprotocolsimplications?Isitreasonable toimplementnewprotocolsfromscratchorextendingsomeoftheexistentsimulator modulesispossible? Thedevelopmentoftheconceptslistedaboveimpliessomepreliminaryresearch:next chaptergivesustheanswertothesequestions. Chapter3–ServiceDifferentiation
Chapter1‐Introduction Page|39 GMPLSProtocolsfor ServiceDifferentiation Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|40 InthischapterwearegoingtoanalyzethemainprotocolsadoptedtoaddtheService Differentiationcapabilitytothesimulator.Someofthemarenotavailableandneedto beintroducedfromscratch;someothersarealreadyavailablewithintheINETframeworkandneedtobeextendedtofulfilltheGMPLSrequirements. Chapter4givessometheoreticalbasicsusefultobetterunderstandhowtheprotocols involvedinServiceDifferentiationwillbeimplemented. ThewholenetworkhastosharethesameinformationaboutTEpropertiesandvirtual Multi‐Topologieseachlinkbelongsto.Inotherwords,wewanteachnodetospreadthe informationonthenetworklinksandtokeepitsynchronizedwithalltheothernodes. UsingaLinkStateProtocolsuchasOSPFcanbeconsideredasthenaturalwaytoface thisproblem.Moreover,in[6]theOSPFwithitsTrafficEngineeringextensions(OSPF‐TE) isproposedaslinkstateprotocolwithintheGMPLSframework. ThefirstpartofthischapterpresentsabriefoverviewovertheOpenShortestPathFirst protocol(OSPF),focusingonlyonproceduresandcharacteristicswhicharegoingtobe usefulforabetterunderstandingoverthedevelopmentofthiswork.Thesecondpartof thechapterdealswiththeTrafficEngineeringandMulti‐TopologyRoutingextensionsto OSPF,neededinordertocomplywiththeGMPLSframeworkandtoimplementtheTrafficDifferentiationcapability.MoredetailedinformationabouttheOSPFanditsprotocolscanbefoundon[17].Eachprotocolwillbeanalyzedmoreindepthundertheimplementationperspectivelaterinchapter6. 4.1 OSPFOverview OSPFisalink‐state(LS)routingprotocol.Alinkstateprotocolusesanalgorithminwhich alltheentirenetworktopologyandthestateofthelinksareknownbyeachrouterand sharedwiththeothersbymeansofmessageflooding.Eachnodethenindependently calculatesthebestnexthopforeverypossibledestinationinthenetwork.(Itdoesthis usingonlyitslocalcopyofthenetworkmap,andwithoutcommunicatinginanyother waywithanyothernode.)Thecollectionofbestnexthopsformstheroutingtablefor thenode.Thiscontrastswithdistance‐vectorroutingprotocols,whichworkbyhaving eachnodesharingitsroutingtablewithitsneighbors.Inalink‐stateprotocol,theonly Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|41 informationpassedbetweenthenodesisinformationusedtoconstructtheconnectivity maps. EachrouterrunningOSPFmaintainsadatabasedescribingthetopology,calledLink‐ Statedatabase(LS‐database).Thelocalstateisthendistributedthroughoutthenetwork bymeansofflooding.Tworoutersthathaveinterfacestoacommonnetworkarecalled neighboringrouters.Neighboringroutersformrelationshipsbetweenthem(calledadjacencies)inordertoexchangeroutinginformation. Eachrouterspreadtheinformationaboutthestateofitslinksbyfloodingthesocalled Link‐StateAdvertisementoverthewholenetwork.DuringanOSPFprocesseveryrouter floodsLSA’sandusestheLSAsreceivedfromotherrouterstobuilditsLS‐database.An exampleofthisprocesscanbeseenbelow:ontheleftwecanseeasimpletopology;on therighttheLS‐DatabasebuiltbyrouterAisrepresentedasmatrix. Whenthedatabaseisdone,itbuildsatreeofshortestpathtootherrouters,withitself astherootofthetree,usingtheinformationtakenfromthedatabase.TheShortestPath Treeobtainedgeneratestheroutingtableusedtoforwardpacketstoanydestination.Whenthetopologychangesinsomeplace,theroutersaffectedbythischangeflood thenewtopologyinformationusingLSAs.Theseadvertisementsarereceivedbyother routersandtheyrecalculatetheirownLS‐databasesandfloodnewLSAstotheirneighbors. Figure4.1‐AnexampleofLS‐DatabasefornodeA Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|42 4.1.1 Areas ThesizeoftheLS‐Database,theroutingalgorithmcomplexityandtheamountofexchangedmessagesincreaseforwidetopologies,leadingtoscalabilityproblems.Hierarchicalroutingistheanswertothisproblem:thenetworkispartitionedin“independent sectors”(Areas)connectedamongthembya“backbone”(BackboneArea). ThebackboneAreaisthespecialOSPFArea0.ItcontainsallABRsandisresponsiblefor distributingroutinginformationbetweennon‐backboneareas. Whenroutingapacketbetweentwonon‐backboneareasthebackboneisused.The paththatthepacketwilltravelcanbebrokenupintothreecontiguouspieces:anintraareapathfromthesourcetoanABR,abackbonepathbetweenthesourceanddestinationareas,andanotherintra‐areapathtothedestination 4.1.2 TypeofRouter OSPFrecognizesthreetypesofrouters: InternalRouter.Arouterwithalldirectlyconnectednetworksbelongingtothesame area. AreaBorderRouter(ABR).Arouterthatattachestomultipleareas.Theseroutersrun multiplecopiesofthebasicalgorithm,onecopyforeachattachedarea.BackboneRouters:Arouterthathasaninterfacetothebackbonearea. ASBoundaryRouter(ASBR).Arouterthatexchangesroutinginformationwithrouters belongingtootherAutonomousSystems(AS).Anetworkrunningitsownautonomous routingprotocoliscalledAutonomousSystem.OSPFspecificationprovidessupportto themanagementofmulti‐ASsystems. AnLS‐databaseisbuiltforeachdifferentareatherouterbelongsto,usingfloodinginformationobtainedbylisteningtootherrouters.Thisdatabasewillbeexactlythesame forallinternalroutersbelongingtothesamearea.Eachareaborderrouterwillhaveone ofthisdatabasesforeachareatowhichtherouterbelongsto. Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|43 4.1.3 OSPFFunctionalities Aspreviouslysaid,aseparatecopyofOSPF'sroutingalgorithmrunsineacharea.Routershavinginterfacestomultipleareasrunmultiplecopiesofthealgorithm. Theroutingcanbeexecutedintwodifferentways: Intra‐arearouting:Whenarouterstarts,itfirstwaitsforindicationfromthelower‐leve l p rotocolsthatitsinterfacesarefunctional.Beingtheinterfacesfunctional,therouter starsttobuildadjacencieswithitsneighbors(theHelloprotocol,describedlaterinsection4.1.5). Router'sadjacenciesarereflectedinitsLink‐StateAdvertisements(LSAs).Arouterperiodicallyadvertisesitslink‐state,floodingLSAsthroughoutthearea.Link‐stateisalso advertisedwhenarouter'sstatechanges.Thereby,relationshipbetweenadjacencies andlink‐stateallowstheprotocoltodetectdeadroutersinatimelyfashion. Inter‐arearouting:Inordertobeabletoroutetodestinationsoutsideofthearea,the areaborderrouters(ABRs)injectadditionalroutinginformationintothearea.ThisinformationisadistillationoftherestoftheAS'stopology.EachABRisconnectedtothe backbone;eachofthemsummarizesthetopologyofitsattachednon‐backboneareas fortransmissiononthebackboneandhencetoallotherABRs.EachABRthenhasa completetopologicalinformationconcerningthebackboneandtheareasummaries fromeachoftheotherABRs.Fromthisinformationtheroutercalculatespathstoallinter‐areadestinations.Therouterthenadvertisesthesepathsintoitsattachedareas, enablingtheinternalrouterstopickthebestexitroutewhenforwardingtointer‐area destinations. Thisworkdoesnotconsidermulti‐areanetworks;therebytheattentionwillbefocused onlytotheIntraAreaRoutingprocedures.However,moreinformationisavailablein [19],whereInter‐arearoutingproceduresaredescribedindepth. 4.1.4 OSPFTypeofPackets AllOSPFpacketsshareacommon24byteprotocolheader.Thisheadercontainsallthe informationnecessarytodeterminewhetherthepacketshouldbeacceptedforfurther Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|44 processing. ThenextfigureshowsthefieldscontainedintheOSPFheader: Figure4.2‐OSPFPacketHeader TheOSPFpackettypesare: TypePacketnameProtocolfunction 1HelloDiscover/maintainneighbors 2DatabaseDescriptionSummarizedatabasecontents 3LinkStateRequestDatabasedownload 4LinkStateUpdateDatabaseupdate 5LinkStateAckFloodingacknowledgment Table4.1‐OSPFPackettypes OSPFusesHellopacketstodiscoverandmaintainneighborrelationships. DatabaseDescription(DDP)andLinkStateRequestpacketsareusedintheformingof adjacencies. OSPF'sreliableupdatemechanismisimplementedbyLinkStateUpdateandLinkState Ackpackets.EachLinkStateUpdatepacketcarriesasetofnewLinkStateAdvertisements(LSAs)onehopfurtherawayfromtheirpointoforigination. ThedifferenttypesofOSPFLSAsarelistedbelow: LSATypeLSAnameLSAdescription 1RouterLSAsOriginatedbyallrouters.ThisLSAdescribesthe collectedstatesoftherouter’sinterfacestoan area.Floodedthroughoutasingleareaonly. Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|45 Table4.2‐OSPFLSATypes OSPFroutingpackets(exceptHello)aresentonlyoveradjacencies.TheIPsourceaddressisoneendofarouteradjacencyandtheIPdestinationaddresscanbeeitherthe otherendoftheadjacencyoranIPmulticastaddress. 4.1.5 TheOSPFProtocols TheHelloProtocol OSPFcreatesadjacenciesbetweenneighboringroutersforthepurposeofexchanging routinginformation. TheHelloProtocolisresponsibleforestablishingandmaintainingneighborrelationships. Italsoensuresthatcommunicationbetweenneighborsisbidirectional.EachrouteradvertisesitselfbyperiodicallymulticastingHellopackets.Thisallowsneighborstobediscovereddynamically:bidirectionalcommunicationisindicatedwhentherouterseesitselflistedintheneighbor'sHellopacket.Figure4.2’ssequencediagramsummarizesthe HelloProtocolprocedure. Ifanadjacencyisformed,thefirststepistosynchronizetheneighbor'sLS‐databases,by theDatabaseExchangeProtocol. TheDatabaseExchangeProtocol Inalink‐stateroutingprotocol,itisveryimportantforallrouter'sLS‐databasestostay 2NetworkLSAsOriginatedforbroadcastnetworksbytheDesignatedRouter.ThisLSAcontainsthelistof routersconnectedtothenetwork.Flooded throughoutasingleareaonly. 3,4SummaryLSAsOriginatedbyareaborderrouters,andflooded throughouttheLSA’sassociatedarea.Each summary‐LSAdescribesaroutetoadestination outsidethearea,yetstillinsidetheAS.Type3 summary‐LSAsdescriberouterstonetworks. Type4summary‐LSAsdescriberoutestoAS boundaryrouters. 5ASExternalLSAsOriginatedbyASboundaryrouters,andflooded throughouttheAS.EachAS‐external‐LSAdescribesaroutetoadestinationinanotherAutonomousSystem.DefaultroutesfortheAS canalsobedescribedbyAS‐external‐LSAs. Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|46 synchronized.EachrouterdescribesitsdatabasebysendingasequenceofDatabaseDescription(DD)packetstoitsneighbors.EachDDpacketdescribesasetofLSAsbelonging totherouter'sdatabase.WhentheneighborseesanLSAthatismorerecentthanits owndatabasecopy,itmakesanotethatthisnewerLSAshouldberequested.ThissendingandreceivingofDDpacketsiscalledthe"DatabaseExchangeProcess",whoseprocedureisshowedbyfigure4.2.Duringthisprocessthetworoutersformamaster/slave relationship:EachDDpacketsentbythemasterisackedbytheslave,echoingthesequencenumber.EachDDpacketwiththeM‐bitsetindicatesthattherearemorepacketstofollow.TheDatabaseExchangeProcessisoverwhenarouterhasreceivedand sentaDDpacketwiththeM‐bitoff.DuringandaftertheDatabaseExchangeProcess, eachrouterhasalistofthoseLSAsforwhichtheneighborhasmoreup‐to‐dateinstances.TheseLSAsarerequestedinLinkStateRequest(LSR)packets.WhentheDatabaseExchangeProcesshasbeencompletedandallLSRshavebeensatisfied,thedatabasesaresynchronizedandtheroutersaremarkedasfullyadjacent.Atthistimetheadjacencyisfully‐functionalandisadvertisedinthetworouter'srouter‐LSAs. Figure4.3‐Hello protocolandDBExchangeprotocol sequencediagram R1R2 Hello(seen=0) Hello(seen=R1,...) DD(SeqX,I,M,Master) DD(SeqY,I,M,Master) DD(SeqY,M,Slave) DD(SeqY+1,M,Slave) DD(SeqY,M,Master) DD(SeqY+n,Master) DD(SeqY+n,Slave) LSRequest LSUpdate LSRequest LSUpdate AdjacencyFullyestablished Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|47 OverthelastseveralyearstheOSPFroutingprotocolhasbeenwidelydeployed throughouttheInternet.However,theoriginalversionoftheOSPFneedstobeextendedinordertocomplywiththeevolutionofnetworkingtechnology.TrafficEngineeringandMulti‐Topologyroutingareonlysomeexamplesofthecapabilitiestodevelop. DuetotheOSPFfixedpacketformat,itisnotsoeasytointroduceanybackwardcompatibleextensions.ThisisthemainreasonwhyitisextremelyimportanttheOpaqueLSAOption,describedinthefollowingsection. 4.2 TheOpaqueLSAOption ThewholenetworkhastosharethesameinformationaboutTElinkproperties.Inother words,wewanteachnodetospreadtheinformationonthenetworklinksandtokeepit synchronizedwithalltheothernodes.ThisisexactlywhattheOSPFprotocoldoes,as explainedinlastsection. HowcanwerepresentandfloodTEinformationthroughoutthenetwork?RFC3630 (September2003)specifiesTrafficEnginneringextensionstotheOSPFprotocol.Moreover,in[6],theOSPFwithitsTrafficEngineeringextensions(OSPF‐TE)isproposedaslink stateprotocolwithintheGMPLSframework. DuetothefixednatureoftheOSPFprotocol,itisnotpossibletomodifythestructureof theoriginalspecification[10].ThissectiondescribesenhancementstotheOSPFprotocol tosupportanewclassoflink‐stateadvertisements(LSA)calledOpaqueLSAs. OpaqueLSAsprovideageneralizedmechanismtoallowforthefutureextensibilityof OSPF.TheinformationcontainedinOpaqueLSAsmaybeuseddirectlybyOSPForindirectlybysomeapplicationwishingtodistributeinformationthroughouttheOSPFdomains. 4.2.1 TheOpaqueLSA OpaqueLSAsconsistofastandardLSAheaderfollowedbya32‐bitalignedapplicationspecificinformationfield. Chapter4–GMPLSProtocolsimplications Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|54 andwassubsequentlydeprecated.TheideaistoreusetheTOS‐basedmetricfields, whichwillberedefinedandusedtoadvertisedifferenttopologies. 4.4.1 MultiTopologyRoutingvs.TOSBasedRouting Multi‐Topology(MT)routingofferssomeparticularcapabilitieswhichmakeitdifferent fromthetraditionalTOS‐basedrouting: WithTOSrouting,trafficthatisunreachableintheroutingtableassociatedwith thecorrespondingTOSwillreverttothedefaultroutingtable,whichincludesthe wholenetworkwithouttakingintoaccountanyTOSconstraint.WithMulti‐ Topologyrouting,thisisoptional. WithTOSrouting,individuallinksorprefixescouldnotbeexcludedfromatopology:alllinksorprefixeswereeitheradvertisedexplicitlyordefaultedtotheTOS 0metric.WithMTrouting,linksorprefixesthatarenotadvertisedforaspecific topologydonotexistinthattopology. 4.4.2 ProtocolExtensionsforMultiTopology TheOSPFfixedpacketformatrequirestheredefinitionoftheTOS‐basedmetricfields containedintotheLinkStateAdvertisementpackets.Inthissection,wearegoingtoexplainhowtoredefinetheTOSfieldsandtheirnewfunctioninimplementingtheMulti‐ Topologycapability. Figure4.8‐RouterLSApacketformat Eachlinkisdescribedbyasetoffieldsliketheonerepresentedinfigure4.8. Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|55 Eachlinkistypedaccordingtothekindofattachednetwork.Itisalsolabeledwithits LinkID.ThisLinkIDgivesanametotheentitythatisontheotherendofthelink.Inaddition,theLinkDatafieldisspecifiedforeachlink.Thisfieldgives32bitsofextrainformationforthelink.The#TOSfielddefinesthenumberofdifferentTypeOfServiceconcerningaparticularlink.Finally,theTOSfieldsdescribethemetriccostofthelinkfor eachcorrespondingTypeOfService.IfalinkisnotpartofaparticularTOS,thecorrespondinglineisomittedfromthelist. Figure4.8showstheRouterLSApacket’sfieldstoberedefined: TheTOSfieldisredefinedasMT‐IDinthepayloadofRouter,Summary,and Type‐5andType‐7AS‐external‐LSAs(describedinsection4.1). EachMThasitsownMT‐IDmetricfield.WhenalinkisnotpartofagivenMT, thecorrespondingMT‐IDmetricisexcludedfromtheLSA. TheTOSmetricfieldisredefinedasMT‐IDmetricandreusedtoadvertisetopologyspecificmetricforlinksandprefixesbelongingtothattopology.MT‐IDmetricsinLSAsshouldbeinascendingorderofMT‐ID.IfanMT‐IDexistsinanLSA orrouterlinkmultipletimes,themetricinthefirstMT‐IDinstanceMUSTbe used. WhenarouterestablishesaFULLadjacencyoveralinkthatbelongstoasetof MTs,itadvertisesthecorrespondingcostforeachMT‐ID. Bydefault,alllinksareincludedinthedefaulttopologyandalladvertisedprefixesbelongingtothedefaulttopologywillusetheTOS0metricasin[10]. TheNetwork‐LSAdoesnotcontainanyMTinformationsincetheDesignatedRouter(DR) issharedbyallMTs.Hence,thereisnochangetotheNetwork‐LSA. 4.4.3 ShortestPathCalculation ShortestPathcalculationfollowsalmostthesamesetofproceduresalreadydescribedin section16.1of[19],withsomedifferencesfromtheoriginalOSPFdefinition: DuringtheShortestPathCalculation(SPF)foragivenMT‐ID,onlythelinksand metricsforthatMT‐IDareconsidered. Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|56 ByconsideringMT‐IDmetricsintheLSAs,OSPFcomputesmultipletopologies andfindspathstoIPprefixesforeachMTindependently.AseparateSPFwillbe computedforeachMT‐IDtofindindependentpathstoIPprefixes. Hereagain,theMTinformationneedstobestoredbyeachrouterwithintheTEDatabase.TheMTfieldisinvolvedintheServiceDifferentiationschemespresentedinChapter3,asitrepresentsaconstrainttotheShortestPathcalculationfromsourcetodestination.FigurebelowshowsanexampleofTEDatabase,wherewecanfindtheMTfield togetherwiththeotherTEfieldsdefinedinlastsections. Figure4.9‐AnexampleofTEDatabase,withMTfield 4.4.4 DefaultTopologyLinkExclusionCapability Bydefault,theMulti‐Topologiesimplythatalltheroutersparticipateinthedefaulttopology.However,itcanbeusefultoexcludesomelinksfromthedefaulttopologyand reservethemforsomespecificclassesoftraffic. Anewparameterisdefined:theDefaultExclusionCapabilityparameter.Thisconfigurable parameterensuresthatallroutersinanareahavethiscapabilityenabledbeforethedefaulttopologycanbedisabledonarouterlinkintheareawithoutcausingbackwardcompatibilityproblems. DefaultExclusionCapabilityparameterisrepresentedredefiningtheunusedT‐bitasthe MT‐bitintheoptionfield. DNODCEA N/P MC MT E Figure4.10‐TheOSPFPacketoptionsfield Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|57 Figure4.10representstheLSAoptionsfieldandtheMT‐bit.IfDefaultExclusionCapabilityisenabled,thebitissetinHellopacketsandinDatabaseDescriptionpackets,inorder toensurethataMulti‐Topologylink‐excludingcapablerouterwillonlyformanadjacencywithanothersimilarlyconfiguredrouter. IfDefaultExclusionCapabilityisdisabled: TheMT‐bitmustbeclearedinHellopacketsandDatabaseDescriptionpackets. Ifalinkparticipatesinanon‐defaulttopology,itisautomaticallyincludedinthe defaulttopologytosupportbackwardcompatibilitybetweenMTandnon‐MT routers. IfDefaultExclusionCapabilityisenabled: TheMT‐bitMUSTbesetinHellopacketsandSHOULDbesetinDatabaseDescriptionpackets. TherouterwillonlyacceptaHellopacketiftheMT‐bitisset WhenDefaultExclusionCapabilityissettoenabled,arouterissaidtobeoperatinginDefaultExclusionCapabilitymode. ItisoutsideofthescopeofthisworktospecifytheinteroperabilitybetweenMT‐capable routersandnon‐MT‐capablerouters,whichisfullyexplainedinsection5and6of[5]. ThischapterintroducedoneofthemainprotocolsimpliedinServiceDifferentiation whichisOSPF,togetherwiththemostimportantprotocolsinvolvedintheOSPFprocess. Then,someextensionhavebeendefined,followingtheRFCsspecificationsoverOpaque LSAs,TrafficEngineeringandMultiTopologyrouting[10][4][5]. Wecouldsaythat,aschapter3introducedtheServiceDifferentiationbasics,sothis chapterintroducedthetheoreticalbasicstostartourworkofimplementingtheService Differentiationcapability. Nextchapteranalyzesthelaststepbeforepassingtotheimplementationstage,thesimulationenvironmentsusedinthisworkthatrequiressomepreliminarystudybefore startingwiththeimplementation. Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|58 Chapter4–GMPLSProtocolsforServiceDifferentiation
Chapter1‐Introduction Page|59 WorkingEnvironment: ASON/GMPLSSimulationTool Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|60 Thebasicideaofthisworkcanbeconsideredasthethirdstepofaprojectwhichisbeing carriedoninrecentyearsbythedepartmentofElectronicsandInformaticsattheVrije UniversiteitBrussel. First,anIPoverWDMnetworksimulatorwasdeveloped.Then,the simulationtoolwasenhancedtodeveloparealisticIP/MPLSoverASON/GMPLSsystem. OurcontributiontothisprocessconsistsonaddingtheServiceDifferentiationcapability tothesimulator.Thisimpliestheintegrationofarealisticlinkstateprotocol(OSPFand itsTEextension)andtheimplementationoftheMulti‐Topologycapability. TheServiceDifferentiationschemesdescribedinChapter3canbefinallyimplemented andevaluatedaccordingonthesimulationsresults. Thischaptergivesanoverviewofthetoolsusedtoimplementtheservicedifferentiation inIP/MPLSoverASON/GMPLSnetwork.Inparagraph5.1theOMNeT++simulationenvironmentisbedescribed.Inparagraph5.2weshowtheINETFrameworkforOMNeT++. Chapter5.3givesadetaileddescriptionofthesimulationpackageusedasstartingpoint forthesimulationofthiswork. 5.1 OMNet++ OMNeT++isanobject‐orientedmodulardiscreteeventnetworksimulator.Thesimulatorcanbeusedfor: trafficmodelingoftelecommunicationnetworks protocolmodeling modelingqueuingnetworks modelingmultiprocessorsandotherdistributedhardwaresystems validatinghardwarearchitectures evaluatingperformanceaspectsofcomplexsoftwaresystems modelinganyothersystemwherethediscreteeventapproachissuitable OMNESTisthecommerciallysupportedversionofOMNeT++.OMNeT++isonlyfreefor academicandnon‐profituse.ForcommercialpurposesoneneedstoobtainOMNESTlicensesfromOmnestGlobal,Inc[22]. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|61 5.1.1 ModellingConcepts OMNeT++providesefficienttoolsfortheusertodescribethestructureoftheactualsystem.Someofthemainfeaturesare[22]: hierarchicallynestedmodules modulesareinstancesofmoduletypes modulescommunicatewithmessagesthroughchannels flexiblemoduleparameters topologydescriptionlanguage AnOMNeT++modelconsistsofhierarchicallynestedmodules.Thedepthofmodule nestingisnotlimited,whichallowstheusertoreflectthelogicalstructureoftheactual systeminthemodelstructure.Modulescommunicatethroughmessagepassing.Messagescancontainarbitrarilycomplexdatastructures.Modulescansendmessageseither directlytotheirdestinationoralongapredefinedpath,throughgatesandconnections. Modulescanhavetheirownparameters.Parameterscanbeusedtocustomizemodule behaviorandtoparameterizethemodel'stopology. Modulesatthelowestlevelofthemodulehierarchyencapsulatebehavior.Thesemodulesaretermedsimplemodules,andtheyareprogrammedinC++usingthesimulation library. OMNeT++modelsareoftenreferredtoasnetworks.Thetoplevelmoduleisthesystem module.Thesystemmodulecontainssubmodules,whichcanalsocontainsubmodules themselves.Thedepthofmodulenestingisnotlimited;thisallowstheusertoreflect thelogicalstructureoftheactualsysteminthemodelstructure. Simple Module Simple Module Simple Module Compound Module System Module Figure5.1‐OMNet++simpleandcompoundmodules Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|62 Modulesthatcontainsubmodulesaretermedcompoundmodules,asopposedsimple moduleswhichareatthelowestlevelofthemodulehierarchy.Simplemodulescontain thealgorithmsinthemodel.TheuserimplementsthesimplemodulesinC++,usingthe OMNeT++simulationclasslibrary. EachmodulehasastructurethatisdescribedinitsOMNeT++'sNetworkElementDescriptor(NED)file;samplesofNEDfilesformodulesbuiltforourpurposeareshownin chapter6. Bothsimpleandcompoundmodulesareinstancesofmoduletypes.Whiledescribingthe model,theuserdefinesmoduletypes;instancesofthesemoduletypesserveascomponentsformorecomplexmoduletypes.Finally,theusercreatesthesystemmoduleasan instanceofapreviouslydefinedmoduletype;allmodulesofthenetworkareinstantiatedassubmodulesandsub‐submodulesofthesystemmodule. Modulescommunicatebyexchangingmessages.Inanactualsimulation,messagescan representframesorpacketsinacomputernetwork,jobsorcustomersinaqueuing networkorothertypesofmobileentities.Messagescancontainarbitrarilycomplexdata structures.Simplemodulescansendmessageseitherdirectlytotheirdestinationor alongapredefinedpath,throughgatesandconnections. The“localsimulationtime”ofamoduleadvanceswhenthemodulereceivesamessage. Themessagecanarrivefromanothermoduleorfromthesamemodule(self‐messages areusedtoimplementtimers). Gatesaretheinputandoutputinterfacesofmodules;messagesaresentoutthrough outputgatesandarrivethroughinputgates. Eachconnection(alsocalledlink)iscreatedwithinasinglelevelofthemodulehierarchy: withinacompoundmodule,onecanconnectthecorrespondinggatesoftwosubmodules,oragateofonesubmoduleandagateofthecompoundmodule Duetothehierarchicalstructureofthemodel,messagestypicallytravelthroughaseries ofconnections,tostartandarriveinsimplemodules.In[22]thereareexamplesofmessageexchangepossibilities. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|63 Figure5.2‐connectionsamongmodulesinOMNet++ Foreachconnectioncanbeassignedthreeparameters,whichfacilitatethemodelingof communicationnetworks,butcanbeusefulinothermodelstoo:propagationdelay,bit errorrateanddatarate,allthreebeingoptional.Onecanspecifylinkparametersindividuallyforeachconnection,ordefinelinktypesandusethemthroughoutthewhole model. Modulescanhaveparameters.ParameterscanbeassignedeitherintheNEDfilesorthe configurationfileomnetpp.ini.Parametersmaybeusedtocustomizesimplemodulebehaviour,andforparameterizingthemodeltopology. ThesimplemodulesofamodelcontainalgorithmsasC++functions.Thefullflexibility andpoweroftheprogramminglanguagecanbeused,supportedbytheOMNeT++simulationclasslibrary.Thesimulationprogrammercanchoosebetweenevent‐drivenand process‐styledescription,andcanfreelyuseobject‐orientedconcepts(inheritance, polymorphismetc)anddesignpatternstoextendthefunctionalityofthesimulator. Simulationobjects(messages,modules,queuesetc.)arerepresentedbyC++classes. Theyhavebeendesignedtoworktogetherefficiently,creatingapowerfulsimulation programmingframework.Thefollowingclassesarepartofthesimulationclasslibrary: modules,gates,connectionsetc. parameters messages containerclasses(e.g.queue,array) datacollectionclasses statisticanddistributionestimationclasses Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|70 Eachnodecontainsdifferentmodulesthatcooperatetosatisfyaconnectionrequest,usingdifferentpolicies,arrivedfromthegenerator.ThisarchitecturehasbeenimplementedtryingtoobtainaresultclosetothegeneralarchitectureofanASON/GMPLS router,aswecanseeinfigurebelow. Figure5.6–ASON/GMPLSdevelopedroutervs.Theoreticalmodel Allthemodulesinsideeachrouterofthenetworkarenowbeinganalyzedinthefollowingpages. 5.3.5 SetupHandler TheSetupHandlerisasimplemodulethatreceivestheconnectionrequestsfromthe generatorandtriestoestablishaconnectionbetweensourceanddestination,applying differentpoliciesasexplainedlaterinchapter6.Althoughitdoesn’timplementanyprotocol,itisoneofthemostimportantmodules,becauseitistheresponsibleofthesynchronizationandcooperationbetweentheelectronicIP/MPLSlayerandtheASONcontrolledopticallayer.Itisalsotheoneinchargeforthestatisticsupdate,forexampleafterthecreationorarefusalofaconnection. 5.3.6 PhysicalLayer ImplementsanASON‐controlled,fullywavelengthconvertible,OpticalCrossConnect (OXC)capableofsettingupLightpathsondemandusingwavelengthconversionand connectionstotheportsbetweentheopticalandtheelectricallayers. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|71 ThismoduleisfullycontrolledbytheControlmodule,explainedafterward,thatimplementstheASONcontrolplaneoftherouter.Eachelectronicpacketgeneratedbythe IP/MPLSlayertravelsthroughtheportsandreachestheopticallayerinthismodule whereitisswitchedproperlyanddeliveredtowardsthedestination.Atthesameway whenitarrivesatthedestination’sphysicallayeritisconvertedbacktotheelectronic worldandreachtheIP/MPLSdestinationthroughtheproperport. Twoimportantparametersaredefined: numOfWaves:definesthenumberofwavelengthswhereineachfiberispartitioned numOfPorts:definesthenumberofportsbetweentheopticalandtheelectronic IP/MPLSlayer Theseparametersareveryimportantbecausetheyareusedtochoosetheopticalcapabilitiesofeachrouterofthenetwork.Thus,thechoiceofthenumOfWavesandnumOf‐ Portsvaluescaninfluencethesimulationresults.Theycanbeeasilyconfiguredusingthe omnetpp.iniconfigurationfile. nsf.numOfWaves = 24 nsf.numOfPorts = 36 5.3.7 ControlLayer ThismoduleimplementstheASONcontrolplaneoftheASON/GMPLSrouterusingmodulesadaptedandderivedfromtheINETFrameworktogetherwithbrandnewpurposebuiltOMNeT++modules. TheControlblockisacompoundmodulecontainingseveralspecializedsubmodulesthat cooperateusingbothfunctioncallsandmessageexchangestoprovideopticalconnection’sservice.InFigure5.7theinsideviewoftheControlmoduleisshownandafterwardacompleteexplanationofeachmoduleisgiven. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|72 Figure5.7–InsideviewoftheControlmodule ThetypicalIP/MPLSarchitecturearisesfromtheabovefigure,inwhichwecaneasily findthesignalingandroutinglayer,followedbytheNetworkandMPLSlayersandfinally thedatalinklayer.Figure5.8showstheIP/MPLSoverASONrouterprotocolstack. Figure5.8–IP/MPLSoverASONrouterprotocolstack Anexhaustiveexplanationofallthesub‐modulesinsidetheControlmodulecanbe foundin[7].Inthefollowingpageswewilljustgiveabriefdescription,tryingtofocus onthecharacteristicswhichareimportanttothiswork. CtrlLinkStateRouting–LinkstateroutingprotocolforASON ThismoduleimplementsaverybasicroutingprotocolforASONanditisadirectevolu‐ LinkstateRSVP MPLS DataLink IP ASONControlNetwork Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|73 tionoftheLinkStateprotocolusedintheINETFrameworkfortheRSVPRoutersimulator. Aswecanseeinthefollowingsectionsthismodulewillbereplacedbyamorerealistic OSPFprotocolimplementation. CtrlRSVP–ResourcereSerVationProtocolforASON ThismoduleimplementstheResourcereSerVationProtocol(RSVP)usedinASONcontrol planetosetup,manageandteardownopticalconnections(Lightpath).Itisasimple OMNeT++moduleprovidingGMPLSsupportfromASONrouters,includingtheabilityto setup,manageandteardownopticalligthpaths,neighbordiscoveryandfailuredetection. CtrlTED–TrafficEngineeringDatabaseforASON ThismoduleimplementstheTrafficEngineeringDatabase(TED)oftheASONcontrol plane.Despiteitsname,thismoduleisnotmerelyacontainerofinformationforthe routerbutitisusedinmanysituationssuchasfindingavailableopticalrouteswhereuponsetupnewlightpaths.AlltheinformationinsidetheTEDareupdatedbythe LinkStateprotocolwhiletheRSVPusesittochecktheavailabilityofopticalresources whensettingupalightpathtofulfillaconnectionrequest. TheCtrlTEDstoresopticalresourcesinformationforeachlink,suchasthetotalnumber ofwavelengthsandportsandtheavailablenumberofthem. Infigure5.9anexampleofwhatisinsidetheASON’sTEDisgiven. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|74 Figure5.9–ExampleofASONTED’scontent AssaidbeforeforeachfiberattachedtotherouterwesaveintheTrafficEngineering Databasethenumberofports,wavelengthsandthestateofthelink.Allthisinformation isupdatedbyRSVP,sharedwiththeotherroutersofthenetworkusingtheLinkState protocolandusedtosearchforavailableopticalpathsbytheLinkResourceManager module. CtrlLibTable ThismoduleimplementstheLabelInformationBaseTable(LIBTable)oftheASONcontrolplane,inwhichtheRSVPprotocolstoresthelabeloperations(swap,popandpush) forallthelightpathsthatstartsfromit,endinitorthatpassesthroughit. TheLIBTablemoduleiskeepuptodatebytheRSVPASONmoduleaftertheprocessing ofRSVPmessages. BelowasnapshotofwhatisinsidetheLIBTableisshowninFigure5.10.Notethatallthe labelscontainedintheControlmodule’sLIBTablearerepresentingwavelengths. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|75 Figure5.10–ExampleofASONLIBTable’scontent NetworkLayer ThiscompoundmoduleimplementstheIPv4layeroftheASONcontrolrouter;itisan untouchedversionoftheINETone.TherearenochangesneitherintheC++classes,nor intheNEDfilesofallitssubmodules. RoutingTable ThismoduleimplementstheIPv4routingtableusedbytheIPlayertoforwardpackets totheotherroutersoftheASONcontrolnetwork. InoursystemtheroutingtableiscreatedautomaticallyatthebeginningofthesimulationanditisupdatedatruntimebytheOSPFmodule,forexampleafterachangeinthe topologyoccurs. NotificationBoard ThismoduleimplementstheNotificationBoardofINETFrameworkanditisunchanged inoursystem.Itworksinapublisher‐subscribermodeanditisusedtobroadcastthe statechangeofamoduletoallthesubscribedmodules.Anexampleofthisisinthe Linkstateflooding:whenthereisachangeinTEDcontent,thechangedentryindexis senttoallthesubscribersfortheeventNB_TED_CHANGED,includingLinkstatemodule. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|76 LinkResourceManager ThisisprobablythemostimportantmoduleinsidetheASONcontrollayer;itimplements theLinkResourceManager(LRM)ofanASONnetwork,whichisresponsiblefortheallocationandfreeingofresourcesoftransportlinksandalsoforprovidingstatusinformationaboutthem[2],forinstancewhenithastofindarouteforanewlightpathforthe Setupmodule. 5.3.8 VirtualLayer ThismoduleimplementstheIP/MPLSelectroniclayeroftheASON/GMPLSrouterusing modulesthatweadaptedandderivedfromtheINETFrameworktogetherwithbrand newpurpose‐builtOMNeT++modules. TheVirtualblockisacompoundmodulecontainingseveralspecializedsubmodulesthat cooperateusingbothfunctioncallsandmessageexchangestoprovideIP/MPLSconnection’sservice.InFigure5.11theinsideviewoftheVirtualmoduleisshownandafterwardacompleteexplanationofeachmoduleisgiven. Figure5.11–InsideviewofVirtualmodule Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|77 WecaneasilyobservefromFigure5.11,thatthestructureoftheVirtualmoduleisthe sameoftheControlmodule.Thisisduetoourcodereusingpolicythatallowedusto implementthetwoblockswithoutcodingtoomuch. Anexhaustiveexplanationofallthesub‐modulesinsidetheControlmodulecanbe foundin[7].Inthefollowingpageswewilljustgiveabriefdescription,tryingtofocus onthecharacteristicswhichareimportanttothiswork. GLinkStateRouting–LinkstateroutingprotocolforIP/MPLS ThismoduleimplementstheroutingprotocolfortheIP/MPLSlayeranditisadirectevolutionfromtheLinkStateprotocolusedintheINETFrameworkfortheRSVPRoutersimulator.Aswecanseeinthefollowingsectionsthismodulewillbereplacedbyamore realisticOSPFprotocolimplementation. GRSVP–ResourcereSerVationProtocolforIP/MPLS ThismoduleimplementstheResourcereSerVationProtocol(RSVP)usedinIP/MPLS layertosetup,manageandteardownLabelSwitchedPaths(LSP)overexistingLightpath allowingconnectionstogroom.ItisasimpleOMNET++moduleprovidingGMPLSsupportforIP/MPLSdynamicrouters;thisincludestheabilitytosetup,manageandtear downLSPs,neighbordiscoveryandfailuredetectionalladaptedtothenewdynamicenvironment. GTED–TrafficEngineeringDatabaseforIP/MPLS ThismoduleimplementstheTrafficEngineeringDatabase(TED)oftheIP/MPLSlayer. Despiteitsname,thismoduleisnotmerelyacontainerofinformationfortherouterbut itisusedinmanysituationssuchasfindingavailablelightpathswhereuponsetupLSPs. AlltheinformationinsidetheTEDareupdatedbytheLinkStateprotocolwhiletheRSVP usesittochecktheavailabilityofelectronicresources,bandwidthinourcase,whensettingupaLSPtofulfillaconnectionrequest. BelowanexampleofwhatisinsidetheVirtuallayerTEDisgiveninFigure. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|78 Figure5.12–ExampleofIP/MPLSTED’scontent Assaidbeforeforeachlink,thatinthecaseofIP/MPLSlayerisalightpath,attachedto therouterwesaveintheTrafficEngineeringDatabasethebandwidthandthestateof thelink.AllthisinformationisupdatedbyRSVP,sharedwiththeotherroutersofthe networkusingtheLinkStateprotocolandutilizedtosearchforavailablelightpathsby theConnectionControllermodule. WewillseehowtheGTEDmodulewillbeslightlymodifiedduringourwork,inorderto storemoreinformationoverthemulti‐topologythenodebelongsto. GLibTable ThismoduleimplementstheLabelInformationBaseTable(LIBTable)oftheIP/MPLS layer,inwhichtheRSVPprotocolstoresthelabeloperations(swap,popandpush)forall theLSPsthatstartsfromit,endinitorthatpassesthroughit. Classifier ThismoduleimplementsadatabasecalledClassifierusedbyMPLStosortincomingand outgoingpacketsasMPLSornormalIPones.Thismoduleisdirectlyderivedfromthe oldINEToneanditisnotusedbecausetheoriginalversionoftheSimulationTool doesn’timplementMPLStrafficontheVirtuallayeryet;onlycontrolpacketsareex‐ Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|79 changedandtheyareforwardedusingtheclassicIProuting.Thus,thismodulewillbe modifiedinordertoproperlyimplementtheMPLStraffic. NetworkLayer ThiscompoundmoduleimplementstheIPv4layeroftheIP/MPLSVirtuallayer;itisan untouchedversionoftheINETone.TherearenochangesintheC++classesnorinthe NEDfilesofallitssubmodules. RoutingTable ThismoduleimplementstheIPv4routingtableusedbytheIPlayertoforwardpackets totheotherroutersoftheIP/MPLSvirtualnetwork.LiketheNetworkLayertheRouting‐ TablemoduleusedinourworkisanuntouchedversionoftheINET’soneexceptforits initialization:theroutingtableiscreatedautomaticallyatthebeginningofthesimulationanditisupdatedatruntimebytheLinkStatemodule,forexampleafterachangein thetopologyoccurs. NotificationBoard ThismoduleimplementstheNotificationBoardofINETFrameworkanditisunchanged inoursystem.Itworksinapublisher‐subscribermodeanditisusedtobroadcastthe statechangeofamoduletoallthesubscribedmodules.Anexampleofthisisinthe Linkstateflooding:whenthereisachangeinTEDcontent,thechangedentryindexis senttoallthesubscribersfortheeventNB_TED_CHANGED,includingLinkstatemodule. ConnectionController ThisisprobablythemostimportantmoduleinsidetheIP/MPLSVirtuallayer;itimplementstheConnectionController(CC)ofanASONnetwork,whichisresponsibleforthe managementofconnection’ssetup,releaseandmodificationusingLinkResourceManager,SetupandVirtuallayer’smodules. TherestofthisthesiselaboratesonthedesignoftheASON/GMPLSsimulatorextension forServiceDifferentiationanditsintegrationwiththeINETFramework.Specialemphasiswillbeputondescribingthemodulesandtheprotocolsmainlyinvolvedduringour implementation. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool
Chapter1‐Introduction Page|86 networkbelongs.Allroutingprotocolpackets originatingfromtheinterfacearelabelled withthisAreaID. HelloInterval Thelengthoftime,inseconds,betweenthe Hellopacketsthattheroutersendsontheinterface. RouterDeadInterval Thenumberofsecondsbeforetherouter's neighborswilldeclareitdown,whentheystop hearingtherouter'sHelloPackets. HelloTimer Anintervaltimerthatcausestheinterfaceto sendaHellopacket.ThistimerfireseveryHelloIntervalseconds. NeighborrouterslistTheotherroutersattachedtothisnetwork. ThislistisformedbytheHelloProtocol. Interfacestates Thevariousstatesthatrouterinterfacesmayattainarenowbeinglistedinorderofprogressingfunctionality.Forexample,theinoperativestateislistedfirst,followedbyalist ofintermediatestatesbeforethefinal,fullyfunctionalstateisachieved.Below,theinheritancediagramtheinterfacestateclasses. InterfaceStateDown Thisistheinitialinterfacestate.Inthisstate,thelower‐levelprotocolshaveindicated thattheinterfaceisunusable.Noprotocoltrafficatallwillbesentorreceivedonsucha interface. InterfaceStatePoint2Point Inthisstate,theinterfaceisoperational,andconnectseithertoaphysicalpoint‐to‐point networkortoavirtuallink.Uponenteringthisstate,therouterattemptstoformanad‐ OSPF::InterfaceState OSPF::InterfaceStateDown OSPF::InterfaceStateLoopBack OSPF::InterfaceStateBackup OSPF::InterfaceStateDesignatedRouter OSPF::InterfaceStateNotDesignatedRouter OSPF::InterfaceStatePointToPoint OSPF::InterfaceStateWaiting Chapter6–SimulatorExtensions Figure6.2‐hierarchydiagramofthe InterfaceStateclasses
Chapter1‐Introduction Page|87 jacencywiththeneighboringrouter.HelloPacketsaresenttotheneighboreveryHelloIntervalseconds. Formoreinformationovertheotherinterfacestates,referto[19]. 6.4.2 IMessageHandlerclasses TheMessageHandleranditssubclassesmanagealltheOSPFmessagestherouterreceives.Dependingonthemessagereceived,differentactionscanbesummoned.Below, theinheritancediagramoftheIMessageHandlerclass. HelloHandler EachrouteradvertisesitselfbyperiodicallymulticastingHellopackets,whicharehandledbytheHelloHandlerclass.Thisallowsneighborstobediscovereddynamically:bidirectionalcommunicationisindicatedwhentherouterseesitselflistedintheneighbor's Hellopacket. Below,theUMLdiagramofthemainmethodsoftheclassHelloHandler. +GHelloHandler(in containingRouter : Router*) +ProcessPacket(in packet : GOSPFPacket*, in intf : Interface*, in unused : Neighbor* = NULL) +updateLSAs(in neighbor : Neighbor*) GHelloHandler Figure6.4–TheHelloHandlerUMLclassdiagram DatabaseDescriptionHandler Ifanadjacencyisformed,thefirststepistosynchronizetheneighbor'sLS‐databases,by theDatabaseExchangeProtocol. Inalink‐stateroutingprotocol,itisveryimportantforallrouter'sLS‐databasestostay OSPF::IMessageHandler OSPF::DatabaseDescriptionHandler OSPF::LinkStateUpdateHandler OSPF::HelloHandler OSPF::LinkStateAcknowledgeHandler OSPF::LinkStateRequestHandler Chapter6–SimulatorExtensions Figure6.3‐Hierarchydiagramofthe IMessageHandlerclasses
Chapter1‐Introduction Page|88 synchronized.TheDatabaseDescriptionHandlerperformsthisfunctiontogetherwiththe neighborclasses,describedlaterinthischapter. Figure6.3showstheDatabaseDescriptionHandlerUMLclassdiagram. Figure6.5‐TheDataBaseDescriptionHandlerUMLClassdiagram EachrouterdescribesitsdatabasebysendingasequenceofDatabaseDescription(DD) packetstoitsneighbors.EachDDpacketdescribesasetofLSAsbelongingtotherouter's database.ThissendingandreceivingofDDpacketsiscalledthe"DatabaseExchange Process",definedinsection4.5.1andwhoseprocedureisshowedinfigure6.4. LinkStateRequestHandler DuringtheDatabaseExchangeProcedure,neighborssynchronizetheirdatabasesex‐ R1R2 Hello(seen=0) Hello(seen=R1,...) DD(SeqX,I,M,Master) DD(SeqY,I,M,Master) DD(SeqY,M,Slave) DD(SeqY+1,M,Slave) DD(SeqY,M,Master) DD(SeqY+n,Master) DD(SeqY+n,Slave) LSRequest LSUpdate LSRequest LSUpdate AdjacencyFullyestablished Figure6.6‐TheHello processandtheDatabase Exchangeprocess. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|89 changinglinkstatemessages.WhenarouterfindsanewLSAdescriptiononareceived DDpacketanewLinkStateRequestinsenttotheneighbor,whomanagesitthroughthe LinkStateRequestHandlerClass. Figure6.7‐TheLinkStateRequestHandlerUMLClassDiagram TheLinkStateRequestHandlerreceivesthemessageandcheckthelistofLSArequested bytheneighbor.Then,alinkstateupdatemessageiscreatedandsentback. LinkStateUpdateHandler Whenalinkstateupdatemessageisreceived,thelinkStateUpdateHandlerprocessesthe newLSAsandupdateitsdatabase.Systemcallsarelargelyusedinordertocommunicatewiththeotherrouter’smodules.Therouter’sTEDisthenupdatedandtheknowledgelearntaboutthetopologyisfloodedout. Figure6.8showsuptheclassattributesandthemethodsinvolvedinthedatabaseupdatingprocess. Figure6.8‐LinkStateUpdateHandlerUMLClass 6.4.3 Neighborclasses Theneighbormanagementschemaissimilartotheinterfaceonedescribedinsection 6.4.1.AneighbordatastructureismaintainedbytheOSPFmodule,whichalsomakeuse ofatheneighborstatemachinetoruletheactualstateofitsneighbors. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|90 Theneighbordatastructurecontainsallinformationpertinenttotheformingorformed adjacencybetweentwoneighbors. StateThefunctionalleveloftheneighborconversation. InactivityTimer Asingleshottimerwhosefiringindicatesthat noHelloPackethasbeenseenfromthis neighborrecently. ThelengthofthetimerisRouterDeadInterval seconds. Master/Slave Whenthetwoneighborsareexchangingdatabases,theyformamaster/slaverelationship. ThemastersendsthefirstDatabaseDescriptionPacket,andistheonlypartthatisallowed toretransmit.Theslavecanonlyrespondto themaster'sDatabaseDescriptionPackets. Themaster/slaverelationshipisnegotiatedin stateExStart. DDSequenceNumber TheDDSequencenumberoftheDatabaseDescriptionpacketthatiscurrentlybeingsentto theneighbor. NeighborID TheOSPFRouterIDoftheneighboringrouter. TheNeighborIDislearnedwhenHellopackets arereceivedfromtheneighbor NeighborIPAddress TheIPaddressoftheneighboringrouter'sinterfacetotheattachednetwork.Usedasthe DestinationIPaddresswhenprotocolpackets aresentasunicastsalongthisadjacency. Databasesummarylist ThecompletelistofLSAsthatmakeupthe arealink‐statedatabase,atthemomentthe neighborgoesintoDatabaseExchangestate. ThislistissenttotheneighborinDatabase Descriptionpackets. LinkstaterequestList ThelistofLSAsthatneedtobereceivedfrom thisneighborinordertosynchronizethetwo neighbors'link‐statedatabases.Thislistis createdasDatabaseDescriptionpacketsare received,andisthensenttotheneighborin LinkStateRequestpackets.Thelistisdepleted asappropriateLinkStateUpdatepacketsare received. NeighborStates Below,thehierarchydiagramofneighborstatesislistedinorderofprogressivefunctionality.Forexample,theinoperativestateislistedfirst,followedbyalistofintermediate statesbeforethefinal,fullyfunctionalstateisachieved. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|91 Wearegoingnowtodescribebrieflyeachneighborstate.Foramoredetaileddescriptionofneighborstatechanges,togetherwiththeadditionalactionsinvolvedineach change,seeSection10.3of[19]. DownState Thisistheinitialstateofaneighborconversation.Itindicatesthattherehasbeennorecentinformationreceivedfromtheneighbor. InitState Inthisstate,aHellopackethasrecentlybeenseenfromtheneighbor.However,bidirectionalcommunicationhasnotyetbeenestablishedwiththeneighbor(i.e.,therouteritselfdidnotappearintheneighbor'sHellopacket).Allneighborsinthisstate(orhigher) arelistedintheHellopacketssentfromtheassociatedinterface. 2‐WayState Inthisstate,communicationbetweenthetworoutersisbidirectional.ThishasbeenassuredbytheoperationoftheHelloProtocol. ExchangeStartState Thisisthefirststepincreatinganadjacencybetweenthetwoneighboringrouters.The goalofthisstepistodecidewhichrouteristhemaster,andtodecideupontheinitial OSPF::NeighborState OSPF::NeighborStateDown OSPF::NeighborStateAttempt OSPF::NeighborStateExchange OSPF::NeighborStateExchangeStart OSPF::NeighborStateFull OSPF::NeighborStateInit OSPF::NeighborStateLoading OSPF::NeighborStateTwoWay Chapter6–SimulatorExtensions Figure6.9‐HierarchydiagramoftheNeighborStateclasses
Chapter1‐Introduction Page|92 DDsequencenumber.Neighborconversationsinthisstateorgreaterarecalledadjacencies. ExchangeState InthisstatetherouterisdescribingitsentirelinkstatedatabasebysendingDatabase Descriptionpacketstotheneighbor.EachDatabaseDescriptionPackethasaDDsequencenumber,andisexplicitlyacknowledged. Loading Inthisstate,LinkStateRequestpacketsaresenttotheneighboraskingforthemorerecentLSAsthathavebeendiscovered(butnotyetreceived)intheExchangestate. FullState Inthisstate,theneighboringroutersarefullyadjacent.Theseadjacencieswillnowappearinrouter‐LSAsandnetwork‐LSAs. Herebelow,asimpleflowchartdescribinghowtheneighborstatemachineevolves. 6.4.4 OSPFLSAClasses EachrouterintheAutonomousSystemoriginatesoneormorelinkstateadvertisements (LSAs).ThissectiondefinesfivedistincttypesofLSAs,whicharedescribedbelow.The collectionofLSAsformsthelink‐statedatabase.EachseparatetypeofLSAhasaseparatefunction.Router‐LSAsandnetwork‐LSAsdescribehowanarea'sroutersandnet‐ Init Down Ex‐Start Full Exchang 2‐Way Loading HelloReceived 2‐WayReceived 1‐WayReceived NegotiationDone ExchangeDone LoadingDone Figure6.10–Neighborstatemachinediagram Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|93 worksareinterconnected.Summary‐LSAsprovideawayofcondensinganarea'srouting information.AS‐external‐LSAsprovideawayoftransparentlyadvertisingexternallyderivedroutinginformationthroughouttheAutonomousSystem. AsthecontextofthisworkisasingleareaNetwork,ageneraldescriptionofalltheLSA typesisbeinggiven,focusingonlyontheRouter‐LSAType. RouterLSA Originatedbyallrouters.ThisLSAdescribesthecollectedstatesoftherouter'sinterfacestoanarea.Floodedthroughoutasingleareaonly. NetworkLSA OriginatedforbroadcastandNBMAnetworksbytheDesignatedRouter.ThisLSAcontainsthelistofroutersconnectedtothenetwork.Floodedthroughoutasingleareaonly. SummaryLSA Originatedbyareaborderrouters,andfloodedthroughouttheLSA'sassociatedarea. Eachsummary‐LSAdescribesaroutetoadestinationoutsidethearea,yetstillinsidethe AS(i.e.,aninter‐arearoute). ASExternalLSA OriginatedbyASboundaryrouters,andfloodedthroughouttheAS.EachAS‐external‐ LSAdescribesaroutetoadestinationinanotherAutonomousSystem.Defaultroutesfor theAScanalsobedescribedbyAS‐external‐LSAs. OSPFLSA OSPF::ASExternalLSA OSPF::NetworkLSA OSPF::RouterLSA OSPF::SummaryLSA Figure6.11–TheOSPFLSAhierarchydiagram Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|94 MoreinformationoverNetwork,SummaryandASExternalLSAsaregivenindepthin [19].TherestofthissectionfocusesontheRouterLSAclass,usefultobetterunderstand theTrafficEngineeringandMultiTopologyextensions.Figure6.12showspartofthe Router‐LSApacketformat. Figure6.12–anexampleoftheRouterLSApacket Arouteroriginatesarouter‐LSAforeachareathatitbelongsto.SuchanLSAdescribes thecollectedstatesoftherouter'slinkstothearea.TheLSAisfloodedthroughoutthe particulararea,andnofurther. AseachOSPFpacket,thefirst20bytesoftheRouterLSAconsistofthegenericLSA header,notrepresentedinthiscase. Therouter‐LSAdescribestherouter'sworkingconnections(i.e.,interfacesorlinks)to thearea;eachlinkisdescribedbyasetoffieldsliketheonerepresentedinfigure6.12. Eachlinkistypedaccordingtothekindofattachednetwork.EachlinkisalsolabelledwithitsLinkID.ThisLinkIDgivesanametotheentitythatisontheother endofthelink. Inaddition,theLinkDatafieldisspecifiedforeachlink.Thisfieldgives32bitsof extrainformationforthelink. The#TOSfielddefinesthenumberofdifferentTypeOfServiceconcerningaparticularlink TheTOSfieldsdescribethemetriccostofthelinkforeachcorrespondingType OfService.IfalinkisnotpartofaparticularTOS,thecorrespondinglineisomittedfromthelist. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|95 AgeneralsummaryoftheOSPFprocessbetweentheroutersinthenetworksimulated canbeusefulbeforedescribingthefollowingstepsofthiswork:OSPF‐TEandOSPF‐MT. Aspreviouslymentioned,thefirstmainstageinthealgorithmistogiveamapofthe networktoeverynodeandtostoreitinitsdatabase.Thisisdonewithseveralsimple subsidiarysteps[7]. Determiningtheneighborsofeachnode First,eachnodeneedstodeterminewhatotherportsitisconnectedto,overfullyworkinglinks;itdoesthisbytheHelloProtocolprocess.Afterthis,theneighborstate reachthevalueofEX‐Start,sotheneighborscanstarttheexchangeprocess. Synchronizingthetopologydatabases Onceanewadjacencyisestablished,bytheDataBaseExchangeProcesstwoneighbors keeptheirtopologydatabasesynchronized.Then,theneighborsarefullyadjacentand thestatemachinevalueissettoFull. Distributingtheinformationforthemap Next,eachnodeperiodicallymakesupasetofshortmessages,thelink‐stateadvertisementsdescribedinsection6.4.4,which: Identifythenodewhichisproducingit. Identifyalltheothernodestowhichitisdirectlyconnected. Includeasequencenumber,whichincreaseseverytimethesourcenodemakes upanewversionofthemessage.ThisisimplementedusinganOMNeT++timestamp. Includeinformationaboutthestateofeachlinkofinterest. Thismessagesarethenfloodedthroughoutthenetwork.Asanecessaryprecursor,each nodeinthenetworkremembers,foreveryothernodeinthenetwork,thesequence numberofthelastlink‐statemessagewhichitreceivedfromthatnode. Startingwiththenodewhichoriginallyproducedthemessage,itsendsacopytoallofits neighbors.Whenalink‐stateadvertisementisreceivedatanode,thenodelooksupthe sequencenumberithasstoredforthesourceofthatlink‐statemessage.Ifthismessage isnewer(i.e.hasahighersequencenumber),itissaved,andacopyissentinturnto eachofthatnode'sneighbors.Thisprocedurerapidlygetsacopyofthelatestversionof Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|102 NumberofPortssub‐TLV ThenumberofPortssub‐TLVrepresentsinaPhotonicMPLSrouterthenumberofinternalPSCportsconnectingIPpacketandlambdaswitchingfabrics. NumberofPortssub‐TLVistype10andis1octetinlength. NumberofWavelengthssub‐TLV Thenumberofwavelengthssub‐TLVspecifiesthemaximumamountofthefiberwavelenghts.Thenumberofwavelengthssub‐TLVvalueisexpressedinnaturalnumbers,is type11and1octetinlength. AvailableWavelengthssub‐TLV Thevalueoftheavailablewavelengthssub‐TLVcorrespondstotheamountofwavelengthsstillnotreservedtosetupanewlightpath.Itsvalueisexpressedinnatural numbers,istype12and1octetinlength. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|103 6.5.2 OSPFTEImplementation ThemostimportantmodificationstotheoriginalOSPFmodulearenowbeingpresented undertheC++perspective.ThefollowingsectionspresenttheUMLDiagramswiththe mostinterestingattributesandmethodsincludedwithinthenewlycreatedC++classes. Forabetterunderstanding,classes’descriptionisorderedfollowingthemainstepsof theOSPFprocess;first,theOSPFPacket.msgfilehastobemodified,thenthemessage handlingprocessneedstobeextendedtothenewdefinedTE‐LSA.Finally,theTE‐LSA managementitselfhastobeimplemented,includingtheprocessofmessageexchanging andsynchronizationbetweenpeers. 6.5.3 TheOSPFPacketclass Referringto[10]and[4],theOSPFPacket.msgfileneedstobeextended,includingthe OpaqueLSAcapabilityanddefiningtheTE‐LSAType/Length/Valuedatastructure. ThefollowinglinesshowpartoftheOSPFPacketdescriptionfile,highlightingthenewly implementedcapabilities. enum LSAType { RouterLSAType = 1; NetworkLSAType = 2; SummaryLSA_NetworksType = 3; SummaryLSA_ASBoundaryRoutersType = 4; ASExternalLSAType = 5; OpaqueLSAType = 10; }; // // Represents an OSPF LSA header // //class GOSPFLSAHeader extends cObject class GOSPFLSAHeader { fields: unsigned short lsAge = 0; GOSPFOptions lsOptions; char lsType enum (LSAType) = RouterLSAType; unsigned long linkStateID; IPAddress advertisingRouter; long lsSequenceNumber = 0; short lsChecksum = 0; Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|104 unsigned short length = 0; } . . . . // // OSPF-TE Extension: Opaque LSA Type 10 Definition // enum TLVType { TLVRouterAddressType = 1; //not implemented TLVLinkType = 2; } enum subTLVType { LinkTypeType = 1; LinkIDType = 2; LocalInterfaceIPType = 3; RemoteInterfaceIPType = 4; TrafficEngineeringMetricType = 5; MaximumBWType = 6; MaximumReservableBWType = 7; UnreservedBWType = 8; AdminGroupType = 9; NumPortsType = 10; NumWavesType = 11; AvailableWavesType = 12; }; // //classes GTLVData and GTLVData_avBW SUB_TLV - represents a sub-TLV in case of GLink TLV // class GTLVData { fields: unsigned char type enum (subTLVType) = LinkTypeType; unsigned char length; double value []; }; // //class GTLVLink extends cObject - represents the payload of a OSPFTE Opaque LSA (Only Type2 TLV: GLink) // class GTLVLink { fields: unsigned char type enum (TLVType) = TLVLinkType; Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|105 unsigned char length; GTLVData value[]; }; // // Represents an OSPF Type10 LSA - GTE_LSA Type 1: // class GOSPFTE_LSA extends GOSPFLSA { fields: // unsigned int numberOfTlv; GTLVLink tlv[]; } . . . . First,theOpaqueLSAtype10capabilityhasbeenadded,followedbytheGOSPFTE_LSA implementation.ThenewlinkstateadvertisementextendsthegenericGOSPFLSAdefinition,fromwhichderivestheLSAheader.ThepayloadfollowstheType/Length/Value schemaandisdefinedbytheGTLVLinkclass. AlltheTrafficEngineeringinformationdescribinginterfaces,bandwidths,portsandwavelengthsarefinallydefinedbytheGTLVclassandthesubTLVTypeenumstatement. NotethatthegivencoderepresentstheGOSPFTE‐LSAimplementation.TheCtrlOSPF TE‐LSAdefinitionisalmostthesame,sothereisnoneedtoexamineitseparately. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|106 -ChangeState(in newState : NeighborState*, in currentState : NeighborState*) +Neighbor(in neighbor : RouterID = NullRouterID) +~Neighbor() +ProcessEvent(in event : NeighborEventType) +GetState() : NeighborStateType +SendDatabaseDescriptionPacket(in init : bool = false) +RetransmitDatabaseDescriptionPacket() : bool +CreateDatabaseSummary() +SendLinkStateRequestPacket() +RemoveFromRetransmissionList(in lsaKey : LSAKeyType) +AddToRequestList(in lsaHeader : GOSPFLSAHeader*) +RemoveFromRequestList(in lsaKey : LSAKeyType) +GetNeighborID() : RouterID +SetOpaqueLSACapability(in opaqueCapability : bool) +GetOpaqueLSACapability() : bool +SetPriority(in priority : unsigned char) +GetPriority() : unsigned char +SetAddress(in address : IPv4Address) +GetAddress() : IPv4Address +SetOptions(in options : GOSPFOptions) +GetOptions() : GOSPFOptions +SetDatabaseExchangeRelationship(in relation : DatabaseExchangeRelationshipType) -state : NeighborState * -previousState : NeighborState * -ddRetransmissionTimer : GOSPFTimer * -updateRetransmissionTimer : GOSPFTimer * -updateRetransmissionTimerActive : bool -requestRetransmissionTimer : GOSPFTimer * -requestRetransmissionTimerActive : bool -databaseExchangeRelationship : DatabaseExchangeRelationshipType -ddSequenceNumber : unsigned long -neighborID : RouterID -opaqueLSACapability : bool -neighborPriority : unsigned char -neighborIPAddress : IPv4Address -neighborOptions : GOSPFOptions -neighborsDesignatedRouter : DesignatedRouterID -neighborsBackupDesignatedRouter : DesignatedRouterID -designatedRoutersSetUp : bool -neighborsRouterDeadInterval : short -databaseSummaryList : list -linkStateRequestList : list -.. -.. GOSPFNeighbor 6.5.4 OSPFNeighborclass Aspreviouslyexplained,theOSPFNeighborclassesgroupisimportanttomaintainthe adjacencybetweenpeersandmanagetheneighborstatemachinevalues. AftertheHello process,thefirst steptoestablish anewadjacency istheexchange ofDDpackets. TheOSPFNeighborclasshasthe mainroleinthis context.Figure ontheright showspartof theUMLclass diagram. BoththeGOSPFNeighborandCtrlOSPFNeighborclasses(thelatterisnotshownasits UMLdiagramisclosetotheformer)havebeenextendedtotheOpaqueLSAcapability. TheOpaqueLSACapabilityattributeanditscorrespondinggetterandsettermethodsare definedinordertoguaranteesomecompatibilitybetweenOpaqueLSAcapableandnotcapablerouters. CreateDatabaseSummary DuringtheDataBaseExchangeProcess,twopeersexchangetheirLSADatabaseSummary lists.ThisoperationisperformedbytheCreateDatabaseSummarymethod.TheOSPF Chapter6–SimulatorExtensions Figure6.14‐ OSPFNeighborUMLclassdiagram
Chapter1‐Introduction Page|107 modulecreatesanLSASummarylist,includingRouterLSAsandthecorrespondingTEL‐ SAs. Oncereceivedandelaboratedthesummarylist,aroutersendsarequesttosynchronize itsdatabasewiththepeer.TheLSArequestlistiscreatedandsentbytheAddToRequestListandSendLinkStateRequestPacketmethods. 6.5.5 OSPFMessageHandlerclasses AlltheroutersinvolvedtotheOSPFprocesskeeptheirtopologydatabasebysending andreceivingLinkStateAdvertisement.Therefore,itisclearthattheOSPFmodulemessagehandlerclassesneedtobeextendedtomanageTEinformation.Inparticular,this sectionfocusontwoofthefiveclassesdescribedinsection6.4.2:LinkStateRequestHandlerandLinkStateUpdateHandler. LinkStateRequestHandlerclass Oncereceivedandelaboratedthesummarylist,eachroutersendsaLinkStateRequest messagetothepeer. TheLinkStateRequestHandlerclass(UMLclassdiagramisshowninfigure6.5)manages thiskindofmessagebytheProcessPacketmethod.First,theneighborstatemachine valueandtheLSArequestlistarecheckedinordertoavoiderrors.Then,aLinkState Updatemessageiscreated,containingtherequestedLSAs. LinkStateUpdateHandlerclass Asinthepreviouscase,theLinkStateUpdateHandlerclassmanagesthereceivedupdate messagesbytheProcessPacketmethod,whichprocessesthiskindofmessageincaseof adjacencyinitialization updatereceived,duetoanetworktopologychange First,theneighborstatemachinevalueandthereceivedLSAlistformatarechecked,in ordertoavoiderrors.Then,foreachLSAreceived: Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|108 ifnotalreadystoredinthelocaldatabase,theupdateisfloodedouttotheother peersandinstalledinthedatabase. Ifalreadypresentinthelocaldatabase,thereceivedLSAtimestampiscompared tothelocalone:ifnewer,theupdateisfloodedouttotheotherpeersandinstalledinthedatabase. Otherwise,thecurrentLSAisignored. TheprocessofinstallingnewTE‐LSAsisimportanttosynchronizethelocalLSAdatabase withthelocalTED,aswearegoingtoseeinthenextsection. Amoredetaileddescriptionoftheupdatemessagemanagementcanbefoundinsection 13of[19]. 6.5.6 SynchronizingTEDandTELSADatabase TEDandOSPFTE‐LSAdatabasestore,indifferentways,almostthesamekindofdata. ThereasonofthisredundancyismainlyduetothechoiceofintegratingtheOSPFmodulewithinthesimulatorsystem,withoutspendingtoomuchtimeincodinganddedicatingmostoftheeffortintheTEandMTcapabilitiesimplementation. SynchronizationbetweenTEDandTE‐LSADBisbidirectionalandistriggeredbytwo mainevents. Anewconnectionhasbeensetup.TEDischangedandTE‐LSAdatabaseneedsto beupdated(hereagain,wearegenerallytalkingaboutTEDinsteadofCtrlTED andGTED). AnewlinkstateupdatemessagehasbeenreceivedandinstalledintheTE‐LSA database.Consequently,TEDalsoneedstobeupdated. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|109 Figure6.15and6.16showpartoftheattributesandmethodsbelongingtotheOSPFA‐ reaandOSPFRouterclasses. Fromtheexampleabovearisesomeoftheattributesandmethodsimplementedforthe OSPF‐TE. TheteLSAsvectorattribute,istheTE‐LSAdatabase. Onceerrorcheckingtestispassedandthestatemachinevalueiscorrectlyverified,theTE‐LSAupdatemessageprocessinginvolvestheFindTeLSA,GetTeLSA, findSubTLVmethods. IfthereceivedLSAisnewerthanthelocalone(ifexists),finallytheupdateisinstalledbyInstallTeLSAandfloodedoutbyFloodLSA. +Area(in id : AreaID = BackboneAreaID) +~Area() +GetRouterLSA(in i : unsigned long) : GRouterLSA * +GetTeLSA(in i : unsigned long) : const GTE_LSA * +AddInterface(in intf : Interface*) +GetInterface(in address : IPv4Address) : Interface * +InstallRouterLSA(in lsa : GOSPFRouterLSA*) : bool +InstallTeLSA(in lsa : GOSPFTE_LSA*, in lsaRouterID : IPAddress) : bool +FindTeLSA(in linkStateID : LinkStateID) : GTE_LSA * +FindTeLSA(in linkStateID : LinkStateID) : const GTE_LSA * +findSubTLV(in t : subTLVType, in lsa : GTE_LSA*, in bwVec[] : unsigned long, in localIP : IPAddress) : bool +AgeDatabase() +FloodLSA(in lsa : GOSPFLSA*, in intf : Interface* = 0, in neighbor : Neighbor* = 0) : bool +OriginateRouterLSA() : GRouterLSA * +OriginateTeLSA(in neighbor : Neighbor*) : GTE_LSA * +updateRouterLSA(in entry : GTELinkStateInfo) : GRouterLSA * +deleteLSAs(in routerID : IPAddress) +CalculateShortestPathTree(in newRoutingTable : vector<RoutingTableEntry*> &) +. . .() -areaID : AreaID -advertiseAddressRanges : map<IPv4AddressRange,bool,IPv4AddressRange_Less> -associatedInterfaces : vector<Interface*> -routerLSAs : vector<GRouterLSA*> -teLSAs : vector<GTE_LSA*> -networkLSAs : vector<GNetworkLSA*> -summaryLSAs : vector<GSummaryLSA*> -spfTreeRoot : GRouterLSA * -. . . Area Figure6.15–OSPFAreaUMLClassdiagram Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|110 TheInstallTeLSAmethodsynchronizestheTEDwiththenewTE‐LSAdatabaseinformationbytheSyncGTEDsystemcall,definedinfigure6.16. Figure6.16–PartoftheGOSPFRouterUMLClassDiagram FigureabovehighlightsmanyimportantelementsinvolvedintheOSPFprocess. AstheGOSPFRouterclassisdirectlycorrelatedtotheOMNET++OSPFmodule,wecan seehowseveralattributesandmethodsareimplementedtomanagetheAreadata structure,theroutingtableandthemessagehandling.Asusual,theOpaqueLSACapabilityflagissetduringtheOSPFmoduleinitialization. AsthesyncGTEDmoduleisusedtosynchronizetheTEDwiththeTE‐LSADB,sotheTELSADBissynchronizedwiththeTEDbythesyncTeDBmethod.Itisimportanttokeep boththedatastructuresperfectlysynchronized,becausetheTEDisusedduringthe connectionsetuptocalculatethebestpathtodestination;ontheotherhand,TEDinformationisadvertisedbyTE‐LSAsfloodingtokeepthetopologyknowledgesynchronizedamongalltherouters. Herebelow,wecanseethedifferencebetweenGTEDandCtrlTEDdata.Moreover,itis possibletoseethefieldsrepresentingallthesub‐TLVsdefinedbefore. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|111 Figure6.17a–viewoftheIP/MPLSTED’scontent Figure6.17b–viewoftheASONTED’scontent 6.6 OSPFMT Untilnow,theServiceDifferentiationhasbeenimplementedchangingthewaythesystemtrytoaccommodatenewconnectionrequests,dependingontherequestpriority.In ordertoimplementtheVirtualTopologyDifferentiation(VT‐Diff)schemesdescribedin chapter3,weneedtoimplementtheMulti‐Topologycapability.Thissectionexplains howtheMulti‐TopologycapabilityhasbeendevelopedandthemainC++classeswhich havebeenrenewedornewlyimplemented. Asdescribedinsection3and4.3,theOSPF‐MTimplementationfollowstheRFC4915[5] approachandcanbedividedin4mainsteps: Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|118 } edge_t edge; edge.src = assignIndex(vertices, topology[i].advrouter); edge.dest = assignIndex(vertices, topology[i].linkid); edge.metric = topology[i].metric; edges.push_back(edge); } } else //SoftDiff Strategy { for (unsigned int i = 0; i < topology.size(); i++) { if(!topology[i].state) continue; if(topology[i].UnResvBandwidth[7] < req_bandwidth) continue; if (mt == HPTopology) //so discard LP links { if (topology[i].mt != 0){ if (topology[i].mt != 2){ continue; } } else{ if (topology[i].linkid.getInt () != IPAddress(127, 0, 0, 1).getInt ()) //MT info still not received about this link: discard continue; } } else if (mt == LPTopology) //so considers only LP links and direct HP links { if (topology[i].mt != 0){ if (topology[i].mt == 2){ if (topology[i].advrouter != this->routerId || topology[i].linkid != destID.getInt ()){ continue; } } } else{ if (topology[i].linkid.getInt () != IPAddress(127, 0, 0, 1).getInt ()) //MT info still not received about this link: discard continue; } } else{ Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|119 opp_error("priority not allowed"); } edge_t edge; edge.src = assignIndex(vertices, topology[i].advrouter); edge.dest = assignIndex(vertices, topology[i].linkid); edge.metric = topology[i].metric; edges.push_back(edge); } } IPAddress srcAddr = routerId; int srcIndex = assignIndex(vertices, srcAddr); vertices[srcIndex].dist = 0.0; // : Dijkstra... for (unsigned int i = 1; i < vertices.size(); i++) { . . . . } 6.6.4 VirtualTEDupdating Onceanewconnectionbetweensourceanddestinationnodesiscorrectlyestablished, thevirtualtopologychangeneedstobeadvertisedoverthewholenetwork.Thisis achievedinoursimulationbyfillingtheMT‐fieldsonRouterLSAsasdefinedbeforeand floodingthenewinformationoverthenetwork(seetheUpdateRouterLSATopologymethodlistedamongtheOSPFAreamethods). WhenanewLinkStateUpdateisreceived(seetheLinkStateUpdateHandlerimplementationpreviouslyexplained),theVirtualTEDisconsequentlymodifiedupdatingthemt fieldcorrespondingtothenewlyestablishedlink.HerebelowanexampleoftheGTED contentforabetterunderstanding. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|120 Figure6.21–AnexampleoftheGTEDcontent FromfigureabovearisetheinformationstoredinGTEDtoimplementtheMTcapability. ThenewlyMTfieldsaddedtoTEDentriesareveryimportantduringthepathcomputation,becauseonlyproperlysynchronizedinformationaboutthevirtualtopologiespermitsthesystemtocalculatethecorrectpathbetweensourceanddestinationandguaranteetheServiceDifferentiation. Chapter6–SimulatorExtensions
Chapter1‐Introduction Page|121 Simulation Study SimulationStudy Chapter7–SimulationStudy
Chapter1‐Introduction Page|122 InthischapterseveralexperimentswillbeexecutedusingtheextendedASON/GMPLS simulatordescribedinChapter5‐andChapter6‐.Thissimulationstudyhasbeenexecutedtoanalyzethebehavior,intermsofservicedifferentiation,ofthethreeMTEpoliciesintroducedinchapters3and4.EachMTEpolicywillbeanalyzedevaluatingitsperformancesundertwomainperspectives: ServiceDifferentiationintermsofBlockingProbability ServiceDifferentiationintermsoftrafficdelay Section7.1presentsthenetworktopologyusedforourexperimentsandthecommon simulationsettingstoboththeperspectiveslistedabove.Then,insection7.2presents thetrafficmodelandsomefurtherimplementationissuesoverthetrafficsimulation.Finally,section7.3evaluatesthesimulationresultsintermsofblockingprobabilityand packetend‐to‐enddelay.Resultsarediscussedineachsectiontogetherwiththeparametersusedtoachievethem. 7.1 Systemmodelandsimulationsettings Inthissectionthesystemmodelimplementedwithoursimulatorandusedforallthe simulationsisintroduced.Inthefirstparagraphthenetworktopologychosenforthe simulationsisdescribed.Inthesecondparagraphwepresentthetrafficmodelusedby thesimulator,intermsofinter‐arrivaltimeandservicetime.Inthethirdandlastparagraphofthissection,thevalueoftheparametersintheconfigurationfilesofoursimulatorareshownanddescribed. 7.1.1 NetworkTopology ToevaluatetheperformanceoftheproposedASON/GMPLSsimulatoranextensiveset ofexperimentshasbeenexecuted.Somesimulationtestshavebeenfirstlyperformed consideringasmallnetwork,inordertotestmostlythecorrectbehaviouroftheimplementation. Thetopologyusedinourtestsimulationsisthe“Test”network.Itconsistsof7nodes and11bidirectionalopticallinksanditisshowninFigure7.7.1. Chapter7–SimulationStudy
Chapter1‐Introduction Page|123 Figure7.7.1–“Test”opticalnetworktopology Thesecondtopology,usedtorunourdefinitivesimulationsandevaluatetheMTEpolicies’performancesisthe(NewYork–SanFrancisco)NSFWDM‐Network. NFS(NationalScienceFoundation)istheUSResearchandEducationNetwork(NREN). AlthoughthereareseveralrepresentationsoftheNFSnet,hereweconsidertheonedescribedin[27](showninthefigurebelow),composedby14networknodesconnected through21bidirectionalopticallinks. Figure7.2–TheNSFNetwork Chapter7–SimulationStudy
Chapter1‐Introduction Page|124 Nextsectionswillafterwardspresenttheexperiments’outputonlyusingtheNSFtopology. 7.1.2 TrafficModel TheGeneratormodulegeneratesconnectionrequestsbetweenarandomsourceand destination,accordingtoaPoissonstochasticprocess.Theaverageinter‐arrivaltimeof connectionrequestsisdeterminedbytheparameter ia T.Theparameterhold Trepresents theaverageholdingtimeofeachacceptedrequest.Bothinter‐arrivaltimeandholding timefollowanegativeexponentialdistributionwithmeanTiaandThold.Ifwecall ia T 1 theinter‐arrivalfrequencyforeachnode,and hold T 1 thefrequencyofservice,theloadforeachnode(expressedinErlang)canbedeterminedbythefollowing equation: C B T T C B loadOffered a ia holda WhereCisthecapacityofasinglelightpathandBaistheaveragebandwidthrequested bytheconnections.ThusC Barepresentsthefractionoflightpathcapacityrequestedby eachconnection. Toincreasethenetworkload,weincreasethehold Tparameterwhilewefixia Ttoaconstantvalue. Settingsabovearecommontoboththesimulationscenarioslistedatthebeginningof thischapter.However,someothersettingsarepeculiartothesecondsetofsimulations, whoseresultsareanalyzedtoevaluatethenetworkfromthetrafficexchangeperformancespointofview. Inliterature,ithasbeenclearlydemonstratedastheInternettrafficisbettermodelled byParetoorexponentiallydistributedstatistics.Moreover,inprinciplethemultiplexing ofseveralsourcesofParetotrafficgeneratesself‐similarorlong‐range‐dependent(LRD) networktraffic. Chapter7–SimulationStudy
Chapter1‐Introduction Page|125 Forthisreason,wearegoingtoinvestigatetheperformancesofthesimulatedMTEpoliciesusingaheavy‐tailedtruncatedParetodistribution,whichisconsideredbymanyresearcherstobeagoodmodelforbursttrafficinrealnetworks.[12][13]. Inourmodel,packetsarriveinbursts(ONperiods),whichareseparatedbyidleperiods (OFFperiods).TogenerateaPareto‐distributedsequenceofONperiods,onecangenerateaPareto‐distributedsequenceofburst(packettrain)sizes,followedbyParetodistributedidleperiods.Theminimumburstsizeis1,correspondingtoasinglepacket arrival.TheformulatogenerateaParetodistributionis xa b XPareto 1 wherexisauniformlydistributedvalueintherange(0,1],bistheminimumnonzero valueofXPARETO,denotedbonandboffforthepackettrainandtheidleperiod,respectively,andaisthetailindexorshapeparameteroftheParetodistribution. However,computersimulationsusingtheaboveformulagenerateatruncatedPareto distributionbecauseofthediscreetxvalue.Incontrast,anytrueParetodistributionof sufficientlygreatlengthwillhavevaluesthatexceedtherangegeneratedbycomputer simulations. Themodelaboveistheoneadoptedinoursimulation.Nevertheless,inreality,trafficin thecorenetworkdependsonmanyexternalitiesandisstillanopenresearchissue. Chapter7–SimulationStudy
Chapter1‐Introduction Page|126 7.1.3 SimulationSettings Table7.1showsthecommonparametersusedforalltheexperiments. Totalnumberofrequests50000 Lightpathcapacity(C)15Gbps Averageconnectionbandwidth requested (Ba) 2Gbps Distribution 33,3%1Gbps 33,3%2Gbps 33,3%3Gbps Fiberpropagationdelay 0.33ms correspondingto100Km foreachopticallink IPprocessingdelay10μs Table7.1–CommonParametersvalueusedinoursimulations ThedurationofeachsimulationrunisdeterminedbytheparametercallCounterdescribedinchapter5.Thenumberofconnectionrequests,inTable7.1,hasbeenchosen asacompromisebetweenthestabilityoftheresultsintermsofconvergenceofthe blockingprobabilityandthedurationofeachsimulationtime.Thesimulationterminates whenalltherequestshavebeenprocessed.Thedurationofeachsimulationruninrealtimedependsonthesizeofthenetworktopologyusedandonthenumberofportsof eachASON/GMPLSrouter. Thecapacityofeachlightpathissetto15Gbpsandeachconnectionrequestrequires from1Gbpsto3GbpsusingthediscretestatisticaldistributioninTable7.1.Aconnection requestof1GbpscorrespondstoanOC‐24opticallinewhilethe2GbpsrequestcorrespondstoanOC‐48opticalline. ThepropagationdelayusedinthesimulationsissettothevalueinTable7.1becauseit correspondstoanaveragelengthfortheopticalfibresof100Km;assumingthespeedof lightasthepropagationspeedfortheopticalsignalswehaveadelayof0.33msevery 100Km. Chapter7–SimulationStudy
Chapter1‐Introduction Page|127 TheIPprocessingdelay,thatisthetimethateachpacketneedstobeprocessedbythe IPlayer,issettothevalueinTable7.1becauseitisthesameusedinalltheINETsimulationsamplesandisthoughttobetheaverageoftoday’sdevices. 7.1.4 OSPFTimersandprotocolblockingprobabilityissues Resultsfrompreviousresearch[7]makeusawareofsomeissuesderivingfromthe blockingprobabilitystudy.Undercertainconditiontheconnectionrequestrejectionis notduetothelackofnetworkresources,butcanbecausedbyprotocolconvergence problems,instead. Thereasonofthisproblemisinthehighlydynamicbehaviorofthevirtual(IP/MPLS)topology;whileVT‐First,preferringthegroomingoperationasfirststep,generatesonly fewchangesintheIPtopologyanditslinkstateprotocolreachtheconvergenceintime; PT‐First,preferringthenewligthpathcreationasfirststep,generatesseveralchangesin theIPtopologyandtheroutingprotocolnotalwaysreachtheconvergencecausing,for manyconnectionrequests,a“falsepositive”.“Falsepositive”meansthatthepolicy startsthecreationofaLightpathoveranavailableopticalroutebuttherouteisactually fullbecauseofresourcesbeingreservedatthesametime. ThefactthatthevirtualtopologyismoredynamicwhenusingthePT‐Firstpolicycauses alsoanotherphenomenon.TheIP/MPLScontrolanddatapacketssharethesamelinks (in‐bandsignaling)andduetothequickchangesinthenetworkthereisahighprobabilityofhavinganotconnectednetworkgraph,meaningthatnodesinoneconnected componentcannottransmittothenodeofothersconnectedcomponents;thesenodes willnotbeabletoupdatethelinkstateinformationuntilanewlightpathconnectsthe twocomponents.Thisresultsinaincrementoftheoverallblockingprobability.The samephenomenonisnotpresentattheASONlayerbecausethecontrollinksareseparatedfromthedatalinks(out‐of‐bandsignaling)andthetopologyisfixedduringallthe simulationrun;thuseveryroutercanalwaysreachtheothers.Therefore,whileinthe ASONcontrolplanetheonlyblockingprobabilityextra‐contributionisgivenbytheslow convergenceofthelinkstateprotocol,intheIP/MPLSlayerthereisalsoanextracontributiongivenbythegraphconnectionproblemdiscussedabove. Chapter7–SimulationStudy
Chapter1‐Introduction Page|134 canoverlap,fortrafficloadgreaterthan120Erlang. Forthereasonsexplainedabove,itislikelytoexpectsimilarresultsfromthesimulations concerningthepacketdelay,showedbyfigure7.4. Figure7.7‐PacketdelayforHPtrafficandLPtrafficintheRP‐Diffpolicy EventhoughwereachacertaindegreeofdifferentiationbetweenHPtrafficandLPtraffic,wecanseethatthevaluesofpacketdelaygaptendtodecreaseasthetrafficload risesuntil125Erlang,wherethetwocurvesoverlap. Oneofthereasonsforthisbehaviorcanbefoundanalyzingtheaveragelengthofthe LSPssetupforLPandHPtraffic.UsingRP‐Diffthereiscompletesharingofthenetwork resources,soweexpectonlyaslightdifferencebetweenHPandLPLSPs. Figure7.8‐TheaverageLSPlengthintheRP‐Diffstrategy 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,08 1,1 1,14 1,22 1,34 1,43 1,50 RPDiff‐ LowPriority 1,15 1,18 1,21 1,31 1,40 1,46 1,54 1,00 1,10 1,20 1,30 1,40 1,50 1,60 PacketDelay(ms) 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,27000 1,32000 1,37000 1,67000 1,75000 1,83000 1,87000 RPDiff‐ LowPriority 1,28000 1,34000 1,39000 1,68000 1,76000 1,85000 1,89000 1,000 1,200 1,400 1,600 1,800 2,000 LSPLength(hops) Chapter7–SimulationStudy
Chapter1‐Introduction Page|135 Figureaboveconfirmsthatsomedifferentiationpoliciestomanagethenetworkresourcesharingareneededtoo.UsingRP‐Diff,thereisnoServiceDifferentiationatallin termsofblockingprobabilityorcannotbeguaranteed,anyway,intermsofpacketdelay aswecanseeinfigure7.8.ToobserveadifferentiationintermsofLSPlengthitcouldbe necessaryrunsomesimulationsoverabiggernetworktopology,asNSFgivealmostthe sameresultsforHPandLPLSPlengths. Hard‐Diffpolicyevaluation Aspreviouslyintroducedinchapter3,usingtheHard‐Diffpolicyweaimattheservice differentiationbyintroducingastrongerdiscriminationbetweenHPandLPtraffic.Connectionrequestsarenowaccommodatedoriginatingdifferentvirtualtopologiesfordifferentrequestpriorities. Figure7.9showstheblockingprobabilityfortheHard‐Diffpolicy,usingthesamesettingsandthesametrafficloadconditionsasthepreviousexperiment. Figure7.9–BlockingProbabilityforHPtrafficandLPtrafficintheHard‐Diffpolicy Aswecanseeabove,itisclearhowtheHard‐DiffapproachachievesasubstantialdiversificationbetweentheQoSofferedtoHPandLPtraffic.Figure7.9highlightsthebehaviorofthetwocurvesrepresentingtheBlockingProbability:wecaneasilyseethatthey neveroverlap.Thesamebehaviorhasbeenobservedanalyzingtheresultsobtainedsimulatingtrafficexchangeamongthenetwork’snodes,asshowedinfigure7.10. 100 105 110 115 120 125 132 HardDiff‐ HighPriority 0,00250 0,00030 0,00210 0,00140 0,00200 0,00300 0,00100 HardDiff‐ LowPriority 0,16600 0,23100 0,25600 0,28000 0,28900 0,36500 0,36900 0,00000 0,05000 0,10000 0,15000 0,20000 0,25000 0,30000 0,35000 0,40000 Blockingratio Chapter7–SimulationStudy
Chapter1‐Introduction Page|136 Figure7.10‐PacketdelayforHPtrafficandLPtrafficintheHard‐Diffpolicy TheHard‐Diffstrategydemonstrateshowdifferentiatingtheserviceofferedintermsof resourcesharingcanbeagoodwaytoachievebetterresultsthanRP‐Diffstrategy.On theotherhand,thegapbetweenHPandLPblockingratioseemstobemorethanwhat isdesirable;somefurtheranalysisisneeded,comparingRP‐DiffandHard‐Diffresultsas infigure7.11. Figure7.11a‐BlockingratioforHPandLPtrafficinHard‐DiffandRP‐Diff 100 105 110 115 120 125 132 HardDiff‐ HighPriority 1,23 1,30 1,24 1,24 1,22 1,17 1,32 HardDiff‐ LowPriority 1,78 1,79 1,72 1,83 1,72 1,76 1,69 1,00 1,10 1,20 1,30 1,40 1,50 1,60 1,70 1,80 1,90 PacketDelay(ms) 100 105 110 115 120 125 132 RPDiff‐ HighPriority 0 0 0,0007 0,0406 0,09 0,12 0,163 RPDiff‐ LowPriority 0 0 0,0009 0,0394 0,093 0,1213 0,169 HardDiff‐ HighPriority 0,00250 0,00030 0,00210 0,00140 0,00200 0,00300 0,00100 HardDiff‐ LowPriority 0,16600 0,23100 0,25600 0,28000 0,28900 0,36500 0,36900 0 0,05 0,1 0,15 0,2 0,25 0,3 0,35 0,4 Blockingratio Chapter7–SimulationStudy
Chapter1‐Introduction Page|137 FiguresabovepermittoanalyzethebehaviorofboththeRP‐DiffandHard‐Diffstrategies. TheblockingprobabilityishigherfortheHard‐DiffstrategyforLowPriority.Hence,we cansaythatacertaindegreeofservicedifferentiationhasbeenachieved,buttheperformancesdegradationissuchthatRP‐DiffstillresultsmoreconvenientthanHardDiff. Oncecreated,anOLSPcanaccommodateonlytrafficbelongingtooneCoS.Thisimplies thateachCoShasaloweramountofcapacityavailableforgroomingcomparedtothe RP‐DiffpolicywhereHPandLPtrafficaremixedoverauniquevirtualtopology.TheexcessivedegradationofthenetworkperformancesforLPtrafficintermsofblocking probabilitymakestheHard‐Diffstrategystillnotfeasible.Theproblemcanbesolvedtryingtoallowacertaindegreeofresourcesharingbetweenthetwovirtualtopologies,as explainedherebelowbytheSoft‐Diffstrategy. Soft‐Diffpolicyevaluation TheSoft‐DiffschemefollowsthesameapproachastheoneintroducedbyHard‐Diff,implementinganenhancedalgorithmsimilartothepreviousonewhichtakesintoaccount acertaindegreeofresourcesharingbetweenHPTandLPT. HPandLPtrafficarestilltransmittedovertwodifferentvirtualtopologies,butLPTnow canusealimitedamountofHPT’sresourcestoovercomethelimitationexperienced duringtheHard‐Difftests.WhenthesystemtriestoaccommodatenewLPrequests,resourcesallocationisperformedtakingintoaccountalsodirectHPlightpathsbetween 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,08 1,1 1,14 1,22 1,34 1,43 1,50 RPDiff‐ LowPriority 1,15 1,18 1,21 1,31 1,40 1,46 1,54 HardDiff‐ HighPriority 1,23 1,30 1,24 1,24 1,22 1,17 1,32 HardDiff‐ LowPriority 1,78 1,79 1,72 1,83 1,72 1,76 1,69 1,00 1,10 1,20 1,30 1,40 1,50 1,60 1,70 1,80 1,90 PacketDelay(ms) Figure7.11b‐BlockingratioforHPandLPtrafficinHard‐DiffandRP‐Dif f Chapter7–SimulationStudy
Chapter1‐Introduction Page|138 sourceanddestination(anexamplecanbefoundinchapter3,wherethealgorithmis explainedindepth). Figure7.12showstheBlockingProbabilityintheSoft‐Diffstrategyunderthesametrafficconditionsasthepreviousexperiments.Inthiscase,wechasetorepresentboththe RP‐DiffandSoft‐Diffcurves,allowingtocomparethetwoperformancesatfirstglance. Figure7.12‐BlockingratioofHPandLPtrafficforRP‐DiffandSoft‐Diffpolicies Inthiscasethenetworkimprovesitsperformancesfromtheblockingratiopointofview. Thisconfirmsthatacertaindegreeofresourcesharingleadstobetterresults,aswecan seeinfigureabove. Asillustratedabove,forlowloadednetworksRP‐Diffisstillthemoreconvenientpolicy. ThisisduetotheverylowblockingratioachievedbybothHPandLPtrafficintheRP‐Diff approach. Ontheotherhand,oncethetrafficloadincreases,theSoft‐Diffschemereachesbetter resultswhentheblockingratiointheRP‐DiffincreasesbothforLPandHPtraffic.This phenomenondoesnotaffecttheSoft‐DiffschemewheretheHPtrafficblockingratio remainsnegligible,whiletheLPblockingratioincreases.TheadvantageoftheSoft‐Diff policyisfurtherhighlightedwhenthetrafficloadriseover120ErlangandtheHPandLP blockingratioreachvaluescomparablewiththeonesassumedbythecurve representingtheLPblockingprobabilityoftheSoft‐Diffstrategy. ThisisaveryimportantgoaltheSoft‐Diffpolicyreached: 100 105 110 115 120 125 132 RPDiff‐ HighPriority 0 0 0,0007 0,0406 0,09 0,12 0,163 RPDiff‐ LowPriority 0 0 0,0009 0,0394 0,093 0,1213 0,169 SoftDiff‐ HighPriority 0 0 0,00006 8E‐05 0,0002 0,0002 0,0003 SoftDiff‐ LowPriority 0,0345 0,051 0,059 0,089 0,12 0,132 0,1638 0 0,02 0,04 0,06 0,08 0,1 0,12 0,14 0,16 0,18 Blockingratio Chapter7–SimulationStudy
Chapter1‐Introduction Page|139 ServiceDifferentiationhasbeenachieved.Byonehand,RP‐Diffoffersnearly thesameblocking%forbothHPandLPtraffic.Ontheotherhand,Soft‐Diff keepstheblocking%forHPtraffictonegligiblevalues,evenwhenthetraffic loadincrease. Agoodtrade‐offbetweenServiceDifferentiationandLPperformanceshasbeen reached.Itisclearthatthevirtualtopologiesdifferentiationimpliesacertain degreeofperformancesdegradationforLowPrioritytraffic.ContrarytotheresultsobservedbeforeusingtheHard‐Diffstrategy,nowtheLPblockingratiocan beconsideredcomparablewiththeoneassumedbyRP‐Diff. Whatwesaidbeforeisfurtherconfirmedbythepacketdelayanalysis. InthiscasewedecidedtocomparetheservicedifferentiationprovidedbySoft‐Diffand RP‐Diffmoreindepth: first,presentingtheaveragepacketdelayunderdifferenttrafficloadconditionsforboththepolicies; then,choosingaparticulartrafficloadtorecordthedelaysufferedbyeach packetexchangedovertheLPandHPTopologies. Figure7.13‐AveragePacketend‐to‐enddelayforRP‐DiffandSoft‐Diffpolicies FigureaboveshowstheRP‐Diffcurvealreadyseenbefore,andthebehaviorobserved fortheSoft‐Diffstrategy.Aswecaneasilysee,forlowtrafficconditionsRP‐Diffremains thebestpolicy;neverthelessafter110ErlangbothLPTandHPTseemtosufferlessthan theRP‐Difftopologythetrafficloadincreasing. 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,08 1,1 1,14 1,22 1,34 1,43 1,50 RPDiff‐ LowPriority 1,15 1,18 1,21 1,31 1,40 1,46 1,54 SoftDiff‐ HighPriority 1,110 1,100 1,102 1,110 1,150 1,133 1,175 SoftDiff‐ LowPriority 1,200 1,200 1,190 1,210 1,216 1,190 1,210 1,00 1,10 1,20 1,30 1,40 1,50 1,60 PacketDelay(ms) Chapter7–SimulationStudy
Chapter1‐Introduction Page|140 Infigure7.13itisalreadypossibletoobservehowthedifferentiationofferedbySoft‐Diff isslightlybetterthantheRP‐Diff’sone.However,herebelowwecanseesomescreenshotsfromOMNeT++representingthedelay(inseconds)sufferedbyeachpacketexchangedoverthenetworkincaseof125Erlangoftrafficload. Figuresaboveshowclearlywhatweexpected:theservicedifferentiationappearsmore evidentthanasweobserveinfigure7.13,whereonlytheaveragevalueisrepresented. Thisisbecause,aswecanseeinfigure7.15c,LPtrafficcansufferbothhighandverylow delays.Thus,itisagoodideatomakesomeexperimentsinordertoverifythatthedis‐ Figure7.15a – HPTpacketdelayinSoft‐Diffat125Erlang Figure7.14a‐HPTpacketdelayinRP‐Diffat125Erlang Figure7.14b‐LPTpacketdelayinRP‐Diffat125Erlang Figure7.14c‐packetdelayinRP‐Diffat125Erlang Figure7.15b – LPTpacketdelayinSoft‐Diffat125Erlang Figure7.15c – packetdelayinSoft‐Diffat125Erlang 0.006 0.004 0.002 0.003 0.002 0.001 0.006 0.004 0.002 0.006 0.004 0.002 0.008 0.006 0.004 0.002 0.008 0.006 0.004 0.002 1000 2000 1000 2000 1000 2000 1000 2000 1000 2000 1000 2000 Chapter7–SimulationStudy
Chapter1‐Introduction Page|141 tancebetweeneachrecordedpacketdelayandtheaveragedelayisreasonable.Thisis animportantparameter,givingussomepreliminaryindicationsonthevariationinthe timebetweenpacketsarrivingdelayandaveragepacketdelayduringthetrafficexchange(jitter). Inordertoevaluatethisparameterweanalyzethevarianceofthepacketdelay;theresultisshowedherebelowforbothRP‐DiffandSoft‐Diffpolicies. Figure7.16–trafficdelayvarianceforRP‐DiffandSoft‐Diffpolicies Assaidbefore,ofcoursetheSoft‐DiffapproachimpliesaslightdegradationoftheperformancesofferedforLPtraffic.RP‐Diffstillremainsmorefeasibleforlow‐mediumtrafficloadconditions,while,from120Erlangon,thecurvereachesvaluescomparableto theSoft‐DiffLowPriority.Evaluatingthevarianceisimportanttohaveafirstimpression aboutcertaincriticalparameters:forsomereal‐timeapplications,averagepacketdelay isnotenoughasguaranteeofQoS;maximumpacketdelayanddelayjitterareimportantparametersaswell(e.g,VoIP,VideooverIP,etc.). Infigure7.16packetdelayoverLPTopologycanbeconsideredless“stable”thantheHP Topology’sone.Nevertheless,comparingSoft‐DiffbehaviorwiththeRP‐Diff’sone,we canseehowthedifferentiationbetweenHPTandLPTremainsreasonable. Somefinalconsiderations InthischapterwepresentedasetofexperimentsinordertoevaluatetheServiceDifferentiationofferedbythreeMTEpolicies.Thefirstone,RP‐DiffisbasedonasimplealgorithmthatdecidesonthemultilayerroutingpolicyaccordingtotheCoStheservicere‐ 100 105 110 115 120 125 132 RPDiff‐ HighPriority 0,26700 0,27 0,27200 0,39300 0,51600 0,62300 0,75100 RPDiff‐ LowPriority 0,27700 0,285 0,29300 0,42600 0,52800 0,60600 0,72200 SoftDiff‐ HighPriority 0,23600 0,25700 0,27300 0,25300 0,27100 0,26700 0,25900 SoftDiff‐ LowPriority 0,58900 0,63000 0,68600 0,64700 0,70800 0,69200 0,68500 0,00000 0,10000 0,20000 0,30000 0,40000 0,50000 0,60000 0,70000 0,80000 Variance(ms2) Chapter7–SimulationStudy
Chapter1‐Introduction Page|142 questbelongsto.Thesecondone,Hard‐Diff,transmitstrafficbelongingtodifferentCoS ontodifferentlightpaths.Inpractice,thesystemoperatesaresourcedifferentiation whichdoesnotallowservicesbelongingtooneCoStosharenetworkresourcesonthe virtualtopology.However,acertaindegreeofresourcesharing(theSoft‐Diffpolicy) needstobeintroducedinordertonotdeterioratetheperformancewithrespecttoa systemthattransmitstrafficonasinglevirtualtopology.Asalreadyexplainedinchapter 3,afurtherclarificationisneeded:whytheLPTisallowedtousedirectOLSPsoftheHPT butnotviceversa?Thisdecisionhas2mainreasons: TheLPTcanundergomoreinstabilityandconsequentlyitcanbereconfigured withahigherfrequencycomparedtoHPT.ThismeansthatHPservicescannot beaccommodatedontheLPTotherwisetheprovidedQoScouldnotbeguaranteed. ThelimitedcapacityavailableexperiencedintheHard‐DiffschemeismoresignificantfortheLPtrafficduetotheuseofVTFintheLPT. ByforcingthesystemtoconsideronlyOLSPsdirectlyconnectingsourceanddestination, welimitthecapacityutilizationoftheHPTandpreventservicedegradation[14].Figure 7.17and7.18summarizesthebehaviorofthethreestrategiesintermsofblocking probabilityandpacketdelay. Figure7.17‐BlockingratiocomparisonforHardDiff,SoftDiffandRPDiff 100 105 110 115 120 125 132 RPDiff‐ HighPriority 0 0 0,0007 0,031 0,09 0,137 0,163 RPDiff‐ LowPriority 0 0 0,0009 0,032 0,093 0,133 0,169 SoftDiff‐ HighPriority 006E‐05 8E‐05 0,0002 0,0002 0,0003 SoftDiff‐ LowPriority 0,0345 0,051 0,059 0,089 0,12 0,132 0,173 HardDiff‐ HighPriority 0,00250 0,00030 0,00210 0,00140 0,00200 0,00300 0,00100 HardDiff‐ LowPriority 0,16600 0,23100 0,25600 0,28000 0,28900 0,36500 0,36900 0 0,05 0,1 0,15 0,2 0,25 0,3 0,35 0,4 Blockingratio Chapter 7 Simulation Study Chapter7–SimulationStudy
Chapter1‐Introduction Page|143 Figure7.18‐PacketDelaycomparisonforHardDiff,SoftDiffandRPDiff Consideringtheresultsobtainedfromthewholesetofsimulationsexplainedinthis chapterandtheresumingchartsshowedinfiguresabove,wecanseehowaccommodatingdifferentCoSoverdifferentvirtualTopologies(inthiscaseLowPriorityandHigh PriorityTopology)improvestheServiceDifferentiationsuppliedbythenetwork. Thisapproachsufferssomelimitationaswell:incaseofalargeamountofdifferentClass ofServices,furtherresearchisneededinordertofindthebesttradeoffamongthe numberofCoS,thenetworktopology,andthelesscapacityavailabletoallocateresourcesforeachvirtualtopology. 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,08 1,1 1,14 1,22 1,35 1,56 1,61 RPDiff‐ LowPriority 1,15 1,18 1,21 1,31 1,41 1,49 1,56 SoftDiff‐ HighPriority 1,110 1,100 1,108 1,110 1,107 1,103 1,130 SoftDiff‐ LowPriority 1,200 1,200 1,220 1,210 1,208 1,170 1,250 HardDiff‐ HighPriority 1,23 1,30 1,24 1,24 1,22 1,17 1,32 HardDiff‐ LowPriority 1,78 1,79 1,72 1,83 1,72 1,76 1,69 1,00 1,10 1,20 1,30 1,40 1,50 1,60 1,70 1,80 1,90 PacketDelay(ms) Chapter7–SimulationStudy