@@ -78,7 +78,9 @@ project:
78
78
openstack/02a-MAClow/topology.c file.
79
79
noadaptivesync Do not use adaptive synchronization.
80
80
l2_security Use hop-by-hop encryption and authentication.
81
- 0 (off), 1 (on)
81
+ 0 (off), 1 (on)
82
+ msf_adapting_to_traffic enable/disable MSF for adding/deleting cell to adapt to traffic
83
+ 0 (disable), 1 (enable)
82
84
printf Sends the string messages to openvisualizer
83
85
0 (off ), 1 (on, default)
84
86
ide qtcreator
@@ -129,21 +131,22 @@ command_line_options = {
129
131
'openos' ,
130
132
'freertos' ,
131
133
],
132
- 'fet_version' : ['2' ,'3' ],
133
- 'verbose' : ['0' ,'1' ],
134
- 'fastsim' : ['1' ,'0' ],
135
- 'simhost' : ['amd64-linux' ,'x86-linux' ,'amd64-windows' ,'x86-windows' ],
136
- 'simhostpy' : ['' ], # No reasonable default
137
- 'panid' : ['' ],
138
- 'dagroot' : ['0' ,'1' ],
139
- 'forcetopology' : ['0' ,'1' ],
140
- 'debug' : ['0' ,'1' ],
141
- 'noadaptivesync' : ['0' ,'1' ],
142
- 'l2_security' : ['0' ,'1' ],
143
- 'printf' : ['1' ,'0' ], # 1=on (default), 0=off
144
- 'deadline_option' : ['0' ,'1' ],
145
- 'ide' : ['none' ,'qtcreator' ],
146
- 'revision' : ['' ]
134
+ 'fet_version' : ['2' ,'3' ],
135
+ 'verbose' : ['0' ,'1' ],
136
+ 'fastsim' : ['1' ,'0' ],
137
+ 'simhost' : ['amd64-linux' ,'x86-linux' ,'amd64-windows' ,'x86-windows' ],
138
+ 'simhostpy' : ['' ], # No reasonable default
139
+ 'panid' : ['' ],
140
+ 'dagroot' : ['0' ,'1' ],
141
+ 'forcetopology' : ['0' ,'1' ],
142
+ 'debug' : ['0' ,'1' ],
143
+ 'noadaptivesync' : ['0' ,'1' ],
144
+ 'l2_security' : ['0' ,'1' ],
145
+ 'msf_adapting_to_traffic' : ['0' ,'1' ],
146
+ 'printf' : ['1' ,'0' ], # 1=on (default), 0=off
147
+ 'deadline_option' : ['0' ,'1' ],
148
+ 'ide' : ['none' ,'qtcreator' ],
149
+ 'revision' : ['' ]
147
150
}
148
151
149
152
def validate_option (key , value , env ):
@@ -287,6 +290,13 @@ command_line_vars.AddVariables(
287
290
command_line_options ['l2_security' ][0 ], # default
288
291
validate_option , # validator
289
292
int , # converter
293
+ ),
294
+ (
295
+ 'msf_adapting_to_traffic' , # key
296
+ '' , # help
297
+ command_line_options ['msf_adapting_to_traffic' ][1 ],# default
298
+ validate_option , # validator
299
+ int , # converter
290
300
),
291
301
(
292
302
'printf' , # key
0 commit comments