On 03/26/2012 10:07 PM, Gowda, Srinivas G wrote:
>
>
> Thanks,
> G
> srinivas_g_go...@dell.com
> DELL
Rewritten patch using macros.
Thanks,
G
srinivas_g_go...@dell.com
DELL
diff -Naurp 03-ipmitool_delloem_lan_update/lib/ipmi_delloem.c
04-ipmitool_delloem_lanhelp_update/lib/ipmi_delloem.c
--- 03-ipmitool_delloem_lan_update/lib/ipmi_delloem.c 2012-04-03
17:51:37.000000000 +0530
+++ 04-ipmitool_delloem_lanhelp_update/lib/ipmi_delloem.c 2012-04-03
17:51:37.000000000 +0530
@@ -3027,27 +3027,37 @@ ipmi_lan_usage(void)
if(iDRAC_FLAG == IDRAC_12G) {
lprintf(LOG_NOTICE, " sets the NIC Selection Mode :");
lprintf(LOG_NOTICE, " dedicated, shared with lom1,
shared with lom2,shared with lom3,shared ");
- lprintf(LOG_NOTICE, " with lom4,shared with failover
lom1,shared with failover lom2,shared ");
- lprintf(LOG_NOTICE, " with failover lom3,shared with
failover lom4,shared with Failover all ");
- lprintf(LOG_NOTICE, " loms, shared with Failover
None).");
+ lprintf(LOG_NOTICE, " with lom4");
+ lprintf(LOG_NOTICE, "");
+ lprintf(LOG_NOTICE, " lan set <Shared Failover Mode> ");
+ lprintf(LOG_NOTICE, " sets the shared Failover Mode :");
+ lprintf(LOG_NOTICE, " shared with failover lom1,
shared with failover lom2, shared with failo");
+ lprintf(LOG_NOTICE, " ver lom3, shared with failover
lom4, shared with Failover all loms, sha");
+ lprintf(LOG_NOTICE, " red with Failover None.");
} else {
- lprintf(LOG_NOTICE, " sets the NIC Selection Mode (dedicated,
shared, shared with failover lom2, ");
- lprintf(LOG_NOTICE, " shared with Failover
all loms).");
+ lprintf(LOG_NOTICE, " sets the NIC Selection Mode:");
+ lprintf(LOG_NOTICE, " dedicated,shared, shared with failover
lom2, shared with Failover all l");
+ lprintf(LOG_NOTICE, " oms");
}
- lprintf(LOG_NOTICE, "");
- lprintf(LOG_NOTICE, " lan get ");
+ lprintf(LOG_NOTICE, "");
+ lprintf(LOG_NOTICE, " lan get ");
if(iDRAC_FLAG == IDRAC_12G) {
- lprintf(LOG_NOTICE, " returns the current NIC Selection
Mode (dedicated, shared with lom1, shared ");
- lprintf(LOG_NOTICE, " with lom2, shared with lom3,
shared with lom4,shared with failover lom1,");
- lprintf(LOG_NOTICE, " shared with failover
lom2,shared with failover lom3,shared with failover ");
- lprintf(LOG_NOTICE, " lom4,shared with Failover all
loms,shared with Failover None).");
+ lprintf(LOG_NOTICE, " Get the current NIC selection:");
+ lprintf(LOG_NOTICE, " dedicated, shared with lom1,
shared with lom2, shared with lom3, shared");
+ lprintf(LOG_NOTICE, " lom4");
+ lprintf(LOG_NOTICE, " Get the current Shared failover
modes:");
+ lprintf(LOG_NOTICE, " shared with failover lom1,
shared with failover lom2, shared with failo");
+ lprintf(LOG_NOTICE, " ver lom3, shared with failover lom4,
shared with Failover all loms, sha");
+ lprintf(LOG_NOTICE, " red with Failover None.");
}else {
- lprintf(LOG_NOTICE, " returns the current NIC Selection
Mode (dedicated, shared, shared with failover");
- lprintf(LOG_NOTICE, " lom2, shared
with Failover all loms).");
+ lprintf(LOG_NOTICE, " Get the current NIC Selection Mode:");
+ lprintf(LOG_NOTICE, " dedicated, shared, shared with
failover lom2, shared with Failover all l");
+ lprintf(LOG_NOTICE, " oms");
+
}
- lprintf(LOG_NOTICE, "");
- lprintf(LOG_NOTICE, " lan get active");
- lprintf(LOG_NOTICE, " returns the current active NIC (dedicated,
LOM1, LOM2, LOM3, LOM4).");
+ lprintf(LOG_NOTICE, "");
+ lprintf(LOG_NOTICE, " lan get active");
+ lprintf(LOG_NOTICE, " Get the current active LOMs (LOM1, LOM2,
LOM3, LOM4, NONE).");
lprintf(LOG_NOTICE, "");
}
------------------------------------------------------------------------------
For Developers, A Lot Can Happen In A Second.
Boundary is the first to Know...and Tell You.
Monitor Your Applications in Ultra-Fine Resolution. Try it FREE!
http://p.sf.net/sfu/Boundary-d2dvs2
_______________________________________________
Ipmitool-devel mailing list
Ipmitool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipmitool-devel