OWNS
wired 

所属分类:Windows编程
开发工具:C++ Builder
文件大小:774KB
下载次数:1
上传日期:2017-03-07 19:38:39
上 传 者navee
说明:  optical wired network with graph partitioning algorithm for all nodes

文件列表:
OWNS (0, 2014-04-26)
OWNS\demos (0, 2014-04-26)
OWNS\modified (0, 2014-04-26)
OWNS\ns-2 (0, 2016-10-25)
OWNS\tcl (0, 2014-04-26)
OWNS\sgb2comns-wdm.c (14216, 2001-06-27)
OWNS\demos\rand-7-6-0.gb (1102, 2004-12-06)
OWNS\demos\rand-7-6 (19, 2004-12-06)
OWNS\demos\rand-7-5-0.gb (1102, 2004-12-06)
OWNS\demos\rand-7-5 (19, 2004-12-06)
OWNS\demos\rand-7-4 (19, 2004-12-06)
OWNS\demos\itm (78748, 2004-12-06)
OWNS\demos\rand-7-3 (19, 2004-12-06)
OWNS\demos\rand-7-2 (19, 2004-12-06)
OWNS\demos\rand-7-1 (19, 2004-12-06)
OWNS\demos\rand-7-0 (19, 2004-12-06)
OWNS\demos\owns_demo.res (1433, 2004-12-06)
OWNS\demos\owns_demo.nam (7416305, 2004-12-06)
OWNS\demos\demo_topo1.tcl (1259, 2001-07-01)
OWNS\demos\demo_traffic1.tcl (529, 2004-12-06)
OWNS\demos\owns_demo.tcl (6411, 2004-12-06)
OWNS\modified\agent.cc (13959, 2001-06-27)
OWNS\modified\agent.h (5099, 2001-06-27)
OWNS\modified\install (8840, 2004-12-06)
OWNS\modified\Makefile.in (11895, 2001-06-27)
OWNS\modified\Makefile.sgb2ns (1069, 2001-06-27)
OWNS\modified\ns-lib.tcl (41734, 2001-06-27)
OWNS\modified\ns-packet.tcl (4244, 2001-06-27)
OWNS\modified\packet.h (16298, 2001-06-27)
OWNS\ns-2\wdm-agent.o (14260, 2004-12-06)
OWNS\ns-2\session-traf-rcvr.o (13948, 2004-12-06)
OWNS\ns-2\fiber-delay.o (9708, 2004-12-06)
OWNS\ns-2\wdm-wassign.o (35168, 2004-12-06)
OWNS\ns-2\expoo_session.o (13288, 2004-12-06)
OWNS\ns-2\cbr_session_traffic.o (12952, 2004-12-06)
OWNS\ns-2\session-trafgen.o (18396, 2004-12-06)
OWNS\ns-2\wdm-route.o (9044, 2004-12-06)
OWNS\ns-2\classifier-addr-lightpath.o (16384, 2004-12-06)
OWNS\ns-2\cbr_session_traffic.cc (3972, 2001-06-27)
... ...

