projects
/
osm
/
RO.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extracting stage releasenotes script from stage-test.sh
[osm/RO.git]
/
RO-SDN-onos_vpls
/
osm_rosdn_onos_vpls
/
sdn_assist_onos_vpls.py
diff --git
a/RO-SDN-onos_vpls/osm_rosdn_onos_vpls/sdn_assist_onos_vpls.py
b/RO-SDN-onos_vpls/osm_rosdn_onos_vpls/sdn_assist_onos_vpls.py
index
fa22f10
..
c02ee15
100644
(file)
--- a/
RO-SDN-onos_vpls/osm_rosdn_onos_vpls/sdn_assist_onos_vpls.py
+++ b/
RO-SDN-onos_vpls/osm_rosdn_onos_vpls/sdn_assist_onos_vpls.py
@@
-241,8
+241,10
@@
class OnosVpls(SdnConnectorBase):
# try to rollback push original config
try:
self._post_onos_netconfig(onos_config_orig)
# try to rollback push original config
try:
self._post_onos_netconfig(onos_config_orig)
- except Exception as e:
- self.logger.error("Exception rolling back to original config: %s", e)
+ except Exception as rollback_e:
+ self.logger.error(
+ "Exception rolling back to original config: %s", rollback_e
+ )
# raise exception
if isinstance(e, SdnConnectorError):
# raise exception
if isinstance(e, SdnConnectorError):