From 81ff2a08ab170aae36318f48ef15e6a011f20328 Mon Sep 17 00:00:00 2001 From: Adrian Vladu Date: Wed, 29 Jul 2026 13:29:33 +0300 Subject: [PATCH] oraclecloud: add documentation Change-Id: I34982a9b10c6a7b5f34c94e1e2a06738b7f117a3 Signed-off-by: Adrian Vladu --- doc/source/services.rst | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/doc/source/services.rst b/doc/source/services.rst index 694dab46..c76f1ad9 100644 --- a/doc/source/services.rst +++ b/doc/source/services.rst @@ -613,3 +613,32 @@ Config options for `default` section: * retry_count (integer: 5) * retry_count_interval (integer: 4) + + +Oracle Cloud Service +----------------------------- + +.. class:: cloudbaseinit.metadata.services.oraclecloudservice.OracleCloudService + +OCI IMDSv2 needs to be used when legacy IMDSv1 access is disabled. + +OCI IMDSv2 exposes instance metadata under `/opc/v2` and requires an +`Authorization: Bearer Oracle` header on every request. + +Capabilities: + + * instance id + * hostname + * user data + +Config options for `oraclecloud` section: + + * metadata_base_url (string: http://169.254.169.254/") + * add_metadata_private_ip_route (bool: True) + * https_allow_insecure (bool: False) + * https_ca_bundle (string: None) + +Config options for `default` section: + + * retry_count (integer: 5) + * retry_count_interval (integer: 4)