How do I incorporate a relationship between two charms to pass through expertise among them?

I will be new at all to juju. Yet You will find produced and begun utilizing one program attraction and intense elegance independently.

However now from application i have to include connection with host charm and obtain data from server appeal.

Information like public address and exclusive address. I looked into concerning how to add some interaction between two charms. But I’m not very clear about how to create relations and acquire information. We best determine I would like to atart exercising . parameter in metadata.yaml data.

Can any individual let me know getting add some connection to get facts from server appeal? Essentially i have to offer ip by host elegance and after introducing romance from application attraction need certainly to understand this internet protocol address. Continue reading