summaryrefslogtreecommitdiffstats
path: root/ext-plugins
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-02-20 16:20:52 +0100
committerJan Pokorný <jpokorny@redhat.com>2015-02-26 22:40:47 +0100
commita0c51ed6e2093c1830242b3c1577e3ee60e34949 (patch)
tree1bca27ea5174fa3931ac42195c2639e6dc112e8b /ext-plugins
parent7a122a1f89f6f74c845fa7fb436bc666aab11bb8 (diff)
downloadclufter-a0c51ed6e2093c1830242b3c1577e3ee60e34949.tar.gz
clufter-a0c51ed6e2093c1830242b3c1577e3ee60e34949.tar.xz
clufter-a0c51ed6e2093c1830242b3c1577e3ee60e34949.zip
lib-pcs/commands/pcs_rsc_deps: use also "_common" opts
Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
Diffstat (limited to 'ext-plugins')
-rw-r--r--ext-plugins/lib-pcs/commands/pcs_rsc_deps.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/ext-plugins/lib-pcs/commands/pcs_rsc_deps.py b/ext-plugins/lib-pcs/commands/pcs_rsc_deps.py
index c65845a..77a95ab 100644
--- a/ext-plugins/lib-pcs/commands/pcs_rsc_deps.py
+++ b/ext-plugins/lib-pcs/commands/pcs_rsc_deps.py
@@ -1,11 +1,12 @@
# -*- coding: UTF-8 -*-
-# Copyright 2014 Red Hat, Inc.
+# Copyright 2015 Red Hat, Inc.
# Part of clufter project
# Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt)
"""pcs_resource_deps command"""
__author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>"
from ..command import Command
+from ..filter import XMLFilter
from ..protocol import protocols
@Command.deco(('pcs-resource-deps',
@@ -15,7 +16,8 @@ from ..protocol import protocols
def pcs_rsc_deps(cmd_ctxt,
input="/var/lib/pacemaker/cib/cib.xml",
output="pcs-resource-deps-{pcs-resource-deps.in.hash}.conf",
- install_cmd=False):
+ install_cmd=False,
+ _common=XMLFilter.command_common):
"""Output deps of resources contained in Pacemaker cfg.
Options: