Compile hosts by personality

This allows compilation of hosts within a single persoanlity.
The hosts have to be within a single domain.
Compilation can also be done by selecting personality and domain.

Change-Id: Iadc4286dfa127ab75eb8845988b6450358441138
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
Use refactored code for validating branch and author

Change-Id: Idddd0aa675a643a7bd72220ae1c89a7a9caebd70
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
Extend unixops l2 role

Extend unixops_l2 so they are entitled to execute knowledgeweb
procedures that have been through operations signoff.

Change-Id: Ied26a184cb6508d1b75efb39e8c3647d3a0a71d2
Addresses-Issue: Jira/AQUILON-1384
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
Bug Fix for update personality message

Change-Id: Id15e7e2eb3c1fc8471ffee75d9a162bbcef1ff1f
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
Add new role for network engineering

The new role extends telco_operations with commands to add/delete/update
vendors, models and operating systems.

Change-Id: I6af2990e39f7306a79faa8081734f63de3383cd4
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Extend mssb_unixops role to be a bit more aligned with unixops_l2 role.

Addresses-Issues: Jira/Aquilon-1378
Change-Id: I2bdb0f1fb1b99560f81f424b7fe7203f633465bd
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
License update
Move upgrade/this_branch to release version branch
Allow binding VMs to hosts.

Addresses-Issue: Jira/AQUILON-894
Change-Id: I3a8fbdb5745443e73365ff5d08b758c0320bfd13
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
update machine now relocates VMs, too.

also, vulcan localdisk test suite added to test vm to host bindin and
machine relocation.

Change-Id: I892d51716ed87c734edc42bf46fd7cd130aee3c9
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
VM disks are bound to vmhost's filesystem.

 - bind to filesystem added: In vulcan local disk, VM disks are bound to filesystems
 added to the vmhost.
 - added del_orphan to host - machine relation, w/o that the following error occured
 when deleting the host:
    Dependency rule tried to blank-out primary key column 'host.machine_id'
    on instance.

Change-Id: I2dcbb2deae5181da04c12114fa99f6bfa92d37c4
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
add name to fs template

Change-Id: Iecb6333d1a1d47c6ef05b577ae1d0d3a7b0a699a
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
autopg/automac for VMs on vmhosts with clusters implemented.

For the current Vulcan localdisk implementation autopg/automac data
gathered from the switch of the vmhosts's cluster. To make it work, VMs
cluster property reports the cluster of the vmhost if both exist.

Change-Id: If24e82a7fca9246a5c695acb449cad4298893a17
Reviewed-by: Gabor Gombas <Gabor.Gombas@morganstanley.com>
Rename bin/twistd.py to sbin/aqd.py

Change-Id: I767aa719568d0c8c45cb364a1499b550bd281d95
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Move some helpers to aquilon.utils

These helpers are useful outside of the worker module. Moving them to
aquilon.utils avoids loading all the dependencies of aquilon.worker.

Change-Id: Ie80ab47263413e276dc131da2246178f04da1a94
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Drop unused yaml dependency

Change-Id: Ib12d513ee580c1f419e26ef3c620926feb9a8184
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Reviewed-by: Nathan Dimmock <Nathan.Dimmock@morganstanley.com>
Move profile index building to a separate module

The worker module auto-loads all the commands, which is not needed for
index manipulation, and would become an obstacle when we want to move
the functionality to a separate process.

Change-Id: I8c101e842c0debd0f25b2de140658f9884e58299
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Drop some arguments of build_index

cleanNotify is not used at all, and profilesdir is always the same, so
no need to pass them over.

Change-Id: I6cfe59de8fab6f4951ddddf4e96d8790acc39d37
Reviewed-by: Priya Joshi <Priya.Joshi@morganstanley.com>
Ignore GRNs having no name

This makes the import procedure more robust.

Addresses-Issue: Jira/AQUILON-1391
Change-Id: Ia3ef7e5ce58b062dd8e347534a28cf7e5cf1bd67
Reviewed-by: Nathan Dimmock <Nathan.Dimmock@morganstanley.com>
Move index updates to a separate process

There's no reason the client should wait for the index to be updated and
the notifications to be sent, so move those tasks to a separate process.

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