diff options
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Lanes/supplier.conf')
-rw-r--r-- | TAO/orbsvcs/tests/Notify/Lanes/supplier.conf | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Lanes/supplier.conf b/TAO/orbsvcs/tests/Notify/Lanes/supplier.conf new file mode 100644 index 00000000000..78ecd334aa8 --- /dev/null +++ b/TAO/orbsvcs/tests/Notify/Lanes/supplier.conf @@ -0,0 +1,65 @@ +## $Id$ +## This file has the following configuration: +## EventChannel ec1 with 1 Thread +## SupplierAdmim sa1 with 1 Thread +## SupplierAdmin sa2 +## +## Supplier s1 has 1 Thread and is connected to sa1 +## Supplier s2 is connected to sa1 +## +## Supplier s3 is connected to sa2 +## +# +##---- Load the Factories------ +dynamic TAO_RT_ORB_Loader Service_Object *TAO_RTCORBA:_make_TAO_RT_ORB_Loader () "-ORBPriorityMapping continuous" +# +# Uncomment this line to use SCHED_FIFO +#dynamic TAO_RT_ORB_Loader Service_Object *TAO_RTCORBA:_make_TAO_RT_ORB_Loader () "-ORBSchedPolicy SCHED_FIFO -ORBScopePolicy PROCESS -ORBPriorityMapping continuous" +# +dynamic TAO_Notify_Tests_RT_Application_Command_Factory Service_Object * TAO_RT_NotifyTests:_make_TAO_Notify_Tests_RT_Application_Command_Factory () "" +##dynamic TAO_Notify_Tests_Application_Command_Factory Service_Object * TAO_NotifyTests:_make_TAO_Notify_Tests_Application_Command_Factory () "" +dynamic TAO_Notify_Tests_EventChannel_Command_Factory Service_Object *TAO_NotifyTests:_make_TAO_Notify_Tests_EventChannel_Command_Factory () "" +dynamic TAO_Notify_Tests_SupplierAdmin_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_Notify_Tests_SupplierAdmin_Command_Factory () "" +# +dynamic TAO_Notify_Tests_Periodic_Supplier_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_Notify_Tests_Periodic_Supplier_Command_Factory () "" +dynamic TAO_Notify_Tests_Filter_Command_Factory Service_Object* TAO_NotifyTests:_make_TAO_Notify_Tests_Filter_Command_Factory () "" +# +##------- Init the Application Object ---------- +static Command_Builder "Application -Init" +# +##------- Create Event Channel --------------- +static Command_Builder "EventChannel -Create ec1 NotifyEventChannelFactory" +static Command_Builder "EventChannel -Set_QoS ec1 -Lanes 4 -Lane 0 1 0 -Lane 1 1 0 -Lane 2 1 0 -Lane 3 1 0" +static Command_Builder "Filter -CreateFactory ff ec1" +# +### --- Create Supplier Admin 1 ---- +static Command_Builder "SupplierAdmin -Create sa1 ec1 -AND_OP" +# +### --- Create Supplier s1 connected to sa1. ----- +static Command_Builder "PeriodicSupplier -Create s1 -Admin sa1 -Proxy s1_proxy -EventType Path1 -Priority 1 -Period 10000 -ExecTime 10000 -Phase 0 -Iter 5 -Load 1 " +# +static Command_Builder "Filter -CreateFilter f1 ff" +static Command_Builder "Filter -Add_Constraint f1 'PoolId = 1'" +static Command_Builder "Filter -Add_Constraint f1 'LaneId = 1'" +#static Command_Builder "Filter -Add_Filter f1 s1_proxy" +# +### --- Create Supplier s2 connected to sa1 ---- +static Command_Builder "PeriodicSupplier -Create s2 -Admin sa1 -Proxy s2_proxy -EventType Path2 -Priority 2 -Period 10000 -ExecTime 10000 -Phase 0 -Iter 5 -Load 1 " +# +static Command_Builder "Filter -CreateFilter f2 ff" +static Command_Builder "Filter -Add_Constraint f2 'PoolId = 1'" +static Command_Builder "Filter -Add_Constraint f2 'LaneId = 2'" +#static Command_Builder "Filter -Add_Filter f2 s2_proxy" +# +### --- Create Supplier s3 connected to sa2 ---- +static Command_Builder "PeriodicSupplier -Create s3 -Admin sa1 -Proxy s3_proxy -EventType Path3 -Priority 3 -Period 10000 -ExecTime 10000 -Phase 0 -Iter 5 -Load 1 " +static Command_Builder "Filter -CreateFilter f3 ff" +static Command_Builder "Filter -Add_Constraint f3 'PoolId = 1'" +static Command_Builder "Filter -Add_Constraint f3 'LaneId = 3'" +#static Command_Builder "Filter -Add_Filter f3 s3_proxy" +# +##--------- Run ------------- +static Command_Builder "Application -WaitToStart" +static Command_Builder "Application -Run" +static Command_Builder "Application -WaitForEvents" +static Command_Builder "Application -Shutdown" |