diff options
| author | Dave Lapsley <dlapsley@nicira.com> | 2012-02-15 18:04:23 -0500 |
|---|---|---|
| committer | Dave Lapsley <dlapsley@nicira.com> | 2012-02-16 20:21:32 -0500 |
| commit | 269c0fca4d2dd78fecdd142047c5198b41c4e7d7 (patch) | |
| tree | e10be3457d207e5100134c3efd8db021e702dd70 /nova/flags.py | |
| parent | 31d1a423761ac2d68d227559f4e3f424487333be (diff) | |
| download | nova-269c0fca4d2dd78fecdd142047c5198b41c4e7d7.tar.gz nova-269c0fca4d2dd78fecdd142047c5198b41c4e7d7.tar.xz nova-269c0fca4d2dd78fecdd142047c5198b41c4e7d7.zip | |
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
Diffstat (limited to 'nova/flags.py')
| -rw-r--r-- | nova/flags.py | 3 |
1 files changed, 3 insertions, 0 deletions
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) |
