Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

download Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

of 17

Transcript of Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    1/17

    By

    Mohammed Amer Al-Batati

    OMNet+

    +Step by Step

    Part - 3

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    2/17

    Start the OMNet IDE:

    1 !"#$h %mi#&'e#($md)

    2  *ype: om#etpp

    etti#& Started

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    3/17

     *he# yo" 'ill be a,ed to ,ele$t the'or,pa$e path

    !et., $reate o"r o'# /e& :My'or,pa$e

    li$ 4O5.

    etti#& Started - $o#t

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    4/17

    OMNet IDE

    MigrationTutorials

    What'sNew

    Overview

    Workbench

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    5/17

    A# OMNe*++ model $o#,i,t, o6 mod"le, that$omm"#i$ate 'ith me,,a&e pa,,i#&

    Simple mod"le, $a# be &ro"ped i#to

    $ompo"#d mod"le, a#d ,o 6orth *he #"mber o6 hierar$hy le(el, i, "#limited

    Modeli#& o#$ept,

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    6/17

    Modeli#& o#$ept, - $o#t

    ate/,I#p"t &ate /re$ei(e data6romO"tp"t &ate /,e#d data

    6rom

    o##e$tio# /li#Mod"le, $omm"#i$ate by e7$ha#&i#&me,,a&e, I# a# a$t"al ,im"latio#8me,,a&e, $a# repre,e#t

    6rame,8 pa$et, 8 9ob,8 et$

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    7/17

    o to %Pro9e$t E7plorer) /i#do'-; Sho'i#i,h

    Simple E7ample

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    8/17

    =i&ht-li$ o# %mypro9e$t) -; Ne' -; SimpleMod"le

    Name it /Node#ed -; A ,imple mod"le -;

    >i#i,h

    reate ?o"r >ir,t Simple Node

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    9/17

    Do"ble li$ o# %Node#ed)

    A d"al-mode /De,i a#d So"r$e NED editori, ope#ed

    Modi6yi#& %Node#ed)

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    10/17

    Do"ble li$ o# %Node#ed)

    A d"al-mode /De,i a#d So"r$e NED editori, ope#ed

    Modi6yi#& %Node#ed)

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    11/17

    >or #o'8 let o"r Node 'ith o#ly t'o &ate,:i#p"t a#d o"tp"t &ate,

    @,e ey'ord %&ate,) 6ollo'ed by %:) to de#e

    &ate,@,e ey'ord %i#p"t) 6or i#p"t &ate,

    @,e ey'ord %o"tp"t) 6or o"tp"t &ate,

    Do#.t 6or&et ,emi-$olo#, or to ,a(e yo"r le

    De#i#& ate,

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    12/17

    o ba$ to %De,i) (ie'

    By =i&ht-$li$ o# Node mod"le8 yo" $a#modi6y the mod"le propertie, /e& ba,e8 i$o#

    a#d poly&o#!et., $ha#&e the i$o#

    De#i#& ate, - $o#t

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    13/17

    !et., $reate a #et'or 'ith t'o #ode, /#ode1a#d #ode2 $o##e$ted to ea$h other

    =i&ht-li$ o# %mypro9e$t) -; Ne' -; Net'or

    Name it /my#et'or#ed -; A# empty#et'or -; >i#i,h

    Still 'ith NED editor8 ,o it $a# be do#e ",i#&either De,i or So"r$e mode

    reati#& a Net'or

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    14/17

    O#e $li$ o# mod"le %Node) i# 4S"bmod"le,.

    A#other $li$ o# %my#et'or) to $reate r,t#ode

    =e#ame it i6 #eededDo the ,ame 'ith the other #ode

    reati#& a Net'or De,iMode

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    15/17

    o##e$t them to&ether by ",i#&%o##e$tio#)8 'hi$h $a# be 6o"#ded i#Palette

     *here are three type, o6 $ha##el,:

    A$ti(ate %o##e$tio#) by $li$i#& o# it

     o##e$t Node1 'ith Node2 by $li$i#& Node1r,t the# Node2 />rom #ode1 to Node2

    Do the ,ame 'ith Node 2

    reati#& a Net'or De,iMode

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    16/17

    By ope#i#& the So"r$e mode 'e 'ill #d:

    reati#& a Net'or So"r$eMode

    CTRL+SHIT+O *o import #eeded

    pa$a&e,

    CTRL+SHIT+ *o re6ormat the NED le

    CTRL+S!"C#he# help i, #eeded

  • 8/16/2019 Tutorial3 Gettingstartedwithomnet 120206080735 Phpapp02

    17/17

    letC, te,t 'hat 'e ha(e do#e ,o 6ar

    =i&ht-$li$ o# %my#et'or#ed) ="# A, -;OMNet++ Sim"lator

    O5 -; O5 

    ="##i#& *he E7perime#t,