Newer
Older
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
66
67
68
69
70
71
72
/*
* This is an example package
*/
Package Config {
Import all from Standard
Import all from HTTP
Import all from HTTP.MessageBased
Import all from generated_from_step3body_json
Import all from generated_from_step2body_json
//example type
Type float
//define additional elements here
Type message
Message Gate MPI accepts message, JSON_step2body_json, JSON, Response, Request, String
Component DomainController {
gate MPI mpi
}
Component Postman {
variable Response response
variable Integer i
timer t
gate MPI mpi
}
Component NE {
gate MPI mpi //?
}
Component OpticalPatchPanel {
gate MPI mpi //?
}
Component TrafficGeneratorAndAnalyser {
gate MPI mpi //?
}
Configuration GenericTestArchitecture {
Postman pm as Tester,
DomainController M1 as SUT,
DomainController M2 as SUT,
//...
connect M1::mpi to pm::mpi, //TODO: this should be fine
connect M2::mpi to pm::mpi
//...
}
Configuration TestLanArchitecture {
Postman pm as Tester,
DomainController X as SUT,
//...
connect X::mpi to pm::mpi
//...
}
//Lots and lots of configurations that need to be
//Or are some of those configuraitons that are setup to be tested virtually?
Configuration TREE_CFG {
//Postman pm as Tester,
TrafficGeneratorAndAnalyser traffic as Tester,
DomainController X as SUT,
//,,,
connect X::mpi to traffic::mpi
//...
}
}