summaryrefslogtreecommitdiffstats
path: root/filters/needlexml2pcscmd.py
blob: 146adf200920ac17309091d41d1ac1a6224abddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# -*- coding: UTF-8 -*-
# Copyright 2015 Red Hat, Inc.
# Part of clufter project
# Licensed under GPLv2+ (a copy included | http://gnu.org/licenses/gpl-2.0.txt)
"""needlexml2pcscmd filter"""
__author__ = "Jan Pokorný <jpokorny @at@ Red Hat .dot. com>"

from ..filter import XMLFilter


@XMLFilter.deco('coroxml-needle', 'string-list')
def needlexml2pcscmd(flt_ctxt, in_obj):
    """Outputs set of pcs commands to reinstate the cluster per corosync.conf"""
    raise NotImplementedError("expected to come soon")