File tree Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Expand file tree Collapse file tree 2 files changed +10
-12
lines changed Original file line number Diff line number Diff line change @@ -215,25 +215,15 @@ message NvmePath {
215
215
// xPU's PCI/Fabrics endpoint for the controller.
216
216
// One of the values is required
217
217
// see https://github.com/aip-dev/google.aip.dev/issues/1147 for field_behavior annotations
218
- oneof path {
218
+ oneof endpoint {
219
219
// Required for pcie transport type.
220
220
PciEndpoint pcie = 4 [(google.api.field_behavior ) = OPTIONAL ];
221
221
222
222
// Required for Nvme over fabrics transport types
223
- FabricsPath fabrics = 5 [(google.api.field_behavior ) = OPTIONAL ];
223
+ FabricsEndpoint fabrics = 5 [(google.api.field_behavior ) = OPTIONAL ];
224
224
}
225
225
}
226
226
227
- // Represents Fabrics transport path parameters
228
- message FabricsPath {
229
-
230
- // Destination fabrics endpoint
231
- FabricsEndpoint dst = 1 [(google.api.field_behavior ) = REQUIRED ];
232
-
233
- // Source fabrics endpoint
234
- FabricsEndpoint src = 3 [(google.api.field_behavior ) = OPTIONAL ];
235
- }
236
-
237
227
// Represent Nvme namespace created on bridge after connection to a target
238
228
message NvmeRemoteNamespace {
239
229
// namespace's unique key. Assign to middle/front-end objects.
Original file line number Diff line number Diff line change @@ -72,6 +72,14 @@ message FabricsEndpoint {
72
72
73
73
// address family
74
74
NvmeAddressFamily adrfam = 3 [(google.api.field_behavior ) = REQUIRED ];
75
+
76
+ // source address (e.g. IP of local NIC)
77
+ // not used for frontend
78
+ string source_traddr = 4 [(google.api.field_behavior ) = OPTIONAL ];
79
+
80
+ // source port (e.g. Port of local NIC)
81
+ // not used for frontend
82
+ string source_trsvcid = 5 [(google.api.field_behavior ) = OPTIONAL ];
75
83
}
76
84
77
85
// Represents Volume statistics
You can’t perform that action at this time.
0 commit comments