Send Linux-ha-cvs mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs
or, via email, send a message with subject or body 'help' to
        [EMAIL PROTECTED]

You can reach the person managing the list at
        [EMAIL PROTECTED]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Linux-ha-cvs digest..."


Today's Topics:

   1. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   2. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])
   3. Linux-HA CVS: mgmt by zhenh from 
      ([email protected])


----------------------------------------------------------------------

Message: 1
Date: Fri, 12 May 2006 02:17:51 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/daemon


Modified Files:
        mgmt_crm.c 


Log Message:
add default_resource_failure_stickiness parameter
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/daemon/mgmt_crm.c,v
retrieving revision 1.39
retrieving revision 1.40
diff -u -3 -r1.39 -r1.40
--- mgmt_crm.c  11 May 2006 08:22:15 -0000      1.39
+++ mgmt_crm.c  12 May 2006 08:17:50 -0000      1.40
@@ -487,6 +487,9 @@
        snprintf(buf, 255, "%d", data_set->default_resource_stickiness);
        ret = mgmt_msg_append(ret, buf);
        ret = mgmt_msg_append(ret, data_set->have_quorum?"True":"False");
+       snprintf(buf, 255, "%d", data_set->default_resource_fail_stickiness);
+       
+       ret = mgmt_msg_append(ret, buf);
        free_data_set(data_set);
        return ret;
 }




------------------------------

Message: 2
Date: Fri, 12 May 2006 02:19:47 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Modified Files:
        haclient.glade 


Log Message:
add default_resource_failure_stickiness parameter
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/client/haclient.glade,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -3 -r1.7 -r1.8
--- haclient.glade      11 May 2006 02:43:37 -0000      1.7
+++ haclient.glade      12 May 2006 08:19:46 -0000      1.8
@@ -26,7 +26,7 @@
       <child>
        <widget class="GtkTable" id="table">
          <property name="visible">True</property>
-         <property name="n_rows">11</property>
+         <property name="n_rows">12</property>
          <property name="n_columns">2</property>
          <property name="homogeneous">True</property>
          <property name="row_spacing">10</property>
@@ -748,6 +748,56 @@
              <property name="y_options">expand</property>
            </packing>
          </child>
+
+         <child>
+           <widget class="GtkEventBox" id="eventbox35">
+             <property name="visible">True</property>
+             <property name="visible_window">True</property>
+             <property name="above_child">False</property>
+
+             <child>
+               <widget class="GtkLabel" id="l_rscfailstickiness">
+                 <property name="visible">True</property>
+                 <property name="label" translatable="yes">label103</property>
+                 <property name="use_underline">False</property>
+                 <property name="use_markup">False</property>
+                 <property name="justify">GTK_JUSTIFY_LEFT</property>
+                 <property name="wrap">False</property>
+                 <property name="selectable">False</property>
+                 <property name="xalign">1</property>
+                 <property name="yalign">0.5</property>
+                 <property name="xpad">0</property>
+                 <property name="ypad">0</property>
+               </widget>
+             </child>
+           </widget>
+           <packing>
+             <property name="left_attach">0</property>
+             <property name="right_attach">1</property>
+             <property name="top_attach">11</property>
+             <property name="bottom_attach">12</property>
+             <property name="x_padding">10</property>
+             <property name="x_options">fill</property>
+           </packing>
+         </child>
+
+         <child>
+           <widget class="GtkComboBoxEntry" 
id="default_resource_failure_stickiness">
+             <property name="visible">True</property>
+             <property name="items" translatable="yes">INFINITY
+0
+-INFINITY</property>
+           </widget>
+           <packing>
+             <property name="left_attach">1</property>
+             <property name="right_attach">2</property>
+             <property name="top_attach">11</property>
+             <property name="bottom_attach">12</property>
+             <property name="x_padding">10</property>
+             <property name="x_options">fill</property>
+             <property name="y_options"></property>
+           </packing>
+         </child>
        </widget>
        <packing>
          <property name="padding">10</property>




