Merge "openflow_processed_per_port should be ovs-agent only"

This commit is contained in:
Zuul 2022-06-10 18:55:05 +00:00 committed by Gerrit Code Review
commit 275b458f14
2 changed files with 9 additions and 9 deletions

View File

@ -44,15 +44,6 @@ OPTS = [
'unregistered multicast packets to all ports. '
'The switch will send unregistered multicast packets '
'only to ports connected to multicast routers.')),
cfg.BoolOpt('openflow_processed_per_port',
default=False,
help=_('If enabled, all OpenFlow rules associated to a port '
'are processed at once, in one single transaction. '
'That avoids possible inconsistencies during OVS agent '
'restart and port updates. '
'If disabled, the flows will be processed in batches '
'of ``_constants.AGENT_RES_PROCESSING_STEP`` number of '
'OpenFlow rules.')),
]

View File

@ -171,6 +171,15 @@ ovs_opts = [
help=_("The inactivity_probe interval in seconds for the local "
"switch connection to the controller. "
"A value of 0 disables inactivity probes.")),
cfg.BoolOpt('openflow_processed_per_port',
default=False,
help=_('If enabled, all OpenFlow rules associated to a port '
'are processed at once, in one single transaction. '
'That avoids possible inconsistencies during OVS agent '
'restart and port updates. '
'If disabled, the flows will be processed in batches '
'of ``_constants.AGENT_RES_PROCESSING_STEP`` number of '
'OpenFlow rules.')),
]
agent_opts = [