Grid eXchange Fabric Documentation

  Fix This Page

SwitchConfiguration

Description

Request to switch from the current (active) configuration set to the other configuration set, indicated by the configuration set index.

Message definitions

message SwitchConfigurationRequest {
    required bytes newConfigurationSet = 1; // [(nanopb).max_count = 1]; // The index of the configuration set (0,1).
}

message SwitchConfigurationResponse {
    required Status status = 1; // FIRMWARE_EVENTS_CONFIGURATION_CHANGED Event will be sent, after the Configuration change.
}

Datatypes

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:


   
      SoapUI
      Kevin
      LianderNetManagement
   
   
      
         
         device-01
         
         1
      
   



   
   
      
         
            LianderNetManagement|||device-01|||20160313210830055
            device-01
         
      
   



   
      SoapUI
      Kevin
      LianderNetManagement
   
   
      
         
            
            LianderNetManagement|||device-01|||20160313210830055
            
            device-01
         
      
   



   
   
      
         OK
      
   

OSLP messages:

switchConfigurationRequest {
  newConfigurationSet: "1"
}

switchConfigurationResponse {
  status: OK
}