Added a mechanism to configure the following timeout values.
Those are needed for the Internet2 deployment. * FlowRuleManager Timeout per Flow Operation (default to 500ms) This can be set in the following configuration file and variable: tools/package/etc/org.onosproject.net.flow.impl.FlowRuleManager.cfg timeoutPerFlowOpMsec = 500 * IntentManager Timeout per Intent Operation (default to 500ms) This can be set in the following configuration file and variable: tools/package/etc/org.onosproject.net.intent.impl.IntentManager.cfg timeoutPerIntentOpMsec = 500 For the Intentet2 deployment the above two parameters should be configured to 15000 (i.e., 15 seconds). The reason is because of recent modifications to the Internet2 firewall: it could take up to 10s for the reported FlowStats to reflect added FlowMods. Also, sometimes a single FlowAdd FLOW_MOD operation with the Internet2 firewall in the middle could take close to 1s to complete. * Added sample configuration files: tools/package/etc/samples/org.onosproject.*.cfg Those sample configuration files should be copied to the following directory so they can be used: tools/package/etc/ Change-Id: I699d93d4210fd7033234fd71be9b64c1f1d86117
Showing
6 changed files
with
150 additions
and
10 deletions
-
Please register or login to post a comment