[ 
https://issues.apache.org/jira/browse/DISPATCH-1585?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17114406#comment-17114406
 ] 

Charles E. Rolke commented on DISPATCH-1585:
--------------------------------------------

[~lulf]

Proposing a solution in two parts:
 * Add an *aliases* field to vhost to hold a list of hostnames that would all 
resolve to using the vhost. The _vhost hostname_ is now just a placeholder and 
not a real remote host name.

{code:java}
["vhost", { "hostname": "tenant1", "aliases": ["internal.example.com", 
"public.example.com"], "allowUnknownUser": true, // ... }]
{code}
 * In multi tenant setups the _vhost hostname_ is prepended to the autoLink 
name instead of the _hostname_ field of the remote AMQP Open.

For accounting and statistics the vhost has one identifier (the hostname) and 
one configuration set but it would apply to all the remote hosts in the aliases 
list.

The aliases list is mutable the same as the rest of the settings in the vhost.

This creates new opportunities for misconfiguration. For instance, multiple 
vhosts claim the same alias host address. Those details are still TBD pending 
discussion of the basic proposal.

> Allow defining address prefix shared by different multitenant listeners
> -----------------------------------------------------------------------
>
>                 Key: DISPATCH-1585
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1585
>             Project: Qpid Dispatch
>          Issue Type: Wish
>            Reporter: Ulf Lilleengen
>            Priority: Major
>
> At present, a multitenant router listener will prefix addresses with the 
> hostname in the AMQP Open. However, given a configuration where it is 
> desirable to expose a router address space for multiple DNS names, any 
> address, linkRoute and autoLink configuration will need to be duplicated for 
> each DNS name. This complicates router configuration significantly.
>  
> Instead, having a way to specify which prefix to apply for a multitenant 
> listener would allow reusing the same address, autoLink and linkRoute 
> configuration for multiple listeners.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to