-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
550 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,137 @@ | ||
patterns: | ||
Crypto: | ||
cptype: simple | ||
edges: [] | ||
extedges: [] | ||
funcs: | ||
- class: srvRsp | ||
label: cryptoProcess | ||
name: Crypto | ||
services: | ||
decrypt: | ||
cp: '' | ||
label: cryptoProcess | ||
Embedded: | ||
cptype: simple | ||
edges: | ||
- dstcp: Embedded | ||
dstlabel: reqDecrypt | ||
msgtype: decrypt | ||
srccp: Embedded | ||
srclabel: validateSrc | ||
- dstcp: Embedded | ||
dstlabel: embeddedProcess | ||
msgtype: process | ||
srccp: Embedded | ||
srclabel: reqDecrypt | ||
- dstcp: Embedded | ||
dstlabel: reqEncrypt | ||
msgtype: encrypt | ||
srccp: Embedded | ||
srclabel: embeddedProcess | ||
extedges: | ||
- dstcp: HMI | ||
dstlabel: validateSrc | ||
msgtype: results | ||
srccp: Embedded | ||
srclabel: reqEncrypt | ||
funcs: | ||
- class: srvReq | ||
label: validateSrc | ||
- class: srvReq | ||
label: reqDecrypt | ||
- class: processPckt | ||
label: embeddedProcess | ||
- class: srvReq | ||
label: reqEncrypt | ||
name: Embedded | ||
services: | ||
auth: | ||
cp: EmbeddedAuth | ||
label: authenticate | ||
EmbeddedAuth: | ||
cptype: simple | ||
edges: [] | ||
extedges: [] | ||
funcs: | ||
- class: srvRsp | ||
label: authenticate | ||
name: EmbeddedAuth | ||
services: {} | ||
HMI: | ||
cptype: simple | ||
edges: | ||
- dstcp: HMI | ||
dstlabel: startMeasure | ||
msgtype: measure | ||
srccp: HMI | ||
srclabel: startThread | ||
- dstcp: HMI | ||
dstlabel: generatePckt | ||
msgtype: generate | ||
srccp: HMI | ||
srclabel: startMeasure | ||
- dstcp: HMI | ||
dstlabel: accelEncrypt | ||
msgtype: encrypt | ||
srccp: HMI | ||
srclabel: generatePckt | ||
- dstcp: HMI | ||
dstlabel: accelDecrypt | ||
msgtype: decrypt | ||
srccp: HMI | ||
srclabel: validateSrc | ||
- dstcp: HMI | ||
dstlabel: processRtn | ||
msgtype: process | ||
srccp: HMI | ||
srclabel: accelDecrypt | ||
- dstcp: HMI | ||
dstlabel: endMeasure | ||
msgtype: measure | ||
srccp: HMI | ||
srclabel: processRtn | ||
- dstcp: HMI | ||
dstlabel: endThread | ||
msgtype: finish | ||
srccp: HMI | ||
srclabel: endMeasure | ||
extedges: | ||
- dstcp: Embedded | ||
dstlabel: validateSrc | ||
msgtype: compute | ||
srccp: HMI | ||
srclabel: accelEncrypt | ||
funcs: | ||
- class: start | ||
label: startThread | ||
- class: measure | ||
label: startMeasure | ||
- class: processPckt | ||
label: generatePckt | ||
- class: processPckt | ||
label: accelEncrypt | ||
- class: srvReq | ||
label: validateSrc | ||
- class: processPckt | ||
label: accelDecrypt | ||
- class: processPckt | ||
label: processRtn | ||
- class: measure | ||
label: endMeasure | ||
- class: finish | ||
label: endThread | ||
name: HMI | ||
services: | ||
auth: | ||
cp: HMIAuth | ||
label: authenticate | ||
HMIAuth: | ||
cptype: simple | ||
edges: [] | ||
extedges: [] | ||
funcs: | ||
- class: srvRsp | ||
label: authenticate | ||
name: HMIAuth | ||
services: {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
dictname: exampleName | ||
initlist: | ||
Crypto: | ||
cfg: | ||
cryptoProcess: '{"timingcode": {}, "directprefix": ["encrypt", "decrypt"], "trace": | ||
0, "msg2mc": {}}' | ||
cptype: Crypto | ||
msgs: [] | ||
name: Crypto | ||
useyaml: true | ||
Embedded: | ||
cfg: | ||
embeddedProcess: '{"timingcode": {"process": "packet-process"}, "accelname": | ||
"", "trace": 0, "msg2mc": {}, "msg2msg": {}}' | ||
reqDecrypt: '{"bypass": 0, "trace": 0, "srvCP": "Crypto", "srvLabel": "cryptoProcess", | ||
"srvOp": "decrypt-AES-128-CBC", "rspOp": "", "msg2mc": {"*": "default"}, "msg2msg": | ||
{}}' | ||
reqEncrypt: '{"bypass": 0, "trace": 0, "srvCP": "Crypto", "srvLabel": "cryptoProcess", | ||
"srvOp": "encrypt-AES-128-CBC", "rspOp": "", "msg2mc": {"*": "default"}, "msg2msg": | ||
{}}' | ||
validateSrc: '{"bypass": 0, "trace": 0, "srvCP": "", "srvLabel": "", "srvOp": | ||
"auth", "rspOp": "", "msg2mc": {"*": "default"}, "msg2msg": {}}' | ||
cptype: Embedded | ||
msgs: | ||
- ispckt: true | ||
msgtype: decrypt | ||
- ispckt: true | ||
msgtype: process | ||
- ispckt: true | ||
msgtype: encrypt | ||
- ispckt: true | ||
msgtype: results | ||
name: Embedded | ||
useyaml: true | ||
EmbeddedAuth: | ||
cfg: | ||
authenticate: '{"timingcode": {"auth": "authenticate"}, "directprefix": [], | ||
"trace": 0, "msg2mc": {}}' | ||
cptype: EmbeddedAuth | ||
msgs: [] | ||
name: EmbeddedAuth | ||
useyaml: true | ||
HMI: | ||
cfg: | ||
accelDecrypt: '{"timingcode": {"decrypt": "decrypt-AES-128-CBC"}, "accelname": "hmiAccel", | ||
"trace": 1, "msg2mc": {}, "msg2msg": {}}' | ||
accelEncrypt: '{"timingcode": {"encrypt": "encrypt-AES-128-CBC"}, "accelname": "hmiAccel", | ||
"trace": 1, "msg2mc": {}, "msg2msg": {}}' | ||
endMeasure: '{"msrname": "end2end", "msrop": "end", "trace": 0, "msg2mc": {}}' | ||
endThread: '{"trace": 0, "msg2mc": {"finish": "default"}}' | ||
generatePckt: '{"timingcode": {"generate": "packet-generation"}, "accelname": | ||
"", "trace": 1, "msg2mc": {}, "msg2msg": {}}' | ||
processRtn: '{"timingcode": {"process": "packet-return"}, "accelname": "", "trace": | ||
0, "msg2mc": {}, "msg2msg": {}}' | ||
startMeasure: '{"msrname": "end2end", "msrop": "start", "trace": 0, "msg2mc": | ||
{}}' | ||
startThread: '{"pcktlen": 1000, "msglen": 1500, "msgtype": "measure", "starttime": | ||
10.0, "data": "", "trace": 0}' | ||
validateSrc: '{"bypass": 0, "trace": 0, "srvCP": "", "srvLabel": "", "srvOp": | ||
"auth", "rspOp": "", "msg2mc": {"*": "default"}, "msg2msg": {}}' | ||
cptype: HMI | ||
msgs: | ||
- ispckt: true | ||
msgtype: measure | ||
- ispckt: true | ||
msgtype: generate | ||
- ispckt: true | ||
msgtype: encrypt | ||
- ispckt: true | ||
msgtype: decrypt | ||
- ispckt: true | ||
msgtype: process | ||
- ispckt: true | ||
msgtype: finish | ||
- ispckt: true | ||
msgtype: compute | ||
name: HMI | ||
useyaml: true | ||
HMIAuth: | ||
cfg: | ||
authenticate: '{"timingcode": {"auth": "authenticate"}, "directprefix": [], | ||
"trace": 0, "msg2mc": {}}' | ||
cptype: HMIAuth | ||
msgs: [] | ||
name: HMIAuth | ||
useyaml: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
listname: exampleName | ||
times: | ||
switch: | ||
- devop: switch | ||
exectime: 2.5468708882538892e-05 | ||
model: Aruba 3810m | ||
perbyte: 2.0314564440981863e-08 | ||
- devop: switch | ||
exectime: 2.6615850225217655e-05 | ||
model: Netgear GS324T | ||
perbyte: 1.5806828571358056e-08 | ||
- devop: switch | ||
exectime: 2.633975299412786e-05 | ||
model: Netgear GS724T | ||
perbyte: 1.6032781107754593e-08 | ||
- devop: switch | ||
exectime: 2.2973998649851932e-05 | ||
model: Aruba 3810m | ||
perbyte: 2.6475916111960042e-08 | ||
- devop: switch | ||
exectime: 2.3006837790126468e-05 | ||
model: Netgear GJS524e | ||
perbyte: 2.3799811941421118e-08 | ||
- devop: switch | ||
exectime: 2.7641803043648572e-05 | ||
model: Netgear GS324T | ||
perbyte: 2.0314564440981863e-08 | ||
- devop: switch | ||
exectime: 2.8105751672196037e-05 | ||
model: Netgear GS724T | ||
perbyte: 1.7621004694522426e-08 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
expname: exampleName | ||
parameters: | ||
- attributes: | ||
- attrbname: name | ||
attrbvalue: central | ||
param: latency | ||
paramObj: Network | ||
value: 5e-06 | ||
- attributes: | ||
- attrbname: name | ||
attrbvalue: central | ||
param: bandwidth | ||
paramObj: Network | ||
value: '1000' | ||
- attributes: | ||
- attrbname: name | ||
attrbvalue: central | ||
param: capacity | ||
paramObj: Network | ||
value: '10000' | ||
- attributes: | ||
- attrbname: name | ||
attrbvalue: central | ||
param: trace | ||
paramObj: Network | ||
value: 0 | ||
- attributes: | ||
- attrbname: '*' | ||
attrbvalue: 1 | ||
param: latency | ||
paramObj: Interface | ||
value: 5e-06 | ||
- attributes: | ||
- attrbname: '*' | ||
attrbvalue: 1 | ||
param: bandwidth | ||
paramObj: Interface | ||
value: 10 | ||
- attributes: | ||
- attrbname: '*' | ||
attrbvalue: 1 | ||
param: trace | ||
paramObj: Interface | ||
value: 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
- $bndwdth,netParams: '1000' | ||
$crypto,cp: AES-256-CBC | ||
name: exp-1 | ||
- $bndwdth,netParams: '10' | ||
$crypto,cp: AES-256-CBC | ||
name: exp-2 | ||
- $bndwdth,netParams: '1000' | ||
$crypto,cp: AES-128-CBC | ||
name: exp-3 | ||
- $bndwdth,netParams: '10' | ||
$crypto,cp: AES-128-CBC | ||
name: exp-4 |
Oops, something went wrong.