xapi-project / xapi-storage

Experimental new storage interface for xapi
https://xapi-project.github.io/xapi-storage/
9 stars 19 forks source link

[477 idl part2] sharable flag, SR.create/SR.attach API change, introduce redirection exception #70

Closed edwintorok closed 6 years ago

edwintorok commented 6 years ago

This is part of the SMAPIv3 interface change from feature/REQ477/master, has to be merged together with these PRs: xapi-project/sm-cli#26 xapi-project/xapi-storage-script#56 xapi-project/xcp-idl#202 https://github.com/xapi-project/xen-api/pull/3433

The sharable flag is explained in the xcp-idl commit: https://github.com/xapi-project/xcp-idl/commit/c8bfaf9d61c547df42fac12f5d05b0165e24b83b

SMAPIv3: The activated on exception/redirection is explained here (SMAPIv3 can require snapshots to be taken on the host that has the VM running, instead of the master): https://github.com/xapi-project/xen-api/commit/620acd20e2753a7f10a970e6f1850b325fea082a SMAPIv2 uses a similar mechanism internally to redirect requests to the master (e.g. in case of storage migration).