def delete_intf_router(self, name, tenant_id, rout_id, subnet_lst):
try:<EOL><INDENT>for subnet_id in subnet_lst:<EOL><INDENT>body = {'<STR_LIT>': subnet_id}<EOL>intf = self.neutronclient.remove_interface_router(rout_id,<EOL>body=body)<EOL>intf.get('<STR_LIT:id>')<EOL><DEDENT><DEDENT>except Exception as exc:<EOL><INDENT>LOG.error("<STR_LIT>"<EOL>"<STR_LIT>", {'<STR_LIT:name>': name, '<STR_LIT>': str(exc)})<EOL>return False<EOL><DEDENT>return True<EOL>
Delete the openstack router and remove the interfaces attached.