summaryrefslogtreecommitdiff
path: root/qpid/extras/dispatch/src/router_node.c
Commit message (Collapse)AuthorAgeFilesLines
* QPID-5257 - Removed dispatch code from its old locationTed Ross2013-10-241-1323/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1535460 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5216 - Cleaned up the format of a router-id in the message annotations.Ted Ross2013-10-221-5/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1534710 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5216 - Fixed a possible mutex problem where a value might be used after ↵Ted Ross2013-10-181-12/+26
| | | | | | it was freed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1533586 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5216Ted Ross2013-10-181-9/+58
| | | | | | | | - Fixed propagation of the deletion of locally-attached mobile addresses - Changed 'global' address class to 'mobile' to be consistent git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1533581 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Removed an unneeded critical section.Ted Ross2013-10-161-3/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532829 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5216Ted Ross2013-10-151-17/+34
| | | | | | | | | | | - Removed unneeded python router code - Added propagation of subscribed global addresses - Broke out address statistics to include to/from-container counts - Trace no longer optional, broke down and added loop prevention - Don't allow endpoint subscriptions to subscribe to local-class addresses git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1532528 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5216Ted Ross2013-10-111-9/+16
| | | | | | | | - Fixed bug that blocked routing of messages inbound from a client link - Changed trace to accept any initial header value git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1531328 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5221 - Added a configurable role for connections that constrains their use.Ted Ross2013-10-101-6/+41
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1531084 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5220 - Added configuration support for three operational modes of the ↵Ted Ross2013-10-091-4/+12
| | | | | | router. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530798 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5216Ted Ross2013-10-091-0/+1
| | | | | | | | | - Fixed a number of issues found during a three-node test - Reduced the amount of log output at the DEBUG level - Added configuration files for the three-node test (linear A-B-C topology) git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530631 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4967 - Bug fixes and added clean-up for unused addresses.Ted Ross2013-10-081-6/+26
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530454 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5218 - Fixed crash caused by fanned-out non-presettled messages.Ted Ross2013-10-081-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5217 - Added the missing 'dx' prefix on the hash-table module types and ↵Ted Ross2013-10-081-8/+8
| | | | | | functions. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5217 - Brought message and buffer create/destroy functions into ↵Ted Ross2013-10-081-3/+3
| | | | | | | | | compliance with the standard create and destroy convention. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530376 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5216 - Fixed two memory leaks and one uninitialized-data bug.Ted Ross2013-10-081-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530373 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5213 - Added a CLI tool to access management data in the router.Ted Ross2013-10-071-6/+29
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530071 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5212 - Added management-agent access to router state.Ted Ross2013-10-071-7/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1530019 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4967 - work in progress on multi-router networksTed Ross2013-10-041-2/+25
| | | | | | | | | | - Added computation of valid origins for destinations - Modified the forwarding algorithm to ensure that only one copy of a message is sent on a given inter-router link - Added test coverage for valid origins git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529242 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4967 - Work in progress on multi-router networksTed Ross2013-10-041-49/+114
| | | | | | | | | | | | | | | | | - Added a feature to the hash table to allow referenced objects to hold a direct linkage back to the hash structure for fast deletion and access to the key. This allows the key to be stored in only one place and allows items to be removed without requiring a hash lookup on the key. - Completed the integration of the Python router and the C data structures that track remote routers (neighbor and multi-hop). - Allow multiple addresses in the ioAdapter from Python. - Added a separate address for the hello messages because the messaging pattern is different for these messages. - Added some content to the TODO file. - Added test configurations for a two-router network. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1529163 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5045 - Added additional indexing for inter-router links.Ted Ross2013-10-021-233/+24
| | | | | | | QPID-5201 - Fixed compile issues under "Release" builds. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1528512 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5045 - Added connection-resident shared state for links to associate ↵Ted Ross2013-09-271-5/+29
| | | | | | links on a connection. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526988 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Fixed three aliasing issues that broke a "Release" build.Ted Ross2013-09-271-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526892 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5173Ted Ross2013-09-261-208/+264
| | | | | | | | | | | | | QPID-5045 QPID-5181 - Major refactor of the routing data structure in preparation for multi-router operation. - Fixed the CMake bug in QPID-5173 - Added Dynamic assignment of routable addresses for outbound links (QPID-5181) - Changed the indentation of the Python code from 2 spaces to 4 spaces. - Reduced the default log level to make the console less chatty. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526694 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5068 - Beefed up the the annotation test and fixed an additional ↵Ted Ross2013-09-051-4/+7
| | | | | | exposed bug. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520435 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5068 - Added feature to allow for modification of Delivery AnnotationsTed Ross2013-09-041-0/+62
| | | | | | | | - Added annotation for ingress router - Added annotation for trace git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520148 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Updated for compatibility with changes in Proton 0.5Ted Ross2013-09-031-1/+1
| | | | | | | | - Proton Python interface was changed to make timeouts expressed as seconds (floating point). - Two references to the moved python modules were fixed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1519811 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA: Removed trailing whitespaces.Darryl L. Pierce2013-08-231-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1516996 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5045 - Added system tests for the routing scenarios, fixed discovered ↵Ted Ross2013-08-081-10/+16
| | | | | | defects. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511737 13f79535-47bb-0310-9956-ffa450edef68
* QPID-5045 - Refactored the router data structures to support message and ↵Ted Ross2013-08-061-157/+228
| | | | | | | | | | | | | | | | | | | | | | link routing. QPID-4997 - Fixed the thread safety problem. - Wrapped "pn_delivery" in the container to allow for explicit linkage of delivery pairs. - Removed the linkage between "message" and "delivery". Messages can now be discarded as soon as the last copy is delivered because their status will be tracked in the dx_delivery object. - Removed tx_handler from the set of callbacks in the container. There is no need for this notification (sendable delivery) because Dispatch does not create outbound deliveries until it is ready to send them (i.e. deliveries are created and advanced in one synchronous operation). - Replaced the out_fifo of messages per outbound-link with a pair of fifos (one for messages and one for state changes) per link. Note that even inbound-links need to send state changes outbound. This change addresses QPID-4997. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1511021 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4967 - Updates to the routerTed Ross2013-08-011-23/+51
| | | | | | | | - The router module now tracks other router nodes (neighbors and non-neighbors) - Tracked nodes are communicated to the router_node.c fast-path git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1509415 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4967 - Router code advancesTed Ross2013-07-121-171/+359
| | | | | | | | | | | | o Fixed handling of SASL on outbound connections o Added Send and Receive message paths in and out of Python modules o Overhauled the route-table data structures - Multicasting is now supported (multiple sender links with the same address) - Support has been added for message-based routing semantics as well as link-based o Two Dispatch processes connected to each other will now discover each other as neighbors git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1502698 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4967 - Added the message transmit linkage from python.Ted Ross2013-07-091-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1501046 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4968 - Added an IO adapter for python modules to send and receive messagesTed Ross2013-07-081-2/+217
| | | | | | | | | | QPID-4967 - Integrated the python router into the main program - Updated the log module: added the full complement of severity levels - Added stub versions of the dispatch python adapters so the python components can be tested in a standalone environment. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1500977 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Management agent in the container now responds to "get" requests.Ted Ross2013-06-261-3/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1497070 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Added Listener and Connector Configuration, Wired in SSL support.Ted Ross2013-06-241-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496189 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4913 - Work-in-progres for configuration file reader.Ted Ross2013-06-071-0/+2
| | | | | | | | | Note that this commit adds the use of embedded Python code. Installation support is needed to ensure that the embedded python components are installed in the libexec area. Also, the configuration file path is currently hard-coded. This will be fixed shortly. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1490848 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Pre-settled deliveries that are received must be locally settled.Ted Ross2013-05-241-2/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1486214 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Stability fixes for use with non-presettled messagesTed Ross2013-05-161-2/+2
| | | | | | | | 1) Make the server module more conservative about when it calls pn_driver_wakeup 2) Remove the unconditional settling of dispositions from upstream senders git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1483313 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4816 - Handle link attach with a null target.Ted Ross2013-05-081-0/+8
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1480244 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Additional DevelopmentTed Ross2013-05-021-4/+10
| | | | | | | | | | - Added buffer of saved log messages for remote retrieval. - Added __FILE__ and __LINE__ annotations to logs. - Refactored dx_message_check() so it can be called multiple times with different depths. - Separated the buffer-size-specific tests into a separate unit test executable. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1478538 13f79535-47bb-0310-9956-ffa450edef68
* NO-JIRA - Development update to Dispatch RouterTed Ross2013-04-261-25/+165
| | | | | | | | | | | - Began refactoring of the routing table to support in-process destinations and multi-hop paths. - Added API for the internal management agent. Began integrating the agent with the router module for communication. - Added field parsing to handle topological addresses. - Added tests. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1476280 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4612 - Major cleanup in the API.Ted Ross2013-03-071-14/+9
| | | | | | | | | Removed the singleton patterns. Added a single header file for all of Dispatch. Doxygen comments still need to be updated. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1453628 13f79535-47bb-0310-9956-ffa450edef68
* QPID-4538 - Renamed Qpid Nexus to Qpid DispatchTed Ross2013-02-211-0/+424
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1448649 13f79535-47bb-0310-9956-ffa450edef68