Add --metacluster option to resource commands

Add the --metacluster option to most resource manipulation commands,
except reboot related ones.

Change-Id: I68e57ad9b9071e92bcd1900aa1a8d7c7ac87b90e
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Testsuite: Tighten some tests

Replace successtest() with stricter variants where possible.

Change-Id: I61900bd44ad418dec492d46870fc2d61e8d2c058
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Add --metacluster to {add,update,search}_machine

At the same time, tighten the logic around updating the machine's
location. Setting the chassis or the VM container will update the
location, so do not allow mixing those options with direct location
settings.

Change-Id: I9b03392a04aafa9353b6f81a79d2c63a013093e3
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Fix "aq compile --cleandeps"

The dependency file cleaning logic was not working if multiple objects,
but not a whole domain, were compiled.

Change-Id: I343e98e3a26eb9048c4c57e3394ffd828e4fb50d
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Add --metacluster option to commands doing compiles

Change-Id: I5570bf2d9981b96023609575e8e888a163c7ca4d
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Refactor show_metacluster

There is no code sharing, so there is no need for inheritance.

Change-Id: I8f34428154b6980932c70f5f2a7984a090ebb1d9
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Replace [un,re]bind_cluster with [un,re]bind_client

This is part of straightening out the separation between cluster and
metacluster management. Since the rebind_metacluster command is already
used for something different, use the bind_client family of commands for
controlling service bindings for hosts, clusters and metaclusters, and
mark the bind_cluster family as deprecated.

Change-Id: I832cfa2adeb631c8494cfca2315455fe6763eee8
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Deprecate rebind_metacluster and update_esx_cluster

Use update_cluster instead of both.

Change-Id: Icf1393b56828748dcc4e54a01dcfe9e55dce56f4
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Deprecate del_esx_cluster

Move the check for virtual machines to del_cluster.

Change-Id: I74daaf3db75cd8348df6a3df626e89d1570b92a1
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Drop the threshold handling from show_personality

It was not working with DB-based personalities.

Change-Id: I7e8e08fb5922511ff2804113d64f85317932ee54
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Protocol implementation for features.

Change-Id: Id9e3e2564d2266ecbff877265bb2bf952da0a2f5
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
Merge remote-tracking branch 'origin/for_next/feature_ownership_data'
Merge remote-tracking branch 'origin/for_next/metacluster_ui_1'
Testsuite: Rename hs21-8853l5u to hs21-8853

Following prod template changes.

Change-Id: I53f7931da6746e33692134a91fb1e810fee31949
Reviewed-by: Zoltan Sebestyen <Zoltan.Sebestyen@morganstanley.com>
Merge remote-tracking branch 'origin/for_next/fix_tests'
Fix up enum values with protocols.

Change-Id: Id1e3635b440c76d8368457b155a00dd37e10b491
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
Add cluster name to host protobuf output

Change-Id: I4c2316f0edb427cbc91e7705b17eaeb3f58228ea
Reviewed-by: Zoltan Sebestyen <Zoltan.Sebestyen@morganstanley.com>
Merge remote-tracking branch 'origin/for_next/drop_personality_threshold'
Merge remote-tracking branch 'origin/for_next/fix_enum_typos'
Merge remote-tracking branch 'origin/for_next/host_proto_cluster'