vantage6.cli.rabbitmq.split_rabbitmq_uri#

split_rabbitmq_uri(rabbit_uri)#

Get details (user, pass, host, vhost, port) from a RabbitMQ uri.

Parameters:

rabbit_uri (str) – URI of RabbitMQ service (‘amqp://$user:$pass@$host:$port/$vhost’)

Returns:

The vhost defined in the RabbitMQ URI

Return type:

dict[str]