Create virtual tunnel port when specified

When enable_virtual_tunnel_port, a virtual tunnel port will be created
for each tunnel type in tunnel_types.

Change-Id: Ia748dcf1d35b342e6dbb97253c631b1ee3496e3f
Partially-implements: blueprint virtual-tunnel-port-support
This commit is contained in:
Hong Hui Xiao
2016-10-12 11:42:19 +08:00
parent 4e8829d531
commit febf5b9f9c
8 changed files with 154 additions and 12 deletions

View File

@@ -34,6 +34,12 @@ DF_OPTS = [
cfg.StrOpt('tunnel_type',
default='geneve',
help=_('The encapsulation type for the tunnel')),
cfg.BoolOpt('enable_virtual_tunnel_port',
default=False,
help=_("Enable virtual tunnel port")),
cfg.ListOpt('tunnel_types',
default=['geneve', 'vxlan', 'gre'],
help=_("The encapsulation types for the tunnels")),
cfg.StrOpt('apps_list',
default='l2_app.L2App,'
'l3_proactive_app.L3ProactiveApp,'