Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-715

Management improvements for C++ Broker, Python API, and Python CLI

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • None
    • C++ Broker, Python Client
    • None
    • all

    Description

      This patch provides improvements in the management CLI and brings the implementation of the broker and the python management client into compliance with the draft spec (http://cwiki.apache.org/confluence/display/qpid/Management+Design+notes).

      Per-file notes:

      M python/qpid/management.py
      M cpp/src/qpid/management/ManagementAgent.h
      M cpp/src/qpid/management/ManagementAgent.cpp
      M cpp/src/qpid/management/ManagementExchange.h
      M cpp/src/qpid/management/ManagementObject.h
      M specs/management-types.xml

      Added support for new management types.
      Updated protocol to comply with draft spec in the wiki.

      M python/mgmt-cli/main.py
      M python/mgmt-cli/managementdata.py

      Lots of enhanced CLI functionality

      M cpp/src/qpid/broker/Broker.h
      M cpp/src/qpid/broker/Broker.cpp

      Added method to get the VHost object, added call to shutdown the
      management agent when the broker is destroyed.

      M cpp/src/qpid/broker/Queue.cpp

      Removed IncreaseJournalSize method (not relevant to QPID)

      M cpp/src/qpid/broker/Connection.h
      M cpp/src/qpid/broker/Connection.cpp
      M cpp/src/qpid/broker/ConnectionFactory.h
      M cpp/src/qpid/broker/ConnectionFactory.cpp
      M cpp/src/qpid/sys/ConnectionInputHandlerFactory.h
      M cpp/src/qpid/sys/AsynchIOAcceptor.cpp

      Added management for Connections (Client management class). The
      socket is now passed to the Connection object so access can be had
      to the remote IP-address and port.

      M cpp/src/qpid/broker/SessionState.cpp
      M cpp/src/qpid/broker/SessionManager.cpp
      M cpp/src/qpid/broker/SessionState.h

      Added management for SessionState (Session management class).

      M cpp/managementgen/main.py

      Makefile fragment generation is now optional.

      M specs/management-schema.xml

      Schema updates for Client and Session.

      Attachments

        1. qpid-patch14.diff
          46 kB
          Ted Ross

        Activity

          People

            Unassigned Unassigned
            tross Ted Ross
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: