root / svc / TODO @ master
History | View | Annotate | Download (1.3 kB)
1 | 2eba2338 | Stratos Psomadakis | - Fix _is_vdisk_defined (see FIXME comment there) |
---|---|---|---|
2 | 2eba2338 | Stratos Psomadakis | - Code duplication (subprocess wrappers, anything else?) |
3 | 2eba2338 | Stratos Psomadakis | - Config file opts 'parsing' (too complex? ) |
4 | 2eba2338 | Stratos Psomadakis | - Consistent use of datatypes (int for VOL_SIZE, port, host_id, string |
5 | 2eba2338 | Stratos Psomadakis | for everything else). Related to the above. |
6 | 2eba2338 | Stratos Psomadakis | - Make consistent use of exceptions / consistent error handling |
7 | 2eba2338 | Stratos Psomadakis | - What are the semantics of the verify op? |
8 | 2eba2338 | Stratos Psomadakis | - Refactoring: |
9 | 2eba2338 | Stratos Psomadakis | *) _get_params / _read_config are not 'consistent' (set attrs and |
10 | 2eba2338 | Stratos Psomadakis | return some opts for SVC connection) |
11 | 2eba2338 | Stratos Psomadakis | *) make the interface more clear (how do we init the provider, |
12 | 2eba2338 | Stratos Psomadakis | SVC connection, how to we issue the ops, do we need oop / |
13 | 2eba2338 | Stratos Psomadakis | classes |
14 | 2eba2338 | Stratos Psomadakis | - Check code taken from the original cinder driver (driver_assert, |
15 | 2eba2338 | Stratos Psomadakis | paramiko code, svc cmds) |
16 | 2eba2338 | Stratos Psomadakis | - Verify multipath / dmsetup / scsi rescan cmds work as intended |
17 | 2eba2338 | Stratos Psomadakis | (and that they work ok with udev, when certain rules are disabled) |
18 | 2eba2338 | Stratos Psomadakis | - Lots of rtts to the SVC for no reason (is_vdisk_defined, get_attrs |
19 | 2eba2338 | Stratos Psomadakis | etc). Maybe have a separate volume class (overkill) or private attrs |
20 | 2eba2338 | Stratos Psomadakis | for volume specific stuff? |
21 | 2eba2338 | Stratos Psomadakis | - Unittests probably need rewriting from scratch |
22 | 2eba2338 | Stratos Psomadakis | - We currently rely on rescan-scsi-bus etc for scanning. Check which |
23 | 2eba2338 | Stratos Psomadakis | package provides it (probably scsi-tools). Fallback to manual |
24 | 2eba2338 | Stratos Psomadakis | scanning (via sysfs files) if not available? |
25 | 2eba2338 | Stratos Psomadakis | - Fix vdisk attribute getting (wrapper fun to return SVCError on key |
26 | 2eba2338 | Stratos Psomadakis | error / malformed vdiks attrs |