[18] | 1 | module AtsImsIot_TestSystem { |
---|
| 2 | |
---|
| 3 | import from LibSip_SIPTypesAndValues {type Request, Response;}
|
---|
| 4 |
|
---|
| 5 | import from AtsImsIot_TypesAndValues {type SipMessage;}
|
---|
| 6 |
|
---|
| 7 | import from LibIot_TestInterface {type EquipmentAccessPort;}
|
---|
| 8 |
|
---|
| 9 | import from LibIot_TestInterface all; |
---|
| 10 | |
---|
| 11 | /** |
---|
| 12 | * @desc interfaces to the SUT |
---|
| 13 | */ |
---|
| 14 | type component IotSystemInterface { |
---|
| 15 | port DataPort dPort; |
---|
| 16 | port EquipmentAccessPort eaPort; |
---|
| 17 | port AdapterConfigPort acPort; |
---|
| 18 | } |
---|
| 19 | |
---|
| 20 | /** |
---|
| 21 | * @desc |
---|
| 22 | * providing monitoring functionality of involved interfaces. Used as |
---|
| 23 | * PTC. |
---|
| 24 | */ |
---|
| 25 | type component ImsInterfaceMonitor extends InterfaceMonitor { |
---|
| 26 | port DataPort dPort; |
---|
| 27 | port ImsCoordinationPort icpPort; |
---|
| 28 | } |
---|
| 29 | |
---|
| 30 | /** |
---|
| 31 | * @desc |
---|
| 32 | * used to coordinate the behavior of other components. It is in charge |
---|
| 33 | * of controlling the overall execution, manangement of testing phases, |
---|
| 34 | * test verdicts collection and synchronization. Used as MTC. |
---|
| 35 | */ |
---|
| 36 | type component ImsTestCoordinator extends TestCoordinator { |
---|
| 37 | port ImsCoordinationPort icpPort; |
---|
| 38 | } |
---|
| 39 | |
---|
| 40 | group portDefinitions { |
---|
| 41 | |
---|
| 42 | type port ImsCoordinationPort message { |
---|
| 43 | inout SipMessage; |
---|
| 44 | } |
---|
| 45 | |
---|
| 46 | type port DataPort message { |
---|
| 47 | in Request, Response; // SIP |
---|
| 48 | // TODO DNS .. or union |
---|
| 49 | } |
---|
| 50 | |
---|
| 51 | } |
---|
| 52 | |
---|
| 53 | type record CF_INT_CALL { |
---|
| 54 | ImsInterfaceMonitor gmA, |
---|
| 55 | ImsInterfaceMonitor mw, |
---|
| 56 | ImsInterfaceMonitor gmB optional |
---|
| 57 | } |
---|
| 58 | |
---|
| 59 | type record CF_INT_AS { |
---|
| 60 | ImsInterfaceMonitor gmA, |
---|
| 61 | ImsInterfaceMonitor mw, |
---|
| 62 | ImsInterfaceMonitor gmB, |
---|
| 63 | ImsInterfaceMonitor iscA optional, |
---|
| 64 | ImsInterfaceMonitor iscB optional |
---|
| 65 | } |
---|
| 66 | |
---|
| 67 | type record CF_ROAM_AS { |
---|
| 68 | ImsInterfaceMonitor gmA, |
---|
| 69 | ImsInterfaceMonitor mw, |
---|
| 70 | ImsInterfaceMonitor gmB, |
---|
| 71 | ImsInterfaceMonitor iscA optional, |
---|
| 72 | ImsInterfaceMonitor iscB optional |
---|
| 73 | } |
---|
| 74 | } |
---|