diff --git a/nailgun/nailgun/fixtures/openstack.yaml b/nailgun/nailgun/fixtures/openstack.yaml index f1d2602e90..cbd7252454 100644 --- a/nailgun/nailgun/fixtures/openstack.yaml +++ b/nailgun/nailgun/fixtures/openstack.yaml @@ -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: "" diff --git a/nailgun/nailgun/fixtures/vmware_attributes.json b/nailgun/nailgun/fixtures/vmware_attributes.json index b5fe7c66a0..1f58578326 100644 --- a/nailgun/nailgun/fixtures/vmware_attributes.json +++ b/nailgun/nailgun/fixtures/vmware_attributes.json @@ -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" }, { diff --git a/nailgun/nailgun/test/unit/test_restriction.py b/nailgun/nailgun/test/unit/test_restriction.py index c077009f30..f58cbac572 100644 --- a/nailgun/nailgun/test/unit/test_restriction.py +++ b/nailgun/nailgun/test/unit/test_restriction.py @@ -333,6 +333,8 @@ class TestVmwareAttributesRestriction(base.BaseTestCase): "vcenter_host": "", "vcenter_username": "", "vcenter_password": "", + "vcenter_insecure": "", + "vcenter_ca_file": {}, "nova_computes": [ { "vsphere_cluster": "",