summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* filters/cib2pcscmd[constraints]: consider type in expressionsJan Pokorný2015-05-291-2/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd[constraints]: quotes where desiredJan Pokorný2015-05-291-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd[constraints]: wrong select, missing spacesJan Pokorný2015-05-291-8/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd[constraints]: quotes would be wrongJan Pokorný2015-05-291-2/+0
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Set pre-release versionJan Pokorný2015-05-292-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Bump version to 0.11.1v0.11.1Jan Pokorný2015-05-192-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd[constraints]: preliminary supportJan Pokorný2015-05-191-0/+238
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters: late spring cleaning (typo/cosmetics)Jan Pokorný2015-05-192-2/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[mysql]: fix additional_parameters (2)Jan Pokorný2015-05-191-2/+2
| | | | | | | | | | | | | | | | | <strike> But quotes have to be around whole "word" in shell's view so the unquoting will take place at the right occasion during agent invocation. </strike> Quotes cannot be present at all now (and "never" for backward compatibility, even when there is "eval $cmd $arg1 $arg2"): http://clusterlabs.org/pipermail/users/2015-May/000403.html Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1219572 Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2pcsprelude[mysql]: fix additional_parametersJan Pokorný2015-05-191-1/+1
| | | | | | | | | | | | | When listen_address parameter of the rgmanager's version of mysql RA is contributing to additional_parameters parameter of hearbeats's one, we don't want to accidentally inject unexpected mysql invocation params as a side effect -- that's why the quoting was in place since beginning. But quotes have to be around whole "word" in shell's view so the unquoting will take place at the right occasion during agent invocation. Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1219572 Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: add a (self-reference) link wrt. in-place modificationJan Pokorný2015-05-191-2/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Set pre-release versionJan Pokorný2015-05-192-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Bump version to 0.11.0v0.11.0Jan Pokorný2015-04-152-4/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd[resources]: support also meta attrsJan Pokorný2015-04-151-0/+10
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd[crm_config]: handle cluster_property_setJan Pokorný2015-04-151-0/+26
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2cibprelude[rm]: consider also top-level vmJan Pokorný2015-04-151-4/+12
| | | | | | Resolves: https://bugzilla.redhat.com/show_bug.cgi?id= 1210412 Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcscmd: ccs2pcscmd{,-flatiron,-needle} cmdsJan Pokorný2015-04-151-0/+111
| | | | | | | Note that ccs2pcscmd_needle is currently not available (not fully implemented). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/{needlexml2pcscmd,simpleconfig2needlexml}: just stubsJan Pokorný2015-04-152-0/+28
| | | | | | To be implemented... Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/pcs2pcscmd: pcs2pcscmd{,-flatiron,-needle} cmdsJan Pokorný2015-04-151-0/+91
| | | | | | | Note that pcs2pcscmd_needle is currently not available (not fully implemented). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_corosync: symbolic PATH_COROCONFJan Pokorný2015-04-151-0/+8
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_cib: symbolic PATH_CIBJan Pokorný2015-04-151-0/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/stringiter_combine: new stringiter_combine2 filterJan Pokorný2015-04-152-0/+53
| | | | | | | | | Think of this as 2-to-1 multiplexer (effectively just performing in-order concatenation of the two inputs). Also add a unit test. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcs+utils_cman: symbolic PATH_CLUSTERCONFJan Pokorný2015-04-152-3/+6
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* commands/ccs2pcs: cosmetics/orderings (import/kwargs)Jan Pokorný2015-04-152-3/+3
| | | | | | | | Unfortunately changing the order of ccs2pcs_needle kwargs also changed the order in which the arguments (when parsed in a terse/option-less notation) are expected --> fix that in run-check script as well. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* formats/string_iter: (always for now) add a trailing newlineJan Pokorný2015-04-151-2/+6
| | | | | | | | First, it's a convention, second, it looks way better when outputting the list on stdout (line is not interleaved with subsequent shell prompt). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter_manager: drop dead code (get_composite_onthefly)Jan Pokorný2015-04-151-12/+1
| | | | | | | This is likely a remnant from refactoring, the method is and likely always been in use as Filter._resolve_formats_composite. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Better support of Composite format usage/passingJan Pokorný2015-04-154-28/+48
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: mute a "Could not find short option for X" msgJan Pokorný2015-04-151-2/+2
| | | | | | Decrease the level from warning to info. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: avoid futile eval'ing in case of loop short-cuttingJan Pokorný2015-04-151-3/+3
| | | | | | | ...in command.py:_iochain_proceed (where "inputs" are distilled from filter-specific "filter_backtrack"). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: filter_backtrack has to be ordered (determinism)Jan Pokorný2015-04-151-1/+6
| | | | | | | | More specifically, such ordering was silently assumed in command.py:_iochain_proceed (see how "inputs" are distilled from filter-specific "filter_backtrack"). Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: fix misleading comment (s/iterative/recursive)Jan Pokorný2015-04-151-1/+1
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/string-{iter,list,set}: move from ext-plugins/lib-generalJan Pokorný2015-04-151-0/+0
| | | | | | | This is for upcoming cluster.conf (Pacemaker) + CIB -> sequence of pcs commands conversion. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cib2pcscmd: new filter incl. testJan Pokorný2015-04-154-0/+180
| | | | | | | This is for upcoming cluster.conf (Pacemaker) + CIB -> sequence of pcs commands conversion. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccspcmk2pcscmd[cluster]: normalize notationJan Pokorný2015-04-151-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/cibprelude2cibcompact[resources]: fix indentationJan Pokorný2015-04-151-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccspcmk2pcscmd: handle {,alt}multicast + interfaceJan Pokorný2015-04-155-1/+86
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccspcmk2pcscmd[totem]: support also @rrp_modeJan Pokorný2015-04-151-1/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccspcmk2pcscmd[clusternode]: move down the treeJan Pokorný2015-04-152-6/+11
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccspcmk2pcscmd: new filter incl. testJan Pokorný2015-04-156-2/+106
| | | | | | | This is for upcoming cluster.conf (Pacemaker) + CIB -> sequence of pcs commands conversion. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filter: flip logical value in comparisonJan Pokorný2015-04-151-2/+2
| | | | | | | Seems not to break anything + fits in the upcoming filter. (fingers crossed) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* main: massage help messages a bitJan Pokorný2015-04-151-7/+9
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command_manager: tweak cmds listing, w/ or w/o externalJan Pokorný2015-04-151-3/+7
| | | | | | | | | | Also account for possibility of unresolved/None command (similar to previous commit). [Alternatively, should we just verbosely drop the such ones and hence make any subsequent code easier?] Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* command: CommandAlias can be "unresolved" repeatedlyJan Pokorný2015-04-151-1/+4
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Set pre-release versionJan Pokorný2015-04-152-2/+5
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* Bump version to 0.10.4v0.10.4Jan Pokorný2015-04-082-3/+3
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2cibprelude[vm]: employ rg2hb_xslJan Pokorný2015-04-081-13/+6
| | | | | | For some reason, vm was skipped when rg2hb_xsl was introduced. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2cibprelude[apache,named]: simplify rg2hb_xslJan Pokorný2015-04-082-2/+2
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* utils_cib: make rg2hb_xsl a bit more versatileJan Pokorný2015-04-081-2/+6
| | | | | | | ...avoid repeating the same argument if dst and src params are identical, if src is not defined, it derives value of dst automatically. Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* filters/ccsflat2cibprelude[apache]: special-case configfileJan Pokorný2015-04-081-1/+15
| | | | Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
* defaults: prevents premature ''' lex. match in valueJan Pokorný2015-04-081-4/+6
| | | | | | (currently this breaks Travis CI testrun) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>