blob: 77c7514ccbd0773ec4680450eff45b2e1f27d26b [file] [log] [blame]
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -08001#
Davide Pesavento912d2e82019-01-10 17:04:31 -05002# THIS IS A SAMPLE CLIENT INTEREST TRAFFIC CONFIGURATION FILE
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -08003#
4# * TO BE USED TO GENERATE INTEREST MESSAGES BASED ON A PROBABILITY
Davide Pesavento306e5bc2019-01-26 16:20:34 -05005# PATTERN
6# * EVERY INDIVIDUAL PATTERN DESCRIPTION MUST BE SEPARATED BY ONE
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -08007# OR MORE '#' CHARACTERS FOR THE TOOL TO DISTINGUISH THEM
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -08008# * THE FOLLOWING PARAMETERS MAY BE ADDED FOR EVERY TRAFFIC PATTERN
Davide Pesavento306e5bc2019-01-26 16:20:34 -05009# * '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 Newberryeab462b2016-03-18 11:56:31 -070013# * RANGE OF POSSIBLE VALUES IS SPECIFIED IN []
Davide Pesavento306e5bc2019-01-26 16:20:34 -050014# * PLEASE ENSURE THAT THE SUM OF 'TrafficPercentage' FOR ALL DECLARED
15# PATTERNS DOES NOT EXCEED 100 IN ORDER TO MAINTAIN CORRECT BEHAVIOR
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080016#
Davide Pesavento306e5bc2019-01-26 16:20:34 -050017
Davide Pesavento912d2e82019-01-10 17:04:31 -050018# (Mandatory)
Zeke Lewisdfbf8a12023-03-19 23:40:06 +000019#TrafficPercentage=Float [0-100]
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080020#Name=NDN Name
21#
Davide Pesavento912d2e82019-01-10 17:04:31 -050022# (Optional)
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080023#NameAppendBytes=NNI [>0]
24#NameAppendSequenceNumber=NNI [>=0]
Davide Pesavento56f79d62019-01-26 17:30:32 -050025#CanBePrefix=Boolean
Davide Pesavento306e5bc2019-01-26 16:20:34 -050026#MustBeFresh=Boolean
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080027#NonceDuplicationPercentage=NNI [0-100]
Davide Pesavento306e5bc2019-01-26 16:20:34 -050028#InterestLifetime=Milliseconds [>=0]
29#NextHopFaceId=NNI [>0]
jeraldabraham473ef3d2014-03-06 12:40:35 -070030#ExpectedContent=String
Davide Pesavento912d2e82019-01-10 17:04:31 -050031
32##########
33# EXAMPLES
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080034##########
jeraldabraham473ef3d2014-03-06 12:40:35 -070035TrafficPercentage=50
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080036Name=/example/A
jeraldabraham473ef3d2014-03-06 12:40:35 -070037ExpectedContent=AAAAAAAA
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080038##########
jeraldabraham473ef3d2014-03-06 12:40:35 -070039TrafficPercentage=50
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080040Name=/example/B
jeraldabraham473ef3d2014-03-06 12:40:35 -070041ExpectedContent=BBBBBBBB
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080042##########