diff --git a/quantum/api/views/networks.py b/quantum/api/views/networks.py index 688cbfc47b..eaa9901ff9 100644 --- a/quantum/api/views/networks.py +++ b/quantum/api/views/networks.py @@ -50,8 +50,6 @@ class ViewBuilder(object): def _build_detail(self, network_data): """Return a detailed model of a network.""" - # net-ports might not be present in response from plugin - ports = network_data.get('net-ports', None) return dict(network=dict(id=network_data['net-id'], name=network_data['net-name']))