summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDevin Carlen <devin.carlen@gmail.com>2010-09-15 17:49:15 -0700
committerDevin Carlen <devin.carlen@gmail.com>2010-09-15 17:49:15 -0700
commitbc2641148359352ed83d4190baaf1e208e00a6b9 (patch)
treeb3a04c097292699a579de6dc5a0c6220335f4fb2
parent01a757ee7bc3624c17dbbcfd3bc65d3e2f674b03 (diff)
downloadnova-bc2641148359352ed83d4190baaf1e208e00a6b9.tar.gz
nova-bc2641148359352ed83d4190baaf1e208e00a6b9.tar.xz
nova-bc2641148359352ed83d4190baaf1e208e00a6b9.zip
Added iptables host initial configuration
-rw-r--r--nova/network/manager.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/nova/network/manager.py b/nova/network/manager.py
index 87c3d8e46..25a9ba474 100644
--- a/nova/network/manager.py
+++ b/nova/network/manager.py
@@ -219,10 +219,11 @@ class FlatManager(NetworkManager):
class VlanManager(NetworkManager):
"""Vlan network with dhcp"""
- def init_host(self):
- """Do any initialization that needs to be run if this is a standalone service.
- """
- driver.init_host()
+ def init_host(self):
+ """Do any initialization that needs to be run if this is a
+ standalone service.
+ """
+ driver.init_host()
def allocate_fixed_ip(self, context, instance_id, *args, **kwargs):
"""Gets a fixed ip from the pool"""