diff options
| author | Dan Smith <danms@us.ibm.com> | 2012-11-06 08:25:00 -0800 |
|---|---|---|
| committer | Dan Smith <danms@us.ibm.com> | 2012-11-08 11:38:30 -0800 |
| commit | 83225883eb27ad520b7fb942c129cae5cae17362 (patch) | |
| tree | 1dd36a7290a2b51cd2fa2c0ae2cc909189aea54a /bin/stack | |
| parent | a51d60f2ba557926f982d7f6c735ed12e5deb5e9 (diff) | |
| download | nova-83225883eb27ad520b7fb942c129cae5cae17362.tar.gz nova-83225883eb27ad520b7fb942c129cae5cae17362.tar.xz nova-83225883eb27ad520b7fb942c129cae5cae17362.zip | |
Move security groups and firewall ops to VirtAPI
This patch moves the following network security-related
methods to VirtAPI:
security_group_get_by_instance()
security_group_rule_get_by_security_group()
provider_fw_rule_get_all()
In order to make this change, the _provider_rules() method
of the FirewallDriver was changed from being a staticmethod
to a regular instance method. All uses of it were in the
context of an actual instance, so I saw no reason to keep
it static, which would have complicated the use of the VirtAPI
methods.
Related to bp:no-db-compute
Change-Id: I260c96b6aa4bbab694b74087f704b6405360b0bf
Diffstat (limited to 'bin/stack')
0 files changed, 0 insertions, 0 deletions
