From 905b784cd251baa1a1e2909ae53bf553f699a769 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Wed, 6 Feb 2013 16:21:47 -0800 Subject: Change forward_bridge_interface to MultiStrOpt The config option specifically mentions it can be set multiple times but it was accidentally set to a ListOpt instead of a MultiStrOpt. Change-Id: Ibc4280c4bbdd10655192fb8bb5a810125555eb6d --- nova/network/linux_net.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/nova/network/linux_net.py b/nova/network/linux_net.py index f8a2f058b..08a2ae354 100644 --- a/nova/network/linux_net.py +++ b/nova/network/linux_net.py @@ -86,11 +86,11 @@ linux_net_opts = [ default=False, help='Use single default gateway. Only first nic of vm will ' 'get default gateway from dhcp server'), - cfg.ListOpt('forward_bridge_interface', - default=['all'], - help='An interface that bridges can forward to. If this is ' - 'set to all then all traffic will be forwarded. Can be ' - 'specified multiple times.'), + cfg.MultiStrOpt('forward_bridge_interface', + default=['all'], + help='An interface that bridges can forward to. If this ' + 'is set to all then all traffic will be forwarded. ' + 'Can be specified multiple times.'), cfg.StrOpt('metadata_host', default='$my_ip', help='the ip for the metadata api server'), -- cgit