sonic-net / sonic-gnmi

SONiC gNMI server and gNOI repo
Other
22 stars 52 forks source link

Add support for RebootMethod_HALT for Reboot API #286

Closed vvolam closed 3 weeks ago

vvolam commented 2 months ago

Why I did it

Add support for HALT reboot method for Reboot gNOI API

How I did it

Implement changes for HaltSystem() function to be called when HALT reboot method is invoked.

How to verify it

Unit tests

Which release branch to backport (provide reason below if selected)

Description for the changelog

Link to config_db schema for YANG module changes

A picture of a cute animal (not mandatory but encouraged)

qiluo-msft commented 2 months ago

Do not change a file with only empty lines in diff.


Refers to: gnoi_client/gnoi_client.go:353 in 5f81358. [](commit_id = 5f8135848c00ed60c81dc5ac51e06a884312b666, deletion_comment = False)

vvolam commented 2 months ago

Do not change a file with only empty lines in diff.

Refers to: gnoi_client/gnoi_client.go:353 in 5f81358. [](commit_id = 5f81358, deletion_comment = False)

@qiluo-msft Removed the empty lines change. Thank you.

vvolam commented 3 weeks ago

Fixed the merging conflicts. @hdwhdw @ganglyu @qiluo-msft please re-approve.