

def _get_transport(self, next_hop):
    'NOTE(belliott) Each Transport object contains connection pool\n        state.  Maintain references to them to avoid continual reconnects\n        to the message broker.\n        '
    transport_url = next_hop.db_info['transport_url']
    if (transport_url not in self.transports):
        transport = messaging.get_transport(nova.conf.CONF, transport_url, rpc.TRANSPORT_ALIASES)
        self.transports[transport_url] = transport
    else:
        transport = self.transports[transport]
    return transport

dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/cells/rpc_driver.py InterCellRPCAPI._get_transport/VarMisuse@74/160 `transport_url`->`transport`