Plugin: Cisco plugin with N1KV.
n1kv:profile_id is mandatory and hence the network and port creation dont go through if no n1kv:profile_id parameter is passed.
This raises a network binding/ port binding error.
2013-03-15 12:45:47 DEBUG [routes.middleware] Match dict: {'action': u'index', 'controller': wsgify(quantum.api.v2.resource.resource, RequestClass=<class 'quantum.api.v2.resource.Request'>), 'format': u'json'}
2013-03-15 12:45:47 ERROR [quantum.api.v2.resource] index failed
Traceback (most recent call last):
File "/opt/stack/quantum/quantum/api/v2/resource.py", line 95, in resource
result = method(request=request, **args)
File "/opt/stack/quantum/quantum/api/v2/base.py", line 198, in index
return self._items(request, True)
File "/opt/stack/quantum/quantum/api/v2/base.py", line 168, in _items
obj_list = obj_getter(request.context, **kwargs)
File "/opt/stack/quantum/quantum/plugins/cisco/n1kv/n1k_quantum_plugin.py", line 427, in get_networks
self._extend_network_dict_provider(context, net)
File "/opt/stack/quantum/quantum/plugins/cisco/n1kv/n1k_quantum_plugin.py", line 159, in _extend_network_dict_provider
network[provider.NETWORK_TYPE] = binding.network_type
AttributeError: 'NoneType' object has no attribute 'network_type'
2013-03-15 12:45:47 DEBUG [eventlet.wsgi.server] 10.0.2.15 - - [15/Mar/2013 12:45:47] "GET //v2.0/networks.json?router%3Aexternal=True HTTP/1.1" 500 215 0.052251
Fix proposed to branch: master /review. openstack. org/44569
Review: https:/