blob: 1695ec712b30ca48c82b5cf3af3e4f2eb3aaf6d6 [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)
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080019#TrafficPercentage=NNI [0-100]
20#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 Pesavento306e5bc2019-01-26 16:20:34 -050025#MustBeFresh=Boolean
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080026#NonceDuplicationPercentage=NNI [0-100]
Davide Pesavento306e5bc2019-01-26 16:20:34 -050027#InterestLifetime=Milliseconds [>=0]
28#NextHopFaceId=NNI [>0]
jeraldabraham473ef3d2014-03-06 12:40:35 -070029#ExpectedContent=String
Davide Pesavento912d2e82019-01-10 17:04:31 -050030
31##########
32# EXAMPLES
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080033##########
jeraldabraham473ef3d2014-03-06 12:40:35 -070034TrafficPercentage=50
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080035Name=/example/A
jeraldabraham473ef3d2014-03-06 12:40:35 -070036ExpectedContent=AAAAAAAA
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080037##########
jeraldabraham473ef3d2014-03-06 12:40:35 -070038TrafficPercentage=50
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080039Name=/example/B
jeraldabraham473ef3d2014-03-06 12:40:35 -070040ExpectedContent=BBBBBBBB
Alexander Afanasyeva8f2a922014-02-26 14:21:56 -080041##########