diff options
| author | Anthony Young <sleepsonthefloor@gmail.com> | 2011-08-19 13:25:33 -0700 |
|---|---|---|
| committer | Anthony Young <sleepsonthefloor@gmail.com> | 2011-08-19 13:25:33 -0700 |
| commit | 468893c667c7ce6cddb9d62906dfcb807fcd6da1 (patch) | |
| tree | a90eceda340de4471181bd67ad552c8cb898f58b /nova/api | |
| parent | 5366332a84b89bc5a056bd7f43e528a908e8d188 (diff) | |
| download | nova-468893c667c7ce6cddb9d62906dfcb807fcd6da1.tar.gz nova-468893c667c7ce6cddb9d62906dfcb807fcd6da1.tar.xz nova-468893c667c7ce6cddb9d62906dfcb807fcd6da1.zip | |
a few tweaks - remove unused member functions, add comment
Diffstat (limited to 'nova/api')
| -rw-r--r-- | nova/api/openstack/contrib/floating_ips.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/nova/api/openstack/contrib/floating_ips.py b/nova/api/openstack/contrib/floating_ips.py index b305ebdcb..3b400807a 100644 --- a/nova/api/openstack/contrib/floating_ips.py +++ b/nova/api/openstack/contrib/floating_ips.py @@ -80,6 +80,7 @@ class FloatingIPController(object): context = req.environ['nova.context'] try: + # FIXME - why does self.network_api.list_floating_ips raise this? floating_ips = self.network_api.list_floating_ips(context) except exception.FloatingIpNotFoundForProject: floating_ips = [] @@ -174,9 +175,7 @@ class Floating_ips(extensions.ExtensionDescriptor): res = extensions.ResourceExtension('os-floating-ips', FloatingIPController(), - member_actions={ - 'associate': 'PUT', - 'disassociate': 'PUT'}) + member_actions={}) resources.append(res) return resources |
