if i want to modify the topology that i used in the demo , i just need to 
change just the topology file right?
is there any step besides that ?
i want to make topology with just a few router and running mpls on it , then i  
want to see the performance like delay, bandwitch etc.
can you guide me to do that ? or can i get reference to make router topology 
and running the mpls ?

thanks
Andry Anthony


________________________________
 From: Ali Reza Sharafat <[email protected]>
To: Andry Anthony <[email protected]> 
Sent: Sunday, March 11, 2012 1:12 AM
Subject: Re: [nox-dev] how to simulating openflow MPLS ?
 

Seems like your python installation is missing the impacket. try googleing to 
see how you can install it.


On Sat, Mar 10, 2012 at 5:27 AM, Andry Anthony <[email protected]> 
wrote:

it workss.. thanks Ali ..
>but when i try this steps ,
>In the h1 xterm do
>
>cd packetgen
python packetgen.py 10 1 h1-eth0 3
>i've got this error :
>
>
>
>
>Traceback (most recent call last) :
>File "packetgen.py", line 17, in (module)
>from impacket import ImpactDecoder, ImpactPacket
>ImportError : No module named impacket
>
>
>what should i do next? 
>
>
>thanks
>Andry
>
>
>
>
>
>
>
>________________________________
> From: Ali Reza Sharafat <[email protected]>
>To: Andry Anthony <[email protected]> 
>Sent: Saturday, March 10, 2012 4:16 AM
>
>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
> 
>
>
>you need to install ant. sudo apt-get install ant
>
>
>
>On Fri, Mar 9, 2012 at 6:06 AM, Andry Anthony <[email protected]> 
>wrote:
>
>i've finnaly manage the previous problem,,, thankss
>>but when i try this steps,
>>
>>GUI 
>>Get the source from the git repository: 
>>git clone git://gitosis.stanford.edu/envi-mpls.git
>>
>>Then build the code and run it: 
>>cd envi-mpls/gui/
>>make
>>
>>
>>
>>i've got another problem 
>>
>>andry@andry-laptop:~/envi-mpls/gui$ make
>>/bin/sh: ant: not found
>>
>>
>>is there any step that i missed??
>>
>>
>>
>>
>>
>>thanks
>>Andry
>>
>>
>>
>>
>>
>>andry@andry-laptop:~$ ls
>>Desktop    Downloads  examples.desktop  Music     Public     Videos
>>Documents  envi-mpls  mnox              Pictures  Templates
>>andry@andry-laptop:~$ cd envi-mpls/gui/
>>andry@andry-laptop:~/envi-mpls/gui$ ls
>>background.png   build.xml            jnlp     
 mpls-2.yaml  src
>>bg.png           config-1440x900.txt  lib       nb_project
>>bg-smallscr.png  images               Makefile  newbg.png
>>andry@andry-laptop:~/envi-mpls/gui$ make
>>/bin/sh: ant: not found
>>make: *** [jar] Error 127
>>andry@andry-laptop:~/envi-mpls/gui$ 
>>
>>
>>
>>
>>
>>
>>________________________________
>> From: Ali Reza Sharafat <[email protected]>
>>To: Andry Anthony <[email protected]> 
>>Sent: Friday, March 9, 2012 12:53 AM
>>
>>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
>> 
>>
>>
>>hmmm I've never seen that error. it's probably something that you've changed. 
>>try looking up the line that's giving the error and dig into the code to 
>>figure out why it's failing.
>>
>>
>>Ali
>>
>>
>>
>>On Thu, Mar 8, 2012 at 9:32 PM, Andry Anthony <[email protected]> 
>>wrote:
>>
>>
>>>it workss... thankss
>>>but in the end , ive still got error like this,
>>>
>>>builtin/packet-classifier.cc:43:   instantiated from here
>>>../src/include/cnode.hh:732: error: ‘class vigil::Cnode<vigil::Packet_expr, 
>>>boost::function<void(const vigil::Event&)> >’ has no member named ‘value’
>>>make[2]: *** [packet-classifier.o] Error 1
>>>make[2]: Leaving directory `/home/andry/mnox/src'
>>>make[1]: *** [all-recursive] Error 1
>>>make[1]: Leaving directory `/home/andry/mnox/src'
>>>make: *** [all] Error 2
>>>
>>>can you tell me what should i do ?
>>>
>>>thanks
>>>Andry
>>>
>>>
>>>--- On Wed, 3/7/12, Ali Reza Sharafat <[email protected]> wrote:
>>>
>>>
>>>>From: Ali Reza
 Sharafat <[email protected]>
