Index: trunk/pybal/TODO |
— | — | @@ -9,4 +9,6 @@ |
10 | 10 | Twisted Pair or python-eunuchs for creating non-routed raw |
11 | 11 | IP packets |
12 | 12 | * (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 @@ |
595 | 595 | configURL=config.get(section, 'config')) |
596 | 596 | print "Created LVS service '%s'" % section |
597 | 597 | |
| 598 | + |
| 599 | + # Set up BGP |
| 600 | + try: |
| 601 | + configdict = util.ConfigDict(config.items('global')) |
| 602 | + except: |
| 603 | + configdict = {} |
| 604 | + configdict.update(cliconfig) |
598 | 605 | bgpannouncement = BGPFailover(configdict) |
| 606 | + |
599 | 607 | reactor.run() |
600 | 608 | finally: |
601 | 609 | terminate() |