-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmultiGraphFileExample
22 lines (19 loc) · 1.08 KB
/
multiGraphFileExample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
pdfFileName.pdf
card,card,card:test:subtest:type:label,label,label:start:end[:update] NOTE: if update field is present at all it will update the range. If no update is needed do not supply this field. May change with future updates
...
ex:
comparison.pdf
enic,ixgbe:Gating:1500 Bytes Guest Enabled Iommu:latency avg:1Q 2PMD,2Q 4PMD:2017-11-01:2018-06-12
enic,ixgbe:Endurance:Endurance Testing PVP Latency:latency avg:64 Bytes Latency,576 Bytes Latency:2017-11-01:2018-06-12
generalformat
\w*.pdf *\n
(enic|ixgbe|...)(,(enic|ixgbe|...)),...:(Gating|Endurance|...):(validSubtest):(validType):(validLabel),(validLabel),...:(validDate):validDate:(validFlag),(validFlag),...
parse on ':' and generate regex for next input based on valid that way user can easily be warned which part of request is invalid
Warning can then be of form
"such and such" for input "label" is invalid with the options: test="Some Test", subtest="valid subtest", type="valid type".
Valid options include:
"label 1"
"label 2"
"label 3"
etc.
NOTE: The validity of inputs will be pulled from the the charts.json format file using