LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

[lvs-users] ipvsadm fix --ops option

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: [lvs-users] ipvsadm fix --ops option
From: Paul Zirnik <paul@xxxxxxxxx>
Date: Thu, 16 Jan 2014 13:37:48 +0100
Hi all,

i am new to LVS, but during my first learning steps i encountered
some issue where i got stuck because of strange error messages.
Attached are two "cosmetic" patches against ipvsadm-1.26, that
try to fix this.

1. ipvsadm-1.26-fix_options.diff

this patch fixes the error handling when option "-o" or "--ops" is used where
it is not allowed, like:

# ipvsadm -a -u 192.168.42.42:1234 -r 192.168.21.21:1234 -g -w 1 --ops
Illegal 'exact' option with the 'add-server' command

however i am not sure at what condition option "--pe" can be used,
looks like it is only valid for "-list" option

2. ipvsadm-1.26-fix_list.diff

this patch corrects the output of "pe" and "ops" option in "--list" output,
not only when "-p" (persistent) option was used or a special output format.

It would be nice if this could be reviewed and added to next release.

regards,
        Paul

Attachment: ipvsadm-1.26-fix_options.diff
Description: Text Data

Attachment: ipvsadm-1.26-fix_list.diff
Description: Text Data

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>