1 / 10

OML – Infrastructure overview

OML – Infrastructure overview. Igor Leonardo Eloy Macedo. Agenda. OML The basics Filters The Measurement points The Database OML MDIP. OML – The Basics (1). First developed as a component of OMF Today is a stande-alone project ( indepedent )

netis
Télécharger la présentation

OML – Infrastructure overview

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OML – Infrastructure overview Igor Leonardo Eloy Macedo

  2. Agenda • OML • Thebasics • Filters • TheMeasurementpoints • The Database • OML MDIP

  3. OML – TheBasics (1) • Firstdeveloped as a componentof OMF • Today is a stande-aloneproject (indepedent) • Collectsanytypeofmeasurementofanytypeofapp • Composedbythreeitems (executionpointofview) • Measurementpoints • MeasurementStreams • OML’sFilteringMechanisms

  4. OML – TheBasics (2)

  5. OML – Filters • It is theresultof some pre-processingon a measurementstream • The big advantageofthis is reducetheamountof data collected • Definidedbythe OML ClientLibrary • It is possible to custumizethen, butthere some default filters: • http://mytestbed.net/projects/oml/repository/revisions/master/show/lib/client/filter • How to creteyourownfilter: • http://omf.mytestbed.net/projects/oml/wiki/Developing_Filters

  6. OML – MeasurementPoints (MP) (2) • “It is the input port for recordingmeasurements” • A MP is a tuplethatindicates a measurement • A measurement is notjust a number • Canbe a groupof itens • In todays version, a measurementcanberepresented as a string | integer | double • App “inject” measurementsinto a MP • ClientLibrary • Registerthe MP • Appliesfilters to them • Sendsthe MP to na output stream | file

  7. OML – MeasurementPoints (MP) (2) OmlMPDefmp_def [] = { { "source", OML_LONG_VALUE }, { "destination", OML_LONG_VALUE }, { "length", OML_LONG_VALUE }, { "protocol", OML_STRING_VALUE }, { NULL, (OmlValueT)0 } }; OmlMP* mp = omlc_add_mp ("packet_info", mp_def); if (mp == NULL) { fprintf (stderr, "Error: couldnotregisterMeasurementPoint \"packet_info\"");; exit (1); }

  8. OML Server • Allowsusers to recordtheirmeasurementsinside a remote database • It works like a daemonprogram for OML arquitecture • Receivesthemeasurementscollectedfromclients • Creates a database namedby “oml-exp-id” (a parameter for configuration, requiredbytheomlc_initfunction • “The oml2-server proposes an abstraction for developers to change the back-end database. Currently, only the sqlite3 backend is fully” • Export database to a txt file (on NICTA testbed) • wget "http://ServerAddress:5053/result/dumpDatabase?expID=Experiment_ID" -O arquivoDump

  9. MDIP Proposal

  10. References • http://oml.mytestbed.net/projects/oml/wiki/Documentation • http://omf.mytestbed.net/projects/omf/wiki/BasicTutorialStage4-5-3 • http://oml.mytestbed.net/projects/oml/wiki/Server • http://oml.mytestbed.net/projects/oml/wiki/Configuring_OML_Client_Applications • http://omf.mytestbed.net/projects/oml/wiki/Client_Programming

More Related