>>>>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
>>>>To: "Andry Anthony" <[email protected]>
>>>>Date: Wednesday, March 7, 2012, 4:08 AM
>>>>
>>>>
>>>>
>>>>you have to do this multiple times. is the error always on the same line in 
>>>>the same file?
>>>>
>>>>
>>>>On Wed, Mar 7, 2012 at 1:06 AM, Andry Anthony <[email protected]> 
>>>>wrote:
>>>>
>>>>after applying some changes, and try make , i've got another error,
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>pyrt.cc: In function âvoid convert_datapath_join(const vigil::Event&, 
>>>>>PyObject*)â:
>>>>>pyrt.cc:182: error: âPySwigObjectâ was not declared in this scope
>>>>>pyrt.cc:182: error: âswigoâ was not declared in this scope
>>>>>pyrt.cc: In function âvoid convert_table_stats_in(const vigil::Event&, 
>>>>>PyObject*)â:
>>>>>pyrt.cc:193: error: âPySwigObjectâ was not declared in this scope
>>>>>pyrt.cc:193: error: âswigoâ was not declared in this scope
>>>>>pyrt.cc: In function âvoid convert_aggregate_stats_in(const vigil::Event&, 
>>>>>PyObject*)â:
>>>>>pyrt.cc:206: error: âPySwigObjectâ was not declared in this scope
>>>>>pyrt.cc:206: error: âswigoâ was not declared in this scope
>>>>>pyrt.cc: In function âvoid convert_desc_stats_in(const vigil::Event&, 
>>>>>PyObject*)â:
>>>>>pyrt.cc:221: error: âPySwigObjectâ was not declared in this scope
>>>>>pyrt.cc:221: error: âswigoâ was not declared in this scope
>>>>>pyrt.cc: In function âvoid convert_port_stats_in(const vigil::Event&, 
>>>>>PyObject*)â:
>>>>>pyrt.cc:232: error: âPySwigObjectâ was not declared in this scope
>>>>>pyrt.cc:232: error: âswigoâ was not declared in this scope
>>>>>pyrt.cc: In function âvoid convert_datapath_leave(const vigil::Event&, 
>>>>>PyObject*)â:
>>>>>
>>>>>
>>>>>then i try this
>>>>>find -name *.cc | xargs python pyname_patch.py
>>>>>find -name *.hh | xargs python pyname_patch.py
>>>>>but the error still the same ,
>>>>>could you tell me the solution ?
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>thanks
>>>>>Andry
>>>>>
>>>>>
>>>>>
>>>>>________________________________
>>>>> From: Ali Reza Sharafat <[email protected]>
>>>>>To: Andry Anthony <[email protected]> 
>>>>>Sent: Wednesday, March 7, 2012 3:32 PM
>>>>>
>>>>>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
>>>>> 
>>>>>
>>>>>
>>>>>No, that file is not in the repo. You can safely ignore it.
>>>>>
>>>>>
>>>>>Ali
>>>>>
>>>>>
>>>>>
>>>>>On Wed, Mar 7, 2012 at 12:26 AM, Andry Anthony 
>>>>><[email protected]> wrote:
>>>>>
>>>>>i've applied the changes , but i can't find file leak-checker.hh . Do you 
>>>>>have the file?
>>>>>>
>>>>>>
>>>>>>thanks
>>>>>>
>>>>>>
>>>>>>
>>>>>>________________________________
>>>>>> From: Ali Reza Sharafat <[email protected]>
>>>>>>To: Andry Anthony <[email protected]> 
>>>>>>Sent: Wednesday, March 7, 2012 2:39 PM
>>>>>>
>>>>>>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
>>>>>> 
>>>>>>
>>>>>>
>>>>>>you can view the cstdio.patch file...its basically a diff file. so just 
>>>>>>go through it and apply the changes to the individual files as you go 
>>>>>>along. there are less than 10 files that need to be changed. if you open 
>>>>>>the patch file then you see what changes are needed where. Let me know if 
>>>>>>that helps
>>>>>>
>>>>>>
>>>>>>On Tue, Mar 6, 2012 at 11:33 PM, Andry Anthony 
>>>>>><[email protected]> wrote:
>>>>>>
>>>>>>What changes did you mean? what should I do next? 
>>>>>>>
>>>>>>>
>>>>>>>thanks
>>>>>>>
>>>>>>>________________________________
>>>>>>> From: Ali Reza Sharafat <[email protected]>
>>>>>>>To: Andry Anthony <[email protected]> 
>>>>>>>Sent: Wednesday, March 7, 2012 2:11 PM
>>>>>>>
>>>>>>>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
>>>>>>> 
>>>>>>>
>>>>>>>
>>>>>>>oh i thought you were talking about the pyname patch! I just went 
>>>>>>>through the files and made the changes manually. You only need to do 
>>>>>>>this once, so it should take less than 5 minutes.
>>>>>>>
>>>>>>>
>>>>>>>On Tue, Mar 6, 2012 at 11:07 PM, Andry Anthony 
>>>>>>><[email protected]> wrote:
>>>>>>>
>>>>>>>after following that instruction i still got the same problem ,
>>>>>>>>what is the command to apply cstdio.patch in mnox/src folder?
>>>>>>>>
>>>>>>>>
>>>>>>>>thanks
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>________________________________
>>>>>>>> From: Ali Reza Sharafat <[email protected]>
>>>>>>>>To: Andry Anthony <[email protected]> 
>>>>>>>>Sent: Wednesday, March 7, 2012 11:47 AM
>>>>>>>>
>>>>>>>>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
>>>>>>>> 
>>>>>>>>
>>>>>>>>
>>>>>>>>seems like you ran the patch incorrectly. you should use 
>>>>>>>>find -name *.cc | xargs python pyname_patch.py
>>>>>>>>find -name *.hh | xargs python pyname_patch.pythis is on the wiki as 
>>>>>>>>well, so I'm guessing you missed it when you tried to run the patch. 
>>>>>>>>Let me know if you run into any other issues
>>>>>>>>
>>>>>>>>
>>>>>>>>On Tue, Mar 6, 2012 at 8:31 PM, Andry Anthony 
>>>>>>>><[email protected]> wrote:
>>>>>>>>
>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>i've installed ubuntu 10.04 , and i when i run this
>>>>>>>>>
>>>>>>>>>cd mnox/
>>>>>>>>>./boot.sh
>>>>>>>>>./configure --with-python=yes
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>cd src/
>>>>>>>>>make
>>>>>>>>>
>>>>>>>>>the build fails do to an 'EOF' error, so i download cstdio.patch as 
>>>>>>>>>you suggest and put it in 
>>>>>>>>>mnox/src folder
>>>>>>>>>
>>>>>>>>>my question is, how to apply this patch in this folder ??
>>>>>>>>>i've tried the command 
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>andry@andry-laptop:~/mnox/src$ ls
>>>>>>>>>builtin          etc      Makefile     nox          scripts
>>>>>>>>>controller       include  Makefile.am  nox-doc.h    tests
>>>>>>>>>cstdio.patch lib      Makefile.in nox_main.cc utilities
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>dhcp_config.xml  LICENSE  Make.vars    pylib
>>>>>>>>>andry@andry-laptop:~/mnox/src$ patch --dry-run -p 0 -i cstdio.patch
>>>>>>>>>patching file b/src/include/async_io.hh
>>>>>>>>>Hunk #1 FAILED at 18.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>1 out of 1
>>>>>>>>>hunk FAILED -- saving rejects to file b/src/include/async_io.hh.rej
>>>>>>>>>patching file b/src/include/cnode.hh
>>>>>>>>>Hunk #1 FAILED at 22.
>>>>>>>>>1 out of 1 hunk FAILED -- saving rejects to file 
>>>>>>>>>b/src/include/cnode.hh.rej
>>>>>>>>>patching file b/src/include/leak-checker.hh
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>Hunk #1 FAILED at 18.
>>>>>>>>>1 out of 1 hunk FAILED -- saving rejects to file 
>>>>>>>>>b/src/include/leak-checker.hh.rej
>>>>>>>>>patching file b/src/include/netinet++/datapathid.hh
>>>>>>>>>Hunk #1 FAILED at 20.
>>>>>>>>>
>>>>>>>>>did i run wrong command?? what should i do about it?
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>thanks for your attention
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>regards
>>>>>>>>>Andry Anthony
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>  andry@andry-laptop:~/mnox/src$ ls
>>>>>>>>>builtin          etc      Makefile     nox          scripts
>>>>>>>>>controller       include  Makefile.am  nox-doc.h   
 tests
