fence-agents: master - COMPATIBILITY BREAK: Remove obsolete options from STDIN
Marek GrĂ¡c
marx at fedoraproject.org
Mon Feb 4 15:25:16 UTC 2013
Gitweb: http://git.fedorahosted.org/git/?p=fence-agents.git;a=commitdiff;h=1eda61c3d1419f6aa5aca6fb2ff273d1ecdbda84
Commit: 1eda61c3d1419f6aa5aca6fb2ff273d1ecdbda84
Parent: dbc406ad1c5a2f981c04cd6b6d7ebc02aab1eaf5
Author: Marek 'marx' Grac <mgrac at redhat.com>
AuthorDate: Sun Nov 25 14:18:08 2012 +0100
Committer: Marek 'marx' Grac <mgrac at redhat.com>
CommitterDate: Mon Feb 4 16:06:24 2013 +0100
COMPATIBILITY BREAK: Remove obsolete options from STDIN
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 e639931..538f147 100644
--- a/fence/agents/lib/fencing.py.py
+++ b/fence/agents/lib/fencing.py.py
@@ -587,19 +587,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
More information about the cluster-commits
mailing list