Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for RebootMethod_HALT for Reboot API #286

Merged
merged 1 commit into from
Nov 1, 2024

Conversation

vvolam
Copy link
Contributor

@vvolam vvolam commented Sep 10, 2024

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)

  • 201811
  • 201911
  • 202006
  • 202012
  • 202106
  • 202111

Description for the changelog

Link to config_db schema for YANG module changes

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

@vvolam vvolam requested a review from qiluo-msft September 10, 2024 23:27
@vvolam vvolam marked this pull request as ready for review September 13, 2024 23:24
gnmi_server/gnoi.go Outdated Show resolved Hide resolved
sonic_service_client/dbus_client.go Outdated Show resolved Hide resolved
test/test_gnoi.py Outdated Show resolved Hide resolved
test/test_gnoi.py Outdated Show resolved Hide resolved
hdwhdw
hdwhdw previously approved these changes Sep 18, 2024
@qiluo-msft
Copy link
Collaborator

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)

@vvolam
Copy link
Contributor Author

vvolam commented Sep 20, 2024

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.

hdwhdw
hdwhdw previously approved these changes Sep 20, 2024
ganglyu
ganglyu previously approved these changes Sep 23, 2024
qiluo-msft
qiluo-msft previously approved these changes Oct 31, 2024
@vvolam vvolam dismissed stale reviews from qiluo-msft, ganglyu, and hdwhdw via fe82369 November 1, 2024 21:54
@vvolam
Copy link
Contributor Author

vvolam commented Nov 1, 2024

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

@qiluo-msft qiluo-msft merged commit e844925 into sonic-net:master Nov 1, 2024
5 checks passed
@vvolam vvolam deleted the os_reboot_halt branch November 3, 2024 19:36
qiluo-msft pushed a commit to sonic-net/sonic-host-services that referenced this pull request Nov 8, 2024
As part of sonic-net/sonic-gnmi#286 changes, we require dbus support for executing HALT method.

This PR adds support for execute_reboot for invoking reboot methods.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants