diff options
author | yamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-27 02:49:50 +0000 |
---|---|---|
committer | yamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2002-06-27 02:49:50 +0000 |
commit | 09874bc61fbcbe432470a1e21636a9f42fb8d97c (patch) | |
tree | 458b1668cb008a08af1a53d7d9e1ee4ee625172a | |
parent | b291310770a6db7890c9f90619652fcd81a9398a (diff) | |
download | ATCD-09874bc61fbcbe432470a1e21636a9f42fb8d97c.tar.gz |
*** empty log message ***
-rw-r--r-- | TAO/ChangeLogs/ChangeLog-02a | 10 | ||||
-rw-r--r-- | TAO/tests/RTCORBA/Diffserv/README | 40 |
2 files changed, 49 insertions, 1 deletions
diff --git a/TAO/ChangeLogs/ChangeLog-02a b/TAO/ChangeLogs/ChangeLog-02a index f896f438d9b..c82c653c4c4 100644 --- a/TAO/ChangeLogs/ChangeLog-02a +++ b/TAO/ChangeLogs/ChangeLog-02a @@ -89,7 +89,15 @@ Wed June 26 2:09:00 2002 Yamuna Krishnamurthy <yamuna@oomworks.com> Added: connection_handler - accessor method for the underlying connection handler. - + * tests/RTCORBA/Diffserv/Makefile: + * tests/RTCORBA/Diffserv/README: + * tests/RTCORBA/Diffserv/client.cpp: + * tests/RTCORBA/Diffserv/server.cpp: + * tests/RTCORBA/Diffserv/test.idl: + * tests/RTCORBA/Diffserv/Custom_Network_Priority_Mapping.h: + + Added the Diffserv test to demonstrate the setting of dscp in the IIOP request and replies. + Wed May 22 23:18:59 2002 Priyanka <oci@cs.wustl.edu> * TAO version 1.2.3 released. diff --git a/TAO/tests/RTCORBA/Diffserv/README b/TAO/tests/RTCORBA/Diffserv/README new file mode 100644 index 00000000000..712655fc8a8 --- /dev/null +++ b/TAO/tests/RTCORBA/Diffserv/README @@ -0,0 +1,40 @@ +$Id$ + +This is a unit test for setting DiffServ Codepoint both in the requests sent and the replies received. + +Scenario: +-------- + +Testing the setting of dscp in the requests sent +------------------------------------------------- + +Server creates a POA and registers a servant with it. Client obtains +the object reference. It sets the desired corba and native +priority. Client then performs several invocations on the object +during which it sets and unsets diffserv codepoint at the ORB, THREAD +and OBJECT levels. + +Testing the setting of dscp in the replies sent +------------------------------------------------- + +Server creates a POA and enables network priority through the POA +policy. This ensures that all replies sent from the POA have the dscp +set. It registers a servant with this POA. Client obtains the object +reference. Client then performs several invocations on the object. + +To run (on Unix): +----------------- + +$./server +$./client + +Options: +-------- + +server [-k ior_output_file2] [-o ior_output_file2] [-p corba_priority] [-s {test_server} ] [-c {test_client}] + +client [-k server_ior] [-n number_of_iterations] [-p corba_priority] [-s {test_server}] [-c {test_client}] + +NOTE: The iterations have to be >=6 in order to test set/unset at the ORB, THREAD and OBJECT levels. + + |