X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=xenserver%2Fopt_xensource_libexec_InterfaceReconfigureVswitch.py;h=22201ae27007059f7270b5321877890a7346b5b2;hb=75fca0a445ccecbf0b53a44024800860475acf2e;hp=a3d4bd24d54f48946875347324ad76eb273c3c24;hpb=0671665d935c88ebccc49675cbc615c108d9716d;p=openvswitch diff --git a/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py b/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py index a3d4bd24..22201ae2 100644 --- a/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py +++ b/xenserver/opt_xensource_libexec_InterfaceReconfigureVswitch.py @@ -334,7 +334,7 @@ def configure_datapath(pif): pool = db().get_pool_record() if pool: - fail_mode = pool['other_config']['vswitch-controller-fail-mode'] + fail_mode = pool['other_config'].get('vswitch-controller-fail-mode') else: fail_mode = 'standalone'