TVD: Fix devstack calls to certificate create/delete
Change-Id: I47e70569e31e1ae4417f456520cb27e5745a3deb
This commit is contained in:
parent
976057b154
commit
27d7f53f10
@ -188,7 +188,7 @@ function init_vmware_nsx_tvd {
|
|||||||
fi
|
fi
|
||||||
# Generate client certificate
|
# Generate client certificate
|
||||||
if [[ "$NSX_USE_CLIENT_CERT_AUTH" == "True" ]]; then
|
if [[ "$NSX_USE_CLIENT_CERT_AUTH" == "True" ]]; then
|
||||||
nsxadmin -o generate -r certificate
|
nsxadmin --plugin nsxv3 -o generate -r certificate
|
||||||
fi
|
fi
|
||||||
if ! is_set NSX_GATEWAY_NETWORK_INTERFACE; then
|
if ! is_set NSX_GATEWAY_NETWORK_INTERFACE; then
|
||||||
echo "NSX_GATEWAY_NETWORK_INTERFACE not set not configuring routes"
|
echo "NSX_GATEWAY_NETWORK_INTERFACE not set not configuring routes"
|
||||||
@ -225,7 +225,7 @@ function init_vmware_nsx_tvd {
|
|||||||
|
|
||||||
function stop_vmware_nsx_tvd {
|
function stop_vmware_nsx_tvd {
|
||||||
# Clean client certificate if exists
|
# Clean client certificate if exists
|
||||||
nsxadmin -o clean -r certificate
|
nsxadmin --plugin nsxv3 -o clean -r certificate
|
||||||
|
|
||||||
if ! is_set NSX_GATEWAY_NETWORK_INTERFACE; then
|
if ! is_set NSX_GATEWAY_NETWORK_INTERFACE; then
|
||||||
echo "NSX_GATEWAY_NETWORK_INTERFACE was not configured."
|
echo "NSX_GATEWAY_NETWORK_INTERFACE was not configured."
|
||||||
|
Loading…
Reference in New Issue
Block a user