昇腾社区首页
中文
注册

tft_notify_controller_on_global_rank

接口功能

提供给MindCluster调用,通知MindIO TFT全局的故障卡信息。

接口格式

mindio_ttp.controller_ttp.tft_notify_controller_on_global_rank(fault_ranks: dict,time:int=1)

接口参数

参数

是否必选

说明

取值要求

fault_ranks

必选

发生故障的卡信息。

<int key, int errorType>字典:

  • key为故障卡的rank号
  • errorType为故障类型:
    • 0:UCE故障。
    • 1:非UCE故障。

time

可选

结合环境变量决定与MindCluster的修复策略交互的最大时间。

int,取值范围1 ~ 3600,缺省值为1。

返回值

  • 0:调用成功
  • 1:调用失败