This patch fixes a couple of DVR log strings that
was not reporting the right information.
Change-Id: Ic6919d00214a001ecdaa709c4e0f01a84adab2c7
if is_add:
exc = _LE('DVR: error adding redirection logic')
else:
- exc = _LE('DVR: removed snat failed')
+ exc = _LE('DVR: snat remove failed to clear the rule '
+ 'and device')
LOG.exception(exc)
def _snat_redirect_add(self, gateway, sn_port, sn_int):
if match_port:
return match_port[0]
else:
- LOG.error(_LE('DVR: no map match_port found!'))
+ LOG.error(_LE('DVR: SNAT port not found in the list '
+ '%(snat_list)s for the given router '
+ ' internal port %(int_p)s'), {
+ 'snat_list': snat_ports,
+ 'int_p': int_port})