Feature Request - Unit Syntax

Bug #1277567 reported by Charles Butler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Amulet
Fix Released
Medium
Marco Ceppi

Bug Description

I find myself wanting to alias out the long-tail accessors: d.sentry.unit['service/#'] - to a shorter syntax:

d.sentry['service/#'] or d.sentry['service'] for all of the running units on that service, that returns an array response of the results. We spoke briefly about this in IRC as follows:

[10:53:30] <marcoceppi> I also want to do d.sentry['mysql'] to connect to all units on a service
[10:53:46] <marcoceppi> which would return an array of the results
[10:54:00] <marcoceppi> each array element would correspond to a the unit deployed

Marco Ceppi (marcoceppi)
Changed in amulet:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Marco Ceppi (marcoceppi)
description: updated
Revision history for this message
Tim Van Steenburgh (tvansteenburgh) wrote :
Changed in amulet:
status: Triaged → Fix Committed
Marco Ceppi (marcoceppi)
Changed in amulet:
milestone: none → 1.5.1
Marco Ceppi (marcoceppi)
Changed in amulet:
status: Fix Committed → Fix Released
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.