Details
-
Task
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
Right now it is not easy for users to consume CSI disks. They need to come up with a framework to convert RAW disks to MOUNT disks first, then the MOUNT disks can be consumed by existing frameworks, e.g., Marathon. It could be nice to have a utility framework to do this, say we could change src/examples/test_csi_user_framework.cpp to become a utility executable to provide the following functionalities:
- create: takes a profile and a size and registers a framework to wait for an offer of a RAW disk matching the given profile and size then convert it to a MOUNT disk.
- destroy: takes a vendor and an id and registers a framework to wait for an offer of a MOUNT disk matching the given vendor and id then convert it to a RAW disk.