Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 1 | # |
Davide Pesavento | 912d2e8 | 2019-01-10 17:04:31 -0500 | [diff] [blame] | 2 | # THIS IS A SAMPLE CLIENT INTEREST TRAFFIC CONFIGURATION FILE |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 3 | # |
| 4 | # * TO BE USED TO GENERATE INTEREST MESSAGES BASED ON A PROBABILITY |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 5 | # PATTERN |
| 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 |
Eric Newberry | eab462b | 2016-03-18 11:56:31 -0700 | [diff] [blame] | 13 | # * RANGE OF POSSIBLE VALUES IS SPECIFIED IN [] |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 14 | # * PLEASE ENSURE THAT THE SUM OF 'TrafficPercentage' FOR ALL DECLARED |
| 15 | # PATTERNS DOES NOT EXCEED 100 IN ORDER TO MAINTAIN CORRECT BEHAVIOR |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 16 | # |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 17 | |
Davide Pesavento | 912d2e8 | 2019-01-10 17:04:31 -0500 | [diff] [blame] | 18 | # (Mandatory) |
Zeke Lewis | dfbf8a1 | 2023-03-19 23:40:06 +0000 | [diff] [blame] | 19 | #TrafficPercentage=Float [0-100] |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 20 | #Name=NDN Name |
| 21 | # |
Davide Pesavento | 912d2e8 | 2019-01-10 17:04:31 -0500 | [diff] [blame] | 22 | # (Optional) |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 23 | #NameAppendBytes=NNI [>0] |
| 24 | #NameAppendSequenceNumber=NNI [>=0] |
Davide Pesavento | 56f79d6 | 2019-01-26 17:30:32 -0500 | [diff] [blame] | 25 | #CanBePrefix=Boolean |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 26 | #MustBeFresh=Boolean |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 27 | #NonceDuplicationPercentage=NNI [0-100] |
Davide Pesavento | 306e5bc | 2019-01-26 16:20:34 -0500 | [diff] [blame] | 28 | #InterestLifetime=Milliseconds [>=0] |
| 29 | #NextHopFaceId=NNI [>0] |
jeraldabraham | 473ef3d | 2014-03-06 12:40:35 -0700 | [diff] [blame] | 30 | #ExpectedContent=String |
Davide Pesavento | 912d2e8 | 2019-01-10 17:04:31 -0500 | [diff] [blame] | 31 | |
| 32 | ########## |
| 33 | # EXAMPLES |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 34 | ########## |
jeraldabraham | 473ef3d | 2014-03-06 12:40:35 -0700 | [diff] [blame] | 35 | TrafficPercentage=50 |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 36 | Name=/example/A |
jeraldabraham | 473ef3d | 2014-03-06 12:40:35 -0700 | [diff] [blame] | 37 | ExpectedContent=AAAAAAAA |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 38 | ########## |
jeraldabraham | 473ef3d | 2014-03-06 12:40:35 -0700 | [diff] [blame] | 39 | TrafficPercentage=50 |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 40 | Name=/example/B |
jeraldabraham | 473ef3d | 2014-03-06 12:40:35 -0700 | [diff] [blame] | 41 | ExpectedContent=BBBBBBBB |
Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame] | 42 | ########## |