From fb10846a1ed22597bfbd8fd6ce77ef1ed05ded70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Malte=20Grebe-L=C3=BCth?= <104556762+belagertem@users.noreply.github.com> Date: Mon, 11 Nov 2024 11:02:41 +0100 Subject: [PATCH] shut down and restart manipulation (#97) added manipulation to shut down and restart the device # Checklist The following aspects have been respected by the author of this pull request, confirmed by both pull request assignee **and** reviewer: * Changelog update (necessity checked and entry added or not added respectively) * [x] Pull Request Assignee * [x] Reviewer * README update (necessity checked and entry added or not added respectively) * [x] Pull Request Assignee * [x] Reviewer --- CHANGELOG.md | 1 + src/t2iapi/device/service.proto | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 57382e9..35691a5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -24,6 +24,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - manipulation SetMdsUiLanguage for devices - manipulation GetMdsUiSupportedLanguages for devices - manipulation InsertContainmentTreeEntryForSequenceId for devices +- manipulation to shut down and restart for devices ## [4.1.0] - 2024-02-22 diff --git a/src/t2iapi/device/service.proto b/src/t2iapi/device/service.proto index 5a5dbe7..708707f 100644 --- a/src/t2iapi/device/service.proto +++ b/src/t2iapi/device/service.proto @@ -222,4 +222,10 @@ service DeviceService { */ rpc InsertContainmentTreeEntryForSequenceId (InsertContainmentTreeEntryForSequenceIdRequest) returns (InsertContainmentTreeEntryForSequenceIdResponse); + + /* + Shut down the device gracefully and then restart it. When restarting, the device should have a new + pm:MdibVersionGroup/@SequenceId. + */ + rpc ShutDownAndRestartDevice (google.protobuf.Empty) returns (BasicResponse); }