Tried creating a network with the conf set to:
model_class=quantum.plugins.cisco.models.virt_phy_sw_v2.VirtualPhysicalSwitchModelV2
and seeing the following exception:
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 328, in create
obj = obj_creator(request.context, **kwargs)
File "/opt/stack/quantum/quantum/plugins/cisco/models/virt_phy_sw_v2.py", line 177, in create_network
vlan_id = odb.get_vlan(ovs_output[0]['id'])
AttributeError: 'module' object has no attribute 'get_vlan'
This is on account of the recent changes in the OVS module to the get_vlan (and get_vlans) method, which is being invoked here.
Fix proposed to branch: master /review. openstack. org/13059
Review: https:/