blob: a0bce8978892c29df7e016f40a9757a582874551 [file] [log] [blame]
Peter Pentchev469dfea2022-06-27 12:48:18 +03001options:
2 driver-source:
3 type: string
Biser Milanov8bc000b2022-08-08 14:39:29 +03004 default: ppa:openstack-dev-s/storpool-charm
Peter Pentchev469dfea2022-06-27 12:48:18 +03005 description: |
Biser Milanov8bc000b2022-08-08 14:39:29 +03006 Repository that holds the packages required for the StorPool backend to
7 work.
Peter Pentchev469dfea2022-06-27 12:48:18 +03008 driver-key:
9 type: string
10 default:
11 description: |
12 Key ID to import to the apt keyring to support use with arbitary source
13 configuration from outside of Launchpad archives or PPA's.
14 use-multipath:
15 type: boolean
16 default: True
17 description: |
18 Whether to use a multipath connection for iSCSI or FC in Cinder
19 volume service. Enabling multipath for VMs is managed by the
20 "use-multipath" option in the nova-compute charm.
21 protocol:
22 type: string
Biser Milanov2d0ec582022-08-05 10:15:19 +030023 default: iscsi
Peter Pentchev469dfea2022-06-27 12:48:18 +030024 description: |
Biser Milanov8d9bec72022-08-08 10:09:23 +030025 The only supported value is "iscsi"; there may be experimental
26 support for the StorPool block client specified by "block" in the
27 future.
Peter Pentchev469dfea2022-06-27 12:48:18 +030028 volume-backend-name:
29 type: string
30 description: |
31 Volume backend name for the backend. The default value is the
32 application name in the Juju model, e.g. "cinder-mybackend"
33 if it's deployed as `juju deploy cinder-storpool cinder-mybackend`.
34 A common backend name can be set to multiple backends with the
35 same characters so that those can be treated as a single virtual
36 backend associated with a single volume type.
Biser Milanov7712cce2022-08-05 10:57:29 +030037 storpool-template:
38 type: string
39 default:
40 description: |
41 A StorPool template defines volume replication, placement, common
42 parent snapshot, and/or limits. The storpool_template specifies which
43 template to to use for the Cinder volume type or, if specified
44 globally, as a default value for Cinder volumes. There is no
45 default value for this option; the administrator needs to provide
46 an explicit template name.
Biser Milanov4ea59212022-08-05 11:03:05 +030047 sp-api-http-host:
48 type: string
49 default:
50 description: |
51 The IP address on which the StorPool API is available.
52 sp-api-http-port:
53 type: int
54 default: 81
55 description: |
56 The port on which the StorPool API is available.
57 sp-auth-token:
58 type: string
59 default:
60 description: |
61 Authentication token for the StorPool API.
Peter Pentchev38a6aa52022-08-23 01:17:17 +030062 iscsi-portal-group:
63 type: string
64 default:
65 description: |
66 The name of the iSCSI portal group that volumes should be exported to.