def delete_router(self, name, tenant_id, rout_id, subnet_lst):
ret = self.delete_intf_router(name, tenant_id, rout_id, subnet_lst)<EOL>if not ret:<EOL><INDENT>return False<EOL><DEDENT>try:<EOL><INDENT>ret = self.neutronclient.delete_router(rout_id)<EOL><DEDENT>except Exception as exc:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>",<EOL>{'<STR_LIT:name>': name, '<STR_LIT>': str(ret), '<STR_LIT>': str(exc)})<EOL>return False<EOL><DEDENT>return True<EOL>
Delete the openstack router.

        Delete the router and remove the interfaces attached to it.