Debian Codegraph @

examples/QOS/Change_Sender_TSpec/README

raw
1
2
3 A Regression test for ACE QoS features.
4 ---------------------------------------
5
6 This test implements a simple Receiver-Sender program that ensures
7 Quality of Service (QoS) guarantees on the underlying network before
8 transmitting data. The program tests the ACE QoS APIs/features. The
9 test works for Winsock2 APIs on Win2K.
10
11 In addition it dynamically changes the sender TSpec which in turn
12 changes the PATH messages.
13
14 ------------------------------------------------------------------------
15 WIN2K :
16
17 Build Requirements :
18 --------------------
19 1. Two Win2K machines.
20 2. June98 Platform SDK or later.
21 3. Link with ws2_32.lib
22
23 The test consists of a server (which is the receiver) and a client
24 (which is the sender).
25
26 The receiver is started first (though it is not mandatory) as :
27
28 server -m merengue.cs.wustl.edu:9091
29
30 -m: specifies the multicast session address that both client and
31 server subscribe to for QoS events.
32
33 -p: Protocol to be used. Could be udp or tcp. Default is udp.
34
35 -P: Sender source port. If not specified, DEFAULT_SOURCE_SENDER_PORT
36 (10001) will be used.
37
38 -h: Displays the help on various options.
39
40 The sample Sender is started next as :
41
42 client -m merengue.cs.wustl.edu:9091 -P 10004
43
44 -m: specifies the multicast session address that both client and
45 server subscribe to for QoS events.
46
47 -n: Option to be used by senders only to specify the destination
48 address. This option is overriden if a multicast address is also
49 specified through the -m option.
50
51 -p: Protocol to be used. Could be udp or tcp. Default is udp.
52
53 -P: Sender source port. If not specified, DEFAULT_SOURCE_SENDER_PORT
54 (10001) will be used.
55
56 -h: Displays the help on various options.
57
58 On Win2K the user must have administrative access to the machine to
59 run this program. It seems to be a pre-requisite to opening QoS
60 sockets.
61
62 The sender and receiver should be run on different Win2K machines.
63
64 The test demonstrates how to GQOS enable an application using the ACE QoS APIs.
65 It concentrates on the use of various ACE QoS APIs and their correctness.
66
67 -------------------------------------------------------------------------------
68
69 RAPI :
70
71 0. The $ACE_ROOT/include/makeinclude/platform_macros.GNU should be the
72 following :
73
74 include /project/doc/vishal/ACE_wrappers/include/makeinclude/platform_sunos5_sunc++.GNU
75 PLATFORM_RAPI_CPPFLAGS += -I/project/doc/vishal/rapi/rel4.2a4/rsvpd/
76 PLATFORM_RAPI_LIBS += -lrsvp
77 PLATFORM_RAPI_LDFLAGS += -L/project/doc/vishal/rapi/rel4.2a4/rsvpd/
78
79 assuming that RAPI library is installed in /project/doc/vishal/rapi/rel4.2a4/
80
81 1. Compile ACE with
82
83 make rapi=1 static_libs_only=1
84
85 Static library option is used because the RAPI library that we have
86 does not compile as a shared object.
87
88 2. Run the RSVP Daemon on two machines: (merengue.cs and macarena.cs)
89
90 /project/doc/vishal/rapi/rel4.2a4/rsvpd/rsvpd -D
91
92 The current version of the daemon comes with an inbuilt rtap
93 application to test the various reservation commands and RAPI APIs.
94
95 Typical values for rtap would be :
96
97 sender merengue/5000 [ t 2000000 100000 2000000 512 1024 ]
98 reserve wf [ cl 4000000 200000 4000000 256 2024 ]
99
100
101
102 From ACE:
103 dest udp macarena/5000
104 sender ace/5000 [ t 2000000 100000 2000000 512 1024 ]
105 sender macarena/5022 [ t 2000000 100000 2000000 512 1024 ]
106 sender beguine/6000 [ t 2000000 100000 2000000 512 1024 ]
107
108 From Macarena:
109 wait until done with ACE
110 dest udp macarena/5000 <session name>
111 reserve wf [ cl 2000000 100000 2000000 512 1024 ]
112
113
114
115 3. If RTAP runs fine and the daemons show the debug messages about
116 RESV, PATH and other RSVP messages, run the QoS example, making sure
117 that rtap session is released on both machines.
118
119 -------------------------------------------------------------------------------
120
121 If you run into any problems with this test please contact Vishal
122 Kachroo <[email protected]>.
123
124 This README last updated on 20th July, 2000.
125
126 -------------------------------------------------------------------------------