'Get the port\'s assigned ofport, retrying if not yet assigned.'

def get_port_external_ids(self, port_name):

    port_external_ids = dict()
    try:
        port_external_ids = self._get_port_val(port_name, 'external_ids')
    except tenacity.RetryError:
        LOG.exception(_LE('Timed    out    retrieving    external_ids    on    port    %s.'), port_name)
    return port_external_ids
