Proxies

Marcos Barbosa marcosestevesbarbosa at gmail.com
Wed Nov 7 19:24:56 UTC 2012


2012/11/7 Marco Ceppi <marco at ondina.co>

>  Correct, the idea being that you can use an interface multiple times (as
> Kapil said). The interface defines what data is expected to be transmitted
> along the wire between charms. In the case of the http interface charms
> should expect to receive a `hostname` and a `port` (
> https://juju.ubuntu.com/Interfaces/http). Whereas the mysql interface has
> a `hostname`, `user`, `password`, and `database` (
> https://juju.ubuntu.com/Interfaces/mysql<https://juju.ubuntu.com/Interfaces/http>).
> Most interfaces that are used multiple times have a page which describes
> what a charm should either expect (in the event a relationship requires it)
> or provide (in the event a relationship provides it).
>
> Marco
>
> Marco,

And hooks use config-get command to get the values? How is the synthax?

Cheers.

>
> On 11/07/2012 02:05 PM, Marcos Barbosa wrote:
>
>
>
>
> 2012/11/7 Marco Ceppi <marco at ondina.co>
>
>>  No charms, to my knowledge, provide a reverseproxy interface. Haproxy
>> has a reverseproxy relationship which uses the http interface. As such any
>> charm which provides the http interface (most charms have this mocked as a
>> website relation with the http interface) can be consumed by the haproxy
>> charm.
>>
>> Marco Ceppi
>>
>>    Interesting.
>
> In metadata.yaml, this part means "loadbalancer" is a relationship and
> "http-proxy" is a interface?
>
> provides:
>   loadbalancer:
>     interface: http-proxy
>
>>
>> On 11/07/2012 01:37 PM, Marcos Barbosa wrote:
>>
>> Who provides "reverseproxy" interface? Haproxy needs it. And imbrandon
>> create nginx-proxy, buts provides http-proxy and loadbalancer. Someoine can
>> explain this little mess?
>>
>> --
>> Marcos Barbosa <marcosestevesbarbosa at gmail.com>
>>
>>
>>
>>
>> --
>> Juju mailing list
>> Juju at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/juju
>>
>>
>
>
> --
> Marcos Barbosa <marcosestevesbarbosa at gmail.com>
>
>
>


-- 
Marcos Barbosa <marcosestevesbarbosa at gmail.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/juju/attachments/20121107/4d80833d/attachment.html>


More information about the Juju mailing list