[nsxv] return checkbox 'nsxv_insecure'

Bug #1590383 reported by Andrey Setyaev
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel NSXv plugin
Fix Released
High
Igor Zinovik

Bug Description

https://github.com/openstack/vmware-nsx/blob/stable/mitaka/vmware_nsx/plugins/nsx_v/vshield/common/VcnsApiClient.py#L94-L98

if self.ca_file is not None:
            http.ca_certs = self.ca_file
            http.disable_ssl_certificate_validation = False
        else:
            http.disable_ssl_certificate_validation = self.insecure

shows following:
1. If we have certificate, ssl_certificate_validation is enabled.
2. If we don't have certificate, disable_ssl_certificate_validation = insecure.

In case 1 we have certificate and it will be validated.
In case 2 we don't have certificate, but validation is controlled by 'insecure' switch.

Additionally we can uncheck and lock "Insecure" checkbox in case certificate is uploaded to emphasize this behaviour.

Tags: nsxv
tags: added: nsxv
Changed in fuel-plugin-nsxv:
assignee: nobody → Partner Centric Engineering (fuel-partner-engineering)
importance: Undecided → High
milestone: none → 3.0.0
description: updated
Igor Zinovik (izinovik)
Changed in fuel-plugin-nsxv:
assignee: Partner Centric Engineering (fuel-partner-engineering) → Artem Savinov (asavinov)
status: New → In Progress
Revision history for this message
Igor Zinovik (izinovik) wrote :
Changed in fuel-plugin-nsxv:
status: In Progress → Fix Committed
Igor Zinovik (izinovik)
Changed in fuel-plugin-nsxv:
status: Fix Committed → In Progress
Igor Zinovik (izinovik)
Changed in fuel-plugin-nsxv:
assignee: Artem Savinov (asavinov) → Igor Zinovik (izinovik)
Revision history for this message
Igor Zinovik (izinovik) wrote :
Changed in fuel-plugin-nsxv:
status: In Progress → Fix Committed
Changed in fuel-plugin-nsxv:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.