sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
741 stars 1.44k forks source link

Multi-asic support for ApplyPatchDb API #20874

Open agadia-cisco opened 1 week ago

agadia-cisco commented 1 week ago
levhuan commented 1 week ago

Per this change GCU apply-patch to support multi-asic, the namespace/asic ID is the prefix in the path in JSON file. Will need to change MixedDbClient.ConvertToJsonPatch() to include the asic namespace in the path.

Is this a known issue? If not, Cisco can work on a PR for this.

rlhui commented 2 days ago

Per this change GCU apply-patch to support multi-asic, the namespace/asic ID is the prefix in the path in JSON file. Will need to change MixedDbClient.ConvertToJsonPatch() to include the asic namespace in the path.

Is this a known issue? If not, Cisco can work on a PR for this.

@ganglyu please help answer? thanks.

ganglyu commented 2 days ago

We haven't verified this feature with a multi-ASIC device. Your assistance in resolving this issue would be greatly appreciated.