>>>>>>>>>cstdio.patch     lib      Makefile.in  nox_main.cc  utilities
>>>>>>>>>dhcp_config.xml  LICENSE  Make.vars    pylib
>>>>>>>>>andry@andry-laptop:~/mnox/src$ patch --dry-run -p 0 -i cstdio.patch
>>>>>>>>>patching file b/src/include/async_io.hh
>>>>>>>>>Hunk #1 FAILED at 18.
>>>>>>>>>1 out of 1 hunk FAILED -- saving rejects to file 
>>>>>>>>>b/src/include/async_io.hh.rej
>>>>>>>>>patching file b/src/include/cnode.hh
>>>>>>>>>Hunk #1 FAILED at 22.
>>>>>>>>>1 out of 1 hunk FAILED -- saving rejects to file 
>>>>>>>>>b/src/include/cnode.hh.rej
>>>>>>>>>patching file b/src/include/leak-checker.hh
>>>>>>>>>Hunk #1 FAILED at 18.
>>>>>>>>>1 out of 1 hunk FAILED -- saving rejects to file 
>>>>>>>>>b/src/include/leak-checker.hh.rej
>>>>>>>>>patching file b/src/include/netinet++/datapathid.hh
>>>>>>>>>Hunk #1 FAILED at 20.
>>>>>>>>>1 out of 1 hunk FAILED -- saving rejects to file 
>>>>>>>>>b/src/include/netinet++/datapathid.hh.rej
>>>>>>>>>patching file b/src/include/netinet++/ethernetaddr.hh
>>>>>>>>>Hunk #1
 FAILED at 39.
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>--- On Mon, 3/5/12, Ali Reza Sharafat <[email protected]> wrote:
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>>From: Ali Reza Sharafat <[email protected]>
>>>>>>>>>>
>>>>>>>>>>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
>>>>>>>>>>
To: "Andry Anthony" <[email protected]>
>>>>>>>>>>Date: Monday, March 5, 2012, 9:24 PM
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Hi,
>>>>>>>>>>Your issue is very OS specific I believe. What is posted on the wiki 
>>>>>>>>>>is based on my experience with Ubuntu 10.04, but package names change 
>>>>>>>>>>all the time, so I recommend googling your problem, because your 
>>>>>>>>>>issue is more os-specific rather than nox/openflow related.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>In case you have a choice of OS I suggest using ubuntu for nox 
>>>>>>>>>>development because most of the community tends to use ubuntu.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Hope that helps!
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>Cheers,
>>>>>>>>>>Ali
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>On Mon, Mar 5, 2012 at 6:08 PM, Andry Anthony 
>>>>>>>>>><[email protected]> wrote:
>>>>>>>>>>
>>>>>>>>>>hi ali, thanks for your reply before,
>>>>>>>>>>> i've some problem when i try this command,
>>>>>>>>>>>sudo apt-get install automake m4 libtool openssl libssl-dev 
>>>>>>>>>>>libboost-dev python-simplejson
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>sudo apt-get install libboost-filesystem-dev libxerces-c2-dev 
>>>>>>>>>>>python-dev libboost-thread1.40.0   #this command doesnt work (uknown 
>>>>>>>>>>>command
>>>>>>>>>>>sudo apt-get install libboost-serialization-dev libsqlite3-dev 
>>>>>>>>>>>libreadline-dev python-sphinx     #this command doesnt work)
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>sudo apt-get install libboost-test1.40-dev libboost-all-dev 
>>>>>>>>>>>libxml2-dev swig libboost-system-dev # this command doesnt work 
>>>>>>>>>>>(uknown command
>>>>>>>>>>>and when i try command make below, it is also didn;t work 
>>>>>>>>>>>
>>>>>>>>>>>cd mnox/
>>>>>>>>>>>./boot.sh
>>>>>>>>>>>./configure --with-python=yes
>>>>>>>>>>>cd src/
>>>>>>>>>>>make  # can't execute this command
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>since i'm just a beginner in linux and openflow , i really need your 
>>>>>>>>>>>guide
>>>>>>>>>>>thankss beforeAndry
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>________________________________
>>>>>>>>>>> From: Ali Reza Sharafat <[email protected]>
>>>>>>>>>>>To: Andry Anthony <[email protected]> 
>>>>>>>>>>>Cc: "[email protected]" <[email protected]> 
>>>>>>>>>>>Sent: Wednesday, February 29, 2012 11:59 AM
>>>>>>>>>>>Subject: Re: [nox-dev] how to simulating openflow MPLS ?
>>>>>>>>>>> 
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>It depends what you're looking to do. If you'd like to build the 
>>>>>>>>>>>mpls functionality in the controller, I'd suggest reading the OF1.1 
>>>>>>>>>>>spec and implement the functionality on top of the controller of 
>>>>>>>>>>>your choice.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>However, we've done a demo of mpls-te with the 1.0 spec (plus the 
>>>>>>>>>>>portion of the 1.1 spec that corresponds to mpls). Have a look here 
>>>>>>>>>>>for more 
>>>>>>>>>>>info: http://www.openflow.org/wk/index.php/MPLS_with_OpenFlow/SDN
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>Instructions to build and run the demo can be found 
>>>>>>>>>>>here: http://www.openflow.org/wk/index.php/MPLS-TE_Demo
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>Hope that helps.
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>Cheers,
>>>>>>>>>>>Ali
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>On Tue, Feb 28, 2012 at 8:19 PM, Andry Anthony 
>>>>>>>>>>><[email protected]> wrote:
>>>>>>>>>>>
>>>>>>>>>>>hi everyone,
>>>>>>>>>>>>i need information to simulating MPLS in openflow ,
>>>>>>>>>>>>can anyone give me some referrence or tuttorial about it?
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>thanks,
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>Andry Anthony
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>>_______________________________________________
>>>>>>>>>>>>nox-dev mailing list
>>>>>>>>>>>>[email protected]
>>>>>>>>>>>>http://noxrepo.org/mailman/listinfo/nox-dev
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> 
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>> 
>>
>>
>>
>
>
>

Reply via email to