Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 1 | # |
Spencer Lee | 9a47123 | 2016-02-25 00:42:16 -0700 | [diff] [blame] | 2 | # THIS IS A SAMPLE SERVER DATA TRAFFIC CONFIGURATION FILE |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 3 | # |
| 4 | # * TO BE USED TO CONFIGURE RESPONSE TO INTERESTS |
| 5 | # * MULTIPLE SERVER PREFIXES CAN BE CONFIGURED FOR BEING HANDLED |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 6 | # * EVERY INDIVIDUAL PATTERN DESCRIPTION MUST BE SEPARATED BY ONE |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 7 | # OR MORE '#' CHARACTERS FOR THE TOOL TO DISTINGUISH THEM |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 8 | # * THE FOLLOWING PARAMETERS MAY BE ADDED FOR EVERY TRAFFIC PATTERN |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 9 | # * 'Mandatory' ARE PARAMETERS THAT EVERY PATTERN MUST HAVE IN ORDER |
| 10 | # TO BE CONSIDERED VALID |
| 11 | # * 'Boolean' ACCEPTS EITHER 0/false/no/off OR 1/true/yes/on AS VALUE |
| 12 | # * 'NNI' STANDS FOR NON-NEGATIVE INTEGER |
Spencer Lee | e7a5b74 | 2015-10-29 02:18:11 -0700 | [diff] [blame] | 13 | # * RANGE OF POSSIBLE VALUES IS SPECIFIED IN [] |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 14 | # |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 15 | |
Spencer Lee | 9a47123 | 2016-02-25 00:42:16 -0700 | [diff] [blame] | 16 | # (Mandatory) |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 17 | #Name=NDN Name |
| 18 | # |
Spencer Lee | 9a47123 | 2016-02-25 00:42:16 -0700 | [diff] [blame] | 19 | # (Optional) |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 20 | #ContentDelay=Milliseconds [>=0] |
| 21 | #FreshnessPeriod=Milliseconds [>=0] |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 22 | #ContentType=NNI [>=0] |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 23 | #ContentBytes=NNI [>0] |
| 24 | #Content=String |
Spencer Lee | 9a47123 | 2016-02-25 00:42:16 -0700 | [diff] [blame] | 25 | #SigningInfo=String [examples below] |
Davide Pesavento | 912d2e8 | 2019-01-10 17:04:31 -0500 | [diff] [blame] | 26 | |
| 27 | ########## |
| 28 | # EXAMPLES |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 29 | ########## |
| 30 | Name=/example/A |
jeraldabraham | 473ef3d | 2014-03-06 12:40:35 -0700 | [diff] [blame] | 31 | Content=AAAAAAAA |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 32 | ########## |
| 33 | Name=/example/B |
jeraldabraham | 473ef3d | 2014-03-06 12:40:35 -0700 | [diff] [blame] | 34 | Content=BBBBBBBB |
Spencer Lee | 9a47123 | 2016-02-25 00:42:16 -0700 | [diff] [blame] | 35 | SigningInfo=id:/my-identity |
| 36 | ########## |
| 37 | Name=/example/C |
| 38 | Content=CCCCCCCC |
| 39 | SigningInfo=key:/my-identity/ksk-1450757659736 |
| 40 | ########## |
| 41 | Name=/example/D |
| 42 | Content=DDDDDDDD |
| 43 | SigningInfo=cert:/my-identity/KEY/3%F342%9C%E0R%CE/self/%FD%00%00%01%5EE%92%A8%2A |
| 44 | ########## |
| 45 | Name=/example/E |
| 46 | Content=EEEEEEEE |
| 47 | SigningInfo=id:/localhost/identity/digest-sha256 |
| 48 | ########## |