From 55798e6767d14ebec6c8c612a98299f4017aacd7 Mon Sep 17 00:00:00 2001 From: Dave Lapsley Date: Wed, 15 Feb 2012 18:04:23 -0500 Subject: [PATCH] Fix bug 933147 Security group trigger notifications. Add a lightweight mechanism to allow security group trigger notifications to be propagated to quantum security group handlers. Add a global flag: "security_group_handler" to allow for runtime selection of security group handler class. Change-Id: I8a3768c26c97020071ad4e52d3a22d8898e72e9f --- nova/flags.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/nova/flags.py b/nova/flags.py index af490e28..4277d1ed 100644 --- a/nova/flags.py +++ b/nova/flags.py @@ -451,6 +451,9 @@ global_opts = [ cfg.StrOpt('volume_api_class', default='nova.volume.api.API', help='The volume API class to use'), + cfg.StrOpt('security_group_handler', + default='nova.network.quantum.sg.NullSecurityGroupHandler', + help='security group handler class') ] FLAGS.register_opts(global_opts)