diff options
| author | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-02-06 16:21:47 -0800 |
|---|---|---|
| committer | Vishvananda Ishaya <vishvananda@gmail.com> | 2013-02-06 16:21:47 -0800 |
| commit | 905b784cd251baa1a1e2909ae53bf553f699a769 (patch) | |
| tree | b4cfe2a548600bbcfe7ded2c7e02063084337f45 | |
| parent | 749c3db3f63f70d9a71ff26e253b3eeda5d9d742 (diff) | |
| download | nova-905b784cd251baa1a1e2909ae53bf553f699a769.tar.gz nova-905b784cd251baa1a1e2909ae53bf553f699a769.tar.xz nova-905b784cd251baa1a1e2909ae53bf553f699a769.zip | |
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
| -rw-r--r-- | nova/network/linux_net.py | 10 |
1 files 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'), |
