charm relation limits

Bug #1089297 reported by William Reade
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
Won't Fix
Low
Unassigned

Bug Description

Charm metadata allows relations to specify a "limit", which I think refers to the number of such relations a service can participate in; but I'm not sure, and there's no code to handle this field at all.

Tags: improvement
William Reade (fwereade)
Changed in juju-core:
status: New → Triaged
importance: Undecided → Wishlist
Revision history for this message
Gary Poster (gary) wrote :

See also GUI bug 1233462

Revision history for this message
Gary Poster (gary) wrote :

As of this writing, "limit" is defined on https://juju.ubuntu.com/docs/authors-charm-anatomy.html as the following.

The maximum number of relations of this kind which may be established to other service units. Defaults to 1 for requires relations, and to "none" (no limit) for provides and peers relations. While you may define it, this field is not yet enforced by juju.

Curtis Hovey (sinzui)
tags: added: improvement
Curtis Hovey (sinzui)
Changed in juju-core:
importance: Wishlist → Low
Changed in juju-core:
status: Triaged → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.