MetaInterfaceDriver communicates with neutron-server using REST API.
If a user intend to use internalurl for neutron-server endpoint, MataInterfaceDriver fails.
This is because MetaInterfaceDriver does not specify endpoint_type. Thus it assumes using publicurl.
---
class MetaInterfaceDriver(LinuxInterfaceDriver):
def __init__(self, conf):
super(MetaInterfaceDriver, self).__init__(conf)
from neutronclient.v2_0 import client
self.neutron = client.Client(
username=self.conf.admin_user,
password=self.conf.admin_password,
tenant_name=self.conf.admin_tenant_name,
auth_url=self.conf.auth_url,
auth_strategy=self.conf.auth_strategy,
region_name=self.conf.auth_region
)
---
Note that MetaInterfaceDriver is used with Metaplugin only.
Fix proposed to branch: master /review. openstack. org/113411
Review: https:/