NSXv3: Always clean client certificate in devstack
Change-Id: Iad8ae7b2fff3301a112ce7e55d0eb639ec089905
This commit is contained in:
parent
df7f28f890
commit
a464d14181
@ -261,6 +261,9 @@ function init_vmware_nsx_v3 {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function stop_vmware_nsx_v3 {
|
function stop_vmware_nsx_v3 {
|
||||||
|
# Clean client certificate if exists
|
||||||
|
nsxadmin -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."
|
||||||
return
|
return
|
||||||
@ -281,9 +284,6 @@ function stop_vmware_nsx_v3 {
|
|||||||
for address in $addresses; do
|
for address in $addresses; do
|
||||||
sudo ip addr add dev $NSX_GATEWAY_NETWORK_INTERFACE $address
|
sudo ip addr add dev $NSX_GATEWAY_NETWORK_INTERFACE $address
|
||||||
done
|
done
|
||||||
|
|
||||||
# Clean client certificate if exists
|
|
||||||
nsxadmin -o clean -r certificate
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Restore xtrace
|
# Restore xtrace
|
||||||
|
Loading…
Reference in New Issue
Block a user