Add Debug Log
Adding debug log statment to sync out-of-tree driver with in-tree as per https://github.com/openstack/nova/commit/ 8545ba2af7476e0884b5e7fb90965bef92d605bc#diff- 5dc5ac3c2bf8010333f1752a1e70ce18 Change-Id: Ia2247b11539070127e509335905351e1695c43d2
This commit is contained in:
parent
98630ef89e
commit
81b9b497c7
|
@ -1,4 +1,4 @@
|
||||||
# Copyright 2015, 2018 IBM Corp.
|
# Copyright 2015, 2019 IBM Corp.
|
||||||
#
|
#
|
||||||
# All Rights Reserved.
|
# All Rights Reserved.
|
||||||
#
|
#
|
||||||
|
@ -77,6 +77,9 @@ class ConfigDrivePowerVM(object):
|
||||||
network_info = copy.deepcopy(network_info)
|
network_info = copy.deepcopy(network_info)
|
||||||
for vif in network_info:
|
for vif in network_info:
|
||||||
if vif.get('type') != 'ovs':
|
if vif.get('type') != 'ovs':
|
||||||
|
LOG.debug('Changing vif type from %(type)s to vif for vif '
|
||||||
|
'%(id)s.', {'type': vif.get('type'),
|
||||||
|
'id': vif.get('id')})
|
||||||
vif['type'] = 'vif'
|
vif['type'] = 'vif'
|
||||||
return network_info
|
return network_info
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue