Fix typos vc_ca_file -> vcenter_ca_file

CA file is not uploaded because we made a mistake
in name vc_ca_file.

Fix typos vc_ca_file -> vcenter_ca_file to get correct
certificate files for cinder and compute item in
orchestrator serializer.

Change-Id: I531a1d6fb7d8cf28df644f8d2301cec4f437a996
Closes-bug: #1623478
(cherry picked from commit 0df751c75e)
This commit is contained in:
Alexander Arzhanov 2016-09-14 16:29:43 +03:00
parent c7023a4195
commit 064cb5bda6
3 changed files with 5 additions and 3 deletions

View File

@ -1578,7 +1578,7 @@
type: "checkbox"
label: "Bypass vCenter certificate verification"
-
name: "vc_ca_file"
name: "vcenter_ca_file"
type: "file"
label: "CA file"
description: "File containing the trusted CA bundle that emitted vCenter server certificate. Even if CA bundle is not uploaded, certificate verification is turned on."
@ -1680,7 +1680,7 @@
vcenter_username: ""
vcenter_password: ""
vcenter_insecure: true
vc_ca_file: {}
vcenter_ca_file: {}
nova_computes:
-
vsphere_cluster: ""

View File

@ -36,7 +36,7 @@
{
"type": "file",
"description": "File containing the trusted CA bundle that emitted vCenter server certificate. Even if CA bundle is not uploaded, certificate verification is turned on.",
"name": "vc_ca_file",
"name": "vcenter_ca_file",
"label": "CA file"
},
{

View File

@ -333,6 +333,8 @@ class TestVmwareAttributesRestriction(base.BaseTestCase):
"vcenter_host": "",
"vcenter_username": "",
"vcenter_password": "",
"vcenter_insecure": "",
"vcenter_ca_file": {},
"nova_computes": [
{
"vsphere_cluster": "",