def delete_intf_router(self, tenant_id, tenant_name, router_id):
in_sub = self.get_in_subnet_id(tenant_id)<EOL>out_sub = self.get_out_subnet_id(tenant_id)<EOL>subnet_lst = set()<EOL>subnet_lst.add(in_sub)<EOL>subnet_lst.add(out_sub)<EOL>router_id = self.get_router_id(tenant_id, tenant_name)<EOL>if router_id:<EOL><INDENT>ret = self.os_helper.delete_intf_router(tenant_name, tenant_id,<EOL>router_id, subnet_lst)<EOL>if not ret:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>",<EOL>{'<STR_LIT>': router_id, '<STR_LIT>': tenant_id})<EOL><DEDENT>return ret<EOL><DEDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>")<EOL>
Routine to delete the router.