diff --git a/ocf/NovaCompute b/ocf/NovaCompute index 6e3255d..ebe75c6 100644 --- a/ocf/NovaCompute +++ b/ocf/NovaCompute @@ -100,6 +100,24 @@ Nova API location (internal, public or admin URL) + + +Region name for connecting to nova. + +Region name + + + + + +Explicitly allow client to perform "insecure" TLS (https) requests. +The server's certificate will not be verified against any certificate authorities. +This option should be used with caution. + +Allow insecure TLS requests + + + Disable shared storage recovery for instances. Use at your own risk! @@ -278,6 +296,16 @@ nova_validate() { fence_options="${fence_options} -d ${OCF_RESKEY_domain}" fi + if [ -n "${OCF_RESKEY_region_name}" ]; then + fence_options="${fence_options} --region-name ${OCF_RESKEY_region_name}" + fi + + if [ -n "${OCF_RESKEY_insecure}" ]; then + if ocf_is_true "${OCF_RESKEY_insecure}"; then + fence_options="${fence_options} --insecure" + fi + fi + if [ -n "${OCF_RESKEY_no_shared_storage}" ]; then if ocf_is_true "${OCF_RESKEY_no_shared_storage}"; then fence_options="${fence_options} --no-shared-storage" diff --git a/ocf/NovaEvacuate b/ocf/NovaEvacuate index 90a4e58..6a4d3c8 100644 --- a/ocf/NovaEvacuate +++ b/ocf/NovaEvacuate @@ -100,6 +100,24 @@ Nova API location (internal, public or admin URL) + + +Region name for connecting to nova. + +Region name + + + + + +Explicitly allow client to perform "insecure" TLS (https) requests. +The server's certificate will not be verified against any certificate authorities. +This option should be used with caution. + +Allow insecure TLS requests + + + Disable shared storage recovery for instances. Use at your own risk! @@ -285,6 +303,16 @@ evacuate_validate() { fence_options="${fence_options} -d ${OCF_RESKEY_domain}" fi + if [ -n "${OCF_RESKEY_region_name}" ]; then + fence_options="${fence_options} --region-name ${OCF_RESKEY_region_name}" + fi + + if [ -n "${OCF_RESKEY_insecure}" ]; then + if ocf_is_true "${OCF_RESKEY_insecure}"; then + fence_options="${fence_options} --insecure" + fi + fi + if [ -n "${OCF_RESKEY_no_shared_storage}" ]; then if ocf_is_true "${OCF_RESKEY_no_shared_storage}"; then fence_options="${fence_options} --no-shared-storage"