@lansweeper/data-platform-outbound-grpc 0.1.21 → 0.1.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/gen-proto/image.json +1 -1
- package/gen-proto/outbound_pb.d.ts +119 -0
- package/gen-proto/outbound_pb.js +1067 -68
- package/generated-go/outbound.pb.go +1830 -1475
- package/java.json +1 -1
- package/package.json +2 -2
- package/proto/outbound.proto +38 -0
package/java.json
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lansweeper/data-platform-outbound-grpc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.22",
|
|
4
4
|
"description": "Data Platform Outbound gRPC",
|
|
5
5
|
"main": "gen-proto/index.js",
|
|
6
6
|
"types": "gen-proto/index.d.ts",
|
|
@@ -9,5 +9,5 @@
|
|
|
9
9
|
"@grpc/grpc-js": "^1.5.1",
|
|
10
10
|
"google-protobuf": "^3.17.0"
|
|
11
11
|
},
|
|
12
|
-
"gitHead": "
|
|
12
|
+
"gitHead": "09a9499e8b2fd62fe7526d8a78e8e942af422d98"
|
|
13
13
|
}
|
package/proto/outbound.proto
CHANGED
|
@@ -132,6 +132,8 @@ message Asset {
|
|
|
132
132
|
|
|
133
133
|
repeated Processor processor = 15;
|
|
134
134
|
|
|
135
|
+
optional OtModule ot_module = 16; // OT specific module info when asset type is 'OT'
|
|
136
|
+
|
|
135
137
|
// Reconciliation future
|
|
136
138
|
//string entry_state = 2; // GOLDEN | ALIAS
|
|
137
139
|
//string master_type = 3; // NULL | ENGINE | USER
|
|
@@ -141,6 +143,37 @@ message Asset {
|
|
|
141
143
|
|
|
142
144
|
}
|
|
143
145
|
|
|
146
|
+
/**
|
|
147
|
+
* OT module/card specific info.
|
|
148
|
+
* Information about belonging rack and:
|
|
149
|
+
* - if it's main module, reference to all sub-modules
|
|
150
|
+
* - if it's sub-module, reference to parent main
|
|
151
|
+
* HW info: in HW standard section.
|
|
152
|
+
* OS info: in OS standard section.
|
|
153
|
+
*/
|
|
154
|
+
message OtModule {
|
|
155
|
+
optional EntityPath parent_id = 1; // parent module
|
|
156
|
+
repeated EntityPath sub_module_id = 2;
|
|
157
|
+
|
|
158
|
+
int32 rack_number = 3;
|
|
159
|
+
string rack_name = 4;
|
|
160
|
+
int32 rack_size = 5;
|
|
161
|
+
int32 slot = 6;
|
|
162
|
+
int32 slot_width = 7;
|
|
163
|
+
|
|
164
|
+
bool is_main_module = 8;
|
|
165
|
+
|
|
166
|
+
optional string component_type = 9;
|
|
167
|
+
|
|
168
|
+
optional string part_number = 10;
|
|
169
|
+
|
|
170
|
+
repeated OtModuleExtInfo ext_info = 11;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
message OtModuleExtInfo {
|
|
174
|
+
string key = 1;
|
|
175
|
+
string value = 2;
|
|
176
|
+
}
|
|
144
177
|
|
|
145
178
|
/**
|
|
146
179
|
* Asset Type enables customers to manage the settings for a
|
|
@@ -221,6 +254,7 @@ message OperatingSystemInfo {
|
|
|
221
254
|
|
|
222
255
|
oneof spec {
|
|
223
256
|
WindowsOperatingSystemInfo windows = 32;
|
|
257
|
+
OtFirmwareInfo ot = 33;
|
|
224
258
|
}
|
|
225
259
|
}
|
|
226
260
|
|
|
@@ -243,6 +277,10 @@ message OperatingSystemPatch {
|
|
|
243
277
|
|
|
244
278
|
}
|
|
245
279
|
|
|
280
|
+
message OtFirmwareInfo {
|
|
281
|
+
string firmware = 1;
|
|
282
|
+
}
|
|
283
|
+
|
|
246
284
|
message WindowsOperatingSystemInfo {
|
|
247
285
|
optional string version = 1;
|
|
248
286
|
optional int32 service_pack = 2;
|