]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Implement Huawei SDSHypervisor connector
authorzhangni <zhangni@huawei.com>
Thu, 4 Dec 2014 08:38:18 +0000 (16:38 +0800)
committerzhangni <zhangni@huawei.com>
Wed, 17 Dec 2014 03:35:10 +0000 (11:35 +0800)
commitf6343dfc4fa460dc2e301e73b66c07f08826cd03
tree6e25ab0754e32b4fb54e4bc3816fdbfcf8cbb40e
parent5259bd7f6010f17a129e6bbb1d8e486e93b33b03
Implement Huawei SDSHypervisor connector

Huawei SDSHypervisor uses a private key-value data protocal,
so we add a new connector inherited from InitiatorConnector
and implement connect_volume and disconnect_volume.

The connector uses sds_cli cmd to implement attach/detach/querydev vol,
sds_cli will be put to a specific dir and the path is registered as a
system environment variable when sds is installed.

Change-Id: I4fa3306df982347afb5fb8e5d4d14612024b643a
Implements: blueprint huawei-sdshypervisor-driver
cinder/brick/initiator/connector.py
cinder/tests/brick/test_brick_connector.py