Skip to content

Add support for RebootMethod_HALT for Reboot API#286

Merged
qiluo-msft merged 1 commit intosonic-net:masterfrom
vvolam:os_reboot_halt
Nov 1, 2024
Merged

Add support for RebootMethod_HALT for Reboot API#286
qiluo-msft merged 1 commit intosonic-net:masterfrom
vvolam:os_reboot_halt

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
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
@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