Skip to content

Commit 054fe96

Browse files
committed
oraclecloud: add documentation
Change-Id: I34982a9b10c6a7b5f34c94e1e2a06738b7f117a3 Signed-off-by: Adrian Vladu <avladu@cloudbasesolutions.com>
1 parent 7e153cd commit 054fe96

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

doc/source/services.rst

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,3 +613,32 @@ Config options for `default` section:
613613

614614
* retry_count (integer: 5)
615615
* retry_count_interval (integer: 4)
616+
617+
618+
Oracle Cloud Service
619+
-----------------------------
620+
621+
.. class:: cloudbaseinit.metadata.services.oraclecloudservice.OracleCloudService
622+
623+
OCI IMDSv2 needs to be used when legacy IMDSv1 access is disabled.
624+
625+
OCI IMDSv2 exposes instance metadata under `/opc/v2` and requires an
626+
`Authorization: Bearer Oracle` header on every request.
627+
628+
Capabilities:
629+
630+
* instance id
631+
* hostname
632+
* user data
633+
634+
Config options for `oraclecloud` section:
635+
636+
* metadata_base_url (string: http://169.254.169.254/")
637+
* add_metadata_private_ip_route (bool: True)
638+
* https_allow_insecure (bool: False)
639+
* https_ca_bundle (string: None)
640+
641+
Config options for `default` section:
642+
643+
* retry_count (integer: 5)
644+
* retry_count_interval (integer: 4)

0 commit comments

Comments
 (0)