Updated Rules for adding new device types (markdown)

Uwe Seimet 2022-03-04 11:54:56 +01:00
parent 24959c7671
commit 63597dec53

@ -4,7 +4,7 @@ Steps for adding a new device type:
1. Add the device type to the PbDeviceType enum of the protobuf definition. 1. Add the device type to the PbDeviceType enum of the protobuf definition.
2. Add code for creating the device type to the DeviceFactory class. The device instance and all devices-specific properties have to be created by this class. 2. Add code for creating the device type to the DeviceFactory class. The device instance and all devices-specific properties have to be created by this class.
3. Add the device-type specific implementation in new .cpp/.h files. 3. Add the device type specific implementation in new .cpp/.h files.
4. Ensure to initialize the device type with its device type properties. 4. Ensure to initialize the device type with its device type properties.
5. Verify that _rasctl -s_ reports the correct device type properties. 5. Verify that _rasctl -s_ reports the correct device type properties.
6. Update the manpages. 6. Update the manpages.