summaryrefslogtreecommitdiff
path: root/tools/src/py/qpid-config
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-281-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1368650Kim van der Riet2012-08-031-8/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1368910 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1333987Kim van der Riet2012-05-041-84/+115
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1334037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Merge new HA foundations.Alan Conway2012-02-171-0/+6
| | | | | | | Merged from qpid-3603-7. This is basic support for the new HA approach. For information & limitations see qpid/cpp/design_docs/new-ha-design.txt. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1245587 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3547: print binding argumentsGordon Sim2012-02-141-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1244149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3533: qpid-config does not properly set some options if value evaluates ↵Nuno Santos2011-11-291-15/+15
| | | | | | to False -- applied patch from bpdeman git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1208094 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3545 - Ignore default exchange in qpid-config binding listTed Ross2011-10-131-0/+10
| | | | | | | Applied patch from Dominic Cleal git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1182832 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3346: move message group feature into trunk.Kenneth Anthony Giusti2011-10-071-1/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1180050 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3437: qpid-config address option confusing in helpNuno Santos2011-09-081-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166897 13f79535-47bb-0310-9956-ffa450edef68
* make 'qpid-config queues/exchanges <queue/exchange_name>' return proper ↵Nuno Santos2011-09-081-2/+16
| | | | | | error code, for scripting purposes git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1166888 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3419 - qpid-config --file-size parameter's help text uses incorrect unitsTed Ross2011-08-241-1/+1
| | | | | | | Applied patch from Paul Colby git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1161149 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3141: Allow defualt queue size limit to be overridden by infinite value ↵Gordon Sim2011-06-131-2/+2
| | | | | | from qpid-config git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1135228 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed another problem in the help text.Ted Ross2011-05-161-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1103897 13f79535-47bb-0310-9956-ffa450edef68
* Changed opts.force_if_not_used to opts.force_if_used.Jonathan Robie2011-04-181-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1094727 13f79535-47bb-0310-9956-ffa450edef68
* Fixes two errors in options:Jonathan Robie2011-04-151-2/+2
| | | | | | | | 1. Text for option -a / --broker-adr was wrong. 2. Name of --force-if-used was wrong. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1092780 13f79535-47bb-0310-9956-ffa450edef68
* Corrected help text for --max-queue-size, --max-queue-countJonathan Robie2011-04-011-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1087706 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3103: handle null argumentsGordon Sim2011-03-021-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1076275 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3091: fix for older versions of pythonGordon Sim2011-03-011-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075935 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3091: add generic mechanism for adding and listing queue argumentsGordon Sim2011-03-011-1/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1075889 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3087: fail rather than ignoring attempts to declare queues with bad ↵Gordon Sim2011-02-251-9/+9
| | | | | | arguments; ensure qpid-config can deal with different types of argument. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1074697 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2935: merge producer flow control (C++ broker).Kenneth Anthony Giusti2011-02-191-0/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1072356 13f79535-47bb-0310-9956-ffa450edef68
* qpid-route now correctly shows usage for invalid command lines.Jonathan Robie2011-01-221-55/+57
| | | | | | | Fixes an error introduced by an earlier commit. Also modified qpid-config for consistency. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1062221 13f79535-47bb-0310-9956-ffa450edef68
* Undo svn commit r1052086.Jonathan Robie2011-01-051-6/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1055655 13f79535-47bb-0310-9956-ffa450edef68
* Fixes typo in findById function declaration.Jonathan Robie2011-01-051-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1055632 13f79535-47bb-0310-9956-ffa450edef68
* Allow any SASL mechanism to be specified in command line options.Jonathan Robie2011-01-051-1/+1
| | | | | | | Previously used a fixed list of SASL mechanisms. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1055267 13f79535-47bb-0310-9956-ffa450edef68
* Added logging to QMF console connections.Jonathan Robie2010-12-221-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Warning if a broker can not be found, error if SASL authentication fails or other connection errors when connecting to an existing broker. Default log level is ERROR. qpid-printevents allows the log level to be set. It also allows the user to specify that a connection is required, in which case it terminates if a connection can not be established. Examples: $ ./qpid-printevents --sasl-mechanism PLAIN nonexistent-broker => Not an error. Waits for the broker to be started. $ ./qpid-printevents --sasl-mechanism PLAIN localhost 2010-12-22 17:07:18,365 ERROR Could not connect to broker localhost:5672 (None, 'No acceptable SASL authentication mechanism available') => Connection error condition in output - SASL authentication failed because user name and password are not supplied. But qpid-printevents keeps running, waiting for you to start the broker. $ ./qpid-printevents --sasl-mechanism PLAIN --log-level critical => Connection error condition in output - SASL authentication failed because user name and password are not supplied. No output in this case, because the log level has been set to critical. $ ./qpid-printevents --sasl-mechanism PLAIN --require-connection localhost 2010-12-22 17:11:03,791 ERROR Could not connect to broker localhost:5672 (None, 'No acceptable SASL authentication mechanism available') Failed: ConnectionFailed - (None, 'No acceptable SASL authentication mechanism available') => Connection error condition. qpid-printevents terminates because --require-connection was specified. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1052086 13f79535-47bb-0310-9956-ffa450edef68
* Allow command line utilities to require a given SASL mechanism.Jonathan Robie2010-12-211-66/+70
| | | | | | | | | | Useful if the client's most secure mechanism is suspect, e.g. if Kerberos configuration problems may exist. Also useful in a variety of test scenarios. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1051700 13f79535-47bb-0310-9956-ffa450edef68
* Made qpid-xxx management scripts callable as python functions.Jonathan Robie2010-12-171-288/+305
| | | | | | | | | | | | | | | | | | | | | Examples (from cli_tests.py): def qpid_config_api(self, arg = ""): script = import_script(checkenv("QPID_CONFIG_EXEC")) broker = ["-a", "localhost:"+str(self.broker.port)] return script.main(broker + arg.split()) def qpid_route_api(self, arg = ""): script = import_script(checkenv("QPID_ROUTE_EXEC")) return script.main(arg.split()) Useful primarily for qpid-config, qpid-route, and qpid-cluster. Probably not useful for qpid-stat, qpid-printevents, qpid-queue-stats, which just create screen output. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1050425 13f79535-47bb-0310-9956-ffa450edef68
* Corrected datatypes of numeric defaults for optparse.Jonathan Robie2010-12-081-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1043599 13f79535-47bb-0310-9956-ffa450edef68
* Print usage rather than help if user gets usage wrong.Jonathan Robie2010-12-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1042733 13f79535-47bb-0310-9956-ffa450edef68
* Restored Usage() function (lost in version skew shuffle)Jonathan Robie2010-12-061-9/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1042710 13f79535-47bb-0310-9956-ffa450edef68
* Fixes problem with unbound _args variable in bind.Jonathan Robie2010-12-061-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1042655 13f79535-47bb-0310-9956-ffa450edef68
* Converted tools to use optparse. Jonathan Robie2010-12-051-178/+176
| | | | | | | | | | Now all tools in this directory use optparse for their command lines, rather than a variety of different approaches. Simplifies option handling significantly. Doesn't simplify arguments list in qpid-route and qpid-config. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1042398 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2810: clean up the broker thread properly on shutdown.Kenneth Anthony Giusti2010-08-191-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@987330 13f79535-47bb-0310-9956-ffa450edef68
* handle SystemExit exception on python 2.4.3Nuno Santos2010-05-251-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@948164 13f79535-47bb-0310-9956-ffa450edef68
* Make behavior of command line tools consistent, regarding -h and --help ↵Nuno Santos2010-05-241-5/+15
| | | | | | options, as well as giving an appropriate error message for any invalid options passed on the command line git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@947858 13f79535-47bb-0310-9956-ffa450edef68
* handle timeouts caused by long-executing commands, iterate until timeout clearsNuno Santos2010-05-031-4/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@940631 13f79535-47bb-0310-9956-ffa450edef68
* Merged the changes from the qmf-devel0.7a branch back to the trunk.Ted Ross2010-03-311-1/+1
| | | | | | | | | | | | | | | | | This is a checkpoint along the QMFv2 development path. This update introduces portions of QMFv2 into the code: - The C++ agent (qpid/agent) uses QMFv2 for data and method transfer o The APIs no longer use qpid::framing::* o Consequently, boost is no longer referenced from the API headers. o Agents and Objects are now referenced by strings, not numbers. o Schema transfer still uses the QMFv1 format. - The broker-resident agent can use QMFv1 or QMFv2 based on the command line options. It defaults to QMFv1 for compatibility. - The pure-python QMF console (qmf.console) can concurrently interact with both QMFv1 and QMFv2 agents. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@929716 13f79535-47bb-0310-9956-ffa450edef68
* moved qpid-* tools out of qpid/python into qpid/tools; moved qmf library ↵Rafael H. Schloming2010-02-141-0/+572
into extras/qmf git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@910016 13f79535-47bb-0310-9956-ffa450edef68