------------------------------

Message: 3
Date: Fri, 12 May 2006 02:20:04 -0600 (MDT)
From: [email protected]
Subject: [Linux-ha-cvs] Linux-HA CVS: mgmt by zhenh from 
To: [EMAIL PROTECTED]
Message-ID: <[EMAIL PROTECTED]>

linux-ha CVS committal

Author  : zhenh
Host    : 
Project : linux-ha
Module  : mgmt

Dir     : linux-ha/mgmt/client


Modified Files:
        haclient.py.in 


Log Message:
add default_resource_failure_stickiness parameter
===================================================================
RCS file: /home/cvs/linux-ha/linux-ha/mgmt/client/haclient.py.in,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -3 -r1.36 -r1.37
--- haclient.py.in      11 May 2006 10:08:19 -0000      1.36
+++ haclient.py.in      12 May 2006 08:20:03 -0000      1.37
@@ -612,6 +612,7 @@
                new_crm_config["stonith_enabled"] = 
str(glade.get_widget("stonith_enabled").get_active())
                new_crm_config["no_quorum_policy"] = 
glade.get_widget("no_quorum_policy").child.get_text()
                new_crm_config["default_resource_stickiness"] = 
glade.get_widget("default_resource_stickiness").child.get_text()
+               new_crm_config["default_resource_failure_stickiness"] = 
glade.get_widget("default_resource_failure_stickiness").child.get_text()
                manager.update_crm_config(new_crm_config)
                
                View.on_apply(self, widget)
@@ -634,7 +635,7 @@
                        
glade.get_widget("no_quorum_policy").child.set_text(config["no_quorum_policy"])
                        
glade.get_widget("no_quorum_policy").child.set_editable(False)
                        
glade.get_widget("default_resource_stickiness").child.set_text(config["default_resource_stickiness"])
-                       
glade.get_widget("default_resource_stickiness").child.set_editable(False)
+                       
glade.get_widget("default_resource_failure_stickiness").child.set_text(config["default_resource_failure_stickiness"])
 
                View.update(self)
        
@@ -651,6 +652,7 @@
                make_label_active(self.glade.get_widget("l_noquorum"),_("No 
Quorum Policy:"),"www.linux-ha.org")
                
make_label_active(self.glade.get_widget("l_symmetric"),_("Symmetric 
Cluster"),"www.linux-ha.org")
                
make_label_active(self.glade.get_widget("l_stonith_enabled"),_("Stonith 
Enabled"),"www.linux-ha.org")
+               
make_label_active(self.glade.get_widget("l_rscfailstickiness"),_("Resource 
Failure Stickiness:"),"www.linux-ha.org")
                                                        
        def __init__(self) :
                View.__init__(self)
@@ -661,6 +663,7 @@
                glade.get_widget("stonith_enabled").connect("toggled", 
self.on_changed)
                glade.get_widget("no_quorum_policy").connect("changed", 
self.on_changed)
                
glade.get_widget("default_resource_stickiness").connect("changed", 
self.on_changed)
+               
glade.get_widget("default_resource_failure_stickiness").connect("changed", 
self.on_changed)
                self.update()
                
 class OrderView(View) :
@@ -1655,7 +1658,8 @@
                                 "msgfmt","nice_failback","node","normalpoll",
                                "stonith","udpport","warntime","watchdog"]
                crm_attr_names = 
["transition_idle_timeout","symmetric_cluster","stonith_enabled",
-                                 
"no_quorum_policy","default_resource_stickiness", "have_quorum"]
+                                 
"no_quorum_policy","default_resource_stickiness", "have_quorum",
+                                 "default_resource_failure_stickiness"]
                                  
                values = manager.query("hb_config")
                if values == None :




------------------------------

_______________________________________________
Linux-ha-cvs mailing list
[email protected]
http://lists.community.tummy.com/mailman/listinfo/linux-ha-cvs


End of Linux-ha-cvs Digest, Vol 30, Issue 38
********************************************

Reply via email to