Drop both exchanges used by naily

- deleting both exchanges in case of precondition failure

Naily will be able to auto_recover using consumer cancel notifications

For additional info look at astute patch and correcponding bug:
  I28d44841a207585d5d7b4a7920b58132be7b7394

Change-Id: I77c24badaa09ab73d83316ec4665df393966322e
Partial-Bug: #1340555
Changed order of calls to register new nodes

Modified agent to checking if node was before registered, based on existence
of nailgun_uid file. If file exist, only put is call, in other case when we
try made post (if call was succes-201 or node exist 409, we call put method)

Change-Id: I98680be7355e77512addb97f301c713cbf13c23c
Closes-Bug: #1305017
Settings initial data reorganisation

Change-Id: I910d059504f96561102a90b8542f68a0a2ec9296
Tries to get NIC by name if mac was changed

Fuel loses nodes when some node was added to cluster and then mac-addresses
of NICs have been changed. Since now the issue is fixed.

The fix is based on the assumption that a NIC name is unique within a
node, and if we can't get an interface by MAC, we can try to get it by
name.

Closes-Bug: #1282568
Change-Id: I612a183d51ebb00afbf753ae3ee8dbccac54a4c4
Fix openstack releases version

The Fuel 5.1 will be destributed with two openstack versions:

* 2014.1.1-5.1 -- for new envs
* 2014.1.1-5.0.2 -- for patching old envs

The release 2014.1.1-5.1 don't should be capable to update old
environments, so we need remove them from the release fixture.

Change-Id: Iddf41c41cc519c8abdd9493e27ea52088d96001e
Blueprint: upgrade-to-5-1
Hack for Backbone.sync monkey-patching for auth

Fixes the bug with improper state of deferreds
right after 'sync' event is fired

Change-Id: Ife4566c73ea2aefebff6eb601a7cf5b1c66d39ea
Merge "Settings initial data reorganisation"
Merge "Fix openstack releases version"
Add restriction for NSX settings and 'nsx' value to net_l32_provider

There is a neutron parameter NeutronConfig.net_l32_provider that was not used to reflect that NSX plugin is in use .
It's used now to reflect what Neutron plugin is in use.
Restriction for NSX settings is added to fixture.

Closes-Bug: #1346928

Change-Id: I7152bae4f216b8efe47a24d61529363e8955ee70
validate NSX configuration parameters on Settings tab

- right now it is possible to start deploy with empty NSX settings, we
  must validate settings before deployment starts
- validate NSX username, must be not empty
- validate NSX password, must be not empty
- validate transport zone and L3 gateway UUIDs
- validate NSX endpoints and URL, must be valid IPv4 and valid
  HTTP/HTTPS URL
- while here explicitly specify in comments and warnings that right now
  we support only IPv4 addresses

Change-Id: Ie0ad618122034caf6e4a9433bf76c033e241f369
Closes-bug: #1347682
Merge "Changed order of calls to register new nodes"
Disable multicast verification

Will be enabled after resolving issues with
upgrading network checker and mcagents

Change-Id: Ibf402662f2402141a78c990a473de76ee2e83ae5
Partial-Bug: #1348130
Reverse roles conflicts functionality

 - removed repeated conditions from openstack.yaml
 - added parser for role conflicts
Change-Id: Ic9bea35a98e2932da4beaa410693727f65c745bb
Closes-bug: 1339716
Merge "Hack for Backbone.sync monkey-patching for auth"
Merge "Reverse roles conflicts functionality"
Render correct Neutron L23 backend on Networks tab

- fetch 'net_l23_provider' field value from DB
- form new item on Networks tab (l23_provider)
- if net_l23_provider (OVS, NSX) was set show it instead of segment_type
  (GRE, VLAN)

After this change title on Networks tab will look like "Neutron with NSX" or
"Neutron with OVS"

Change-Id: Ief7462097960716ff55c22572751191826f2ecc4
Closes-bug: #1347687
Settings processing rework

* enhancement of dependent setting processing
* fix for toggleable group disabled state calculation
* metadata section of toggleable setting group is considered as a common setting structure

Closes-Bug:#1340692

Change-Id: I0300f8ddc546e394eea8826d6d7c7bfc9b4e709d
Full path in tox.ini

Change-Id: I6eb03267068090d5be4efd7968c64c1455b75de5
Closes-Bug: #1334528
Check presence of neutron_mellanox metadata section before its use

Closes-Bug: #1347486

Change-Id: I455fd8c141caf1ea114f57646baf754164a8d9f9
Merge "Add restriction for NSX settings and 'nsx' value to net_l32_provider"