Skip to content

Bug:Missing gNOI metadata propagation #25194

@rameshraghupathy

Description

@rameshraghupathy

Is it platform specific

generic

Importance or Severity

High

Description of the bug

SmartSwitch DPU gNOI calls require metadata headers such as target type/index. The helper stack did not propagate metadata through PtfGnoi and PtfGrpc.

Affected APIs:

PtfGnoi.system_time
PtfGnoi.file_transfer_to_remote
PtfGnoi.system_set_package
PtfGrpc.call_unary
PtfGrpc.call_client_streaming

Steps to Reproduce

Run full SmartSwitch DPU+NPU gNOI upgrade.

Actual Behavior and Expected Behavior

Actual:
DPU routed calls fail with errors like:

TypeError: PtfGnoi.system_time() got an unexpected keyword argument 'metadata'

Expected:
All gNOI helper calls should accept and forward metadata as grpcurl -H headers.

Relevant log output

Output of show version

Attach files (if any)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions