Add spsId when upserting SAN info

Change-Id: Ia67d7c0219a8cd2bb5e84053bf787eb888a29abd
This commit is contained in:
tonytan4ever 2015-10-25 20:06:20 -04:00
parent d9ec1edb1e
commit bcee6534ba
1 changed files with 7 additions and 1 deletions

View File

@ -33,6 +33,7 @@ def main():
'issuer': 'symantec',
'ipVersion': 'ipv4',
'slot_deployment_klass': 'esslType',
'spsId': None,
'jobId': None}
san_info_dict = {
@ -48,10 +49,15 @@ def main():
'default value: %s'
' (if default is None, '
'that means a real value has to'
' be input): ' %
' be input, except spsId): ' %
(attr,
san_cert_name,
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:
continue
else: