summaryrefslogtreecommitdiff
path: root/trunk/TAO/orbsvcs/tests/Notify/Lanes/supplier.conf
blob: 78ecd334aa8db2768283b2956dc28dba5e80ddaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
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"