Comment 6 for bug 1089430

Qiu Yu (unicell) wrote :

Following patch should fix the network-show issue

diff --git a/nova/network/manager.py b/nova/network/manager.py
index b6b2e41..80bffde 100644
--- a/nova/network/manager.py
+++ b/nova/network/manager.py
@@ -1775,7 +1775,7 @@ class NetworkManager(manager.SchedulerDependentManager):
     @wrap_check_policy
     def get_network(self, context, network_uuid):
         network = self.db.network_get_by_uuid(context.elevated(), network_uuid)
- return dict(network.iteritems())
+ return jsonutils.to_primitive(network)

     @wrap_check_policy
     def get_all_networks(self, context):