Validate local_ip for OVS agent is actual ip address
tunnel_sync() writes this value into ovsdb and value is not validated. In case non-ip value is written into ovsdb row must be deleted manually. Change-Id: I57eee81e6821eb2cb26b3d07a39bc94b81243570 Closes-bug: #1284684
This commit is contained in:
parent
1ad3df313e
commit
283022ca69
@ -37,8 +37,8 @@ ovs_opts = [
|
||||
cfg.StrOpt('tun_peer_patch_port', default='patch-int',
|
||||
help=_("Peer patch port in tunnel bridge for integration "
|
||||
"bridge.")),
|
||||
cfg.StrOpt('local_ip', default='',
|
||||
help=_("Local IP address of GRE tunnel endpoints.")),
|
||||
cfg.IPOpt('local_ip', version=4,
|
||||
help=_("Local IP address of tunnel endpoint.")),
|
||||
cfg.ListOpt('bridge_mappings',
|
||||
default=DEFAULT_BRIDGE_MAPPINGS,
|
||||
help=_("List of <physical_network>:<bridge>. "
|
||||
|
Loading…
x
Reference in New Issue
Block a user