"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tacker/nfvo/drivers/vim/openstack_driver.py" between
tacker-3.0.0.tar.gz and tacker-3.0.1.tar.gz

About: OpenStack Tacker builds an Open NFV Orchestrator with in-built general purpose VNF Manager to deploy and operate Virtual Network Functions (VNFs) on an NFV Platform.
The "Ussuri" series (maintained release).

openstack_driver.py  (tacker-3.0.0):openstack_driver.py  (tacker-3.0.1)
skipping to change at line 253 skipping to change at line 253
except Exception as ex: except Exception as ex:
LOG.warning('VIM key creation failed for vim %s due to %s', LOG.warning('VIM key creation failed for vim %s due to %s',
vim_id, vim_id,
ex) ex)
raise raise
else: else:
auth['key_type'] = 'fernet_key' auth['key_type'] = 'fernet_key'
key_file = os.path.join(CONF.vim_keys.openstack, vim_id) key_file = os.path.join(CONF.vim_keys.openstack, vim_id)
try: try:
with open(key_file, 'w') as f: with open(key_file, 'wb') as f:
if six.PY2: if six.PY2:
f.write(fernet_key.decode('utf-8')) f.write(fernet_key.decode('utf-8'))
else: else:
f.write(fernet_key) f.write(fernet_key)
LOG.debug('VIM auth successfully stored for vim %s', LOG.debug('VIM auth successfully stored for vim %s',
vim_id) vim_id)
except IOError: except IOError:
raise nfvo.VimKeyNotFoundException(vim_id=vim_id) raise nfvo.VimKeyNotFoundException(vim_id=vim_id)
@log.log @log.log
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)