summaryrefslogtreecommitdiff
path: root/qpid/tools/src/py/qpid-route
Commit message (Collapse)AuthorAgeFilesLines
* QPID-4984: WIP - Merge from trunk r.1534385.Kim van der Riet2013-10-211-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/linearstore@1534394 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4728: add 'credit' parameter to Federation Bridge configuration.Kenneth Anthony Giusti2013-04-111-2/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1467107 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4554: correct use of 'ssl_keyfile' parameter in QPID toolsKenneth Anthony Giusti2013-01-301-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1440543 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3175 - Added SSL/x.509-auth capability to Python clients and Python toolsTed Ross2012-07-261-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1366020 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3603: Add --ha-admin option to qpid-config, qpid-stat, qpid-routeAlan Conway2012-02-291-2/+8
| | | | | | Allow admin tools to connect to a HA backup broker. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1295337 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3409: Fixup federation tools to allow IPv6 literals as part of the ↵Andrew Stitcher2011-08-121-3/+3
| | | | | | address in broker URLs git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1157278 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3169: add usage message if command is unknown.Kenneth Anthony Giusti2011-03-241-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1085147 13f79535-47bb-0310-9956-ffa450edef68
* What was a single test -- sasl_fed_ex -- is nowMichael Goulish2011-02-281-24/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 4 tests with a common core. They are: sasl_fed_ex_dynamic sasl_fed_ex_link sasl_fed_ex_queue sasl_fed_ex_route ( and the common core is sasl_fed_ex ) These tests correspond to the 4 different ways that the qpid-route command has of making links, or links+routes. All those pathways have to be modified so that the new "mechanism" argument information can be passed down and used -- so that you can specify a SASL mechnism to be used on the interbroker link that you create. ( So -- the qpid-route command also had to be modified to propagate the mechanism info with all 4 subcommands. ) Since the SASL mechanism is owned by the link, these tests check that the link comes up and becomes operational. Finally, I modified the sasl-mechanism flag in qpid-route to call it "client-sasl-mechanism" to better distinguish between the SASL mechanism used in the created route -- and the SASL mechanism (if any) that is used when the qpid-route client itself connects to the broker that it is talking to. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1075452 13f79535-47bb-0310-9956-ffa450edef68
* qpid-route now correctly shows usage for invalid command lines.Jonathan Robie2011-01-221-42/+49
| | | | | | | 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@1062221 13f79535-47bb-0310-9956-ffa450edef68
* fix syntax error in qpid-routeKenneth Anthony Giusti2011-01-101-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1057332 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@1055267 13f79535-47bb-0310-9956-ffa450edef68
* Allow command line utilities to require a given SASL mechanism.Jonathan Robie2010-12-211-3/+9
| | | | | | | | | | 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@1051700 13f79535-47bb-0310-9956-ffa450edef68
* Made qpid-xxx management scripts callable as python functions.Jonathan Robie2010-12-171-212/+225
| | | | | | | | | | | | | | | | | | | | | 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@1050425 13f79535-47bb-0310-9956-ffa450edef68
* Corrected datatypes of numeric defaults for optparse.Jonathan Robie2010-12-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1043599 13f79535-47bb-0310-9956-ffa450edef68
* Converted tools to use optparse. Jonathan Robie2010-12-051-98/+116
| | | | | | | | | | 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@1042398 13f79535-47bb-0310-9956-ffa450edef68
* SASLizing Interbroker LinksMichael Goulish2010-10-201-11/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ------------------------------------------------------------- 1. Brokers already knew how to handle the server side of SASLized links, but not the client side. So we promoted the client-side SASL code from the client library to the common library so that the broker could also use it. This affected SaslFactory.{h,cpp} and Sasl.h TODO -- can the server-side and client-side code be unified here? 2. Some of the SASL verbs in broker/ConnectionHandler.cpp are expanded: start, secure, tune. 3. broker/SecureConnection is altered to get the client-broker and the server-broker to agree on when the security layer should be inserted. 4. the python tool qpid-route is modified so that, in the "route add" command, you can specify the security mechanism for SASL to use. TODO -- should we also pass in {min,max}SSF ? 5. Changes in broker/LinkRegistry to allow the information input by qpid-route to be passed up to where it is needed. 6. A bash script test run by "make check" that creates a SASLized federation link and sends some messages down it. TODO - write a python unit test instead of a bash script. I think I uncovered a bug in the python code when I tried. 7. NOTE - testing for this feature does not work with versions of SASL earlier than 2.1.22, becuase I can't tell SASL to use a SASL database file in a nonstandard location. The test is disabled for earlier versions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1024541 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2810: clean up the broker thread properly on shutdown.Kenneth Anthony Giusti2010-08-191-9/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@987330 13f79535-47bb-0310-9956-ffa450edef68
* Return rather than exiting once route is deletedGordon Sim2010-08-021-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@981643 13f79535-47bb-0310-9956-ffa450edef68
* Make behavior of command line tools consistent, regarding -h and --help ↵Nuno Santos2010-05-241-5/+14
| | | | | | 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@947858 13f79535-47bb-0310-9956-ffa450edef68
* Cluster management improvements:Ted Ross2010-04-231-14/+15
| | | | | | | | | | | 1) Enable all management methods via QMFv2 for clusters 2) Disable all management methods via QMFv1 for clusters 3) The broker-resident management agent can handle both v1 and v2 method calls 4) qmf.console (Python) now works with new and old brokers by detecting whether the broker can handle v2 commands git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@937472 13f79535-47bb-0310-9956-ffa450edef68
* QPID-2409 - "qpid-route route map" can list the same broker multiple timesTed Ross2010-02-181-1/+1
| | | | | | | Applied patch from John Dunning git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@911558 13f79535-47bb-0310-9956-ffa450edef68
* moved qpid-* tools out of qpid/python into qpid/tools; moved qmf library ↵Rafael H. Schloming2010-02-141-0/+524
into extras/qmf git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@910016 13f79535-47bb-0310-9956-ffa450edef68