Raise NotImplementedError instead of NotImplemented

NotImplementedError is the name of the exception
(https://docs.python.org/2/library/exceptions.html).

NotImplemented is the name of a constant
(https://docs.python.org/2/library/constants.html).

It makes no sense to raise a constant. The exception should
be raised instead.

Change-Id: I47efa6db2484757022d5f0601719d4ea4c78417d
Closes-Bug: #1339855
Revert tox.ini to use old python by default

Closes-Bug: #1332330

Change-Id: I824aa3f480eafdc84f45ade961dcb55200b096a3
Added UI changes for Mellanox features

1. UI changes for iSER
2. UI changes for SR-IOV

partially implements: blueprint mellanox-features-support
Signed-off-by: Moshe Levi <moshele@mellanox.com>

Change-Id: I0c59b9663b87d4e8ef6c7bf6f28a2605e48ef790
Added UI restrictions for Mellanox features

This commit includes changes in UI restrictions:
  1. Restrict nova-network and GRE with Mellanox plugin.
  2. Block ports bonding in case of iSER storage or Mellanox
     SR-IOV plugin.
  3. Add probed VF limitation explanation to iSER checkbox.

closes-bug: #1336867
partially implements: blueprint mellanox-features-support

Change-Id: Ida76317dd5fdc5e3813c3b4279b5db5239d6c754
Signed-off-by: Aviram Bar-Haim <aviramb@mellanox.com>
Mellanox Changes in deployment serializers

Added Changes to deployment serializers, in case of Mellanox
features usage:
  1. Changing network scheme to use a predefined name for storage interface,
     in case of iSER usage.
  2. Adding physical port to mellanox astute.yaml in case of choosing Mellanox
     components (for attaching virtual functions to virtual machined).

partially implements: blueprint mellanox-features-support

Change-Id: I0d83819a22177028bffbaca7d1f0e1499e8909c5
Signed-off-by: Aviram Bar-Haim <aviramb@mellanox.com>
Changes for Mellanox ML2 configurations

Added changes:
  1. Add ml2 eswitch section configurations in deployment
     serializers.
  2. Change mechanism drivers in generate_l2 of nailgun neutron.py.

partially implements: blueprint mellanox-features-support

Change-Id: Ia9ab697edd1a364a606bb1a494531fe0ec5f1c1c
Signed-off-by: Aviram Bar-Haim <aviramb@mellanox.com>
"Managing UI Dependencies" document

Change-Id: Iaf8ec4043495f4ba0565e1ea4fa704f3f6ec36e2
Add info about make clean

Change-Id: If866e8a1092595a5a1719856999656cae35854dd
Closes-Bug: #1323284
Separate configuration based on test environment

Added:
- ARTIFACTS variable to store all test artifacts
  under single directory
- yaml config generation based on environment variables
- NAILGUN_CONFIG variable in run_tests.sh and settings.py

Commands used for testing:
  TEST_NAILGUN_DB=nailgun1 ARTIFACTS=/tmp/test_runs/1 \
  UI_SERVER_PORT=8011 FUELCLIENT_SERVER_PORT=8021 ./run_tests.sh

  TEST_NAILGUN_DB=nailgun2 ARTIFACTS=/tmp/test_runs/2 \
  UI_SERVER_PORT=8012 FUELCLIENT_SERVER_PORT=8022 ./run_tests.sh

Change-Id: If03dddee9a8259a80b526a53fe61a79c544c72a4
Closes-Bug: #1282565
Closes-Bug: #1334180
Do not update node info when network data is corrupted

Deployment process introduces a lot of disruptive changes
in system configuration which can lead to undesirable state in
nailgun db

As solution - update only timestamp when network data is incorrect

This fix will protect nailgun against wrong network data stored in db
that maybe generated during process of network configuration on slave

See latest comment on bug for such case description

Change-Id: I2d67f851cf0e99f04b50611787e4872193212540
Closes-Bug: #1304469
Add subtask to network verification based on cluster

- added checking logic to verify if subtask is enabled
  for given cluster configuration
- multicast should be disabled if corosync section is not
  present

Change-Id: Id7dfc8ac4869db9cb30206cde082131f9c438abb
Closes-Bug: #1342814
Merge ""Managing UI Dependencies" document"
Upgrades, added keystone authorization

* extracted generation of endpoints data
  to separate method
* use credentials from astute config
  if they are exist
* added keystone authorization for
  nailgun client

Change-Id: I3ae57e2352a16a35799e6c8e855c6a03bc2259ad
Closes-bug: #1342045
Merge "Added UI changes for Mellanox features"
Merge "Added UI restrictions for Mellanox features"
Merge "Revert tox.ini to use old python by default"
Merge "Mellanox Changes in deployment serializers"
Add releases metadata upgrade

Tests added. Downgrade will be done as separate patch if required

Closes-Bug: #1341505
Closes-Bug: #1341567

Change-Id: I49cc6a4ff3690677d904dce3398b67693b1c831c
Fixes to the "Managing UI Dependencies" doc

Change-Id: I58eb8ea630df95977e4d024c9d2b9df4ed7bdfd4
Show/hide OSTF credentials

Change-Id: I9620a902dee5212d7d0d969ed668094e529d3b4e