Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
TST
ATS
Commits
3b128529
Commit
3b128529
authored
May 03, 2019
by
Miguel Angel Reina Ortega
Browse files
Reordering of PIXITS + default values
Signed-off-by:
reinaortega
<
miguelangel.reinaortega@etsi.org
>
parent
fca634d5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
64 deletions
+66
-64
LibOneM2M/OneM2M_Pixits.ttcn
LibOneM2M/OneM2M_Pixits.ttcn
+66
-64
No files found.
LibOneM2M/OneM2M_Pixits.ttcn
View file @
3b128529
...
...
@@ -44,27 +44,27 @@ module OneM2M_Pixits {
/**
* @desc IUT CSE Name
*/
modulepar
XSD
.
ID
PX_CSE_NAME
:=
"
oneMPOWER-IN-CS
E"
;
modulepar
XSD
.
ID
PX_CSE_NAME
:=
"
CSE-NAM
E"
;
/**
* @desc IUT CSE-ID with SP-relative-CSE-ID format (relative) according to TS-0001-7.2-1
*/
modulepar
XSD
.
ID
PX_CSE_ID
:=
"/
ID-
CSE-
01
"
;
modulepar
XSD
.
ID
PX_CSE_ID
:=
"/CSE-
ID
"
;
/**
* @desc IUT CSE resource ID with Unstructured-CSE-relative-Resource-ID (relative) format according to TS-0001-7.2-1
*/
modulepar
XSD
.
ID
PX_CSE_RESOURCE_ID
:=
"
ID-
CSE-
01
"
;
modulepar
XSD
.
ID
PX_CSE_RESOURCE_ID
:=
"CSE-
ID
"
;
/**
* @desc IUT M2M-SP-ID with M2M-SP-ID format (absolute) according to TS-0001-7.2-1 Unstructured-CSE-relative -Resource-ID
*/
modulepar
XSD
.
ID
PX_SP_ID
:=
"//
idcc.com
"
;
modulepar
XSD
.
ID
PX_SP_ID
:=
"//
CSE-SP-ID
"
;
/**
* @desc AE-ID with privileges to CREATE at the IUT CSEBase with AE-ID-Stem format (relative) according to TS-0001-7.2-1
*/
modulepar
XSD
.
ID
PX_SUPER_AE_ID
:=
"
CsuperAE1
"
;
modulepar
XSD
.
ID
PX_SUPER_AE_ID
:=
"
admin:admin
"
;
/**
* @desc CSE-ID with privileges to CREATE at the IUT CSEBase with SP-relative-CSE-ID format (relative) according to TS-0001-7.2-1
...
...
@@ -106,19 +106,44 @@ module OneM2M_Pixits {
*/
modulepar
PrimitiveScope
PX_PRIMITIVE_SCOPE
:=
e_cseRelative
;
modulepar
charstring
PX_WS_PROTOCOL
:=
"oneM2M.R2.0.xml"
;
modulepar
charstring
PX_HOSTING_CSE_ID
:=
"CSE-Dekra-ID"
;
modulepar
charstring
PX_CREDENTIAL_ID
:=
"admin:admin"
;
modulepar
charstring
PX_REQUEST_URI
:=
"/"
;
/**
* @desc Namespace composed of "prefix" = "xml namespace" to use during test execution
*/
modulepar
charstring
PX_XML_NAMESPACE
:=
"m2m=""http://www.onem2m.org/xml/protocols"""
;
/**
* @desc Character to indicate "all originators" for AccessControlOriginators element
*/
modulepar
ListOfURIs
PX_ACOR
:=
{
"all"
};
/**
* @desc Time given for configuring IUT when required (i.e. when UT not implemented)
*/
modulepar
float
PX_TCONFIG_IUT
:=
10.0
;
}
group
TesterParameters
{
/**
* @desc Test System settings
*/
modulepar
AeSimuComponentDesc
PX_TS_AE1
:=
{
// AE1 component settings
mcaPort
:=
{
binding
:=
{
coa
pBindingDesc
:=
{
bindingProtocol
:=
e_
coa
p
,
htt
pBindingDesc
:=
{
bindingProtocol
:=
e_
htt
p
,
bindingDesc
:=
{
tsAddress
:=
"1
92.168.56.102
"
,
remotePort
:=
901
0
,
// SUT CoAP/HTTP port
tsAddress
:=
"1
27.0.0.1
"
,
remotePort
:=
808
0
,
// SUT CoAP/HTTP port
localPort
:=
3031
,
// Test Adapter client port (for debug purpose only)
sutAddress
:=
"1
92.168.56.103
"
sutAddress
:=
"1
27.0.0.1
"
}
}
},
...
...
@@ -126,13 +151,13 @@ module OneM2M_Pixits {
},
mcaPortIn
:=
{
binding
:=
{
coa
pBindingDesc
:=
{
bindingProtocol
:=
e_
coa
p
,
htt
pBindingDesc
:=
{
bindingProtocol
:=
e_
htt
p
,
bindingDesc
:=
{
tsAddress
:=
"1
92.168.56.102
"
,
remotePort
:=
901
0
,
tsAddress
:=
"1
27.0.0.1
"
,
remotePort
:=
808
0
,
localPort
:=
3041
,
// Test Adapter listener port (AeSimu acts as server)
sutAddress
:=
"1
92.168.56.103
"
sutAddress
:=
"1
27.0.0.1
"
}
}
},
...
...
@@ -142,13 +167,13 @@ module OneM2M_Pixits {
modulepar
AeSimuComponentDesc
PX_TS_AE2
:=
{
// AE2 component settings
mcaPort
:=
{
binding
:=
{
coa
pBindingDesc
:=
{
bindingProtocol
:=
e_
coa
p
,
htt
pBindingDesc
:=
{
bindingProtocol
:=
e_
htt
p
,
bindingDesc
:=
{
tsAddress
:=
"1
92.168.56.102
"
,
remotePort
:=
901
0
,
// SUT CoAP/HTTP port
tsAddress
:=
"1
27.0.0.1
"
,
remotePort
:=
808
0
,
// SUT CoAP/HTTP port
localPort
:=
3032
,
// Test Adapter client port (for debug purpose only)
sutAddress
:=
"1
92.168.56.103
"
sutAddress
:=
"1
27.0.0.1
"
}
}
},
...
...
@@ -156,13 +181,13 @@ module OneM2M_Pixits {
},
mcaPortIn
:=
{
binding
:=
{
coa
pBindingDesc
:=
{
bindingProtocol
:=
e_
coa
p
,
htt
pBindingDesc
:=
{
bindingProtocol
:=
e_
htt
p
,
bindingDesc
:=
{
tsAddress
:=
"1
92.168.56.102
"
,
tsAddress
:=
"1
27.0.0.1
"
,
remotePort
:=
omit
,
localPort
:=
3042
,
// Test Adapter listener port (AeSimu acts as server)
sutAddress
:=
"1
92.168.56.103
"
sutAddress
:=
"1
27.0.0.1
"
}
}
},
...
...
@@ -172,13 +197,13 @@ module OneM2M_Pixits {
modulepar
CseSimuComponentDesc
PX_TS_CSE1
:=
{
// CSE1 component settings
mcaPort
:=
{
binding
:=
{
coa
pBindingDesc
:=
{
bindingProtocol
:=
e_
coa
p
,
htt
pBindingDesc
:=
{
bindingProtocol
:=
e_
htt
p
,
bindingDesc
:=
{
tsAddress
:=
"1
92.168.56.102
"
,
remotePort
:=
901
0
,
tsAddress
:=
"1
27.0.0.1
"
,
remotePort
:=
808
0
,
localPort
:=
3131
,
sutAddress
:=
"1
92.168.56.103
"
sutAddress
:=
"1
27.0.0.1
"
}
}
},
...
...
@@ -186,13 +211,13 @@ module OneM2M_Pixits {
},
mcaPortIn
:=
{
binding
:=
{
coa
pBindingDesc
:=
{
bindingProtocol
:=
e_
coa
p
,
htt
pBindingDesc
:=
{
bindingProtocol
:=
e_
htt
p
,
bindingDesc
:=
{
tsAddress
:=
"1
92.168.56.102
"
,
remotePort
:=
omit
,
tsAddress
:=
"1
27.0.0.1
"
,
remotePort
:=
8080
,
localPort
:=
3141
,
sutAddress
:=
"1
92.168.56.103
"
sutAddress
:=
"1
27.0.0.1
"
}
}
},
...
...
@@ -203,10 +228,10 @@ module OneM2M_Pixits {
httpBindingDesc
:=
{
bindingProtocol
:=
e_http
,
bindingDesc
:=
{
tsAddress
:=
"1
92.168.56.102
"
,
remotePort
:=
9011
,
tsAddress
:=
"1
27.0.0.1
"
,
remotePort
:=
8080
,
localPort
:=
4131
,
sutAddress
:=
"1
92.168.56.103
"
sutAddress
:=
"1
27.0.0.1
"
}
}
},
...
...
@@ -217,42 +242,19 @@ module OneM2M_Pixits {
httpBindingDesc
:=
{
bindingProtocol
:=
e_http
,
bindingDesc
:=
{
tsAddress
:=
"1
92.168.56.102
"
,
remotePort
:=
9011
,
tsAddress
:=
"1
27.0.0.1
"
,
remotePort
:=
8080
,
localPort
:=
4141
,
sutAddress
:=
"1
92.168.56.103
"
sutAddress
:=
"1
27.0.0.1
"
}
}
},
serialization
:=
e_xml
}
};
modulepar
UtDesc
PX_TS_UT
:=
{
url
:=
"http://192.168.55.103:43000/"
};
modulepar
charstring
PX_WS_PROTOCOL
:=
"oneM2M.R2.0.xml"
;
modulepar
charstring
PX_HOSTING_CSE_ID
:=
"CSE-Dekra-ID"
;
modulepar
charstring
PX_CREDENTIAL_ID
:=
"admin:admin"
;
modulepar
charstring
PX_REQUEST_URI
:=
"/"
;
/**
* @desc Namespace composed of "prefix" = "xml namespace" to use during test execution
*/
modulepar
charstring
PX_XML_NAMESPACE
:=
"m2m=""http://www.onem2m.org/xml/protocols"""
;
modulepar
UtDesc
PX_TS_UT
:=
{
url
:=
"http://127.0.0.1:43000/"
};
/**
* @desc Character to indicate "all originators" for AccessControlOriginators element
*/
modulepar
ListOfURIs
PX_ACOR
:=
{
"all"
};
/**
* @desc Time given for configuring IUT when required (i.e. when UT not implemented)
*/
modulepar
float
PX_TCONFIG_IUT
:=
10.0
;
}
group
TesterParameters
{
/**
* @desc Test System CSE1 Name
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment