Usage

To use the Volume Service of the cloud, one should build a cloud instance first. And If the server support the service of Volume, you will automatically get a volume service instance within the built cloud service.

conn_args = {
        'api_url': 'http://202.120.40.178:35000/v2.0',
        'username': 'admin',
        'password': 'incongruous',
        'project_name': 'demo',
    }
cloud = Cloud(**conn_args)
cloud.volumev2.volumes()

results matching ""

    No results matching ""