examples.scripted_mesh_setup
Module Contents
Classes
Helper service instance class used purely for the virtual host and exchanges configured in RabbitMQ. The service queue and dead letter created for this instance during the setup can be deleted. |
Functions
Data
This script is used to setup the RabbitMQ exchanges, queues, and bindings for the NuroPb examples. A running RabbitMQ instance with the management plugin is required. |
|
API
- examples.scripted_mesh_setup.logger
None
This script is used to setup the RabbitMQ exchanges, queues, and bindings for the NuroPb examples. A running RabbitMQ instance with the management plugin is required.
The default login credentials are assumed. If you have changed the default login credentials for RabbitMQ, you will need to update the amqp_url and rmq_api_url variables below.
- examples.scripted_mesh_setup.amqp_url
‘amqp://guest:guest@localhost:5672/nuropb-example’
- examples.scripted_mesh_setup.rmq_api_url
‘http://guest:guest@localhost:15672/api’
- class examples.scripted_mesh_setup.MeshServiceInstance
Helper service instance class used purely for the virtual host and exchanges configured in RabbitMQ. The service queue and dead letter created for this instance during the setup can be deleted.
- _service_name
‘mesh-setup’
- _instance_id
None
- async examples.scripted_mesh_setup.main()