Skip to content

Experimental use of OpenStack nova messaging as standalone library

Notifications You must be signed in to change notification settings

labisso/novamess

Repository files navigation

What?

Experimental use of (modified) RPC code from OpenStack Nova as a standalone messaging library. Initial code from nova was copied from:

830760b4c79cf9cdc80c6e0047ea206abc21f2c6
Wed Nov 2 15:44:31 2011 +0000

Files:

nova/rpc/impl_kombu.py

Example Usage

There is a simple service that sends out heartbeats to subscribers. There are implementations using both the modified novarpc (novamess) and the custom thing based on kombu (mess).

  1. Make a virtualenv and activate it

  2. Install dependencies:

    $ pip install kombu gevent
    
  3. Run one of the heartbeater services:

    $ python nova_heartbeater.py
    # OR
    $ python mess_heartbeater.py
    
  4. In another terminal, start the appropriate subscriber:

    $ python nova_subscriber.py
    # OR
    $ python mess_subscriber.py
    

About

Experimental use of OpenStack nova messaging as standalone library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages