scieee AI-readable full text Open interactive document viewer

Extension of the GMPLS control plane for the multilayer service differentiation

Campiglia, Gianpaolo

Abstract

Transport networks have moved towards a model called Automatically Switched Optical Network (ASON) controlled by the Generalized Multi-protocol Label Switching (GMPLS) control plane. An ASON/GMPLS network is an intelligent optical network providing the Internet Protocol (IP)/Multi Protocol Label Switching (MPLS) layer with dynamic and dis-tributed connection provisioning. In the IP/MPLS layer the service differentiation has become necessary to cope with the aggregation of various services, including performance-sensitive as well as best effort applications. The Differentiated Services (DiffServ) technology has become quite mature in IP/MPLS domains and the research world has recently made an effort to extend it within the ASON/GMPLS layer. In the DiffServ is executed in a multilayer fashion by means of a technique called virtual topology differentiation. This technique allows different Classes of Service (CoS) to be accommodated over independent virtual topologies and with different multilayer routing policies. The authors demonstrate how different CoS are provided with different levels of QoS. However, the extension of the GMPLS control plane for the introduction of the DiffServ in IP/MPLS over ASON/GMPLS networks is not addressed. This thesis addresses the problem of multilayer service differentiation in IP/MPLS over ASON/GMPLS network focusing on the GMPLS control plane. We start from the Multi-Topology (MT) routing technique used in the Open Shortest Path First (OSPF) protocol to address the MT problem in IP networks. We first make the suitable adaptation to employ this technique in the GMPS control plane as well. The extended MT technique is then implemented in an IP/MPLS over ASON/GMPLS simulator. We finally use the extended simulator to simulate three strategies introduced in [14] in order to make an analysis of the multilayer service differentiation.

