# empty for the server. Set local-ip to be the local IP address of
# this hypervisor.
#
-# Default: local_ip = 10.0.0.3
+# Default: local_ip =
# (ListOpt) Comma-separated list of <physical_network>:<bridge> tuples
# mapping physical network names to the agent's node-specific OVS
local_ip = cfg.CONF.OVS.local_ip
enable_tunneling = cfg.CONF.OVS.enable_tunneling
+ if enable_tunneling and not local_ip:
+ LOG.error("Invalid local_ip. (%s)" % repr(local_ip))
+ sys.exit(1)
+
bridge_mappings = {}
for mapping in cfg.CONF.OVS.bridge_mappings:
mapping = mapping.strip()
cfg.StrOpt('integration_bridge', default='br-int'),
cfg.BoolOpt('enable_tunneling', default=False),
cfg.StrOpt('tunnel_bridge', default='br-tun'),
- cfg.StrOpt('local_ip', default='10.0.0.3'),
+ cfg.StrOpt('local_ip', default=''),
cfg.ListOpt('bridge_mappings',
default=DEFAULT_BRIDGE_MAPPINGS,
help="List of <physical_network>:<bridge>"),