source: trunk/ETSI-Testsuites/ETSI_auto_IOT/adapter/validation/AtsImsIot/AtsImsIot_Templates.ttcn @ 55

Last change on this file since 55 was 22, checked in by rings, 14 years ago
  • Property svn:executable set to *
File size: 1.4 KB
Line 
1/*
2 *  @author   STF 370
3 *  @version    $Id: $
4 *  @desc   This module provides the templates for Interoperability tests.
5 */
6
7module AtsImsIot_Templates {
8
9  import from LibIot_TypesAndValues {
10    type
11      InterfaceInfoList,
12      ProtocolFilter,
13      SetFilterReq,
14      SetFilterRsp,
15      Status;
16  }
17  import from AtsImsIot_TypesAndValues {type SipMessage;}
18
19  import from LibSip_SIPTypesAndValues all;
20 
21  group adapterMsgTemplates {
22    template SetFilterReq m_SetFilterReq(ProtocolFilter p_protocol, InterfaceInfoList p_iterfaces)  := {
23      protocol := p_protocol,
24      interfaceInfos := p_iterfaces
25    }
26   
27    template SetFilterRsp mw_SetFilterRsp(template Status p_status) := {
28      status := p_status
29    }
30  }
31
32 
33
34    group AuxiliaryInformationElementTemplates {
35     
36  template Credentials mw_credentialIntegrityYes := {
37   otherResponse := {authScheme := ?, authParams := { {"integrity-protected", "yes"},*} // TODO
38   }}
39  template Credentials mw_credentialIntegrityNo := {
40   otherResponse := {authScheme := ?, authParams := { {"integrity-protected", "no"},*} // TODO
41   }}
42 
43    } //end group
44
45  group config {
46 
47  template SipUrl mw_SIP_URI (charstring p_host):= {
48    scheme := "sip", 
49    userInfo := *,
50    hostPort := {
51      host := p_host,
52      portField := *
53    },
54    urlParameters := *,
55    headers := *
56  }
57
58} // end group
59}//end module
60
Note: See TracBrowser for help on using the repository browser.