summaryrefslogtreecommitdiffstats
path: root/nova
diff options
context:
space:
mode:
Diffstat (limited to 'nova')
-rw-r--r--nova/network/quantumv2/api.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/nova/network/quantumv2/api.py b/nova/network/quantumv2/api.py
index 00186974d..8c802b9fc 100644
--- a/nova/network/quantumv2/api.py
+++ b/nova/network/quantumv2/api.py
@@ -320,10 +320,12 @@ class API(base.Base):
client.update_floatingip(fip['id'], {'floatingip': param})
def get_all(self, context):
- raise NotImplementedError()
+ client = quantumv2.get_client(context)
+ return client.list_networks()
def get(self, context, network_uuid):
- raise NotImplementedError()
+ client = quantumv2.get_client(context)
+ return client.show_network(network_uuid)
def delete(self, context, network_uuid):
raise NotImplementedError()