Grid eXchange Fabric Documentation

  Fix This Page

SetReboot

Description

Request which notifies the device to reboot immediately. After a reboot, the device will switch its relays according to its schedule. Any ad hoc changes to relays will be lost.

Response communicates status.

Message definitions

message SetRebootRequest {
    optional bool present = 1 [default = true];
}

message SetRebootResponse {
    required Status status = 1;
}

Data types

enum Status {
    OK = 0;
    FAILURE = 1; // general failure
    REJECTED = 2; // request received in wrong state
}

Example

Soap requests and responses sent to and from platform:


   
       LianderNetManagement
       liander gebruiker
       WEB_NET_MANAGEMENT
   
   
      
         
         device-01
      
   



   
   
      
         
            LianderNetManagement|||device-01|||20160104153201024
            device-01
         
      
   



   
   LianderNetManagement
   liander gebruiker
   WEB_NET_MANAGEMENT
   
   
      
         
            
            LianderNetManagement|||device-01|||20160104153201024
            
            device-01
         
      
   



   
   
      
         OK
      
   

OSLP SetRebootRequest message sent to 'device-01':

setRebootRequest {
}

OSLP SetRebootResponse sent to platform:

setRebootResponse {
  status: OK
}