Add support for controlling l2-population
This commit is contained in:
commit
e126674976
@ -96,4 +96,10 @@ options:
|
||||
.
|
||||
This network will be used for tenant network traffic in overlay
|
||||
networks.
|
||||
|
||||
l2-population:
|
||||
type: boolean
|
||||
default: True
|
||||
description: |
|
||||
Populate the forwarding tables of virtual switches (LinuxBridge or OVS),
|
||||
to decrease broadcast traffics inside the physical networks fabric while
|
||||
using overlays networks (VXLan, GRE).
|
||||
|
@ -172,7 +172,8 @@ class QuantumGatewayContext(OSContextGenerator):
|
||||
'plugin': config('plugin'),
|
||||
'debug': config('debug'),
|
||||
'verbose': config('verbose'),
|
||||
'instance_mtu': config('instance-mtu')
|
||||
'instance_mtu': config('instance-mtu'),
|
||||
'l2_population': config('l2-population'),
|
||||
}
|
||||
return ctxt
|
||||
|
||||
|
@ -15,5 +15,6 @@ enable_tunneling = True
|
||||
local_ip = {{ local_ip }}
|
||||
[agent]
|
||||
tunnel_types = gre
|
||||
l2_population = {{ l2_population }}
|
||||
[securitygroup]
|
||||
firewall_driver = neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver
|
||||
|
@ -209,7 +209,8 @@ class TestQuantumGatewayContext(CharmTestCase):
|
||||
"OVSQuantumPluginV2",
|
||||
'plugin': 'ovs',
|
||||
'debug': False,
|
||||
'verbose': True
|
||||
'verbose': True,
|
||||
'l2_population': True,
|
||||
})
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user