SEBA-259
Added testing of username/password for xos
Change-Id: I9d2d3dd32d217d4f2c13bae843df427fddc631fb
diff --git a/api/abstract_olt_api.proto b/api/abstract_olt_api.proto
index 6604703..dd8fcea 100644
--- a/api/abstract_olt_api.proto
+++ b/api/abstract_olt_api.proto
@@ -25,14 +25,25 @@
message AddChassisMessage{
string CLLI =1;
- string VCoreIP =2;
- int32 VCorePort=3;
- int32 Rack=4;
- int32 Shelf=5;
+ string XOSIP =2;
+ int32 XOSPort=3;
+ string XOSUser=4;
+ string XOSPassword=5;
+ int32 Rack=6;
+ int32 Shelf=7;
}
message AddChassisReturn{
string DeviceID = 1;
}
+message ChangeXOSUserPasswordMessage{
+ string CLLI =1;
+ string XOSUser=2;
+ string XOSPassword=3;
+}
+message ChangeXOSUserPasswordReturn{
+ bool Success=1;
+}
+
message AddOLTChassisMessage{
string CLLI=1;
string SlotIP=2;
@@ -100,6 +111,12 @@
body:"*"
};
}
+ rpc ChangeXOSUserPassword(ChangeXOSUserPasswordMessage) returns(ChangeXOSUserPasswordReturn){
+ option(google.api.http)={
+ post:"/v1/ChangeXOSUserPassword"
+ body:"*"
+ };
+ }
rpc CreateOLTChassis(AddOLTChassisMessage) returns (AddOLTChassisReturn) {
option(google.api.http) = {
post: "/v1/CreateOLTChassis"