Alexander Afanasyev | a8f2a92 | 2014-02-26 14:21:56 -0800 | [diff] [blame^] | 1 | # |
| 2 | #THIS IS A SAMPLE CLIENT INTEREST TRAFFIC CONFIGURATION FILE |
| 3 | # |
| 4 | # * TO BE USED TO GENERATE INTEREST MESSAGES BASED ON A PROBABILITY |
| 5 | # PATTERN. |
| 6 | # * EVERY INIVIDUAL PATTERN DESCRIPTION MUST BE SEPARATED BY ONE |
| 7 | # OR MORE '#' CHARACTERS FOR THE TOOL TO DISTINGUISH THEM |
| 8 | # INDIVIUDALLY |
| 9 | # * THE FOLLOWING PARAMETERS MAY BE ADDED FOR EVERY TRAFFIC PATTERN |
| 10 | # * (Mandatory) NEXT TO A PARAMETER MEANS EVERY PATTERN SHOULD HAVE |
| 11 | # IT FOR BEING CONSIDERED VALID |
| 12 | # (Optional) MEANS OTHERWISE |
| 13 | # * ALSO PROVIDED ARE VALID VALUES POSSIBLE FOR EACH PARAMETER |
| 14 | # * PLEASE ENSURE THAT THE SUM OF TRAFFIC PERCENTAGE FOR ALL PATTERNS |
| 15 | # PROVIDED DOES NOT EXCEED 100 IN ORDER TO MAINTAIN CORRECT BEHAVIOR |
| 16 | # * NNI STANDS FOR NON-NEGATIVE INTEGER |
| 17 | # * RANGE OF POSSIBLE VALUES IS SPECIFIED IN [] |
| 18 | # |
| 19 | # |
| 20 | #(Mandatory) |
| 21 | #TrafficPercentage=NNI [0-100] |
| 22 | #Name=NDN Name |
| 23 | # |
| 24 | #(Optional) |
| 25 | #NameAppendBytes=NNI [>0] |
| 26 | #NameAppendSequenceNumber=NNI [>=0] |
| 27 | #MinSuffixComponents=NNI |
| 28 | #MaxSuffixComponents=NNI |
| 29 | #ExcludeBefore=NDN Name Component |
| 30 | #ExcludeAfter=NDN Name Component |
| 31 | #ExcludeBeforeBytes=NNI [>0] |
| 32 | #ExcludeAfterBytes=NNI [>0] |
| 33 | #ChildSelector=NNI [0-1] |
| 34 | #MustBeFresh=NNI [0-1] |
| 35 | #NonceDuplicationPercentage=NNI [0-100] |
| 36 | #Scope=NNI |
| 37 | #InterestLifetime=NNI [Milliseconds] |
| 38 | # |
| 39 | # |
| 40 | ########## |
| 41 | TrafficPercentage=10 |
| 42 | Name=/example |
| 43 | NameAppendBytes=4 |
| 44 | MinSuffixComponents=2 |
| 45 | ########## |
| 46 | TrafficPercentage=30 |
| 47 | Name=/example/A |
| 48 | MustBeFresh=1 |
| 49 | NonceDuplicationPercentage=10 |
| 50 | ########## |
| 51 | TrafficPercentage=45 |
| 52 | Name=/example |
| 53 | ExcludeBeforeBytes=4 |
| 54 | ########## |
| 55 | TrafficPercentage=5 |
| 56 | Name=/example/B |
| 57 | NameAppendSequenceNumber=1 |
| 58 | Scope=2 |
| 59 | ########## |