def delete_topology_entry(self, **req):
session = db.get_session()<EOL>with session.begin(subtransactions=True):<EOL><INDENT>try:<EOL><INDENT>rows = session.query(DfaTopologyDb).filter_by(**req).all()<EOL><DEDENT>except orm_exc.NoResultFound:<EOL><INDENT>LOG.info("<STR_LIT>", req)<EOL>return<EOL><DEDENT>try:<EOL><INDENT>for row in rows:<EOL><INDENT>session.delete(row)<EOL><DEDENT><DEDENT>except Exception as exc:<EOL><INDENT>LOG.error("<STR_LIT>", str(exc))<EOL><DEDENT><DEDENT>
Delete the entries from the topology DB.