Reorganize metadata related settings

* Transfer all the settings for the metadata proxy under checkbox "Init
  metadata infrastructure"
* Added restrictions to be bound by filling the parameters needs for
  metadata proxy
* Changed in puppet manifests for set up metadata settings only if
  checkbox "Init metadata infrastructure" in True state
* Changed parameter nsxv_metadata_listen_mgtm to radio/select type.
* Removed 'insecure' parameter for NSXv, 'insecure = false' if ca loaded
  and vice versa
* Remove nsxv_insecure from nsxv_smoke test
* Add nsxv_metadata_initializer to enable_plugin
* Change nsxv_metadata_listen_mgmt -> nsxv_metadata_listen in test

Change-Id: I4d40ef909646284f3f7e87705e8d2463f374445d
This commit is contained in:
Artem Savinov
2016-04-28 19:37:58 +03:00
parent ab0db2e127
commit 6872aa1927
9 changed files with 192 additions and 140 deletions

View File

@@ -36,8 +36,6 @@ NSXV_PLUGIN_PATH = os.environ.get('NSXV_PLUGIN_PATH')
plugin_configuration = {
'nsxv_manager_host/value': os.environ.get('NSXV_MANAGER_IP'),
'nsxv_insecure/value': get_var_as_bool(
os.environ.get('NSXV_INSECURE'), True),
'nsxv_user/value': os.environ.get('NSXV_USER'),
'nsxv_password/value': os.environ.get('NSXV_PASSWORD'),
'nsxv_datacenter_moid/value': os.environ.get('NSXV_DATACENTER_MOID'),