Add spsId when upserting SAN info
Change-Id: Ia67d7c0219a8cd2bb5e84053bf787eb888a29abd
This commit is contained in:
parent
d9ec1edb1e
commit
bcee6534ba
|
@ -33,6 +33,7 @@ def main():
|
||||||
'issuer': 'symantec',
|
'issuer': 'symantec',
|
||||||
'ipVersion': 'ipv4',
|
'ipVersion': 'ipv4',
|
||||||
'slot_deployment_klass': 'esslType',
|
'slot_deployment_klass': 'esslType',
|
||||||
|
'spsId': None,
|
||||||
'jobId': None}
|
'jobId': None}
|
||||||
|
|
||||||
san_info_dict = {
|
san_info_dict = {
|
||||||
|
@ -48,10 +49,15 @@ def main():
|
||||||
'default value: %s'
|
'default value: %s'
|
||||||
' (if default is None, '
|
' (if default is None, '
|
||||||
'that means a real value has to'
|
'that means a real value has to'
|
||||||
' be input): ' %
|
' be input, except spsId): ' %
|
||||||
(attr,
|
(attr,
|
||||||
san_cert_name,
|
san_cert_name,
|
||||||
san_attribute_default_list[attr]))
|
san_attribute_default_list[attr]))
|
||||||
|
# We allow not inputing spsId, however if it is in
|
||||||
|
# transitioning from the old manual SAN process we NEED
|
||||||
|
# to put in spsId
|
||||||
|
if user_input in ["", None] and attr == "spsId":
|
||||||
|
break
|
||||||
if san_attribute_default_list[attr] is None:
|
if san_attribute_default_list[attr] is None:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue