Comment 10 for bug 1459567

Revision history for this message
James Page (james-page) wrote :

Bilal

I think you're missing a fundamental feature of subordinate charms - they are not deployed explicitly - for example:

   juju deploy neutron-iovisor

would just deploy the subordinate - no code has been actually run yet, we then do:

   juju deploy nova-compute
   juju deploy plumgrid-director
   juju deploy plumgrid-gateway
   juju deploy plumgrid-edge
   juju add-relation neutron-iovisor nova-compute
   juju add-relation neutron-iovisor plumgrid-director
   juju add-relation neutron-iovisor plumgrid-dateway
   juju add-relation neutron-iovisor plumgrid-edge

which deploys the principle services, and then 'relates' them to the neutron-iovisor subordinate - this causes juju to run a unit of neutron-iovisor on every principle charm unit automatically.