def _InitTransport(self):
      if self.transport is None:
        self.transport = self.transport_class(self._GetAddress(),
                                              timeouts=self.timeouts,
                                              allow_non_master=True)
(Re)initialize the transport if needed.
dataset/ETHPy150Open ganeti/ganeti/lib/metad.py/Client._InitTransport