r39091 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r39090‎ | r39091 | r39092 >
Date:21:08, 10 August 2008
Author:mark
Status:old
Tags:
Comment:
Fix bug in global config reading, update TODO
Modified paths:
  • /trunk/pybal/TODO (modified) (history)
  • /trunk/pybal/pybal/pybal.py (modified) (history)

Diff [purge]

Index: trunk/pybal/TODO
@@ -9,4 +9,6 @@
1010 Twisted Pair or python-eunuchs for creating non-routed raw
1111 IP packets
1212 * (Partial) lvsmon-like configuration from textfiles retrieved
13 - from the realservers, e.g. for computing the weight of a realserver
\ No newline at end of file
 13+ from the realservers, e.g. for computing the weight of a realserver
 14+* Reimplement IPVSManager using Netlink once the IPVS Netlink interface
 15+ has entered the kernel
\ No newline at end of file
Index: trunk/pybal/pybal/pybal.py
@@ -594,7 +594,15 @@
595595 configURL=config.get(section, 'config'))
596596 print "Created LVS service '%s'" % section
597597
 598+
 599+ # Set up BGP
 600+ try:
 601+ configdict = util.ConfigDict(config.items('global'))
 602+ except:
 603+ configdict = {}
 604+ configdict.update(cliconfig)
598605 bgpannouncement = BGPFailover(configdict)
 606+
599607 reactor.run()
600608 finally:
601609 terminate()

Status & tagging log