_________________________________________________________________________ _________________________________________________________________________ OOO W W N N SSS O O W W NN N S S O O W W W N N N SS O O W W W W N N N SS O O WW WW N NN S S OOO W W N N SSS _________________________________________________________________________ _________________________________________________________________________ Thank you for choosing to use our software. Please feel free to contact us if you experience any problems in using OWns. _________________________________________________________________________ Last Updated : 27 June 2001 Contact info : dawn@eecs.wsu.edu DAWN Networking Research Lab School of EECS Washington State University www.eecs.wsu.edu/~dawn _________________________________________________________________________ This README contains: (i). the installation guide; (ii). the known problems. OWns Installation Guide _________________________________________________________________________ Installation package: owns.tar This installation guide of OWns is based on ns-allinone-2.1b6, and has been tested on RedHat Linux 6.x 7.x. Other ns versions and platforms have not been tested. Note : The easy installation package which was available earlier has been discontinued. Advanced Installation _________________________________________________________________________ 1. Copy the "owns.tar" file to your "ns-allinone-2.1b6/ns-2" directory. 2. Untar "owns.tar" which creates the directory "OWNS/" in your ns-2 directory. You will find the following directory structure under OWNS ns-2 - This dir holds the C++ source files. tcl - This dir holds the tcl files modified - This dir contains files which are part of the ns distribution that you need to *modify* individually. The files in this directory have already been modified.Please do *NOT* replace the original files with these files. Replacing the files may result in losing the additions to the newer versions of ns. 3. Install sgb2ns tool for WDM network topology generation tools. a. Copy the file "OWNS/sgb2comns-wdm.c" to the directory "ns-allinone-2.1b6/gt-itm/sgb2ns/". b. Update the "Makefile" in the "gt-itm/sgb2ns" directory accordingly as follows. Add the following lines into "Makefile": COMN_WDM = sgb2comns-wdm.o sgb2comns-wdm: $(COMN_WDM) $(CC) $(CFLAGS) -o $(BDIR)/sgb2comns-wdm $(COMN_WDM) $(LIBS) sgb2comns-wdm.o : $(CH) Note: A copy of the the modified file "Makefile.sgb2ns" is available in "OWNS/modified/" 4. Install C++ files a. New files : These files are already present in the "OWNS/ns-2/" dir. Please verify that they do exist. b. Modify "agent.h" and "agent.cc" in "ns-allinone-2.1b6/ns-2.1b6". You need to manually add the new code of OWns to these two files. Use the key word "OWNS" to search for the OWns code in the corresponding files "agent.{cc,h}" in the "OWNS/modified/" directory. c. New WDM packet header - C++ side changes Insert the following two lines into "ns-allinone-2.1b6/ns-2.1b6/packet.h" file. PT_PING, PT_WDM, <== new line name_[PT_PING] = "ping"; name_[PT_WDM] = "wdm"; <== new line d. Update the makefile "ns-allinone-2.1b6/ns-2.1b6/Makefile.in". Add the following objects to "OBJ_CC = \": OWNS/ns-2/classifier-addr-lightpath.o \ OWNS/ns-2/wdm-route.o \ OWNS/ns-2/session-trafgen.o \ OWNS/ns-2/cbr_session_traffic.o \ OWNS/ns-2/expoo_session.o \ OWNS/ns-2/wdm-wassign.o \ OWNS/ns-2/fiber-delay.o \ OWNS/ns-2/session-traf-rcvr.o \ OWNS/ns-2/wdm-agent.o A copy of the modified "Makefile.in" is available in the "OWNS/modified" directory. d. Update the "install" file in ns-allinone-2.1b6 directory. Add the following line: ...... ln -s $CUR_PATH/gt-itm/bin/sgb2comns sgb2comns ln -s $CUR_PATH/gt-itm/bin/sgb2comns-wdm sgb2comns-wdm <== New line ln -s $CUR_PATH/gt-itm/bin/itm itm ...... The modified "install" file is available in the "OWNS/modified" directory. 5. Install tcl files a. New files : These files are already present in the "OWNS/tcl/" dir. Please verify that they do exist. b. Modify "ns-lib.tcl" in "ns-allinone-2.1b6/ns-2.1b6/tcl/lib" directory. You need to manually add the new code as follows. ............................... source ../emulate/ns-emulate.tcl # # OWns script # source ../../OWNS/tcl/ns-wdm-link.tcl source ../../OWNS/tcl/ns-wdm-node.tcl source ../../OWNS/tcl/ns-wdm-route.tcl source ../../OWNS/tcl/ns-wdm-wassign.tcl source ../../OWNS/tcl/ns-wdm-source.tcl source ../../OWNS/tcl/ns-wdm-default.tcl # # End of OWns script # Simulator instproc init args { ...................... c. New WDM packet header - OTcl side changes Insert the following line into "ns-allinone-2.1b6/ns-2.1b6/tcl/lib/ns-packet.tcl" file. { Ping off_ping_} { WDM off_wdm_} <== new line 6. Rebuild ns using "install", and update environment variables, "PATH" and "NS-2". For example, in C shell: setenv PATH "ns-allinone-2.1b6/bin:$PATH" setenv NS-2 "ns-allinone-2.1b6/ns-2.1.b6" setenv LD_LIBRARY_PATH "ns-allinone-2.1b6/otcl-1.0a5" ======================= Known Problems ======================= 1. Bandwidth of link and traffic DO NOT use the high bandwidth like 1Gb or 1000Mb, please use the scaled traffic and single wavelength bandwidth, say 1Mb. 2. Number of wavelengths per fiber Currently, the maximum number of wavelength per fiber is ***. The current implementation of RWA algorithm needs to be improved to reduce memory usuage.

近期下载者

相关文件


收藏者