Revision 7845b8c8

b/lib/bootstrap.py
387 387
  cfg.Update(cfg.GetClusterInfo(), logging.error)
388 388
  backend.WriteSsconfFiles(cfg.GetSsconfValues())
389 389

  
390

  
391 390
  # set up the inter-node password and certificate
392 391
  _InitGanetiServerSetup(hostname.name)
393 392

  
b/lib/netutils.py
473 473

  
474 474
    return address_int
475 475

  
476

  
476 477
def FormatAddress(family, address):
477 478
  """Format a socket address
478 479

  
b/test/ganeti.netutils_unittest.py
152 152
    self.assertFalse(netutils.IPAddress.IsValid("1.1.1.256"))
153 153
    self.assertFalse(netutils.IPAddress.IsValid("a:g::1"))
154 154

  
155

  
156 155
  def testGetAddressFamily(self):
157 156
    fn = netutils.IPAddress.GetAddressFamily
158 157
    self.assertEqual(fn("127.0.0.1"), socket.AF_INET)

Also available in: Unified diff