def AddTcpUdpPort(self, port):
    utils.SimpleRetry(True, self._wconfd.AddTcpUdpPort, 0.1, 30, args=[port])
    self.OutDate()
Adds a new port to the available port pool.
dataset/ETHPy150Open ganeti/ganeti/lib/config/__init__.py/ConfigWriter.AddTcpUdpPort