The problem is not exactly in this method but in in the upper one [1]. You stated that you are using Pike, quite old version. But this method is missing [2]; this patch is adding the integration bridge name configured in OVS.integration_bridge (default value "br-int") in the vif details.
There is the problem you are facing: the vif details passed to Nova do not have the overwritten value you manually defined.
Please, try to import to your code this patch or update to a newer version. [2] is present in master, Train and Stein.
Hello zhangyuhe:
The problem is not exactly in this method but in in the upper one [1]. You stated that you are using Pike, quite old version. But this method is missing [2]; this patch is adding the integration bridge name configured in OVS.integration _bridge (default value "br-int") in the vif details.
There is the problem you are facing: the vif details passed to Nova do not have the overwritten value you manually defined.
Please, try to import to your code this patch or update to a newer version. [2] is present in master, Train and Stein.
Regards.
[1]https:/ /github. com/openstack/ neutron/ blob/6b524de73a a1738ca888b10a5 e1411b307a3a485 /neutron/ plugins/ ml2/drivers/ openvswitch/ mech_driver/ mech_openvswitc h.py#L117 /review. opendev. org/#/c/ 596896/
[2]https:/