oracle / oracle/oci-python-sdk

Please provide a simple method to obtain the instance metadata for the instance on which the SDK is being used

Open
#171 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

SDK
Dominant language
Python
Stars
474
Forks
321
Avg merge
23m
Merged PRs (30d)
4

Description

I know it's relatively simple to fetch http://169.254.169.254/opc/v1/instance/ and pass it through a json parser to get the metadata object. having this functionality in the SDK, where you're already doing these types of operations, removes a level of code duplication (and removes one more bit of tedious coding that everyone has to do).

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the SDK's existing HTTP and JSON operations, then compare their interfaces with the instance metadata endpoint at http://169.254.169.254/opc/v1/instance/. Done means the SDK exposes a simple way to obtain the parsed instance metadata without callers duplicating the request and parsing steps.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.