Full text

   | Relatore: Prof. Marco Mellia Promotors: Prof. Dr. Ir. Kris Steenhaut Prof. Dr. Ann Nowé Supervisors: Walter Colitti Pasquale Gurzì IP/MPLSover ASON/GMPLS networks EXTENSIONOFTHEGMPLSCONTROL PLANEFORTHEMULTILAYERSERVICE DIFFERENTIATION  POLITECNICODITORINO IIIFacoltàdiIngegneria CorsodilaureainIngegneriaInformatica GianpaoloCampiglia 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.  ListofAcronyms ASON–AutomaticallySwitchedOptical Network ATM–AsynchronousTransferMode CC–ConnectionController CoS–ClassofService DCN–DataCommunicationNetwork FA–ForwardingAdjacency FSC–FiberSwitchingCapable GLR–GeneralizedLabelRequest GMPLS–GeneralizedMulti‐ProtocolLabel Switching GUI–GraphicalUserInterface IETF–InternetEngineeringTaskForce IGP–InteriorGatewayProtocol IP–InternetProtocol IPoWDM–IPoverWDM IPTV–IPTelevision ISO–InternationalStandardOrganization ITU‐T–InternationalTelecommunication Union–TelecommunicationStandardizationBureau LIB–LabelInformationBase LRM–LinkResourceManager LSC–LambdaSwitchingCapable LSP–LabelSwitchedPath MPλS–Multi‐ProtocolLamdaSwitching MPLS–Multi‐ProtocolLabelSwitching MT–Multi‐Topology MTE–MultilayerTrafficEngineering OADM–OpticalAdd‐DropMultiplexer OAM&P–Operations,Administration, Maintenance,andProvisioning OC–OpticalCarrier OEO–Optical‐Electronic–Optical OIF–OpticalInternetworkingFoundation OSI–OpenSystemsInterconnection OSPF–OpenShortestPathFirst OXC–OpticalCrossConnect PSC–PacketSwitchingCapable QoS–QualityofService RSVP–ResourcereSerVationProtocol  RSVP‐TE–ResourcereSerVationProtocol‐ TrafficEngineering RWA–RoutingandWavelengthAssignment SDH–SynchronousDigitalHierarchy SLA–ServiceLevelAgreement SLRC–Single‐LayeredRouteComputation SONET–SynchronousOpticalNETwork SPF–ShortestPathFirst TDM–TimeDivisionMultiplexing TE–TrafficEngineering TED–TrafficEngineeringDatabase TLRC–Two‐LayeredRouteComputation UNI–UsertoNetworkInterface WADM–WavelengthAdd‐DropMultiplexer WDM–WavelengthDivisionMultiplexing     Chapter1‐Introduction    Contents  1Introduction...........................................................................................................1 1.1OrganizationoftheThesis.....................................................................................6 2ASON/GMPLSOverview.........................................................................................9 2.1IPoWDM..............................................................................................................10 2.1.1IPoWDMNetworkArchitechture.................................................................12 2.1.2ControlPlaneIntegration.............................................................................13 2.2ASON....................................................................................................................14 2.2.1ASONControlPlane.....................................................................................16 2.3GMPLS.................................................................................................................17 2.4TrafficEngineeringinIPoWDMNetworks..........................................................20 2.4.1MultilayerTEwithASON/GMPLSrouters(MTE).........................................21 2.4.2OnLineTrafficEngineering..........................................................................24 3ServiceDifferentiation.........................................................................................27 3.1ServiceDifferentiation:theevolutiontowardsmodernscenarios.....................28 3.2Multi‐LayerTrafficEngineeringPolicies(MTE)...................................................30 3.2.1VirtualTopologyFirst(VT‐F)Policy..............................................................30 3.2.2PhysicalTopologyFirst(PTF)Policy.............................................................31 3.3ServiceDifferentiationpolicies...........................................................................32 3.3.1RoutingPolicyDifferentiation(RP‐Diff).......................................................33 3.3.2VirtualTopologyHardDifferentiatedService(VT‐HardDiff).....................34 3.3.3VirtualTopologySoftDifferentiatedService(VT‐SoftDiff)........................36 4GMPLSProtocolsforServiceDifferentiation........................................................39 4.1OSPFOverview....................................................................................................40  Chapter1‐Introduction    4.1.1Areas............................................................................................................42 4.1.2TypeofRouter.............................................................................................42 4.1.3OSPFFunctionalities....................................................................................43 4.1.4OSPFTypeofPackets...................................................................................43 4.1.5TheOSPFProtocols......................................................................................45 4.2TheOpaqueLSAOption......................................................................................47 4.2.1TheOpaqueLSA...........................................................................................47 4.2.2FloodingOpaqueLSAs.................................................................................48 4.3TrafficEngineeringExtensionstoOSPF(OSPF‐TE).............................................49 4.3.1TrafficEngineeringLSAs(TE‐LSA)................................................................49 4.3.2TE‐LSAHeader..............................................................................................50 4.3.3TE‐LSAPayload.............................................................................................50 4.3.4Sub‐TLVsDetails...........................................................................................51 4.4Multi‐TopologyRoutinginOSPF(OSPF‐MT).......................................................53 4.4.1Multi‐TopologyRoutingvs.TOS‐BasedRouting..........................................54 4.4.2ProtocolExtensionsforMulti‐Topology......................................................54 4.4.3ShortestPathCalculation.............................................................................55 4.4.4DefaultTopologyLinkExclusionCapability.................................................56 5WorkingEnvironment:ASON/GMPLSSimulationTool........................................59 5.1OMNet++.............................................................................................................60 5.1.1ModellingConcepts.....................................................................................61 5.1.2BuildingandRunningsimulations................................................................64 5.1.3AnalyzingSimulationResults.......................................................................65 5.2TheINETFramework...........................................................................................65 5.3IP/MPLSoverASON/GMPLSSimulationTool.....................................................66  Chapter1‐Introduction    5.3.1StatisticsCollector........................................................................................68 5.3.2ConnectionGenerator.................................................................................68 5.3.3Network.......................................................................................................68 5.3.4GMPLSNode................................................................................................69 5.3.5SetupHandler..............................................................................................70 5.3.6PhysicalLayer...............................................................................................70 5.3.7ControlLayer................................................................................................71 5.3.8VirtualLayer.................................................................................................76 6SimulatorExtensions...........................................................................................81 6.1ChapteroverviewandGoalofthiswork.............................................................82 6.2SimulatorExtensions...........................................................................................83 6.2.1LinkStateModule........................................................................................83 6.2.2ImplementationSteps..................................................................................83 6.3OSPFIntegration.................................................................................................84 6.4OSPFC++Classes.................................................................................................85 6.4.1Interfaceclasses...........................................................................................85 6.4.2IMessageHandlerclasses.............................................................................87 6.4.3Neighborclasses..........................................................................................89 6.4.4OSPFLSAClasses...........................................................................................92 6.5OSPF‐TE...............................................................................................................98 6.5.1LinkTLVs.......................................................................................................98 6.5.2OSPF‐TEImplementation...........................................................................103 6.5.3TheOSPFPacketclass.................................................................................103 6.5.4OSPFNeighborclass....................................................................................106 6.5.5OSPFMessageHandlerclasses....................................................................107 6.5.6SynchronizingTEDandTE‐LSADatabase...................................................108 Chapter1‐Introduction    6.6OSPF‐MT............................................................................................................111 6.6.1TheRFC4915approach.............................................................................112 6.6.2ConnectionRequestaccommodation.......................................................115 6.6.3CalculatingtheShortestPath....................................................................116 6.6.4VirtualTEDupdating..................................................................................119 7SimulationStudy................................................................................................121 7.1Systemmodelandsimulationsettings.............................................................122 7.1.1NetworkTopology......................................................................................122 7.1.2TrafficModel..............................................................................................124 7.1.3SimulationSettings....................................................................................126 7.1.4OSPFTimersandprotocolblockingprobabilityissues..............................127 7.2TCP/UDPTrafficSimulation...............................................................................129 7.2.1NetworkModel..........................................................................................129 7.2.2StandardHostimplementation.................................................................130 7.2.3SimulationSettings....................................................................................132 7.3SimulationsAnalysis..........................................................................................133 8Conclusions........................................................................................................145        Chapter1‐Introduction       Chapter1‐Introduction   Page|6  toevaluatetheQoSprovidedbynetworksto“time‐sensitive”applications:blocking probabilityandpacketdelay. 1.1 OrganizationoftheThesis Sometheoreticalbasicsareneededtoproperlyunderstandthedevelopmentofthis work.Forthisreason,thefirstsectionsofthisthesisexplainbasicconceptsaboutthe topicwearetalkingabout.Chapter2presentsadescriptionofthemodernopticalnetworks,introducingtheinternet‐workingmodelusedinthedevelopmentofthe ASON/GMPLSroutersimulator.ASONcontrolplaneisintroducedtogetherwithitsnaturalparadigmGMPLS. Chapter3introducestheServiceDifferentiation,whichisthemaintopicofthiswork. First,abriefoverviewaboutthestateoftheartispresented,followedbyadescription oftwocommonlyusedMTEroutingpolicies:VT‐FandPT‐F.Thesecondpartofthissectionpresentsfinallythreedifferentalgorithmsthatwillbeimplementedinoursimulator, inordertotesttheirperformancesundertheServiceDifferentiationperspective: RoutingPolicyDifferentiation,VirtualTopologyHardDifferentiationandVirtualTopologyHardDifferentiation,designedin[14]. Chapter4givesanoverviewoverthepreliminarystudyovertheprotocolsneededto properlyimplementtheMulti‐TopologyroutingandtheServiceDifferentiationalgorithmsintroducedbefore.TrafficEngineeringandMulti‐TopologyextensionstotheOSPF aredefined.Thisisanimportantpartofthethesis,givingtheprotocolbasicstoimplementtheMTroutingwithinarealisticIP/MPLSoverASON/GMPLSsimulator.Specificationsgiveninthischapterwillbethenfollowedduringtheimplementationstageofthis work. Inchapter5,theOMNeT++simulationengineisdescribedtoletthereaderunderstand howanetworkmodelisimplementedandhowitbehavesduringsimulations.Inthe secondpartofthechaptertheINETFrameworkisintroducedand,inparticular,wefocus onthedescriptionoftheavailablesimulationtoolthatrepresentsthestartingpointof ourwork. Chapter1‐Introduction  Page|7  Chapter6givesimplementationdetailsoverthesimulatorextensions.Firstlythegoalof thethesisisshownandthesimulatorisdescribedfromthepointofviewoftheOM‐ NeT++modules.Configurationfilesandinteractionbetweenthemodulesarealsodescribed.InthesecondpartofthischapterourIP/MPLSoverASON/GMPLSsimulatorextensionsareexplainedfromalowerabstractionpointofview.Themainstepscovered duringtheimplementationstagearedescribed,togetherwiththemainimplemented C++classes,theirmethodsandvariables.Whenneeded,thechapterfocusesonhowthe twolayersinsideeachrouteraresynchronizedtoenableMulti‐LayerTrafficEngineering andServiceDifferentiationwhensettingupaconnection. Chapter7presentsanextensivesetofexperimentscarriedoutusingourfinalsimulator inordertoachievesomeimportantgoals:  EvaluatethecontributiontotheServiceDifferentiationgivenbytheMTrouting approachproposedin[14],appliedtoarealisticIP/MPLSoverASON/GMPLSenvironment.  ComparetheresultsobtainedsimulatingthethreeServiceDifferentiationalgorithms. Also,abriefdescriptionofthetrafficmodelimplemented,somefurtherOMNET++ modulesaddedtothesimulatorandtheirimplementationisgiven. Finally,Chapter8givessomeconclusionsontheexperimentsresultsandthesimulator development.Futureenhancementsanddevelopmentsofthesimulatorarealsosuggested.  Chapter1‐Introduction   Page|8    Chapter1‐Introduction   Page|9       ASON/GMPLSOverview            Chapter2–ASON/GMPLSOverview Chapter1‐Introduction  Page|10  ThischapterfirstlypresentssomebasicsaboutIP‐over‐WDMtechnology.Inparticularit givesabriefintroductionontheopticalnetworksevolutionandadvantages.Thenwe willdescribethearchitectureandtheinternetworkingmodeladoptedforthecreationof anASON/GMPLSroutermodelthatistheoneusedinthiswork.Afterwardswewillfocusontheopticalnetwork’scontrolplaneintegrationanddescriptionforanAutomaticallySwitchedOpticalNetwork(ASON),goingintodepthindescribingtheITU‐TG.8080 officialarchitectureforit.SubsequentlyGMPLSprotocolssuitewillbeintroducedtouse itasASONinterfacesdescribedintheITUstandard.InthelastpartofthischapterTraffic EngineeringonMulti‐Layernetworksisdescribedandinparticularonlinealgorithmsand groomingfortrafficengineeringareintroduced. 2.1 IPoWDM ItiswidelybelievedthatIPprovidestheonlyconvergencelayerintheglobalandubiquitousInternet.IP,alayer3protocol,isdesignedtoaddressnetworklevelinteroperabilityandroutingoverdifferentsubnetswithdifferentlayer2technologies.AbovetheIP layer,thereareagreatvarietyofIP‐basedservicesandappliancesthatarestillevolving. AnexampleisIP‐basedhomenetworkinginterconnectingawiderangeofelectronicdevices.Hence,theinevitabledominanceofIPtrafficmakesapparenttheengineering practicesthatthenetworkinfrastructureshouldbeoptimizedforIP.BelowtheIPlayer, opticalfiberusingWDMisthemostpromisingwirelinetechnology,offeringanenormousnetworkcapacityabletosustainthecontinuousInternetgrowth. WDMtechnologywillbecomemoreattractiveasthepriceofWDMsystemslowers.In addition,WDMopticalnetworksarenolongerjustpoint‐to‐pointpipesprovidingphysicallinkservice,butblendwellwithanynewlevelofnetworkflexibilityrequirements. Thecontrolplaneisresponsiblefortransportingcontrolmessagestoexchangereachabilityandavailabilityinformationandcomputingandsettingupthedataforwarding paths.Thedataplaneisresponsibleforthetransmissionofuserandapplicationtraffic suchaspacketbufferingandforwarding.IPdoesnotseparatethedataplanefromthe controlplane,andthisinturnrequiresQoSmechanismsatrouterstodifferentiatecontrolmessagesfromdatapackets. Chapter2–ASON/GMPLSOverview Chapter1‐Introduction   Page|11  CombiningIPandWDMmeans,inthedataplane,onecanassignWDMopticalnetwork resourcestoforwardIPtrafficefficiently,andinthecontrolplane,onecanconstructa unifiedcontrolplane,presumablyIP‐centric,acrossIPandWDMnetworks.IPoverWDM willalsoaddressalllevelsofinteroperabilityissuesonintraandinter‐WDMopticalnetworksandIPnetworks. ThemotivationbehindIPoverWDMcanbesummarizedasfollows:  WDMopticalnetworkscanaddressthecontinuousgrowthoftheInternet trafficbyexploitingtheexistingfiberinfrastructure.TheuseofWDMtechnologycansignificantlyincreasetheuseofthefiberbandwidth.  MostofthedatatrafficacrossnetworksisIP.Nearlyalltheend‐userdata applicationusesIP.Conventionalvoicetrafficcanalsobepacketizedwith Voice‐over‐IP(VoIP)techniques.  IPoWDMinheritstheflexibilityandtheadaptabilityofferedintheIPcontrolprotocols.  IPoWDMaimstoachievedynamicon‐demandbandwidthallocation(or real‐timeprovisioning)inopticalnetworks.  IPoWDMhopestoaddressWDMoropticalNetworkElements(NE)vendor interoperabilitywiththehelpofIPprotocols.  IPoWDMcanachievedynamicrestorationbyleveragingthedistributed controlmechanismsimplementedinthenetwork.  Fromaservicepointofview,IPoverWDMnetworkscantakeadvantageof theQoSframeworks,models,policies,andmechanismsproposedforand developedintheIPnetwork.  GiventhelessonslearnedfromIPandATMintegration,IPandWDMneed acloserintegrationforefficiencyandflexibility.Forexample,classicalIP overATMisstaticandcomplex,andIPtoATMaddressresolutionismandatorytotranslatebetweenIPaddressesandATMaddresses.  IPoverWDMintegrationwilleventuallytranslateintoanefficientopticalnetwork transportreducingthecostofIPtrafficandincreasingtheutilizationoftheopticalnetwork. Chapter2–ASON/GMPLSOverview Chapter1‐Introduction  Page|12  2.1.1 IPoWDMNetworkArchitechture TherearedifferenttypesofIPoWDMarchitectureswhichdifferintheirdynamiccapabilities,configurationsandtheinteractionsbetweentheIPandtheopticalcontrolplane. ForourworkwedecidedtoreferexclusivelytotheIPoverreconfigurableWDMarchitecture,whichisdescribedbelow,foritsreconfigurationcapabilitiesandnaturalsupport foronlinemulti‐layertrafficengineering. UnderanIPoverreconfigurableWDMarchitecture,therouterinterfacesfromtheIP routersareconnectedtotheclientinterfacesoftheWDMnetwork.Figure2.1illustrates suchanIPoverRe‐configurableWDMnetwork.Inthisarchitecture,theWDMcrossconnectsandadd/dropinterfacesarethemselvesinterconnectedintoaWDMnetwork withmulti‐wavelengthfiberlinks.Therefore,theWDMnetworkitselfhasaphysicaltopologyandalightpathtopology.  Figure2.1‐IPoverreconfigurableWDM TheWDMphysicaltopologyiscomposedofNEsinterconnectedbyfibers;theWDM lightpathtopologyisformedbywavelengthchannelconnections.ReconfigurableWDM isacircuitswitchingtechnologysothewavelengthchannelsetupandtear‐downare conductedinpreservedphases.ItisimportanttopointoutthatIPtrafficswitchingand Chapter2–ASON/GMPLSOverview Chapter1‐Introduction   Page|13  wavelengthswitchingneverworkinthesamelayerinanIPoverreconfigurablenetworks.Thiscanbetranslatedintoanoverlaynetwork. LightpathsintheWDMnetworkaredesignedtoconformtotheIPtopology.ByappropriatelyconfiguringtheWDMcross‐connects,agivenrouterinterfacecanbeconnected toanyotherrouterinterfaceatanyotherrouter.Asaresult,theneighbouringrouterfor agivenrouterinterfaceisconfigurableunderthisarchitecture.Thisinfersthatthe physicalnetworkscansupportanumberofvirtualtopologiessubjecttothesamenetworkresourceconstraints.Lightpathsaresetup,managedandtorndownbytheoptical ControlPlaneusingtheDataControlNetwork(DCN)toexchangemessagesbetweenthe nodesandsetalltheswitchingdevices.AbriefdescriptionoftheControlPlaneandits differentimplementationmodelsisgivenbelow. 2.1.2 ControlPlaneIntegration ControlPlane(CP)isusedintheliteraturetorefertothesetofreal‐timemechanisms andalgorithmsneededforcallorconnectioncontrol.Itdealsmainlywiththesignaling tosetup,superviseandreleasecallsandconnections.Althoughadetaileddecompositionofthecontrolplaneandadescriptionofeachcomponentisnotthepurposeofthis work,wecansafelyassumethatthesignalingprotocolsforconnectionsetup,the routingprotocolssupportingnetworkdiscovery,andtheprotection/recoverymechanismsarethemostsignificantfeaturesofthecontrolplane.Inthisway,itiseasierto trackalloftherecentcontrolplaneadvancesandproposalsabouttheintegrationof multiplelayerssuchasIP,ATM,SDHandWDM. AsignificantelementintheIPandopticalintegrationisthecorrespondingbusiness modelproposedbyeachframework.Thethreebasicbusinessmodels,alongwiththe requirementsandissuesthattheyimpose,aresummarizednext:  Theoverlaymodel.Theroutingalgorithm,topologydistributionandconnection setupsignalingprotocolsoftheIPandtheWDMnetworksareindependent.The overlaymodelistheonethatallowsaneasymigrationfromtheexistingsituation tothedeploymentofONEsforthetransportoftheIPdirectlyoverWDM.However,theimplementationcomplexityofthismodelisburden,anditdoesnot promotetheintegrationofthecontrolplaneoftheIPandtheWDMnet‐ Chapter2–ASON/GMPLSOverview Chapter1‐Introduction  Page|14  works.OnlyaformalrequestispassedfromtheIPclientlayertotheoptical serverlayer.  Thepeermodel.TheIPnetworkhasfulltopologicalviewoftheopticalnetwork andjustasingleroutingalgorithminstanceisrunninginboththeIPandthe WDMnetworks.Thismodelpromotestheintegrationofthecontrolplaneofthe IPandtheWDMnetworksandissimplerinimplementation,butitsoperationis farmorecomplexthantheoverlay.Inaddition,thismodelcanworkonlyincases wherethereisasingleentityoperatingandmanagingtheIPandtheopticaladministrativedomains.  Theaugmentedmodel.Thisisacombinationoftheprevioustwomodels.Each layerhasitsownprotocols;however,routinginformationexchangeisallowed betweenthetwolayers.Thismodelcanbeseenasthegoldenmean,combining theadvantagesofthepeerandoverlaymodelandminimizingtheirdisadvantagesatthesametime. Thedevelopmentofthiswork,takingintoaccountthepreviousconsiderationsandthe availablesimulationtools,hasbeenbasedontheaugmentedmodel,regardingtheprotocols’behaviorbetweenIPlayerandopticallayer. 2.2 ASON TheexistingtransportnetworksprovideSONET/SDHandWDMserviceswhoseconnectionsareprovisionedvianetworkmanagementprotocols.Thisprocessisbothslow (weekstomonths)relativetotheswitchingspeedandcostlytothenetworkproviders. Anautomaticswitchedopticalnetwork(ASON)isanoptical/transportnetworkthathas dynamicconnectioncapability.ItencompassesSONET/SDH,wavelength,andpotentially fiberconnectionservicesinbothOEOandall‐opticalnetworks.Thereareanumberof addedvaluesrelatedtosuchacapability:  Trafficengineeringofopticalchannels:Wherebandwidthassignmentisbasedon actualdemandpatterns.  Meshnetworktopologiesandrestoration:Meshnetworktopologiescaningeneralbeengineeredforbetterutilizationforagivendemandmatrix.Ringtopologiesmightnotbeasefficientduetotheasymmetryoftrafficpatterns.  ManagedbandwidthtocoreIPnetworkconnectivity:Aswitchedopticalnetwork canprovidebandwidthandconnectivitytoanIPnetworkinadynamicmanner comparedtotherelativelystaticserviceavailabletoday. Chapter2–ASON/GMPLSOverview Chapter1‐Introduction   Page|15   Introductionofnewopticalservices:Theavailabilityofswitchedopticalnetworks willfacilitatetheintroductionofnewservicesattheopticallayer.Thoseservices includebandwidthondemandandopticalvirtualprivatenetworks(OVPN). ASON/ASTNarchitecturebelongstoclient‐servermodelsortheoverlaynetworkmodels asdefinedin[2].Thesalientfeatureofthismodelistheexistenceofwell‐recognized boundariesbetweenclientnetworksandproviderdomains.Client/providerseparationis adirectrecognitionoftoday'snetworkingrealitieswhereownershipoflayer3andlayer 1equipmentbelongstodifferentorganizations.Thisclient/providerdomainseparation entailstherunningofdifferentroutinginstancesateachdomain.Thusthereisnoneed tosharetopologyinformationbetweencarriersandtheirclients. Asappliedtoopticalnetworks,theASONnetworkinterfacesareshowninfigure2.2.In thisimageallthecomponentsthatcomposeASONareshown.Thearchitectureshownis intendedtoallowswitchingofopticalnetworkconnectionswithintheopticaltransport networkundercontrolofASONsignalingnetwork.  Figure2.2‐ASON'sNetworkArchitecture TherearethreeseparateplanesinvolvedintheASONnetwork:  Atransportplane(TP)  Acontrolplane(CP)  Amanagementplane(MP) Chapter2–ASON/GMPLSOverview Chapter1‐Introduction  Page|22  Itconsistsofapacket‐switchingfabric,lambda‐switchingfabric,andphotonicMPLS routermanager.InthephotonicMPLSroutermanager,theGMPLScontrollerdistributes itsownIPandphotoniclinkstates,andcollectsthelinkstatesofotherphotonicMPLS routerswiththeroutingprotocolofOpenShortestPathFirst(OSPF)extensions.Based onlink‐stateinformation,PCE(PathComputationElement)findsanappropriatemultilayerroute,andthesignallingprotocoloftheResourceReservationProtocolwithtraffic engineering(RSVP‐TE)extensionsmodulesetsupeachlayer’sLSPs.PCEprovidesthe functionsoftrafficengineering,includingLSProutesandoptimalvirtualnetworktopologyreconfigurationcontrol,andjudgeswhetheranewlightpathshouldbeestablished ornotwhenapacketLSPisrequested. TheanalysisoftheTrafficEngineeringinmulti‐layernetworkssuchasIPoWDM networksrequiresspecialfocusonthePhotonicMPLSrouter,whosearchitecture isdescribedmoreindepthbelow. Figure2.5showsthemodelofaPhotonicMPLSrouter,basedonthearchitectureabovementioned.TheIPpacketandlambdaswitchingfabricsareconnectedbyinternalPSC ports.  Figure2.5‐PhotonicMPLSRouterArchitecture Chapter2–ASON/GMPLSOverview Chapter1‐Introduction   Page|23  Theabovearchitectureallowsanodetohaveeitherorbothofthefollowingfunctionalities:  Source/destinationpointorswitchingpointofanOLSP.Letussupposethatthe nodeisaswitchingpointofanLSP.Thenodereceivesthetrafficfromaninput OLSP,thereforethetrafficbeinginopticalform.Thelightbeamisconvertedinto electronicformatandgiventotheIP/MPLSroutertoexecutethelabelswapping operation.Thepacketsarethenreconvertedintoopticalformatandplacedonto theoutputOLSP.  SwitchingpointofanOLSP.Inthiscase,thetrafficbeingcarriedoveranoptical signalwithacertainwavelengthentersthenodefromaninputfiber.Thenode bypassestheIP/MPLSrouterandperformsthelabelswappinglikeoperations onlyintotheopticaldomain.Moreprecisely,accordingtothedecisionpreviously takenbythecontrolprotocols,thesignalistranslatedtoanotherwavelength andplacedontoanoutputfiber. WhentwoIP/MPLSroutersareconnectedthroughanOLSP,theycanbevirtuallyconsideredadjacent,nomatterhowmanyopticalfiberstheOLSPspans. MTEhasamoresignificantimpactwhentheoperatorisowneroftheintegratedmodel describedinfigure2.5,sincetheroutingalgorithmcantakeintoconsiderationbothlayers’stateinaccommodatingtrafficandconsequentlyimprovingresourceoptimization. Figure2.6,showstheframeworkofadynamicmultilayerrouting.Ifanewlightpath mustbesetuptosupportpacketLSProuting,alightpathsetuprequestisinvokedand lightpathroutingisperformed.ThelightpathroutingresultisreturnedtothepacketLSP routingprocedureforconfirmationofitsacceptability.Thisprocessisiterateduntilthe desiredresultisobtained.Ifsuccessful,themultilayerroutingprocedurenotifiesitsacceptanceofthepacketLSPsetuprequest. Chapter2–ASON/GMPLSOverview Chapter1‐Introduction  Page|24   Figure2.6‐FrameworkfordynamicMulti‐Layerrouting ThephotonicMPLSrouterusestheRSVP‐TEsignallingprotocol(resourcereservation protocolwithtrafficengineering)extensionstoestablishpacketLSPsandlightpathsin multi‐layernetworks.Anupper‐layerLSPsetuprequestcantriggerlower‐layerLSPsetup ifneeded.Ifthereisnolower‐layerLSPbetweenadjacentnodesalower‐layerLSPisset upbeforetheupper‐layerLSP. 2.4.2 OnLineTrafficEngineering Wavelengthpaths,calledOpticalLabelSwitchedPaths(OLSP)orlightpathsaresetup andreleasedinadistributedmannerbasedonGMPLSprotocols.Sincethephotonic MPLSrouterhasbothtypesofswitchingcapabilitiesandcanhandleGMPLS,itenables ustocreatetheoptimumnetworkconfigurationwithregardtoIPandopticalnetwork resources.Multilayeron‐linetrafficengineering,whichyieldsthedynamiccooperation ofIP/MPLSandopticallayerisrequiredtoprovideIPservicecosteffectively. ConsiderthecaseinwhichsourceanddestinationIProutersrequestpacket‐LSPswith specifiedbandwidth.Packet‐LSPsareroutedontheopticalnetworkasOptical‐LSPs.If thespecifiedpacket‐LSPbandwidthismuchsmallerthantheOLSPbandwidth,theonehopOLSPbetweenthesourceanddestinationIProutersisnotfullyutilized.Inorderto betterutilizenetworkresources,low‐speedpacketLSPsshouldbeefficientlymergedat sometransitnodesintohigh‐speedOLSP.Thisagglomerationiscalledtrafficgrooming. Chapter2–ASON/GMPLSOverview Chapter1‐Introduction   Page|25  Inthiswork,ithasbeenconsideredanon‐lineapproachinwhichconnectionrequests withdifferentbandwidthsarriverandomly.Inthiswaytherouteshavetoestablish lightpathinareal‐timemannerwithinthelimitsofthenetworkresources.Sinceisdifficulttopredicttrafficdemandsprecisely,theon‐lineapproachisrealisticandusefulin utilizingnetworkresourcesmorefullyandmaximizingrevenuefromthegivenresources. InthischapterithasbeenintroducedtheIPoWDMarchitectureandtheinternetworkingmodelonthebaseofwhichthisworkhasbeendeveloped.Later,itisshown theASONofficialarchitectureandtheGMPLSsuiteofprotocols.Multi‐layertrafficengineeringisalsoexplainedandonlinetrafficpoliciestosetupconnectionsareintroduced.  Chapter2–ASON/GMPLSOverview Chapter1‐Introduction  Page|26   Chapter2–ASON/GMPLSOverview Chapter1‐Introduction  Page|27       ServiceDifferentiation       Chapter3–ServiceDifferentiation Chapter1‐Introduction  Page|28  IPnetworkstodaycarrydifferenttypesoftrafficwithdifferentperformancerequirements.Forinstance,manyISP'suseIPnetworkstodeliverbundledservicesthatinclude performance‐sensitiveapplications,suchasvoiceandvideo,aswellasthebesteffort dataservices..InordertoprovideQoSinsuchmulti‐serviceenvironment,servicedifferentiationisnecessary. Servicedifferentiationiswidelyavailableinmodernrouters,e.g.,intheformofschedulingandbuffermanagementmechanismsthatresolvestheresourcecontention.InIP networks,thisislargelycontrolledbyroutingthatdetermineshownetworkresources (linkbandwidth)areassignedtocarrydifferenttrafficflows,inordertoensurethebest performanceforhigh‐prioritytraffic,whilestillmaintainingreasonableperformancefor low‐prioritytraffic. Inamulti‐servicenetwork,thedifferentiationoftheofferedQualityofService(QoS)is highlydesirablebecauseitallowstheoperatortoselladdedvalueserviceswhichincreasetheReturnonInvestment(ROI). 3.1 ServiceDifferentiation:theevolutiontowards modernscenarios OneofthemostdeployedtechnologiesoverIPnetworksforQoSistheDifferentiated Service(DiffServ).DiffServoperatesontheprincipleoftrafficclassification,whereeach datapacketisplacedintoalimitednumberoftrafficclasses.Eachrouteronthenetworkisconfiguredtodifferentiatetrafficbasedonitsclass.Eachtrafficclasscanbemanageddifferently,ensuringpreferentialtreatmentforhigher‐prioritytrafficonthenetwork.DiffServ‐awareroutersimplementPer‐HopBehaviors(PHBs),whichdefinethe packetforwardingpropertiesassociatedwithaclassoftraffic.DifferentPHBsmaybe definedtoofferguaranteesintermsof,forexample,low‐loss,low‐latencyforwardingor best‐effortforwardingproperties,jitter,etc.Allthetrafficflowingthrougharouterthat belongstothesameclassisreferredtoasaBehaviorAggregate(BA).  InrecentyearsDiffServhasbeenalsointegratedwiththeMultiProtocolLabelSwitching (MPLS)technology.TheMPLSismostlyusedtoimprovetheIPlayerTrafficEngineering Chapter3–ServiceDifferentiation Chapter1‐Introduction  Page|29  creatingconnectionorientedLabelSwitchingPaths(LSPs).ByIntegratingDiffServover MPLSwecansatisfythetwomainrequirementsofQoS:  EndtoEndnetworkresourcesallocation(MPLS)  Differentpoliciesfortraffictreatments,intermsofdelay,loss,jitteretc., dependingonitsClassofService(DiffServ) ThewaytowardstheMulti‐LayerTrafficEngineering AsalreadyintroducedinChapter2,theopticaltechnologiesonwhichoperatorsarenowadayslargelyinvestingpermitstobypasstheelectronicpacketswitchingatintermediatenodesandimprovethecommunicationperformances.Hence,thetraditionalTrafficEngineeringschemesdeployedcombiningDiffServandMPLStechnologiesneedtobe extendedandintegratedwiththeASON/GMPLSlayer.ThisnewscenarioallowstheoperatortoaccommodateserviceseitherinIP/MPLSdomain,orintheopticaldomain,applyingQoStechniquesoveramulti‐layerenvironment.  BothoperatorandfinalusercantakeadvantagefromintegratedMulti‐layerTrafficEngineering.Theformerachievesabetteroptimizationofnetworkresources,thelatter gainbenefitsintermsofperceptQoS. Chapteroverview Thischapterpresentsthebasicconceptsrepresentingthestartingpointofthiswork.  First,twoofthemostusedMulti‐LayerTEroutingpolicieswillbeintroduced,together withtheiradvantagesanddrawbacks.Then,theexplainedpolicieswillbecombinedtogetherinordertoobtainthreedifferentServiceDifferentiationschemes,asdefinedin [14]. TheServiceDifferentiationalgorithmsaremainlybasedonthemulti‐topologyrouting (MTRouting)approach,wheredifferentroutesarecomputedfordifferentservice classes,allowinggreaterflexibilityinexploitingavailablenetworkresourcestomeet theirservicegoals. TheMTRoutinghasbeenrecentlyproposed(June2007)in[5],thus:  ThreeServiceDifferentiationschemesexploitingthisrecentconcepthave beendefined[14] Chapter3–ServiceDifferentiation Chapter1‐Introduction  Page|30   WecanimplementthemoveranIP/MPLSoverASON/GMPLSnetworksimulatorandsimulatetheirbehavior  WecanevaluatetheircontributiontotheServiceDifferentiationsupplied bythenetwork. Thesepointsgrouptogethertheideasandtheconceptsfromwhichthisworkwillbedeveloped. 3.2 MultiLayerTrafficEngineeringPolicies(MTE) AlltheOLSPscreatedoutofapoolofphysicalresourcesintheopticalnetworkcanbe consideredasavirtualtopologydecoupledfromthephysicaltopology.ThisallowsoperatorstoconsolidatehighcapacityWDMtransportwithdigitalbandwidthmanagement toenablereconfigurableservicemappingandMTE. Fromtheoperator’sperspective,integratedMTEachievesbetteroptimizedresourceutilizationandincreasesthenetworkflexibilityinaccommodatingnewservices.NewservicescanberoutedeitherontheexistingvirtualtopologyoronnewlyestablishedOLSPs. ThishasalsoimpactontheQoSexperiencedfromtheuser’spointofview. Thetwobasicmulti‐layerroutingpoliciesaredescribedinthe2followingsub‐sections. 3.2.1 VirtualTopologyFirst(VTF)Policy AsystemimplementingtheVT‐Fpolicyfirstattemptstoaggregateanewservicerequest overtheexistingvirtualtopology. ThestepsofVT‐FaresummarizedinFigure3.1. Figure3.1‐VTFFlowChart Step1. Checkifthereisanyseriesofexistinglightpathswithavailableresources thatconnectsourceanddestinationnodesusingoneormorehops(pref‐ Chapter3–ServiceDifferentiation Chapter1‐Introduction  Page|31  erenceisgiventotheshortestpath)Iffound,gotostep3.Otherwise,go tostep2. Step2. Checkifanewdirectlightpathcanbesetupbetweenthesourceanddestinationnodes.Ifyes,gotostep3.Otherwise,gotostep4. Step3. Accepttheconnectionrequestandstartitscreationwithprotocolmessages’exchange. Step4. Rejecttheconnectionrequest. 3.2.2 PhysicalTopologyFirst(PTF)Policy AsystemimplementingthePTFpolicy,firstattemptstoestablishanewdirectOLSPbetweensourceanddestinationnodes. ThestepsofPT‐FaresummarizedinFigure3.2. Figure3.2‐PTFFlowChart Step1. Checkifanewdirectlightpathcanbesetupbetweenthesourceanddestinationnodes.Ifyes,gotostep3.Otherwise,gotostep2. Step2. Checkifthereisanyseriesofexistinglightpathswithavailableresources thatconnectsourceanddestinationnodesusingoneormorehops(preferenceisgiventotheshortestpath)Iffound,gotostep3.Otherwise,go tostep4. Step3. Accepttheconnectionrequestandstartitscreationwithprotocolmessages’exchange. Step4. Rejecttheconnectionrequest. ThemaindifferencebetweenPTFandVTFcanbesummarizedintothesetwomain points:  ResourceOptimization.TheVTFpolicyachieveshighcapacityutilizationwhile savingphysicalresourcesasaconsequenceofalowernumberofOLSPestab‐ Chapter3–ServiceDifferentiation Chapter1‐Introduction  Page|38  tualtopologydifferentiationapproachasVT‐HardDiffbutallowsthevirtualtopologiesto sharesomeoftheOLSPssetup. InChapter3weintroducedthewholesetofconceptsgivingrisetothedevelopmentof thisthesis.Theycanbesummarizedasfollow:  WehavethreeServiceDifferentiationschemesalreadydefinedin[14].  WewanttoextendwiththeseschemesapreviousdevelopedIP/MPLSover ASON/GMPLSnetworksimulator  Wewanttoevaluateandcomparethecontributetheseschemesgivetothe overallServiceDifferentiationsuppliedbythenetwork Howcanweintegratethiscapabilitywithinthesimulatorenvironment?Isthereany availableresearchontheServiceDifferentiationprotocolsimplications?Isitreasonable toimplementnewprotocolsfromscratchorextendingsomeoftheexistentsimulator modulesispossible? Thedevelopmentoftheconceptslistedaboveimpliessomepreliminaryresearch:next chaptergivesustheanswertothesequestions.  Chapter3–ServiceDifferentiation Chapter1‐Introduction  Page|39        GMPLSProtocolsfor ServiceDifferentiation  Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|40  InthischapterwearegoingtoanalyzethemainprotocolsadoptedtoaddtheService Differentiationcapabilitytothesimulator.Someofthemarenotavailableandneedto beintroducedfromscratch;someothersarealreadyavailablewithintheINETframeworkandneedtobeextendedtofulfilltheGMPLSrequirements.  Chapter4givessometheoreticalbasicsusefultobetterunderstandhowtheprotocols involvedinServiceDifferentiationwillbeimplemented. ThewholenetworkhastosharethesameinformationaboutTEpropertiesandvirtual Multi‐Topologieseachlinkbelongsto.Inotherwords,wewanteachnodetospreadthe informationonthenetworklinksandtokeepitsynchronizedwithalltheothernodes. UsingaLinkStateProtocolsuchasOSPFcanbeconsideredasthenaturalwaytoface thisproblem.Moreover,in[6]theOSPFwithitsTrafficEngineeringextensions(OSPF‐TE) isproposedaslinkstateprotocolwithintheGMPLSframework. ThefirstpartofthischapterpresentsabriefoverviewovertheOpenShortestPathFirst protocol(OSPF),focusingonlyonproceduresandcharacteristicswhicharegoingtobe usefulforabetterunderstandingoverthedevelopmentofthiswork.Thesecondpartof thechapterdealswiththeTrafficEngineeringandMulti‐TopologyRoutingextensionsto OSPF,neededinordertocomplywiththeGMPLSframeworkandtoimplementtheTrafficDifferentiationcapability.MoredetailedinformationabouttheOSPFanditsprotocolscanbefoundon[17].Eachprotocolwillbeanalyzedmoreindepthundertheimplementationperspectivelaterinchapter6. 4.1 OSPFOverview OSPFisalink‐state(LS)routingprotocol.Alinkstateprotocolusesanalgorithminwhich alltheentirenetworktopologyandthestateofthelinksareknownbyeachrouterand sharedwiththeothersbymeansofmessageflooding.Eachnodethenindependently calculatesthebestnexthopforeverypossibledestinationinthenetwork.(Itdoesthis usingonlyitslocalcopyofthenetworkmap,andwithoutcommunicatinginanyother waywithanyothernode.)Thecollectionofbestnexthopsformstheroutingtablefor thenode.Thiscontrastswithdistance‐vectorroutingprotocols,whichworkbyhaving eachnodesharingitsroutingtablewithitsneighbors.Inalink‐stateprotocol,theonly Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|41  informationpassedbetweenthenodesisinformationusedtoconstructtheconnectivity maps. EachrouterrunningOSPFmaintainsadatabasedescribingthetopology,calledLink‐ Statedatabase(LS‐database).Thelocalstateisthendistributedthroughoutthenetwork bymeansofflooding.Tworoutersthathaveinterfacestoacommonnetworkarecalled neighboringrouters.Neighboringroutersformrelationshipsbetweenthem(calledadjacencies)inordertoexchangeroutinginformation. Eachrouterspreadtheinformationaboutthestateofitslinksbyfloodingthesocalled Link‐StateAdvertisementoverthewholenetwork.DuringanOSPFprocesseveryrouter floodsLSA’sandusestheLSAsreceivedfromotherrouterstobuilditsLS‐database.An exampleofthisprocesscanbeseenbelow:ontheleftwecanseeasimpletopology;on therighttheLS‐DatabasebuiltbyrouterAisrepresentedasmatrix.        Whenthedatabaseisdone,itbuildsatreeofshortestpathtootherrouters,withitself astherootofthetree,usingtheinformationtakenfromthedatabase.TheShortestPath Treeobtainedgeneratestheroutingtableusedtoforwardpacketstoanydestination.Whenthetopologychangesinsomeplace,theroutersaffectedbythischangeflood thenewtopologyinformationusingLSAs.Theseadvertisementsarereceivedbyother routersandtheyrecalculatetheirownLS‐databasesandfloodnewLSAstotheirneighbors. Figure4.1‐AnexampleofLS‐DatabasefornodeA Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|42  4.1.1 Areas ThesizeoftheLS‐Database,theroutingalgorithmcomplexityandtheamountofexchangedmessagesincreaseforwidetopologies,leadingtoscalabilityproblems.Hierarchicalroutingistheanswertothisproblem:thenetworkispartitionedin“independent sectors”(Areas)connectedamongthembya“backbone”(BackboneArea). ThebackboneAreaisthespecialOSPFArea0.ItcontainsallABRsandisresponsiblefor distributingroutinginformationbetweennon‐backboneareas. Whenroutingapacketbetweentwonon‐backboneareasthebackboneisused.The paththatthepacketwilltravelcanbebrokenupintothreecontiguouspieces:anintraareapathfromthesourcetoanABR,abackbonepathbetweenthesourceanddestinationareas,andanotherintra‐areapathtothedestination 4.1.2 TypeofRouter OSPFrecognizesthreetypesofrouters: InternalRouter.Arouterwithalldirectlyconnectednetworksbelongingtothesame area. AreaBorderRouter(ABR).Arouterthatattachestomultipleareas.Theseroutersrun multiplecopiesofthebasicalgorithm,onecopyforeachattachedarea.BackboneRouters:Arouterthathasaninterfacetothebackbonearea. ASBoundaryRouter(ASBR).Arouterthatexchangesroutinginformationwithrouters belongingtootherAutonomousSystems(AS).Anetworkrunningitsownautonomous routingprotocoliscalledAutonomousSystem.OSPFspecificationprovidessupportto themanagementofmulti‐ASsystems. AnLS‐databaseisbuiltforeachdifferentareatherouterbelongsto,usingfloodinginformationobtainedbylisteningtootherrouters.Thisdatabasewillbeexactlythesame forallinternalroutersbelongingtothesamearea.Eachareaborderrouterwillhaveone ofthisdatabasesforeachareatowhichtherouterbelongsto. Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|43  4.1.3 OSPFFunctionalities  Aspreviouslysaid,aseparatecopyofOSPF'sroutingalgorithmrunsineacharea.Routershavinginterfacestomultipleareasrunmultiplecopiesofthealgorithm. Theroutingcanbeexecutedintwodifferentways: Intra‐arearouting:Whenarouterstarts,itfirstwaitsforindicationfromthelower‐leve l  p rotocolsthatitsinterfacesarefunctional.Beingtheinterfacesfunctional,therouter starsttobuildadjacencieswithitsneighbors(theHelloprotocol,describedlaterinsection4.1.5). Router'sadjacenciesarereflectedinitsLink‐StateAdvertisements(LSAs).Arouterperiodicallyadvertisesitslink‐state,floodingLSAsthroughoutthearea.Link‐stateisalso advertisedwhenarouter'sstatechanges.Thereby,relationshipbetweenadjacencies andlink‐stateallowstheprotocoltodetectdeadroutersinatimelyfashion. Inter‐arearouting:Inordertobeabletoroutetodestinationsoutsideofthearea,the areaborderrouters(ABRs)injectadditionalroutinginformationintothearea.ThisinformationisadistillationoftherestoftheAS'stopology.EachABRisconnectedtothe backbone;eachofthemsummarizesthetopologyofitsattachednon‐backboneareas fortransmissiononthebackboneandhencetoallotherABRs.EachABRthenhasa completetopologicalinformationconcerningthebackboneandtheareasummaries fromeachoftheotherABRs.Fromthisinformationtheroutercalculatespathstoallinter‐areadestinations.Therouterthenadvertisesthesepathsintoitsattachedareas, enablingtheinternalrouterstopickthebestexitroutewhenforwardingtointer‐area destinations. Thisworkdoesnotconsidermulti‐areanetworks;therebytheattentionwillbefocused onlytotheIntraAreaRoutingprocedures.However,moreinformationisavailablein [19],whereInter‐arearoutingproceduresaredescribedindepth. 4.1.4 OSPFTypeofPackets AllOSPFpacketsshareacommon24byteprotocolheader.Thisheadercontainsallthe informationnecessarytodeterminewhetherthepacketshouldbeacceptedforfurther Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|44  processing. ThenextfigureshowsthefieldscontainedintheOSPFheader:  Figure4.2‐OSPFPacketHeader TheOSPFpackettypesare: TypePacketnameProtocolfunction 1HelloDiscover/maintainneighbors 2DatabaseDescriptionSummarizedatabasecontents 3LinkStateRequestDatabasedownload 4LinkStateUpdateDatabaseupdate 5LinkStateAckFloodingacknowledgment  Table4.1‐OSPFPackettypes  OSPFusesHellopacketstodiscoverandmaintainneighborrelationships.  DatabaseDescription(DDP)andLinkStateRequestpacketsareusedintheformingof adjacencies. OSPF'sreliableupdatemechanismisimplementedbyLinkStateUpdateandLinkState Ackpackets.EachLinkStateUpdatepacketcarriesasetofnewLinkStateAdvertisements(LSAs)onehopfurtherawayfromtheirpointoforigination.  ThedifferenttypesofOSPFLSAsarelistedbelow: LSATypeLSAnameLSAdescription 1RouterLSAsOriginatedbyallrouters.ThisLSAdescribesthe collectedstatesoftherouter’sinterfacestoan area.Floodedthroughoutasingleareaonly. Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|45                 Table4.2‐OSPFLSATypes  OSPFroutingpackets(exceptHello)aresentonlyoveradjacencies.TheIPsourceaddressisoneendofarouteradjacencyandtheIPdestinationaddresscanbeeitherthe otherendoftheadjacencyoranIPmulticastaddress. 4.1.5 TheOSPFProtocols TheHelloProtocol OSPFcreatesadjacenciesbetweenneighboringroutersforthepurposeofexchanging routinginformation. TheHelloProtocolisresponsibleforestablishingandmaintainingneighborrelationships. Italsoensuresthatcommunicationbetweenneighborsisbidirectional.EachrouteradvertisesitselfbyperiodicallymulticastingHellopackets.Thisallowsneighborstobediscovereddynamically:bidirectionalcommunicationisindicatedwhentherouterseesitselflistedintheneighbor'sHellopacket.Figure4.2’ssequencediagramsummarizesthe HelloProtocolprocedure. Ifanadjacencyisformed,thefirststepistosynchronizetheneighbor'sLS‐databases,by theDatabaseExchangeProtocol. TheDatabaseExchangeProtocol Inalink‐stateroutingprotocol,itisveryimportantforallrouter'sLS‐databasestostay 2NetworkLSAsOriginatedforbroadcastnetworksbytheDesignatedRouter.ThisLSAcontainsthelistof routersconnectedtothenetwork.Flooded throughoutasingleareaonly. 3,4SummaryLSAsOriginatedbyareaborderrouters,andflooded throughouttheLSA’sassociatedarea.Each summary‐LSAdescribesaroutetoadestination outsidethearea,yetstillinsidetheAS.Type3 summary‐LSAsdescriberouterstonetworks. Type4summary‐LSAsdescriberoutestoAS boundaryrouters. 5ASExternalLSAsOriginatedbyASboundaryrouters,andflooded throughouttheAS.EachAS‐external‐LSAdescribesaroutetoadestinationinanotherAutonomousSystem.DefaultroutesfortheAS canalsobedescribedbyAS‐external‐LSAs. Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|46  synchronized.EachrouterdescribesitsdatabasebysendingasequenceofDatabaseDescription(DD)packetstoitsneighbors.EachDDpacketdescribesasetofLSAsbelonging totherouter'sdatabase.WhentheneighborseesanLSAthatismorerecentthanits owndatabasecopy,itmakesanotethatthisnewerLSAshouldberequested.ThissendingandreceivingofDDpacketsiscalledthe"DatabaseExchangeProcess",whoseprocedureisshowedbyfigure4.2.Duringthisprocessthetworoutersformamaster/slave relationship:EachDDpacketsentbythemasterisackedbytheslave,echoingthesequencenumber.EachDDpacketwiththeM‐bitsetindicatesthattherearemorepacketstofollow.TheDatabaseExchangeProcessisoverwhenarouterhasreceivedand sentaDDpacketwiththeM‐bitoff.DuringandaftertheDatabaseExchangeProcess, eachrouterhasalistofthoseLSAsforwhichtheneighborhasmoreup‐to‐dateinstances.TheseLSAsarerequestedinLinkStateRequest(LSR)packets.WhentheDatabaseExchangeProcesshasbeencompletedandallLSRshavebeensatisfied,thedatabasesaresynchronizedandtheroutersaremarkedasfullyadjacent.Atthistimetheadjacencyisfully‐functionalandisadvertisedinthetworouter'srouter‐LSAs.            Figure4.3‐Hello protocolandDBExchangeprotocol sequencediagram R1R2 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) LSRequest LSUpdate LSRequest LSUpdate AdjacencyFullyestablished Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|47  OverthelastseveralyearstheOSPFroutingprotocolhasbeenwidelydeployed throughouttheInternet.However,theoriginalversionoftheOSPFneedstobeextendedinordertocomplywiththeevolutionofnetworkingtechnology.TrafficEngineeringandMulti‐Topologyroutingareonlysomeexamplesofthecapabilitiestodevelop. DuetotheOSPFfixedpacketformat,itisnotsoeasytointroduceanybackwardcompatibleextensions.ThisisthemainreasonwhyitisextremelyimportanttheOpaqueLSAOption,describedinthefollowingsection. 4.2 TheOpaqueLSAOption ThewholenetworkhastosharethesameinformationaboutTElinkproperties.Inother words,wewanteachnodetospreadtheinformationonthenetworklinksandtokeepit synchronizedwithalltheothernodes.ThisisexactlywhattheOSPFprotocoldoes,as explainedinlastsection. HowcanwerepresentandfloodTEinformationthroughoutthenetwork?RFC3630 (September2003)specifiesTrafficEnginneringextensionstotheOSPFprotocol.Moreover,in[6],theOSPFwithitsTrafficEngineeringextensions(OSPF‐TE)isproposedaslink stateprotocolwithintheGMPLSframework. DuetothefixednatureoftheOSPFprotocol,itisnotpossibletomodifythestructureof theoriginalspecification[10].ThissectiondescribesenhancementstotheOSPFprotocol tosupportanewclassoflink‐stateadvertisements(LSA)calledOpaqueLSAs. OpaqueLSAsprovideageneralizedmechanismtoallowforthefutureextensibilityof OSPF.TheinformationcontainedinOpaqueLSAsmaybeuseddirectlybyOSPForindirectlybysomeapplicationwishingtodistributeinformationthroughouttheOSPFdomains. 4.2.1 TheOpaqueLSA OpaqueLSAsconsistofastandardLSAheaderfollowedbya32‐bitalignedapplicationspecificinformationfield. Chapter4–GMPLSProtocolsimplications Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|54  andwassubsequentlydeprecated.TheideaistoreusetheTOS‐basedmetricfields, whichwillberedefinedandusedtoadvertisedifferenttopologies. 4.4.1 MultiTopologyRoutingvs.TOSBasedRouting Multi‐Topology(MT)routingofferssomeparticularcapabilitieswhichmakeitdifferent fromthetraditionalTOS‐basedrouting:  WithTOSrouting,trafficthatisunreachableintheroutingtableassociatedwith thecorrespondingTOSwillreverttothedefaultroutingtable,whichincludesthe wholenetworkwithouttakingintoaccountanyTOSconstraint.WithMulti‐ Topologyrouting,thisisoptional.   WithTOSrouting,individuallinksorprefixescouldnotbeexcludedfromatopology:alllinksorprefixeswereeitheradvertisedexplicitlyordefaultedtotheTOS 0metric.WithMTrouting,linksorprefixesthatarenotadvertisedforaspecific topologydonotexistinthattopology.  4.4.2 ProtocolExtensionsforMultiTopology TheOSPFfixedpacketformatrequirestheredefinitionoftheTOS‐basedmetricfields containedintotheLinkStateAdvertisementpackets.Inthissection,wearegoingtoexplainhowtoredefinetheTOSfieldsandtheirnewfunctioninimplementingtheMulti‐ Topologycapability.  Figure4.8‐RouterLSApacketformat Eachlinkisdescribedbyasetoffieldsliketheonerepresentedinfigure4.8. Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|55  Eachlinkistypedaccordingtothekindofattachednetwork.Itisalsolabeledwithits LinkID.ThisLinkIDgivesanametotheentitythatisontheotherendofthelink.Inaddition,theLinkDatafieldisspecifiedforeachlink.Thisfieldgives32bitsofextrainformationforthelink.The#TOSfielddefinesthenumberofdifferentTypeOfServiceconcerningaparticularlink.Finally,theTOSfieldsdescribethemetriccostofthelinkfor eachcorrespondingTypeOfService.IfalinkisnotpartofaparticularTOS,thecorrespondinglineisomittedfromthelist. Figure4.8showstheRouterLSApacket’sfieldstoberedefined:  TheTOSfieldisredefinedasMT‐IDinthepayloadofRouter,Summary,and Type‐5andType‐7AS‐external‐LSAs(describedinsection4.1). EachMThasitsownMT‐IDmetricfield.WhenalinkisnotpartofagivenMT, thecorrespondingMT‐IDmetricisexcludedfromtheLSA.   TheTOSmetricfieldisredefinedasMT‐IDmetricandreusedtoadvertisetopologyspecificmetricforlinksandprefixesbelongingtothattopology.MT‐IDmetricsinLSAsshouldbeinascendingorderofMT‐ID.IfanMT‐IDexistsinanLSA orrouterlinkmultipletimes,themetricinthefirstMT‐IDinstanceMUSTbe used.   WhenarouterestablishesaFULLadjacencyoveralinkthatbelongstoasetof MTs,itadvertisesthecorrespondingcostforeachMT‐ID.   Bydefault,alllinksareincludedinthedefaulttopologyandalladvertisedprefixesbelongingtothedefaulttopologywillusetheTOS0metricasin[10]. TheNetwork‐LSAdoesnotcontainanyMTinformationsincetheDesignatedRouter(DR) issharedbyallMTs.Hence,thereisnochangetotheNetwork‐LSA. 4.4.3 ShortestPathCalculation ShortestPathcalculationfollowsalmostthesamesetofproceduresalreadydescribedin section16.1of[19],withsomedifferencesfromtheoriginalOSPFdefinition:  DuringtheShortestPathCalculation(SPF)foragivenMT‐ID,onlythelinksand metricsforthatMT‐IDareconsidered. Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|56   ByconsideringMT‐IDmetricsintheLSAs,OSPFcomputesmultipletopologies andfindspathstoIPprefixesforeachMTindependently.AseparateSPFwillbe computedforeachMT‐IDtofindindependentpathstoIPprefixes. Hereagain,theMTinformationneedstobestoredbyeachrouterwithintheTEDatabase.TheMTfieldisinvolvedintheServiceDifferentiationschemespresentedinChapter3,asitrepresentsaconstrainttotheShortestPathcalculationfromsourcetodestination.FigurebelowshowsanexampleofTEDatabase,wherewecanfindtheMTfield togetherwiththeotherTEfieldsdefinedinlastsections.  Figure4.9‐AnexampleofTEDatabase,withMTfield 4.4.4 DefaultTopologyLinkExclusionCapability Bydefault,theMulti‐Topologiesimplythatalltheroutersparticipateinthedefaulttopology.However,itcanbeusefultoexcludesomelinksfromthedefaulttopologyand reservethemforsomespecificclassesoftraffic. Anewparameterisdefined:theDefaultExclusionCapabilityparameter.Thisconfigurable parameterensuresthatallroutersinanareahavethiscapabilityenabledbeforethedefaulttopologycanbedisabledonarouterlinkintheareawithoutcausingbackwardcompatibilityproblems. DefaultExclusionCapabilityparameterisrepresentedredefiningtheunusedT‐bitasthe MT‐bitintheoptionfield.    DNODCEA N/P MC MT E Figure4.10‐TheOSPFPacketoptionsfield Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|57  Figure4.10representstheLSAoptionsfieldandtheMT‐bit.IfDefaultExclusionCapabilityisenabled,thebitissetinHellopacketsandinDatabaseDescriptionpackets,inorder toensurethataMulti‐Topologylink‐excludingcapablerouterwillonlyformanadjacencywithanothersimilarlyconfiguredrouter. IfDefaultExclusionCapabilityisdisabled:  TheMT‐bitmustbeclearedinHellopacketsandDatabaseDescriptionpackets.   Ifalinkparticipatesinanon‐defaulttopology,itisautomaticallyincludedinthe defaulttopologytosupportbackwardcompatibilitybetweenMTandnon‐MT routers.  IfDefaultExclusionCapabilityisenabled:  TheMT‐bitMUSTbesetinHellopacketsandSHOULDbesetinDatabaseDescriptionpackets.   TherouterwillonlyacceptaHellopacketiftheMT‐bitisset WhenDefaultExclusionCapabilityissettoenabled,arouterissaidtobeoperatinginDefaultExclusionCapabilitymode. ItisoutsideofthescopeofthisworktospecifytheinteroperabilitybetweenMT‐capable routersandnon‐MT‐capablerouters,whichisfullyexplainedinsection5and6of[5]. ThischapterintroducedoneofthemainprotocolsimpliedinServiceDifferentiation whichisOSPF,togetherwiththemostimportantprotocolsinvolvedintheOSPFprocess. Then,someextensionhavebeendefined,followingtheRFCsspecificationsoverOpaque LSAs,TrafficEngineeringandMultiTopologyrouting[10][4][5].  Wecouldsaythat,aschapter3introducedtheServiceDifferentiationbasics,sothis chapterintroducedthetheoreticalbasicstostartourworkofimplementingtheService Differentiationcapability.  Nextchapteranalyzesthelaststepbeforepassingtotheimplementationstage,thesimulationenvironmentsusedinthisworkthatrequiressomepreliminarystudybefore startingwiththeimplementation.  Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|58   Chapter4–GMPLSProtocolsforServiceDifferentiation Chapter1‐Introduction  Page|59       WorkingEnvironment: ASON/GMPLSSimulationTool  Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|60  Thebasicideaofthisworkcanbeconsideredasthethirdstepofaprojectwhichisbeing carriedoninrecentyearsbythedepartmentofElectronicsandInformaticsattheVrije UniversiteitBrussel. First,anIPoverWDMnetworksimulatorwasdeveloped.Then,the simulationtoolwasenhancedtodeveloparealisticIP/MPLSoverASON/GMPLSsystem. OurcontributiontothisprocessconsistsonaddingtheServiceDifferentiationcapability tothesimulator.Thisimpliestheintegrationofarealisticlinkstateprotocol(OSPFand itsTEextension)andtheimplementationoftheMulti‐Topologycapability.  TheServiceDifferentiationschemesdescribedinChapter3canbefinallyimplemented andevaluatedaccordingonthesimulationsresults. Thischaptergivesanoverviewofthetoolsusedtoimplementtheservicedifferentiation inIP/MPLSoverASON/GMPLSnetwork.Inparagraph5.1theOMNeT++simulationenvironmentisbedescribed.Inparagraph5.2weshowtheINETFrameworkforOMNeT++. Chapter5.3givesadetaileddescriptionofthesimulationpackageusedasstartingpoint forthesimulationofthiswork. 5.1 OMNet++ OMNeT++isanobject‐orientedmodulardiscreteeventnetworksimulator.Thesimulatorcanbeusedfor:  trafficmodelingoftelecommunicationnetworks  protocolmodeling  modelingqueuingnetworks  modelingmultiprocessorsandotherdistributedhardwaresystems  validatinghardwarearchitectures  evaluatingperformanceaspectsofcomplexsoftwaresystems  modelinganyothersystemwherethediscreteeventapproachissuitable OMNESTisthecommerciallysupportedversionofOMNeT++.OMNeT++isonlyfreefor academicandnon‐profituse.ForcommercialpurposesoneneedstoobtainOMNESTlicensesfromOmnestGlobal,Inc[22]. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|61  5.1.1 ModellingConcepts OMNeT++providesefficienttoolsfortheusertodescribethestructureoftheactualsystem.Someofthemainfeaturesare[22]:  hierarchicallynestedmodules  modulesareinstancesofmoduletypes  modulescommunicatewithmessagesthroughchannels  flexiblemoduleparameters  topologydescriptionlanguage AnOMNeT++modelconsistsofhierarchicallynestedmodules.Thedepthofmodule nestingisnotlimited,whichallowstheusertoreflectthelogicalstructureoftheactual systeminthemodelstructure.Modulescommunicatethroughmessagepassing.Messagescancontainarbitrarilycomplexdatastructures.Modulescansendmessageseither directlytotheirdestinationoralongapredefinedpath,throughgatesandconnections. Modulescanhavetheirownparameters.Parameterscanbeusedtocustomizemodule behaviorandtoparameterizethemodel'stopology.  Modulesatthelowestlevelofthemodulehierarchyencapsulatebehavior.Thesemodulesaretermedsimplemodules,andtheyareprogrammedinC++usingthesimulation library. OMNeT++modelsareoftenreferredtoasnetworks.Thetoplevelmoduleisthesystem module.Thesystemmodulecontainssubmodules,whichcanalsocontainsubmodules themselves.Thedepthofmodulenestingisnotlimited;thisallowstheusertoreflect thelogicalstructureoftheactualsysteminthemodelstructure.      Simple Module Simple Module Simple Module Compound Module System Module Figure5.1‐OMNet++simpleandcompoundmodules Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|62  Modulesthatcontainsubmodulesaretermedcompoundmodules,asopposedsimple moduleswhichareatthelowestlevelofthemodulehierarchy.Simplemodulescontain thealgorithmsinthemodel.TheuserimplementsthesimplemodulesinC++,usingthe OMNeT++simulationclasslibrary. EachmodulehasastructurethatisdescribedinitsOMNeT++'sNetworkElementDescriptor(NED)file;samplesofNEDfilesformodulesbuiltforourpurposeareshownin chapter6. Bothsimpleandcompoundmodulesareinstancesofmoduletypes.Whiledescribingthe model,theuserdefinesmoduletypes;instancesofthesemoduletypesserveascomponentsformorecomplexmoduletypes.Finally,theusercreatesthesystemmoduleasan instanceofapreviouslydefinedmoduletype;allmodulesofthenetworkareinstantiatedassubmodulesandsub‐submodulesofthesystemmodule. Modulescommunicatebyexchangingmessages.Inanactualsimulation,messagescan representframesorpacketsinacomputernetwork,jobsorcustomersinaqueuing networkorothertypesofmobileentities.Messagescancontainarbitrarilycomplexdata structures.Simplemodulescansendmessageseitherdirectlytotheirdestinationor alongapredefinedpath,throughgatesandconnections. The“localsimulationtime”ofamoduleadvanceswhenthemodulereceivesamessage. Themessagecanarrivefromanothermoduleorfromthesamemodule(self‐messages areusedtoimplementtimers). Gatesaretheinputandoutputinterfacesofmodules;messagesaresentoutthrough outputgatesandarrivethroughinputgates. Eachconnection(alsocalledlink)iscreatedwithinasinglelevelofthemodulehierarchy: withinacompoundmodule,onecanconnectthecorrespondinggatesoftwosubmodules,oragateofonesubmoduleandagateofthecompoundmodule Duetothehierarchicalstructureofthemodel,messagestypicallytravelthroughaseries ofconnections,tostartandarriveinsimplemodules.In[22]thereareexamplesofmessageexchangepossibilities. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|63   Figure5.2‐connectionsamongmodulesinOMNet++ Foreachconnectioncanbeassignedthreeparameters,whichfacilitatethemodelingof communicationnetworks,butcanbeusefulinothermodelstoo:propagationdelay,bit errorrateanddatarate,allthreebeingoptional.Onecanspecifylinkparametersindividuallyforeachconnection,ordefinelinktypesandusethemthroughoutthewhole model. Modulescanhaveparameters.ParameterscanbeassignedeitherintheNEDfilesorthe configurationfileomnetpp.ini.Parametersmaybeusedtocustomizesimplemodulebehaviour,andforparameterizingthemodeltopology. ThesimplemodulesofamodelcontainalgorithmsasC++functions.Thefullflexibility andpoweroftheprogramminglanguagecanbeused,supportedbytheOMNeT++simulationclasslibrary.Thesimulationprogrammercanchoosebetweenevent‐drivenand process‐styledescription,andcanfreelyuseobject‐orientedconcepts(inheritance, polymorphismetc)anddesignpatternstoextendthefunctionalityofthesimulator. Simulationobjects(messages,modules,queuesetc.)arerepresentedbyC++classes. Theyhavebeendesignedtoworktogetherefficiently,creatingapowerfulsimulation programmingframework.Thefollowingclassesarepartofthesimulationclasslibrary:  modules,gates,connectionsetc.  parameters  messages  containerclasses(e.g.queue,array)  datacollectionclasses  statisticanddistributionestimationclasses Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|70  Eachnodecontainsdifferentmodulesthatcooperatetosatisfyaconnectionrequest,usingdifferentpolicies,arrivedfromthegenerator.ThisarchitecturehasbeenimplementedtryingtoobtainaresultclosetothegeneralarchitectureofanASON/GMPLS router,aswecanseeinfigurebelow.  Figure5.6–ASON/GMPLSdevelopedroutervs.Theoreticalmodel Allthemodulesinsideeachrouterofthenetworkarenowbeinganalyzedinthefollowingpages. 5.3.5 SetupHandler TheSetupHandlerisasimplemodulethatreceivestheconnectionrequestsfromthe generatorandtriestoestablishaconnectionbetweensourceanddestination,applying differentpoliciesasexplainedlaterinchapter6.Althoughitdoesn’timplementanyprotocol,itisoneofthemostimportantmodules,becauseitistheresponsibleofthesynchronizationandcooperationbetweentheelectronicIP/MPLSlayerandtheASONcontrolledopticallayer.Itisalsotheoneinchargeforthestatisticsupdate,forexampleafterthecreationorarefusalofaconnection. 5.3.6 PhysicalLayer ImplementsanASON‐controlled,fullywavelengthconvertible,OpticalCrossConnect (OXC)capableofsettingupLightpathsondemandusingwavelengthconversionand connectionstotheportsbetweentheopticalandtheelectricallayers. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|71  ThismoduleisfullycontrolledbytheControlmodule,explainedafterward,thatimplementstheASONcontrolplaneoftherouter.Eachelectronicpacketgeneratedbythe IP/MPLSlayertravelsthroughtheportsandreachestheopticallayerinthismodule whereitisswitchedproperlyanddeliveredtowardsthedestination.Atthesameway whenitarrivesatthedestination’sphysicallayeritisconvertedbacktotheelectronic worldandreachtheIP/MPLSdestinationthroughtheproperport. Twoimportantparametersaredefined:  numOfWaves:definesthenumberofwavelengthswhereineachfiberispartitioned  numOfPorts:definesthenumberofportsbetweentheopticalandtheelectronic IP/MPLSlayer Theseparametersareveryimportantbecausetheyareusedtochoosetheopticalcapabilitiesofeachrouterofthenetwork.Thus,thechoiceofthenumOfWavesandnumOf‐ Portsvaluescaninfluencethesimulationresults.Theycanbeeasilyconfiguredusingthe omnetpp.iniconfigurationfile. nsf.numOfWaves = 24 nsf.numOfPorts = 36 5.3.7 ControlLayer ThismoduleimplementstheASONcontrolplaneoftheASON/GMPLSrouterusingmodulesadaptedandderivedfromtheINETFrameworktogetherwithbrandnewpurposebuiltOMNeT++modules. TheControlblockisacompoundmodulecontainingseveralspecializedsubmodulesthat cooperateusingbothfunctioncallsandmessageexchangestoprovideopticalconnection’sservice.InFigure5.7theinsideviewoftheControlmoduleisshownandafterwardacompleteexplanationofeachmoduleisgiven. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|72   Figure5.7–InsideviewoftheControlmodule ThetypicalIP/MPLSarchitecturearisesfromtheabovefigure,inwhichwecaneasily findthesignalingandroutinglayer,followedbytheNetworkandMPLSlayersandfinally thedatalinklayer.Figure5.8showstheIP/MPLSoverASONrouterprotocolstack.  Figure5.8–IP/MPLSoverASONrouterprotocolstack Anexhaustiveexplanationofallthesub‐modulesinsidetheControlmodulecanbe foundin[7].Inthefollowingpageswewilljustgiveabriefdescription,tryingtofocus onthecharacteristicswhichareimportanttothiswork. CtrlLinkStateRouting–LinkstateroutingprotocolforASON ThismoduleimplementsaverybasicroutingprotocolforASONanditisadirectevolu‐ LinkstateRSVP MPLS DataLink IP ASONControlNetwork Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|73  tionoftheLinkStateprotocolusedintheINETFrameworkfortheRSVPRoutersimulator. Aswecanseeinthefollowingsectionsthismodulewillbereplacedbyamorerealistic OSPFprotocolimplementation. CtrlRSVP–ResourcereSerVationProtocolforASON ThismoduleimplementstheResourcereSerVationProtocol(RSVP)usedinASONcontrol planetosetup,manageandteardownopticalconnections(Lightpath).Itisasimple OMNeT++moduleprovidingGMPLSsupportfromASONrouters,includingtheabilityto setup,manageandteardownopticalligthpaths,neighbordiscoveryandfailuredetection. CtrlTED–TrafficEngineeringDatabaseforASON ThismoduleimplementstheTrafficEngineeringDatabase(TED)oftheASONcontrol plane.Despiteitsname,thismoduleisnotmerelyacontainerofinformationforthe routerbutitisusedinmanysituationssuchasfindingavailableopticalrouteswhereuponsetupnewlightpaths.AlltheinformationinsidetheTEDareupdatedbythe LinkStateprotocolwhiletheRSVPusesittochecktheavailabilityofopticalresources whensettingupalightpathtofulfillaconnectionrequest. TheCtrlTEDstoresopticalresourcesinformationforeachlink,suchasthetotalnumber ofwavelengthsandportsandtheavailablenumberofthem. Infigure5.9anexampleofwhatisinsidetheASON’sTEDisgiven. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|74   Figure5.9–ExampleofASONTED’scontent AssaidbeforeforeachfiberattachedtotherouterwesaveintheTrafficEngineering Databasethenumberofports,wavelengthsandthestateofthelink.Allthisinformation isupdatedbyRSVP,sharedwiththeotherroutersofthenetworkusingtheLinkState protocolandusedtosearchforavailableopticalpathsbytheLinkResourceManager module. CtrlLibTable ThismoduleimplementstheLabelInformationBaseTable(LIBTable)oftheASONcontrolplane,inwhichtheRSVPprotocolstoresthelabeloperations(swap,popandpush) forallthelightpathsthatstartsfromit,endinitorthatpassesthroughit. TheLIBTablemoduleiskeepuptodatebytheRSVPASONmoduleaftertheprocessing ofRSVPmessages. BelowasnapshotofwhatisinsidetheLIBTableisshowninFigure5.10.Notethatallthe labelscontainedintheControlmodule’sLIBTablearerepresentingwavelengths. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|75   Figure5.10–ExampleofASONLIBTable’scontent NetworkLayer ThiscompoundmoduleimplementstheIPv4layeroftheASONcontrolrouter;itisan untouchedversionoftheINETone.TherearenochangesneitherintheC++classes,nor intheNEDfilesofallitssubmodules. RoutingTable ThismoduleimplementstheIPv4routingtableusedbytheIPlayertoforwardpackets totheotherroutersoftheASONcontrolnetwork. InoursystemtheroutingtableiscreatedautomaticallyatthebeginningofthesimulationanditisupdatedatruntimebytheOSPFmodule,forexampleafterachangeinthe topologyoccurs. NotificationBoard ThismoduleimplementstheNotificationBoardofINETFrameworkanditisunchanged inoursystem.Itworksinapublisher‐subscribermodeanditisusedtobroadcastthe statechangeofamoduletoallthesubscribedmodules.Anexampleofthisisinthe Linkstateflooding:whenthereisachangeinTEDcontent,thechangedentryindexis senttoallthesubscribersfortheeventNB_TED_CHANGED,includingLinkstatemodule. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|76  LinkResourceManager ThisisprobablythemostimportantmoduleinsidetheASONcontrollayer;itimplements theLinkResourceManager(LRM)ofanASONnetwork,whichisresponsiblefortheallocationandfreeingofresourcesoftransportlinksandalsoforprovidingstatusinformationaboutthem[2],forinstancewhenithastofindarouteforanewlightpathforthe Setupmodule. 5.3.8 VirtualLayer ThismoduleimplementstheIP/MPLSelectroniclayeroftheASON/GMPLSrouterusing modulesthatweadaptedandderivedfromtheINETFrameworktogetherwithbrand newpurpose‐builtOMNeT++modules. TheVirtualblockisacompoundmodulecontainingseveralspecializedsubmodulesthat cooperateusingbothfunctioncallsandmessageexchangestoprovideIP/MPLSconnection’sservice.InFigure5.11theinsideviewoftheVirtualmoduleisshownandafterwardacompleteexplanationofeachmoduleisgiven.  Figure5.11–InsideviewofVirtualmodule Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|77  WecaneasilyobservefromFigure5.11,thatthestructureoftheVirtualmoduleisthe sameoftheControlmodule.Thisisduetoourcodereusingpolicythatallowedusto implementthetwoblockswithoutcodingtoomuch. Anexhaustiveexplanationofallthesub‐modulesinsidetheControlmodulecanbe foundin[7].Inthefollowingpageswewilljustgiveabriefdescription,tryingtofocus onthecharacteristicswhichareimportanttothiswork. GLinkStateRouting–LinkstateroutingprotocolforIP/MPLS ThismoduleimplementstheroutingprotocolfortheIP/MPLSlayeranditisadirectevolutionfromtheLinkStateprotocolusedintheINETFrameworkfortheRSVPRoutersimulator.Aswecanseeinthefollowingsectionsthismodulewillbereplacedbyamore realisticOSPFprotocolimplementation.  GRSVP–ResourcereSerVationProtocolforIP/MPLS ThismoduleimplementstheResourcereSerVationProtocol(RSVP)usedinIP/MPLS layertosetup,manageandteardownLabelSwitchedPaths(LSP)overexistingLightpath allowingconnectionstogroom.ItisasimpleOMNET++moduleprovidingGMPLSsupportforIP/MPLSdynamicrouters;thisincludestheabilitytosetup,manageandtear downLSPs,neighbordiscoveryandfailuredetectionalladaptedtothenewdynamicenvironment. GTED–TrafficEngineeringDatabaseforIP/MPLS ThismoduleimplementstheTrafficEngineeringDatabase(TED)oftheIP/MPLSlayer. Despiteitsname,thismoduleisnotmerelyacontainerofinformationfortherouterbut itisusedinmanysituationssuchasfindingavailablelightpathswhereuponsetupLSPs. AlltheinformationinsidetheTEDareupdatedbytheLinkStateprotocolwhiletheRSVP usesittochecktheavailabilityofelectronicresources,bandwidthinourcase,whensettingupaLSPtofulfillaconnectionrequest. BelowanexampleofwhatisinsidetheVirtuallayerTEDisgiveninFigure. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|78   Figure5.12–ExampleofIP/MPLSTED’scontent  Assaidbeforeforeachlink,thatinthecaseofIP/MPLSlayerisalightpath,attachedto therouterwesaveintheTrafficEngineeringDatabasethebandwidthandthestateof thelink.AllthisinformationisupdatedbyRSVP,sharedwiththeotherroutersofthe networkusingtheLinkStateprotocolandutilizedtosearchforavailablelightpathsby theConnectionControllermodule. WewillseehowtheGTEDmodulewillbeslightlymodifiedduringourwork,inorderto storemoreinformationoverthemulti‐topologythenodebelongsto. GLibTable ThismoduleimplementstheLabelInformationBaseTable(LIBTable)oftheIP/MPLS layer,inwhichtheRSVPprotocolstoresthelabeloperations(swap,popandpush)forall theLSPsthatstartsfromit,endinitorthatpassesthroughit. Classifier ThismoduleimplementsadatabasecalledClassifierusedbyMPLStosortincomingand outgoingpacketsasMPLSornormalIPones.Thismoduleisdirectlyderivedfromthe oldINEToneanditisnotusedbecausetheoriginalversionoftheSimulationTool doesn’timplementMPLStrafficontheVirtuallayeryet;onlycontrolpacketsareex‐ Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|79  changedandtheyareforwardedusingtheclassicIProuting.Thus,thismodulewillbe modifiedinordertoproperlyimplementtheMPLStraffic. NetworkLayer ThiscompoundmoduleimplementstheIPv4layeroftheIP/MPLSVirtuallayer;itisan untouchedversionoftheINETone.TherearenochangesintheC++classesnorinthe NEDfilesofallitssubmodules. RoutingTable ThismoduleimplementstheIPv4routingtableusedbytheIPlayertoforwardpackets totheotherroutersoftheIP/MPLSvirtualnetwork.LiketheNetworkLayertheRouting‐ TablemoduleusedinourworkisanuntouchedversionoftheINET’soneexceptforits initialization:theroutingtableiscreatedautomaticallyatthebeginningofthesimulationanditisupdatedatruntimebytheLinkStatemodule,forexampleafterachangein thetopologyoccurs. NotificationBoard ThismoduleimplementstheNotificationBoardofINETFrameworkanditisunchanged inoursystem.Itworksinapublisher‐subscribermodeanditisusedtobroadcastthe statechangeofamoduletoallthesubscribedmodules.Anexampleofthisisinthe Linkstateflooding:whenthereisachangeinTEDcontent,thechangedentryindexis senttoallthesubscribersfortheeventNB_TED_CHANGED,includingLinkstatemodule. ConnectionController ThisisprobablythemostimportantmoduleinsidetheIP/MPLSVirtuallayer;itimplementstheConnectionController(CC)ofanASONnetwork,whichisresponsibleforthe managementofconnection’ssetup,releaseandmodificationusingLinkResourceManager,SetupandVirtuallayer’smodules. TherestofthisthesiselaboratesonthedesignoftheASON/GMPLSsimulatorextension forServiceDifferentiationanditsintegrationwiththeINETFramework.Specialemphasiswillbeputondescribingthemodulesandtheprotocolsmainlyinvolvedduringour implementation. Chapter5–WorkingEnvironment:ASON/GMPLSSimulationTool Chapter1‐Introduction  Page|86  networkbelongs.Allroutingprotocolpackets originatingfromtheinterfacearelabelled withthisAreaID. HelloInterval Thelengthoftime,inseconds,betweenthe Hellopacketsthattheroutersendsontheinterface. RouterDeadInterval Thenumberofsecondsbeforetherouter's neighborswilldeclareitdown,whentheystop hearingtherouter'sHelloPackets. HelloTimer Anintervaltimerthatcausestheinterfaceto sendaHellopacket.ThistimerfireseveryHelloIntervalseconds. NeighborrouterslistTheotherroutersattachedtothisnetwork. ThislistisformedbytheHelloProtocol.  Interfacestates Thevariousstatesthatrouterinterfacesmayattainarenowbeinglistedinorderofprogressingfunctionality.Forexample,theinoperativestateislistedfirst,followedbyalist ofintermediatestatesbeforethefinal,fullyfunctionalstateisachieved.Below,theinheritancediagramtheinterfacestateclasses.       InterfaceStateDown Thisistheinitialinterfacestate.Inthisstate,thelower‐levelprotocolshaveindicated thattheinterfaceisunusable.Noprotocoltrafficatallwillbesentorreceivedonsucha interface. InterfaceStatePoint2Point Inthisstate,theinterfaceisoperational,andconnectseithertoaphysicalpoint‐to‐point networkortoavirtuallink.Uponenteringthisstate,therouterattemptstoformanad‐ OSPF::InterfaceState OSPF::InterfaceStateDown OSPF::InterfaceStateLoopBack OSPF::InterfaceStateBackup OSPF::InterfaceStateDesignatedRouter OSPF::InterfaceStateNotDesignatedRouter OSPF::InterfaceStatePointToPoint OSPF::InterfaceStateWaiting Chapter6–SimulatorExtensions Figure6.2‐hierarchydiagramofthe InterfaceStateclasses  Chapter1‐Introduction  Page|87  jacencywiththeneighboringrouter.HelloPacketsaresenttotheneighboreveryHelloIntervalseconds. Formoreinformationovertheotherinterfacestates,referto[19]. 6.4.2 IMessageHandlerclasses TheMessageHandleranditssubclassesmanagealltheOSPFmessagestherouterreceives.Dependingonthemessagereceived,differentactionscanbesummoned.Below, theinheritancediagramoftheIMessageHandlerclass.      HelloHandler EachrouteradvertisesitselfbyperiodicallymulticastingHellopackets,whicharehandledbytheHelloHandlerclass.Thisallowsneighborstobediscovereddynamically:bidirectionalcommunicationisindicatedwhentherouterseesitselflistedintheneighbor's Hellopacket. Below,theUMLdiagramofthemainmethodsoftheclassHelloHandler. +GHelloHandler(in containingRouter : Router*) +ProcessPacket(in packet : GOSPFPacket*, in intf : Interface*, in unused : Neighbor* = NULL) +updateLSAs(in neighbor : Neighbor*) GHelloHandler  Figure6.4–TheHelloHandlerUMLclassdiagram DatabaseDescriptionHandler Ifanadjacencyisformed,thefirststepistosynchronizetheneighbor'sLS‐databases,by theDatabaseExchangeProtocol. Inalink‐stateroutingprotocol,itisveryimportantforallrouter'sLS‐databasestostay OSPF::IMessageHandler OSPF::DatabaseDescriptionHandler OSPF::LinkStateUpdateHandler OSPF::HelloHandler OSPF::LinkStateAcknowledgeHandler OSPF::LinkStateRequestHandler Chapter6–SimulatorExtensions Figure6.3‐Hierarchydiagramofthe IMessageHandlerclasses  Chapter1‐Introduction  Page|88  synchronized.TheDatabaseDescriptionHandlerperformsthisfunctiontogetherwiththe neighborclasses,describedlaterinthischapter. Figure6.3showstheDatabaseDescriptionHandlerUMLclassdiagram.  Figure6.5‐TheDataBaseDescriptionHandlerUMLClassdiagram  EachrouterdescribesitsdatabasebysendingasequenceofDatabaseDescription(DD) packetstoitsneighbors.EachDDpacketdescribesasetofLSAsbelongingtotherouter's database.ThissendingandreceivingofDDpacketsiscalledthe"DatabaseExchange Process",definedinsection4.5.1andwhoseprocedureisshowedinfigure6.4.           LinkStateRequestHandler DuringtheDatabaseExchangeProcedure,neighborssynchronizetheirdatabasesex‐ R1R2 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) LSRequest LSUpdate LSRequest LSUpdate AdjacencyFullyestablished Figure6.6‐TheHello processandtheDatabase Exchangeprocess. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|89  changinglinkstatemessages.WhenarouterfindsanewLSAdescriptiononareceived DDpacketanewLinkStateRequestinsenttotheneighbor,whomanagesitthroughthe LinkStateRequestHandlerClass.  Figure6.7‐TheLinkStateRequestHandlerUMLClassDiagram  TheLinkStateRequestHandlerreceivesthemessageandcheckthelistofLSArequested bytheneighbor.Then,alinkstateupdatemessageiscreatedandsentback. LinkStateUpdateHandler Whenalinkstateupdatemessageisreceived,thelinkStateUpdateHandlerprocessesthe newLSAsandupdateitsdatabase.Systemcallsarelargelyusedinordertocommunicatewiththeotherrouter’smodules.Therouter’sTEDisthenupdatedandtheknowledgelearntaboutthetopologyisfloodedout. Figure6.8showsuptheclassattributesandthemethodsinvolvedinthedatabaseupdatingprocess.  Figure6.8‐LinkStateUpdateHandlerUMLClass  6.4.3 Neighborclasses Theneighbormanagementschemaissimilartotheinterfaceonedescribedinsection 6.4.1.AneighbordatastructureismaintainedbytheOSPFmodule,whichalsomakeuse ofatheneighborstatemachinetoruletheactualstateofitsneighbors. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|90  Theneighbordatastructurecontainsallinformationpertinenttotheformingorformed adjacencybetweentwoneighbors. StateThefunctionalleveloftheneighborconversation. InactivityTimer Asingleshottimerwhosefiringindicatesthat noHelloPackethasbeenseenfromthis neighborrecently. ThelengthofthetimerisRouterDeadInterval seconds. Master/Slave Whenthetwoneighborsareexchangingdatabases,theyformamaster/slaverelationship. ThemastersendsthefirstDatabaseDescriptionPacket,andistheonlypartthatisallowed toretransmit.Theslavecanonlyrespondto themaster'sDatabaseDescriptionPackets. Themaster/slaverelationshipisnegotiatedin stateExStart. DDSequenceNumber TheDDSequencenumberoftheDatabaseDescriptionpacketthatiscurrentlybeingsentto theneighbor. NeighborID TheOSPFRouterIDoftheneighboringrouter. TheNeighborIDislearnedwhenHellopackets arereceivedfromtheneighbor NeighborIPAddress TheIPaddressoftheneighboringrouter'sinterfacetotheattachednetwork.Usedasthe DestinationIPaddresswhenprotocolpackets aresentasunicastsalongthisadjacency. Databasesummarylist ThecompletelistofLSAsthatmakeupthe arealink‐statedatabase,atthemomentthe neighborgoesintoDatabaseExchangestate. ThislistissenttotheneighborinDatabase Descriptionpackets. LinkstaterequestList ThelistofLSAsthatneedtobereceivedfrom thisneighborinordertosynchronizethetwo neighbors'link‐statedatabases.Thislistis createdasDatabaseDescriptionpacketsare received,andisthensenttotheneighborin LinkStateRequestpackets.Thelistisdepleted asappropriateLinkStateUpdatepacketsare received.  NeighborStates Below,thehierarchydiagramofneighborstatesislistedinorderofprogressivefunctionality.Forexample,theinoperativestateislistedfirst,followedbyalistofintermediate statesbeforethefinal,fullyfunctionalstateisachieved. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|91          Wearegoingnowtodescribebrieflyeachneighborstate.Foramoredetaileddescriptionofneighborstatechanges,togetherwiththeadditionalactionsinvolvedineach change,seeSection10.3of[19]. DownState Thisistheinitialstateofaneighborconversation.Itindicatesthattherehasbeennorecentinformationreceivedfromtheneighbor. InitState Inthisstate,aHellopackethasrecentlybeenseenfromtheneighbor.However,bidirectionalcommunicationhasnotyetbeenestablishedwiththeneighbor(i.e.,therouteritselfdidnotappearintheneighbor'sHellopacket).Allneighborsinthisstate(orhigher) arelistedintheHellopacketssentfromtheassociatedinterface. 2‐WayState Inthisstate,communicationbetweenthetworoutersisbidirectional.ThishasbeenassuredbytheoperationoftheHelloProtocol. ExchangeStartState Thisisthefirststepincreatinganadjacencybetweenthetwoneighboringrouters.The goalofthisstepistodecidewhichrouteristhemaster,andtodecideupontheinitial OSPF::NeighborState OSPF::NeighborStateDown OSPF::NeighborStateAttempt OSPF::NeighborStateExchange OSPF::NeighborStateExchangeStart OSPF::NeighborStateFull OSPF::NeighborStateInit OSPF::NeighborStateLoading OSPF::NeighborStateTwoWay Chapter6–SimulatorExtensions Figure6.9‐HierarchydiagramoftheNeighborStateclasses  Chapter1‐Introduction  Page|92  DDsequencenumber.Neighborconversationsinthisstateorgreaterarecalledadjacencies. ExchangeState InthisstatetherouterisdescribingitsentirelinkstatedatabasebysendingDatabase Descriptionpacketstotheneighbor.EachDatabaseDescriptionPackethasaDDsequencenumber,andisexplicitlyacknowledged. Loading Inthisstate,LinkStateRequestpacketsaresenttotheneighboraskingforthemorerecentLSAsthathavebeendiscovered(butnotyetreceived)intheExchangestate. FullState Inthisstate,theneighboringroutersarefullyadjacent.Theseadjacencieswillnowappearinrouter‐LSAsandnetwork‐LSAs. Herebelow,asimpleflowchartdescribinghowtheneighborstatemachineevolves.        6.4.4 OSPFLSAClasses EachrouterintheAutonomousSystemoriginatesoneormorelinkstateadvertisements (LSAs).ThissectiondefinesfivedistincttypesofLSAs,whicharedescribedbelow.The collectionofLSAsformsthelink‐statedatabase.EachseparatetypeofLSAhasaseparatefunction.Router‐LSAsandnetwork‐LSAsdescribehowanarea'sroutersandnet‐ Init Down Ex‐Start Full Exchang 2‐Way Loading HelloReceived 2‐WayReceived 1‐WayReceived NegotiationDone ExchangeDone LoadingDone Figure6.10–Neighborstatemachinediagram Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|93  worksareinterconnected.Summary‐LSAsprovideawayofcondensinganarea'srouting information.AS‐external‐LSAsprovideawayoftransparentlyadvertisingexternallyderivedroutinginformationthroughouttheAutonomousSystem. AsthecontextofthisworkisasingleareaNetwork,ageneraldescriptionofalltheLSA typesisbeinggiven,focusingonlyontheRouter‐LSAType.       RouterLSA Originatedbyallrouters.ThisLSAdescribesthecollectedstatesoftherouter'sinterfacestoanarea.Floodedthroughoutasingleareaonly. NetworkLSA OriginatedforbroadcastandNBMAnetworksbytheDesignatedRouter.ThisLSAcontainsthelistofroutersconnectedtothenetwork.Floodedthroughoutasingleareaonly. SummaryLSA Originatedbyareaborderrouters,andfloodedthroughouttheLSA'sassociatedarea. Eachsummary‐LSAdescribesaroutetoadestinationoutsidethearea,yetstillinsidethe AS(i.e.,aninter‐arearoute). ASExternalLSA OriginatedbyASboundaryrouters,andfloodedthroughouttheAS.EachAS‐external‐ LSAdescribesaroutetoadestinationinanotherAutonomousSystem.Defaultroutesfor theAScanalsobedescribedbyAS‐external‐LSAs. OSPFLSA OSPF::ASExternalLSA OSPF::NetworkLSA OSPF::RouterLSA OSPF::SummaryLSA Figure6.11–TheOSPFLSAhierarchydiagram Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|94  MoreinformationoverNetwork,SummaryandASExternalLSAsaregivenindepthin [19].TherestofthissectionfocusesontheRouterLSAclass,usefultobetterunderstand theTrafficEngineeringandMultiTopologyextensions.Figure6.12showspartofthe Router‐LSApacketformat.  Figure6.12–anexampleoftheRouterLSApacket Arouteroriginatesarouter‐LSAforeachareathatitbelongsto.SuchanLSAdescribes thecollectedstatesoftherouter'slinkstothearea.TheLSAisfloodedthroughoutthe particulararea,andnofurther. AseachOSPFpacket,thefirst20bytesoftheRouterLSAconsistofthegenericLSA header,notrepresentedinthiscase. Therouter‐LSAdescribestherouter'sworkingconnections(i.e.,interfacesorlinks)to thearea;eachlinkisdescribedbyasetoffieldsliketheonerepresentedinfigure6.12.  Eachlinkistypedaccordingtothekindofattachednetwork.EachlinkisalsolabelledwithitsLinkID.ThisLinkIDgivesanametotheentitythatisontheother endofthelink.  Inaddition,theLinkDatafieldisspecifiedforeachlink.Thisfieldgives32bitsof extrainformationforthelink.   The#TOSfielddefinesthenumberofdifferentTypeOfServiceconcerningaparticularlink  TheTOSfieldsdescribethemetriccostofthelinkforeachcorrespondingType OfService.IfalinkisnotpartofaparticularTOS,thecorrespondinglineisomittedfromthelist. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|95  AgeneralsummaryoftheOSPFprocessbetweentheroutersinthenetworksimulated canbeusefulbeforedescribingthefollowingstepsofthiswork:OSPF‐TEandOSPF‐MT. Aspreviouslymentioned,thefirstmainstageinthealgorithmistogiveamapofthe networktoeverynodeandtostoreitinitsdatabase.Thisisdonewithseveralsimple subsidiarysteps[7]. Determiningtheneighborsofeachnode First,eachnodeneedstodeterminewhatotherportsitisconnectedto,overfullyworkinglinks;itdoesthisbytheHelloProtocolprocess.Afterthis,theneighborstate reachthevalueofEX‐Start,sotheneighborscanstarttheexchangeprocess. Synchronizingthetopologydatabases Onceanewadjacencyisestablished,bytheDataBaseExchangeProcesstwoneighbors keeptheirtopologydatabasesynchronized.Then,theneighborsarefullyadjacentand thestatemachinevalueissettoFull. Distributingtheinformationforthemap Next,eachnodeperiodicallymakesupasetofshortmessages,thelink‐stateadvertisementsdescribedinsection6.4.4,which:  Identifythenodewhichisproducingit.  Identifyalltheothernodestowhichitisdirectlyconnected.  Includeasequencenumber,whichincreaseseverytimethesourcenodemakes upanewversionofthemessage.ThisisimplementedusinganOMNeT++timestamp.  Includeinformationaboutthestateofeachlinkofinterest. Thismessagesarethenfloodedthroughoutthenetwork.Asanecessaryprecursor,each nodeinthenetworkremembers,foreveryothernodeinthenetwork,thesequence numberofthelastlink‐statemessagewhichitreceivedfromthatnode. Startingwiththenodewhichoriginallyproducedthemessage,itsendsacopytoallofits neighbors.Whenalink‐stateadvertisementisreceivedatanode,thenodelooksupthe sequencenumberithasstoredforthesourceofthatlink‐statemessage.Ifthismessage isnewer(i.e.hasahighersequencenumber),itissaved,andacopyissentinturnto eachofthatnode'sneighbors.Thisprocedurerapidlygetsacopyofthelatestversionof Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|102  NumberofPortssub‐TLV ThenumberofPortssub‐TLVrepresentsinaPhotonicMPLSrouterthenumberofinternalPSCportsconnectingIPpacketandlambdaswitchingfabrics.    NumberofPortssub‐TLVistype10andis1octetinlength. NumberofWavelengthssub‐TLV Thenumberofwavelengthssub‐TLVspecifiesthemaximumamountofthefiberwavelenghts.Thenumberofwavelengthssub‐TLVvalueisexpressedinnaturalnumbers,is type11and1octetinlength.  AvailableWavelengthssub‐TLV Thevalueoftheavailablewavelengthssub‐TLVcorrespondstotheamountofwavelengthsstillnotreservedtosetupanewlightpath.Itsvalueisexpressedinnatural numbers,istype12and1octetinlength.  Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|103  6.5.2 OSPFTEImplementation ThemostimportantmodificationstotheoriginalOSPFmodulearenowbeingpresented undertheC++perspective.ThefollowingsectionspresenttheUMLDiagramswiththe mostinterestingattributesandmethodsincludedwithinthenewlycreatedC++classes. Forabetterunderstanding,classes’descriptionisorderedfollowingthemainstepsof theOSPFprocess;first,theOSPFPacket.msgfilehastobemodified,thenthemessage handlingprocessneedstobeextendedtothenewdefinedTE‐LSA.Finally,theTE‐LSA managementitselfhastobeimplemented,includingtheprocessofmessageexchanging andsynchronizationbetweenpeers.  6.5.3 TheOSPFPacketclass Referringto[10]and[4],theOSPFPacket.msgfileneedstobeextended,includingthe OpaqueLSAcapabilityanddefiningtheTE‐LSAType/Length/Valuedatastructure. ThefollowinglinesshowpartoftheOSPFPacketdescriptionfile,highlightingthenewly implementedcapabilities. 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; Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|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; Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|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,theOpaqueLSAtype10capabilityhasbeenadded,followedbytheGOSPFTE_LSA implementation.ThenewlinkstateadvertisementextendsthegenericGOSPFLSAdefinition,fromwhichderivestheLSAheader.ThepayloadfollowstheType/Length/Value schemaandisdefinedbytheGTLVLinkclass. AlltheTrafficEngineeringinformationdescribinginterfaces,bandwidths,portsandwavelengthsarefinallydefinedbytheGTLVclassandthesubTLVTypeenumstatement. NotethatthegivencoderepresentstheGOSPFTE‐LSAimplementation.TheCtrlOSPF TE‐LSAdefinitionisalmostthesame,sothereisnoneedtoexamineitseparately. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|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 OSPFNeighborclass Aspreviouslyexplained,theOSPFNeighborclassesgroupisimportanttomaintainthe adjacencybetweenpeersandmanagetheneighborstatemachinevalues.  AftertheHello process,thefirst steptoestablish anewadjacency istheexchange ofDDpackets. TheOSPFNeighborclasshasthe mainroleinthis context.Figure ontheright showspartof theUMLclass diagram.     BoththeGOSPFNeighborandCtrlOSPFNeighborclasses(thelatterisnotshownasits UMLdiagramisclosetotheformer)havebeenextendedtotheOpaqueLSAcapability. TheOpaqueLSACapabilityattributeanditscorrespondinggetterandsettermethodsare definedinordertoguaranteesomecompatibilitybetweenOpaqueLSAcapableandnotcapablerouters.    CreateDatabaseSummary DuringtheDataBaseExchangeProcess,twopeersexchangetheirLSADatabaseSummary lists.ThisoperationisperformedbytheCreateDatabaseSummarymethod.TheOSPF Chapter6–SimulatorExtensions Figure6.14‐ OSPFNeighborUMLclassdiagram Chapter1‐Introduction  Page|107  modulecreatesanLSASummarylist,includingRouterLSAsandthecorrespondingTEL‐ SAs. Oncereceivedandelaboratedthesummarylist,aroutersendsarequesttosynchronize itsdatabasewiththepeer.TheLSArequestlistiscreatedandsentbytheAddToRequestListandSendLinkStateRequestPacketmethods. 6.5.5 OSPFMessageHandlerclasses AlltheroutersinvolvedtotheOSPFprocesskeeptheirtopologydatabasebysending andreceivingLinkStateAdvertisement.Therefore,itisclearthattheOSPFmodulemessagehandlerclassesneedtobeextendedtomanageTEinformation.Inparticular,this sectionfocusontwoofthefiveclassesdescribedinsection6.4.2:LinkStateRequestHandlerandLinkStateUpdateHandler. LinkStateRequestHandlerclass Oncereceivedandelaboratedthesummarylist,eachroutersendsaLinkStateRequest messagetothepeer. TheLinkStateRequestHandlerclass(UMLclassdiagramisshowninfigure6.5)manages thiskindofmessagebytheProcessPacketmethod.First,theneighborstatemachine valueandtheLSArequestlistarecheckedinordertoavoiderrors.Then,aLinkState Updatemessageiscreated,containingtherequestedLSAs. LinkStateUpdateHandlerclass Asinthepreviouscase,theLinkStateUpdateHandlerclassmanagesthereceivedupdate messagesbytheProcessPacketmethod,whichprocessesthiskindofmessageincaseof  adjacencyinitialization  updatereceived,duetoanetworktopologychange First,theneighborstatemachinevalueandthereceivedLSAlistformatarechecked,in ordertoavoiderrors.Then,foreachLSAreceived: Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|108   ifnotalreadystoredinthelocaldatabase,theupdateisfloodedouttotheother peersandinstalledinthedatabase.  Ifalreadypresentinthelocaldatabase,thereceivedLSAtimestampiscompared tothelocalone:ifnewer,theupdateisfloodedouttotheotherpeersandinstalledinthedatabase.  Otherwise,thecurrentLSAisignored. TheprocessofinstallingnewTE‐LSAsisimportanttosynchronizethelocalLSAdatabase withthelocalTED,aswearegoingtoseeinthenextsection. Amoredetaileddescriptionoftheupdatemessagemanagementcanbefoundinsection 13of[19]. 6.5.6 SynchronizingTEDandTELSADatabase TEDandOSPFTE‐LSAdatabasestore,indifferentways,almostthesamekindofdata. ThereasonofthisredundancyismainlyduetothechoiceofintegratingtheOSPFmodulewithinthesimulatorsystem,withoutspendingtoomuchtimeincodinganddedicatingmostoftheeffortintheTEandMTcapabilitiesimplementation. SynchronizationbetweenTEDandTE‐LSADBisbidirectionalandistriggeredbytwo mainevents.  Anewconnectionhasbeensetup.TEDischangedandTE‐LSAdatabaseneedsto beupdated(hereagain,wearegenerallytalkingaboutTEDinsteadofCtrlTED andGTED).  AnewlinkstateupdatemessagehasbeenreceivedandinstalledintheTE‐LSA database.Consequently,TEDalsoneedstobeupdated. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|109  Figure6.15and6.16showpartoftheattributesandmethodsbelongingtotheOSPFA‐ reaandOSPFRouterclasses.           Fromtheexampleabovearisesomeoftheattributesandmethodsimplementedforthe OSPF‐TE.  TheteLSAsvectorattribute,istheTE‐LSAdatabase.  Onceerrorcheckingtestispassedandthestatemachinevalueiscorrectlyverified,theTE‐LSAupdatemessageprocessinginvolvestheFindTeLSA,GetTeLSA, findSubTLVmethods.  IfthereceivedLSAisnewerthanthelocalone(ifexists),finallytheupdateisinstalledbyInstallTeLSAandfloodedoutbyFloodLSA. +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 Figure6.15–OSPFAreaUMLClassdiagram Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|110  TheInstallTeLSAmethodsynchronizestheTEDwiththenewTE‐LSAdatabaseinformationbytheSyncGTEDsystemcall,definedinfigure6.16.  Figure6.16–PartoftheGOSPFRouterUMLClassDiagram  FigureabovehighlightsmanyimportantelementsinvolvedintheOSPFprocess.  AstheGOSPFRouterclassisdirectlycorrelatedtotheOMNET++OSPFmodule,wecan seehowseveralattributesandmethodsareimplementedtomanagetheAreadata structure,theroutingtableandthemessagehandling.Asusual,theOpaqueLSACapabilityflagissetduringtheOSPFmoduleinitialization. AsthesyncGTEDmoduleisusedtosynchronizetheTEDwiththeTE‐LSADB,sotheTELSADBissynchronizedwiththeTEDbythesyncTeDBmethod.Itisimportanttokeep boththedatastructuresperfectlysynchronized,becausetheTEDisusedduringthe connectionsetuptocalculatethebestpathtodestination;ontheotherhand,TEDinformationisadvertisedbyTE‐LSAsfloodingtokeepthetopologyknowledgesynchronizedamongalltherouters. Herebelow,wecanseethedifferencebetweenGTEDandCtrlTEDdata.Moreover,itis possibletoseethefieldsrepresentingallthesub‐TLVsdefinedbefore. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|111   Figure6.17a–viewoftheIP/MPLSTED’scontent   Figure6.17b–viewoftheASONTED’scontent 6.6 OSPFMT Untilnow,theServiceDifferentiationhasbeenimplementedchangingthewaythesystemtrytoaccommodatenewconnectionrequests,dependingontherequestpriority.In ordertoimplementtheVirtualTopologyDifferentiation(VT‐Diff)schemesdescribedin chapter3,weneedtoimplementtheMulti‐Topologycapability.Thissectionexplains howtheMulti‐TopologycapabilityhasbeendevelopedandthemainC++classeswhich havebeenrenewedornewlyimplemented. Asdescribedinsection3and4.3,theOSPF‐MTimplementationfollowstheRFC4915[5] approachandcanbedividedin4mainsteps: Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|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{ Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|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 VirtualTEDupdating Onceanewconnectionbetweensourceanddestinationnodesiscorrectlyestablished, thevirtualtopologychangeneedstobeadvertisedoverthewholenetwork.Thisis achievedinoursimulationbyfillingtheMT‐fieldsonRouterLSAsasdefinedbeforeand floodingthenewinformationoverthenetwork(seetheUpdateRouterLSATopologymethodlistedamongtheOSPFAreamethods).  WhenanewLinkStateUpdateisreceived(seetheLinkStateUpdateHandlerimplementationpreviouslyexplained),theVirtualTEDisconsequentlymodifiedupdatingthemt fieldcorrespondingtothenewlyestablishedlink.HerebelowanexampleoftheGTED contentforabetterunderstanding. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|120   Figure6.21–AnexampleoftheGTEDcontent FromfigureabovearisetheinformationstoredinGTEDtoimplementtheMTcapability. ThenewlyMTfieldsaddedtoTEDentriesareveryimportantduringthepathcomputation,becauseonlyproperlysynchronizedinformationaboutthevirtualtopologiespermitsthesystemtocalculatethecorrectpathbetweensourceanddestinationandguaranteetheServiceDifferentiation. Chapter6–SimulatorExtensions Chapter1‐Introduction  Page|121        Simulation Study        SimulationStudy Chapter7–SimulationStudy Chapter1‐Introduction  Page|122  InthischapterseveralexperimentswillbeexecutedusingtheextendedASON/GMPLS simulatordescribedinChapter5‐andChapter6‐.Thissimulationstudyhasbeenexecutedtoanalyzethebehavior,intermsofservicedifferentiation,ofthethreeMTEpoliciesintroducedinchapters3and4.EachMTEpolicywillbeanalyzedevaluatingitsperformancesundertwomainperspectives:  ServiceDifferentiationintermsofBlockingProbability  ServiceDifferentiationintermsoftrafficdelay Section7.1presentsthenetworktopologyusedforourexperimentsandthecommon simulationsettingstoboththeperspectiveslistedabove.Then,insection7.2presents thetrafficmodelandsomefurtherimplementationissuesoverthetrafficsimulation.Finally,section7.3evaluatesthesimulationresultsintermsofblockingprobabilityand packetend‐to‐enddelay.Resultsarediscussedineachsectiontogetherwiththeparametersusedtoachievethem. 7.1 Systemmodelandsimulationsettings Inthissectionthesystemmodelimplementedwithoursimulatorandusedforallthe simulationsisintroduced.Inthefirstparagraphthenetworktopologychosenforthe simulationsisdescribed.Inthesecondparagraphwepresentthetrafficmodelusedby thesimulator,intermsofinter‐arrivaltimeandservicetime.Inthethirdandlastparagraphofthissection,thevalueoftheparametersintheconfigurationfilesofoursimulatorareshownanddescribed. 7.1.1 NetworkTopology ToevaluatetheperformanceoftheproposedASON/GMPLSsimulatoranextensiveset ofexperimentshasbeenexecuted.Somesimulationtestshavebeenfirstlyperformed consideringasmallnetwork,inordertotestmostlythecorrectbehaviouroftheimplementation. Thetopologyusedinourtestsimulationsisthe“Test”network.Itconsistsof7nodes and11bidirectionalopticallinksanditisshowninFigure7.7.1. Chapter7–SimulationStudy Chapter1‐Introduction  Page|123   Figure7.7.1–“Test”opticalnetworktopology Thesecondtopology,usedtorunourdefinitivesimulationsandevaluatetheMTEpolicies’performancesisthe(NewYork–SanFrancisco)NSFWDM‐Network.  NFS(NationalScienceFoundation)istheUSResearchandEducationNetwork(NREN). AlthoughthereareseveralrepresentationsoftheNFSnet,hereweconsidertheonedescribedin[27](showninthefigurebelow),composedby14networknodesconnected through21bidirectionalopticallinks.   Figure7.2–TheNSFNetwork Chapter7–SimulationStudy Chapter1‐Introduction  Page|124  Nextsectionswillafterwardspresenttheexperiments’outputonlyusingtheNSFtopology. 7.1.2 TrafficModel TheGeneratormodulegeneratesconnectionrequestsbetweenarandomsourceand destination,accordingtoaPoissonstochasticprocess.Theaverageinter‐arrivaltimeof connectionrequestsisdeterminedbytheparameter ia T.Theparameterhold Trepresents theaverageholdingtimeofeachacceptedrequest.Bothinter‐arrivaltimeandholding timefollowanegativeexponentialdistributionwithmeanTiaandThold.Ifwecall ia T 1   theinter‐arrivalfrequencyforeachnode,and hold T 1   thefrequencyofservice,theloadforeachnode(expressedinErlang)canbedeterminedbythefollowing equation: C B T T C B loadOffered a ia holda     WhereCisthecapacityofasinglelightpathandBaistheaveragebandwidthrequested bytheconnections.ThusC Barepresentsthefractionoflightpathcapacityrequestedby eachconnection. Toincreasethenetworkload,weincreasethehold Tparameterwhilewefixia Ttoaconstantvalue. Settingsabovearecommontoboththesimulationscenarioslistedatthebeginningof thischapter.However,someothersettingsarepeculiartothesecondsetofsimulations, whoseresultsareanalyzedtoevaluatethenetworkfromthetrafficexchangeperformancespointofview. Inliterature,ithasbeenclearlydemonstratedastheInternettrafficisbettermodelled byParetoorexponentiallydistributedstatistics.Moreover,inprinciplethemultiplexing ofseveralsourcesofParetotrafficgeneratesself‐similarorlong‐range‐dependent(LRD) networktraffic. Chapter7–SimulationStudy Chapter1‐Introduction  Page|125  Forthisreason,wearegoingtoinvestigatetheperformancesofthesimulatedMTEpoliciesusingaheavy‐tailedtruncatedParetodistribution,whichisconsideredbymanyresearcherstobeagoodmodelforbursttrafficinrealnetworks.[12][13]. Inourmodel,packetsarriveinbursts(ONperiods),whichareseparatedbyidleperiods (OFFperiods).TogenerateaPareto‐distributedsequenceofONperiods,onecangenerateaPareto‐distributedsequenceofburst(packettrain)sizes,followedbyParetodistributedidleperiods.Theminimumburstsizeis1,correspondingtoasinglepacket arrival.TheformulatogenerateaParetodistributionis xa b XPareto 1  wherexisauniformlydistributedvalueintherange(0,1],bistheminimumnonzero valueofXPARETO,denotedbonandboffforthepackettrainandtheidleperiod,respectively,andaisthetailindexorshapeparameteroftheParetodistribution.  However,computersimulationsusingtheaboveformulagenerateatruncatedPareto distributionbecauseofthediscreetxvalue.Incontrast,anytrueParetodistributionof sufficientlygreatlengthwillhavevaluesthatexceedtherangegeneratedbycomputer simulations. Themodelaboveistheoneadoptedinoursimulation.Nevertheless,inreality,trafficin thecorenetworkdependsonmanyexternalitiesandisstillanopenresearchissue.       Chapter7–SimulationStudy Chapter1‐Introduction  Page|126  7.1.3 SimulationSettings Table7.1showsthecommonparametersusedforalltheexperiments. Totalnumberofrequests50000 Lightpathcapacity(C)15Gbps Averageconnectionbandwidth requested (Ba) 2Gbps Distribution 33,3%1Gbps 33,3%2Gbps 33,3%3Gbps Fiberpropagationdelay 0.33ms correspondingto100Km foreachopticallink IPprocessingdelay10μs Table7.1–CommonParametersvalueusedinoursimulations  ThedurationofeachsimulationrunisdeterminedbytheparametercallCounterdescribedinchapter5.Thenumberofconnectionrequests,inTable7.1,hasbeenchosen asacompromisebetweenthestabilityoftheresultsintermsofconvergenceofthe blockingprobabilityandthedurationofeachsimulationtime.Thesimulationterminates whenalltherequestshavebeenprocessed.Thedurationofeachsimulationruninrealtimedependsonthesizeofthenetworktopologyusedandonthenumberofportsof eachASON/GMPLSrouter. Thecapacityofeachlightpathissetto15Gbpsandeachconnectionrequestrequires from1Gbpsto3GbpsusingthediscretestatisticaldistributioninTable7.1.Aconnection requestof1GbpscorrespondstoanOC‐24opticallinewhilethe2GbpsrequestcorrespondstoanOC‐48opticalline. ThepropagationdelayusedinthesimulationsissettothevalueinTable7.1becauseit correspondstoanaveragelengthfortheopticalfibresof100Km;assumingthespeedof lightasthepropagationspeedfortheopticalsignalswehaveadelayof0.33msevery 100Km. Chapter7–SimulationStudy Chapter1‐Introduction  Page|127  TheIPprocessingdelay,thatisthetimethateachpacketneedstobeprocessedbythe IPlayer,issettothevalueinTable7.1becauseitisthesameusedinalltheINETsimulationsamplesandisthoughttobetheaverageoftoday’sdevices. 7.1.4 OSPFTimersandprotocolblockingprobabilityissues Resultsfrompreviousresearch[7]makeusawareofsomeissuesderivingfromthe blockingprobabilitystudy.Undercertainconditiontheconnectionrequestrejectionis notduetothelackofnetworkresources,butcanbecausedbyprotocolconvergence problems,instead. Thereasonofthisproblemisinthehighlydynamicbehaviorofthevirtual(IP/MPLS)topology;whileVT‐First,preferringthegroomingoperationasfirststep,generatesonly fewchangesintheIPtopologyanditslinkstateprotocolreachtheconvergenceintime; PT‐First,preferringthenewligthpathcreationasfirststep,generatesseveralchangesin theIPtopologyandtheroutingprotocolnotalwaysreachtheconvergencecausing,for manyconnectionrequests,a“falsepositive”.“Falsepositive”meansthatthepolicy startsthecreationofaLightpathoveranavailableopticalroutebuttherouteisactually fullbecauseofresourcesbeingreservedatthesametime. ThefactthatthevirtualtopologyismoredynamicwhenusingthePT‐Firstpolicycauses alsoanotherphenomenon.TheIP/MPLScontrolanddatapacketssharethesamelinks (in‐bandsignaling)andduetothequickchangesinthenetworkthereisahighprobabilityofhavinganotconnectednetworkgraph,meaningthatnodesinoneconnected componentcannottransmittothenodeofothersconnectedcomponents;thesenodes willnotbeabletoupdatethelinkstateinformationuntilanewlightpathconnectsthe twocomponents.Thisresultsinaincrementoftheoverallblockingprobability.The samephenomenonisnotpresentattheASONlayerbecausethecontrollinksareseparatedfromthedatalinks(out‐of‐bandsignaling)andthetopologyisfixedduringallthe simulationrun;thuseveryroutercanalwaysreachtheothers.Therefore,whileinthe ASONcontrolplanetheonlyblockingprobabilityextra‐contributionisgivenbytheslow convergenceofthelinkstateprotocol,intheIP/MPLSlayerthereisalsoanextracontributiongivenbythegraphconnectionproblemdiscussedabove. Chapter7–SimulationStudy Chapter1‐Introduction  Page|134  canoverlap,fortrafficloadgreaterthan120Erlang.  Forthereasonsexplainedabove,itislikelytoexpectsimilarresultsfromthesimulations concerningthepacketdelay,showedbyfigure7.4.  Figure7.7‐PacketdelayforHPtrafficandLPtrafficintheRP‐Diffpolicy EventhoughwereachacertaindegreeofdifferentiationbetweenHPtrafficandLPtraffic,wecanseethatthevaluesofpacketdelaygaptendtodecreaseasthetrafficload risesuntil125Erlang,wherethetwocurvesoverlap. Oneofthereasonsforthisbehaviorcanbefoundanalyzingtheaveragelengthofthe LSPssetupforLPandHPtraffic.UsingRP‐Diffthereiscompletesharingofthenetwork resources,soweexpectonlyaslightdifferencebetweenHPandLPLSPs.  Figure7.8‐TheaverageLSPlengthintheRP‐Diffstrategy 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,08 1,1 1,14 1,22 1,34 1,43 1,50 RPDiff‐ LowPriority 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 PacketDelay(ms) 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,27000 1,32000 1,37000 1,67000 1,75000 1,83000 1,87000 RPDiff‐ LowPriority 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 LSPLength(hops) Chapter7–SimulationStudy Chapter1‐Introduction  Page|135  Figureaboveconfirmsthatsomedifferentiationpoliciestomanagethenetworkresourcesharingareneededtoo.UsingRP‐Diff,thereisnoServiceDifferentiationatallin termsofblockingprobabilityorcannotbeguaranteed,anyway,intermsofpacketdelay aswecanseeinfigure7.8.ToobserveadifferentiationintermsofLSPlengthitcouldbe necessaryrunsomesimulationsoverabiggernetworktopology,asNSFgivealmostthe sameresultsforHPandLPLSPlengths. Hard‐Diffpolicyevaluation Aspreviouslyintroducedinchapter3,usingtheHard‐Diffpolicyweaimattheservice differentiationbyintroducingastrongerdiscriminationbetweenHPandLPtraffic.Connectionrequestsarenowaccommodatedoriginatingdifferentvirtualtopologiesfordifferentrequestpriorities. Figure7.9showstheblockingprobabilityfortheHard‐Diffpolicy,usingthesamesettingsandthesametrafficloadconditionsasthepreviousexperiment.  Figure7.9–BlockingProbabilityforHPtrafficandLPtrafficintheHard‐Diffpolicy Aswecanseeabove,itisclearhowtheHard‐DiffapproachachievesasubstantialdiversificationbetweentheQoSofferedtoHPandLPtraffic.Figure7.9highlightsthebehaviorofthetwocurvesrepresentingtheBlockingProbability:wecaneasilyseethatthey neveroverlap.Thesamebehaviorhasbeenobservedanalyzingtheresultsobtainedsimulatingtrafficexchangeamongthenetwork’snodes,asshowedinfigure7.10. 100 105 110 115 120 125 132 HardDiff‐ HighPriority 0,00250 0,00030 0,00210 0,00140 0,00200 0,00300 0,00100 HardDiff‐ LowPriority 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 Blockingratio Chapter7–SimulationStudy Chapter1‐Introduction  Page|136   Figure7.10‐PacketdelayforHPtrafficandLPtrafficintheHard‐Diffpolicy TheHard‐Diffstrategydemonstrateshowdifferentiatingtheserviceofferedintermsof resourcesharingcanbeagoodwaytoachievebetterresultsthanRP‐Diffstrategy.On theotherhand,thegapbetweenHPandLPblockingratioseemstobemorethanwhat isdesirable;somefurtheranalysisisneeded,comparingRP‐DiffandHard‐Diffresultsas infigure7.11.  Figure7.11a‐BlockingratioforHPandLPtrafficinHard‐DiffandRP‐Diff 100 105 110 115 120 125 132 HardDiff‐ HighPriority 1,23 1,30 1,24 1,24 1,22 1,17 1,32 HardDiff‐ LowPriority 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 PacketDelay(ms) 100 105 110 115 120 125 132 RPDiff‐ HighPriority 0 0 0,0007 0,0406 0,09 0,12 0,163 RPDiff‐ LowPriority 0 0 0,0009 0,0394 0,093 0,1213 0,169 HardDiff‐ HighPriority 0,00250 0,00030 0,00210 0,00140 0,00200 0,00300 0,00100 HardDiff‐ LowPriority 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 Blockingratio Chapter7–SimulationStudy Chapter1‐Introduction  Page|137    FiguresabovepermittoanalyzethebehaviorofboththeRP‐DiffandHard‐Diffstrategies. TheblockingprobabilityishigherfortheHard‐DiffstrategyforLowPriority.Hence,we cansaythatacertaindegreeofservicedifferentiationhasbeenachieved,buttheperformancesdegradationissuchthatRP‐DiffstillresultsmoreconvenientthanHardDiff. Oncecreated,anOLSPcanaccommodateonlytrafficbelongingtooneCoS.Thisimplies thateachCoShasaloweramountofcapacityavailableforgroomingcomparedtothe RP‐DiffpolicywhereHPandLPtrafficaremixedoverauniquevirtualtopology.TheexcessivedegradationofthenetworkperformancesforLPtrafficintermsofblocking probabilitymakestheHard‐Diffstrategystillnotfeasible.Theproblemcanbesolvedtryingtoallowacertaindegreeofresourcesharingbetweenthetwovirtualtopologies,as explainedherebelowbytheSoft‐Diffstrategy. Soft‐Diffpolicyevaluation TheSoft‐DiffschemefollowsthesameapproachastheoneintroducedbyHard‐Diff,implementinganenhancedalgorithmsimilartothepreviousonewhichtakesintoaccount acertaindegreeofresourcesharingbetweenHPTandLPT. HPandLPtrafficarestilltransmittedovertwodifferentvirtualtopologies,butLPTnow canusealimitedamountofHPT’sresourcestoovercomethelimitationexperienced duringtheHard‐Difftests.WhenthesystemtriestoaccommodatenewLPrequests,resourcesallocationisperformedtakingintoaccountalsodirectHPlightpathsbetween 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,08 1,1 1,14 1,22 1,34 1,43 1,50 RPDiff‐ LowPriority 1,15 1,18 1,21 1,31 1,40 1,46 1,54 HardDiff‐ HighPriority 1,23 1,30 1,24 1,24 1,22 1,17 1,32 HardDiff‐ LowPriority 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 PacketDelay(ms) Figure7.11b‐BlockingratioforHPandLPtrafficinHard‐DiffandRP‐Dif f  Chapter7–SimulationStudy Chapter1‐Introduction  Page|138  sourceanddestination(anexamplecanbefoundinchapter3,wherethealgorithmis explainedindepth). Figure7.12showstheBlockingProbabilityintheSoft‐Diffstrategyunderthesametrafficconditionsasthepreviousexperiments.Inthiscase,wechasetorepresentboththe RP‐DiffandSoft‐Diffcurves,allowingtocomparethetwoperformancesatfirstglance.  Figure7.12‐BlockingratioofHPandLPtrafficforRP‐DiffandSoft‐Diffpolicies Inthiscasethenetworkimprovesitsperformancesfromtheblockingratiopointofview. Thisconfirmsthatacertaindegreeofresourcesharingleadstobetterresults,aswecan seeinfigureabove. Asillustratedabove,forlowloadednetworksRP‐Diffisstillthemoreconvenientpolicy. ThisisduetotheverylowblockingratioachievedbybothHPandLPtrafficintheRP‐Diff approach.  Ontheotherhand,oncethetrafficloadincreases,theSoft‐Diffschemereachesbetter resultswhentheblockingratiointheRP‐DiffincreasesbothforLPandHPtraffic.This phenomenondoesnotaffecttheSoft‐DiffschemewheretheHPtrafficblockingratio remainsnegligible,whiletheLPblockingratioincreases.TheadvantageoftheSoft‐Diff policyisfurtherhighlightedwhenthetrafficloadriseover120ErlangandtheHPandLP blockingratioreachvaluescomparablewiththeonesassumedbythecurve representingtheLPblockingprobabilityoftheSoft‐Diffstrategy. ThisisaveryimportantgoaltheSoft‐Diffpolicyreached: 100 105 110 115 120 125 132 RPDiff‐ HighPriority 0 0 0,0007 0,0406 0,09 0,12 0,163 RPDiff‐ LowPriority 0 0 0,0009 0,0394 0,093 0,1213 0,169 SoftDiff‐ HighPriority 0 0 0,00006 8E‐05 0,0002 0,0002 0,0003 SoftDiff‐ LowPriority 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 Blockingratio Chapter7–SimulationStudy Chapter1‐Introduction  Page|139   ServiceDifferentiationhasbeenachieved.Byonehand,RP‐Diffoffersnearly thesameblocking%forbothHPandLPtraffic.Ontheotherhand,Soft‐Diff keepstheblocking%forHPtraffictonegligiblevalues,evenwhenthetraffic loadincrease.  Agoodtrade‐offbetweenServiceDifferentiationandLPperformanceshasbeen reached.Itisclearthatthevirtualtopologiesdifferentiationimpliesacertain degreeofperformancesdegradationforLowPrioritytraffic.ContrarytotheresultsobservedbeforeusingtheHard‐Diffstrategy,nowtheLPblockingratiocan beconsideredcomparablewiththeoneassumedbyRP‐Diff. Whatwesaidbeforeisfurtherconfirmedbythepacketdelayanalysis.  InthiscasewedecidedtocomparetheservicedifferentiationprovidedbySoft‐Diffand RP‐Diffmoreindepth:  first,presentingtheaveragepacketdelayunderdifferenttrafficloadconditionsforboththepolicies;  then,choosingaparticulartrafficloadtorecordthedelaysufferedbyeach packetexchangedovertheLPandHPTopologies.  Figure7.13‐AveragePacketend‐to‐enddelayforRP‐DiffandSoft‐Diffpolicies FigureaboveshowstheRP‐Diffcurvealreadyseenbefore,andthebehaviorobserved fortheSoft‐Diffstrategy.Aswecaneasilysee,forlowtrafficconditionsRP‐Diffremains thebestpolicy;neverthelessafter110ErlangbothLPTandHPTseemtosufferlessthan theRP‐Difftopologythetrafficloadincreasing. 100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,08 1,1 1,14 1,22 1,34 1,43 1,50 RPDiff‐ LowPriority 1,15 1,18 1,21 1,31 1,40 1,46 1,54 SoftDiff‐ HighPriority 1,110 1,100 1,102 1,110 1,150 1,133 1,175 SoftDiff‐ LowPriority 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 PacketDelay(ms) Chapter7–SimulationStudy Chapter1‐Introduction  Page|140  Infigure7.13itisalreadypossibletoobservehowthedifferentiationofferedbySoft‐Diff isslightlybetterthantheRP‐Diff’sone.However,herebelowwecanseesomescreenshotsfromOMNeT++representingthedelay(inseconds)sufferedbyeachpacketexchangedoverthenetworkincaseof125Erlangoftrafficload.                Figuresaboveshowclearlywhatweexpected:theservicedifferentiationappearsmore evidentthanasweobserveinfigure7.13,whereonlytheaveragevalueisrepresented. Thisisbecause,aswecanseeinfigure7.15c,LPtrafficcansufferbothhighandverylow delays.Thus,itisagoodideatomakesomeexperimentsinordertoverifythatthedis‐ Figure7.15a – HPTpacketdelayinSoft‐Diffat125Erlang Figure7.14a‐HPTpacketdelayinRP‐Diffat125Erlang Figure7.14b‐LPTpacketdelayinRP‐Diffat125Erlang Figure7.14c‐packetdelayinRP‐Diffat125Erlang Figure7.15b – LPTpacketdelayinSoft‐Diffat125Erlang Figure7.15c – packetdelayinSoft‐Diffat125Erlang 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 Chapter7–SimulationStudy Chapter1‐Introduction  Page|141  tancebetweeneachrecordedpacketdelayandtheaveragedelayisreasonable.Thisis animportantparameter,givingussomepreliminaryindicationsonthevariationinthe timebetweenpacketsarrivingdelayandaveragepacketdelayduringthetrafficexchange(jitter). Inordertoevaluatethisparameterweanalyzethevarianceofthepacketdelay;theresultisshowedherebelowforbothRP‐DiffandSoft‐Diffpolicies.  Figure7.16–trafficdelayvarianceforRP‐DiffandSoft‐Diffpolicies Assaidbefore,ofcoursetheSoft‐DiffapproachimpliesaslightdegradationoftheperformancesofferedforLPtraffic.RP‐Diffstillremainsmorefeasibleforlow‐mediumtrafficloadconditions,while,from120Erlangon,thecurvereachesvaluescomparableto theSoft‐DiffLowPriority.Evaluatingthevarianceisimportanttohaveafirstimpression aboutcertaincriticalparameters:forsomereal‐timeapplications,averagepacketdelay isnotenoughasguaranteeofQoS;maximumpacketdelayanddelayjitterareimportantparametersaswell(e.g,VoIP,VideooverIP,etc.).  Infigure7.16packetdelayoverLPTopologycanbeconsideredless“stable”thantheHP Topology’sone.Nevertheless,comparingSoft‐DiffbehaviorwiththeRP‐Diff’sone,we canseehowthedifferentiationbetweenHPTandLPTremainsreasonable. Somefinalconsiderations InthischapterwepresentedasetofexperimentsinordertoevaluatetheServiceDifferentiationofferedbythreeMTEpolicies.Thefirstone,RP‐DiffisbasedonasimplealgorithmthatdecidesonthemultilayerroutingpolicyaccordingtotheCoStheservicere‐ 100 105 110 115 120 125 132 RPDiff‐ HighPriority 0,26700 0,27 0,27200 0,39300 0,51600 0,62300 0,75100 RPDiff‐ LowPriority 0,27700 0,285 0,29300 0,42600 0,52800 0,60600 0,72200 SoftDiff‐ HighPriority 0,23600 0,25700 0,27300 0,25300 0,27100 0,26700 0,25900 SoftDiff‐ LowPriority 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) Chapter7–SimulationStudy Chapter1‐Introduction  Page|142  questbelongsto.Thesecondone,Hard‐Diff,transmitstrafficbelongingtodifferentCoS ontodifferentlightpaths.Inpractice,thesystemoperatesaresourcedifferentiation whichdoesnotallowservicesbelongingtooneCoStosharenetworkresourcesonthe virtualtopology.However,acertaindegreeofresourcesharing(theSoft‐Diffpolicy) needstobeintroducedinordertonotdeterioratetheperformancewithrespecttoa systemthattransmitstrafficonasinglevirtualtopology.Asalreadyexplainedinchapter 3,afurtherclarificationisneeded:whytheLPTisallowedtousedirectOLSPsoftheHPT butnotviceversa?Thisdecisionhas2mainreasons:  TheLPTcanundergomoreinstabilityandconsequentlyitcanbereconfigured withahigherfrequencycomparedtoHPT.ThismeansthatHPservicescannot beaccommodatedontheLPTotherwisetheprovidedQoScouldnotbeguaranteed.  ThelimitedcapacityavailableexperiencedintheHard‐DiffschemeismoresignificantfortheLPtrafficduetotheuseofVTFintheLPT. ByforcingthesystemtoconsideronlyOLSPsdirectlyconnectingsourceanddestination, welimitthecapacityutilizationoftheHPTandpreventservicedegradation[14].Figure 7.17and7.18summarizesthebehaviorofthethreestrategiesintermsofblocking probabilityandpacketdelay.  Figure7.17‐BlockingratiocomparisonforHardDiff,SoftDiffandRPDiff 100 105 110 115 120 125 132 RPDiff‐ HighPriority 0 0 0,0007 0,031 0,09 0,137 0,163 RPDiff‐ LowPriority 0 0 0,0009 0,032 0,093 0,133 0,169 SoftDiff‐ HighPriority 006E‐05 8E‐05 0,0002 0,0002 0,0003 SoftDiff‐ LowPriority 0,0345 0,051 0,059 0,089 0,12 0,132 0,173 HardDiff‐ HighPriority 0,00250 0,00030 0,00210 0,00140 0,00200 0,00300 0,00100 HardDiff‐ LowPriority 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 Blockingratio Chapter  7 Simulation  Study Chapter7–SimulationStudy Chapter1‐Introduction  Page|143   Figure7.18‐PacketDelaycomparisonforHardDiff,SoftDiffandRPDiff Consideringtheresultsobtainedfromthewholesetofsimulationsexplainedinthis chapterandtheresumingchartsshowedinfiguresabove,wecanseehowaccommodatingdifferentCoSoverdifferentvirtualTopologies(inthiscaseLowPriorityandHigh PriorityTopology)improvestheServiceDifferentiationsuppliedbythenetwork. Thisapproachsufferssomelimitationaswell:incaseofalargeamountofdifferentClass ofServices,furtherresearchisneededinordertofindthebesttradeoffamongthe numberofCoS,thenetworktopology,andthelesscapacityavailabletoallocateresourcesforeachvirtualtopology.  100 105 110 115 120 125 132 RPDiff‐ HighPriority 1,08 1,1 1,14 1,22 1,35 1,56 1,61 RPDiff‐ LowPriority 1,15 1,18 1,21 1,31 1,41 1,49 1,56 SoftDiff‐ HighPriority 1,110 1,100 1,108 1,110 1,107 1,103 1,130 SoftDiff‐ LowPriority 1,200 1,200 1,220 1,210 1,208 1,170 1,250 HardDiff‐ HighPriority 1,23 1,30 1,24 1,24 1,22 1,17 1,32 HardDiff‐ LowPriority 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 PacketDelay(ms) Chapter7–SimulationStudy