summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHisaharu Ishii <ishii.hisaharu@lab.ntt.co.jp>2011-03-22 20:27:51 +0900
committerHisaharu Ishii <ishii.hisaharu@lab.ntt.co.jp>2011-03-22 20:27:51 +0900
commite827b8dbae1faef2cc070c7e26395979571bcd46 (patch)
treec5480bb02b1a8246a1ca1f4a779cf969367645bb
parente40d692c55a02fa686e83bd87eca29a3cfa3d15e (diff)
downloadnova-e827b8dbae1faef2cc070c7e26395979571bcd46.tar.gz
nova-e827b8dbae1faef2cc070c7e26395979571bcd46.tar.xz
nova-e827b8dbae1faef2cc070c7e26395979571bcd46.zip
Wrap update_ra in utils.synchronized.
-rw-r--r--nova/network/linux_net.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/nova/network/linux_net.py b/nova/network/linux_net.py
index ee36407a6..e283dee37 100644
--- a/nova/network/linux_net.py
+++ b/nova/network/linux_net.py
@@ -595,6 +595,7 @@ def update_dhcp(context, network_id):
_execute(*command, addl_env=env)
+@utils.synchronized('radvd_start')
def update_ra(context, network_id):
network_ref = db.network_get(context, network_id)