conga/luci/site/luci/Extensions cluster_adapte ...
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-02-05 19:56:18
Modified files:
luci/site/luci/Extensions: cluster_adapters.py
Log message:
Get rid of fenced property info in one more place for GULM clusters.
luci/site/luci/Extensions/cluster_adapters.py +15 -14
@@ -3512,23 +3512,24 @@ #------------- #new cluster params - if rhel5 #------------- - #Fence Daemon Props - fencedaemon_url = prop_baseurl + PROPERTIES_TAB + "=" + PROP_FENCE_TAB - clumap['fencedaemon_url'] = fencedaemon_url - fdp = model.getFenceDaemonPtr() - pjd = fdp.getAttribute('post_join_delay') - if pjd is None: - pjd = "6" - pfd = fdp.getAttribute('post_fail_delay') - if pfd is None: - pfd = "0" - #post join delay - clumap['pjd'] = pjd - #post fail delay - clumap['pfd'] = pfd gulm_ptr = model.getGULMPtr() if not gulm_ptr: + #Fence Daemon Props + fencedaemon_url = prop_baseurl + PROPERTIES_TAB + "=" + PROP_FENCE_TAB + clumap['fencedaemon_url'] = fencedaemon_url + fdp = model.getFenceDaemonPtr() + pjd = fdp.getAttribute('post_join_delay') + if pjd is None: + pjd = "6" + pfd = fdp.getAttribute('post_fail_delay') + if pfd is None: + pfd = "0" + #post join delay + clumap['pjd'] = pjd + #post fail delay + clumap['pfd'] = pfd + #------------- #if multicast multicast_url = prop_baseurl + PROPERTIES_TAB + "=" + PROP_MCAST_TAB