add https support with port and cert
Bug #1983988 reported by
Narinder Gupta
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Manila NetApp Charm |
Triaged
|
High
|
Unassigned |
Bug Description
It seems that default NetApp uses HTTP, but it supports HTTPS protocol as well. This request is to provide the SSL cert, HTTPS port, and port number as part of config options.
Created the following config and certs in the manila-netapp charm to support TLS
transport-type
netapp-server-port
Yes, Manually place the provided certs in /usr/local/
Changed in charm-manila-netapp: | |
importance: | Undecided → Wishlist |
status: | New → Triaged |
To post a comment you must log in.
diff --git a/config.yaml b/config.yaml
index d34d87b..9cf81c8 100644
--- a/config.yaml
+++ b/config.yaml
+ transport-type:
+ type: string
+ description: |
+ Transport protocol for communicating with the storage system or proxy
+ server. Valid options include http and https.
+ default: http
+ netapp-server-port:
+ type: string
+ description: |
+ The TCP port to use for communication with the storage system or proxy
+ server. If not specified, ONTAP drivers will use 80 for HTTP and 443 for HTTPS.
+ default: ''
diff --git a/templates/ queens/ manila. conf b/templates/ queens/ manila. conf queens/ manila. conf queens/ manila. conf
index 0475d67..2438051 100644
--- a/templates/
+++ b/templates/
netapp_ storage_ family = ontap_cluster server_ hostname = {{ options. management_ address }} admin_password }} transport_ type = {{ options. transport_ type }} netapp_ server_ port }}
netapp_
netapp_login = {{ options.admin_name }}
netapp_password = {{ options.
+netapp_
+netapp_server_port = {{ options.