Add Python3 charm jobs Change-Id: I2c31bc9403ecb3d5981817848e7cc0962f06e591
Add Python3 charm jobs
Change-Id: I2c31bc9403ecb3d5981817848e7cc0962f06e591
Basic interface for sending Cinder subordinate backend configuration to principle Cinder charms.
This interface layer will set the following state:
{relation_name}.connected
For example, the subordinate would handle the cinder-backend.connected state with something like:
cinder-backend.connected
@when('cinder-backend.connected') def configure_cinder(cinder_principal): config = {'api-endpoint': '1.2.3.4', 'admin-username': 'admin', 'admin-password': 'openstack', 'api-version': '1.0'} cinder_principle.configure_principal( backend_name='my_backend', configuration=config)
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
Overview
Basic interface for sending Cinder subordinate backend configuration to principle Cinder charms.
Usage
Requires
This interface layer will set the following state:
{relation_name}.connectedThe relation is established, but the charm may not have provided any backend information.For example, the subordinate would handle the
cinder-backend.connectedstate with something like:Contact Information