Add l3_agent_mode configuration in tempest
Add dvr_snat agent mode, this will works for all types of routers. Change-Id: I029504d53d4a6e4178c0384be9f21408f333ce20 Closes-Bug: #1731857
This commit is contained in:
parent
132e43bfc7
commit
7eeec2a0c9
@ -127,6 +127,9 @@ case $VENV in
|
||||
if [[ "$FLAVOR" = "dvrskip" ]]; then
|
||||
load_conf_hook disable_dvr
|
||||
fi
|
||||
if [[ "$VENV" =~ "dsvm-scenario-ovs" ]]; then
|
||||
load_conf_hook dvr
|
||||
fi
|
||||
;;
|
||||
|
||||
"rally")
|
||||
|
9
neutron/tests/contrib/hooks/dvr
Normal file
9
neutron/tests/contrib/hooks/dvr
Normal file
@ -0,0 +1,9 @@
|
||||
[[test-config|$TEMPEST_CONFIG]]
|
||||
|
||||
[neutron_plugin_options]
|
||||
l3_agent_mode = dvr_snat
|
||||
|
||||
[[post-config|/$NEUTRON_L3_CONF]]
|
||||
|
||||
[DEFAULT]
|
||||
agent_mode = dvr_snat
|
@ -38,6 +38,10 @@ NeutronPluginOptions = [
|
||||
help='The availability zone for all agents in the deployment. '
|
||||
'Configure this only when the single value is used by '
|
||||
'all agents in the deployment.'),
|
||||
cfg.StrOpt('l3_agent_mode',
|
||||
help='The agent mode for L3 agents in the deployment. '
|
||||
'Configure this only when the single value is used by '
|
||||
'all agents in the deployment.'),
|
||||
]
|
||||
|
||||
# TODO(amuller): Redo configuration options registration as part of the planned
|
||||
|
Loading…
Reference in New Issue
Block a user