From 269c0fca4d2dd78fecdd142047c5198b41c4e7d7 Mon Sep 17 00:00:00 2001 From: Dave Lapsley Date: Wed, 15 Feb 2012 18:04:23 -0500 Subject: 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(+) (limited to 'nova/flags.py') diff --git a/nova/flags.py b/nova/flags.py index af490e287..4277d1eda 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) -- cgit