def main(): config.init() transport = oslo_messaging.get_transport(CONF) target = oslo_messaging.Target( topic=CONF.openstack_sample.topic + '.localhost', version='2.0') client = oslo_messaging.RPCClient(transport, target) print client.call({'some': 'context'}, 'test', arg='hello')
def main(): config.init() agent.launch()
def main(): config.init() rpc_consumer.launch()
def main(): config.init() server_consumer.launch()