8
8
- [ Non-Goals] ( #non-goals )
9
9
- [ Proposal] ( #proposal )
10
10
- [ API - ResourceClaim.Status] ( #api---resourceclaimstatus )
11
- - [ User Stories (Optional) ] ( #user-stories-optional )
11
+ - [ User Stories] ( #user-stories )
12
12
- [ Story 1 - Network Device Status for Network Services] ( #story-1---network-device-status-for-network-services )
13
13
- [ Story 2 - Network Device Status for Troubleshooting] ( #story-2---network-device-status-for-troubleshooting )
14
- - [ Notes/Constraints/Caveats (Optional) ] ( #notesconstraintscaveats-optional )
14
+ - [ Notes/Constraints/Caveats] ( #notesconstraintscaveats )
15
15
- [ Risks and Mitigations] ( #risks-and-mitigations )
16
16
- [ Design Details] ( #design-details )
17
17
- [ API] ( #api )
@@ -127,8 +127,7 @@ The API changes define a new `Devices` field in the existing
127
127
` AllocatedDeviceStatus ` which holds device specific information.
128
128
129
129
A device, identified by ` <driver name>/<pool name>/<device name> ` can be
130
- represented only once in the ` Devices ` slice and will also mention which
131
- request caused the device to be allocated. The state and characteristics of the
130
+ represented only once in the ` Devices ` slice. The state and characteristics of the
132
131
device are reported in the ` Conditions ` , representing the operational state of
133
132
the device and in the ` Data ` , an arbitrary data field representing device
134
133
specific characteristics. Additionally, for networking devices, a field
@@ -204,12 +203,12 @@ type AllocatedDeviceStatus struct {
204
203
// Data contains arbitrary driver-specific data.
205
204
//
206
205
// +optional
207
- Data runtime.RawExtension ` json:"data,omitempty" protobuf:"bytes,5,opt,name=data"`
206
+ Data * runtime.RawExtension ` json:"data,omitempty" protobuf:"bytes,5,opt,name=data"`
208
207
209
208
// NetworkData contains network-related information specific to the device.
210
209
//
211
210
// +optional
212
- NetworkData NetworkDeviceData ` json:"networkData,omitempty" protobuf:"bytes,6,opt,name=networkData"`
211
+ NetworkData * NetworkDeviceData ` json:"networkData,omitempty" protobuf:"bytes,6,opt,name=networkData"`
213
212
}
214
213
215
214
// NetworkDeviceData provides network-related details for the allocated device.
@@ -221,13 +220,13 @@ type NetworkDeviceData struct {
221
220
// network interface.
222
221
//
223
222
// +optional
224
- InterfaceName string ` json:"interfaceName,omitempty" protobuf:"bytes,1,opt,name=interfaceName"`
223
+ InterfaceName * string ` json:"interfaceName,omitempty" protobuf:"bytes,1,opt,name=interfaceName"`
225
224
226
225
// Addresses lists the network addresses assigned to the device's network interface.
227
226
// This can include both IPv4 and IPv6 addresses.
228
227
// The addresses are in the CIDR notation, which includes both the address and the
229
228
// associated subnet mask.
230
- // e.g.: "192.0.2.0 /24" for IPv4 and "2001:db8::/64" for IPv6.
229
+ // e.g.: "192.0.2.5 /24" for IPv4 and "2001:db8::5 /64" for IPv6.
231
230
//
232
231
// +optional
233
232
// +listType=atomic
@@ -236,11 +235,11 @@ type NetworkDeviceData struct {
236
235
// HWAddress represents the hardware address (e.g. MAC Address) of the device's network interface.
237
236
//
238
237
// +optional
239
- HWAddress string ` json:"hwAddress,omitempty" protobuf:"bytes,3,opt,name=hwAddress"`
238
+ HWAddress * string ` json:"hwAddress,omitempty" protobuf:"bytes,3,opt,name=hwAddress"`
240
239
}
241
240
```
242
241
243
- ### User Stories (Optional)
242
+ ### User Stories
244
243
245
244
#### Story 1 - Network Device Status for Network Services
246
245
@@ -263,7 +262,7 @@ network interfaces helping to quickly and efficiently identify the issues such
263
262
as error messages on failed network interface configuration, incorrect IP
264
263
assignments or misconfigured network interfaces.
265
264
266
- ### Notes/Constraints/Caveats (Optional)
265
+ ### Notes/Constraints/Caveats
267
266
268
267
The content of ` Data ` is driver specific and not standardized as part of
269
268
DRA, the interpretation of this field may then vary between controllers and
0 commit comments