Skip to content

Incomplete gNMI updates #12

@bluecmd

Description

@bluecmd

In some cases, for SONIX this is on both lab-xpd1 and lab-xpd2 as of this writing, the update seems to be incomplete:

update: {
  timestamp: 1730558895000000000
  update: {
    path: {
      elem: {
        name: "openconfig-platform:components"
      }
      elem: {
        name: "component"
        key: {
          key: "name"
          value: "MCU-1-41"
        }
      }
      elem: {
        name: "state"
      }
    }
    val: {
      json_ietf_val: "{\"memory\":{\"available\":\"4243460096\"}}"
    }
  }
}
extension: {
  registered_ext: {
    id: 102
    msg: "OptiXtrans DC908"
  }
}
extension: {
  registered_ext: {
    id: 103
    msg: "xxx"
  }
}

and

update: {
  timestamp: 1730558897000000000
  update: {
    path: {
      elem: {
        name: "openconfig-platform:components"
      }
      elem: {
        name: "component"
        key: {
          key: "name"
          value: "OCH-1-1-L1"
        }
      }
      elem: {
        name: "openconfig-terminal-device:optical-channel"
      }
      elem: {
        name: "state"
      }
    }
    val: {
      json_ietf_val: "{\"laser-freq-offset\":\"656\"}"
    }
  }
}
extension: {
  registered_ext: {
    id: 102
    msg: "OptiXtrans DC908"
  }
}
extension: {
  registered_ext: {
    id: 103
    msg: "xxx"
  }
}

and

update: {
  timestamp: 1730559030000000000
  update: {
    path: {
      elem: {
        name: "openconfig-platform:components"
      }
      elem: {
        name: "component"
        key: {
          key: "name"
          value: "PSU-1-21"
        }
      }
      elem: {
        name: "power-supply"
      }
      elem: {
        name: "state"
      }
    }
    val: {
      json_ietf_val: "{\"output-power\":\"QwwAAA==\"}"
    }
  }
}
extension: {
  registered_ext: {
    id: 102
    msg: "OptiXtrans DC908"
  }
}
extension: {
  registered_ext: {
    id: 103
    msg: "10.99.99.31"
  }
}

Is only the first field serialized? If so, why? Is there something else going on?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions