oci search resource PrivateIp lacks hostname/DNS label searchable attribute.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 669
- Forks
- 236
- Avg merge
- 1m
- Merged PRs (30d)
- 4
Description
oci search resource-type get --name PrivateIp shows that PrivateIp lacks any option to search that resource type (via oci search resource structured-search) using OCI assigned DNS/hostname labels. Is there a reasons for the lack of this searchable attribute, or is it just an oversight?
Commands such as oci network private-ip list --subnet-id return JSON objects with hostname-label attribute, so it seems that OCI internal representation of PrivateIp object has this info.
UPD.
Also, vnic-attachment resource is missing from oci search resources. It would be convenient to have that resource type as part of oci search, not just as oci compute vnic-attachment
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the OCI search resource types exposed by oci search resource-type get --name PrivateIp, then compare them with the oci network private-ip list --subnet-id output. Check how vnic-attachment is represented by the search and compute commands. Done means hostname/DNS labels are searchable for PrivateIp and vnic-attachment is available through OCI search, subject to service support.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli, cloud, infrastructure
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100