trusted_ip_list: "IP_ADDRESS_1,IP_ADDRESS_2,IP_ADDRESS_3,..."
api_user: API_USERNAME
api_password: API_PASSWORD
- api_secure: true
ssl_cert: |
-----BEGIN CERTIFICATE-----
MIIDtTCCAp2gAwIBAgIYMC4xNzc1NDQxNjEzMzc2MjMyXzxvQ7EcMA0GCSqGSIb3
[...]
-----END PRIVATE KEY-----
+.. py:currentmodule:: ceph.deployment.service_spec
+
+.. autoclass:: IscsiServiceSpec
+ :members:
+
The specification can then be applied using:
See :ref:`orchestrator-cli-placement-spec` for details of the placement specification.
+See also: :ref:`orchestrator-cli-service-spec`.
+
Further Reading
===============
#: RADOS pool where ceph-iscsi config data is stored.
self.pool = pool
+ #: list of trusted IP addresses
self.trusted_ip_list = trusted_ip_list
+ #: ``api_port`` as defined in the ``iscsi-gateway.cfg``
self.api_port = api_port
+ #: ``api_user`` as defined in the ``iscsi-gateway.cfg``
self.api_user = api_user
+ #: ``api_password`` as defined in the ``iscsi-gateway.cfg``
self.api_password = api_password
+ #: ``api_secure`` as defined in the ``iscsi-gateway.cfg``
self.api_secure = api_secure
+ #: SSL certificate
self.ssl_cert = ssl_cert
+ #: SSL private key
self.ssl_key = ssl_key
if not self.api_secure and self.ssl_cert and self.ssl_key: