From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marek 'marx' Grac Date: Sun, 25 Nov 2012 14:18:08 +0100 Subject: [Cluster-devel] [PATCH 5/7] COMPATIBILITY BREAK: Remove obsolete options from STDIN In-Reply-To: <1353849490-15635-1-git-send-email-mgrac@redhat.com> References: <1353849490-15635-1-git-send-email-mgrac@redhat.com> Message-ID: <1353849490-15635-5-git-send-email-mgrac@redhat.com> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit For historical reasons and backward compatibility we supported these options blade -> port option -> action fm -> port hostname -> ipaddr These options were not in documentation and are completely removed now. --- fence/agents/lib/fencing.py.py | 13 ------------- 1 files changed, 0 insertions(+), 13 deletions(-) diff --git a/fence/agents/lib/fencing.py.py b/fence/agents/lib/fencing.py.py index 64a1a06..d2ca645 100644 --- a/fence/agents/lib/fencing.py.py +++ b/fence/agents/lib/fencing.py.py @@ -577,19 +577,6 @@ def process_input(avail_opt): (name, value) = (line + "=").split("=", 1) value = value[:-1] - ## Compatibility Layer - ###### - if name == "blade": - name = "port" - elif name == "option": - name = "action" - elif name == "fm": - name = "port" - elif name == "hostname": - name = "ipaddr" - - ## - ###### if avail_opt.count(name) == 0: sys.stderr.write("Parse error: Ignoring unknown option '"+line+"'\n") continue -- 1.7.7.6