Drop the add_aquilon_host command

Use "aq add host --archetype aquilon" instead.

Change-Id: Ib4fcb7f72f729bfaff8f3e148d087153c69a3fb3
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Drop the make_aquilon command

Use "aq make --archetype aquilon" instead.

Change-Id: Id962e4ec26193791edaf4b97f4f48da50e46783c
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Drop the {add,del,update_show}_router commands

Use the *_router_address variants instead.

Change-Id: Iba353d2c9b9e05d59a46ff14038085aff49b2c45
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Drop the --switches option of "aq flush"

Change-Id: I15fd18512409443cb66583d091f0ba7a187b5038
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Testsuite: re-arrange test_add_share.py

There were a couple tests with the same method name, shadowing each
other.

Change-Id: I15ad1168fcbb677be4d9315b7a2d22233f91e254
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Drop the show_nas_disk_share command

Change-Id: Ia2bd24892a187c96f5f6b7c5eea6466d696e8bc1
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Drop the {bind,rebind,unbind}_esx_cluster commands

Use the non-esx variants instead.

Change-Id: I2bfa949014c14d53d842e7ce1c513839929dae25
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Disallow build -> rebuild transition for hosts

Allowing this transition loses the information that the host was never
built.

Change-Id: If7a9e9ff87fc89cc97aeb53b85f50b87bb1089fa
Addresses-Issue: Jira/AQUILON-2040
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
input.xml: Drop option group names

Nothing used it.

Change-Id: Ib36a4417deae7f48372f02db86f04e6602cea070
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
input.xml: Use status/... for internal requests

And move the definitions close to each other.

Change-Id: I716a68a6c9b278a42c44019134fd1a06ef8d0e36
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
input.xml: Standardize cluster paths

Change-Id: I14ffe3a4def30eed04b9098117718076b3c71bcd
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
input.xml: Fix path of "cat --city"

Change-Id: I6a02243e29e88676aab94aa7b772a8003922c06c
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
input.xml: Standardize use of ../command/...

Let search and show commands just refer to the object type.
Use .../command/... when something changes.

Change-Id: I7d44ed6b3c973a88ed19ba46eb70be10ca18e57a
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Standardize {bind,rebind,unbind}_cluster behavior

Make the per-cluster commands match the behavior of the per-host
commands: the service instance is optional for bind and rebind, and an
appropriate instance is looked up if none was specified. For unbind, the
service instance is not needed.

Change-Id: Ib35ecac0c5864dcd5f254d6903caaed6d64edaf0
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
input.xml: Change CPU and model related paths

Change-Id: I9e9f7da323c4fe04c7cfb47273b9bb9703e775f5
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
input.xml: Re-align whitespace

Use 4 positions for indenting, and use tabs to save space.

Change-Id: Ic65bb0eb99c41b240dd115aff34d5dd32706233a
Reviewed-by: Dave Reeve <Dave.Reeve@morganstanley.com>
Merge remote-tracking branch 'origin/for_next/input_xml_cleanup'
Rename NetworkDevice.observed_vlans to port_groups

This will make duck typing easier in the future.

Change-Id: I25ce34696ced08cca301a49d7bd394246b715a2c
Reviewed-by: Zoltan Sebestyen <Zoltan.Sebestyen@morganstanley.com>
Move chunk() to aquilon.utils

And switch to an implementation that handles iterables.

Change-Id: I1fac7d46e9e4c2bde81d1c96d663cb183d10c596
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Speed up hostlist_to_hosts()

Use bulk queries to load DNS domains, DNS records and then the actual
host objects. As a bonus, hostlist_to_hosts() now accepts query options
to eager load other properties, as needed.

Change-Id: Icc0e7a1580ecedae19e8396c594c458daef68ee9
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>