A command called oracle and foo for the cloudmesh shell
Project description
Documentation
see cloudmesh.cloud
Oracle Compute Cloud interface
We provide the Oracle Cloud Compute interfaces
Getting an Account
TBD
Oracle Cloud Python interface
Cloudmesh Config
Add the following entry to you cloudmesh.yaml file:
cloudmesh:
compute:
oracle:
cm:
active: true
heading: ORACLE
host: cloud.oracle.com
label: oracle
kind: oracle
version: TBD
service: compute
default:
image: ami-0f65671a86f061fcd
size: t2.micro
credentials:
user : TBD
fingerprint : TBD
key_file : ~/.oci/oci_api_key.pem
pass_phrase : TBD
tenancy : TBD
compartment_id : TBD
region : us-ashburn-1
TBD. describe how we use cloudmesh config
design an entry
In prg you use
config = Config["cloudmesh.cloud.oracle"]
to get oracle configuration from cloudmesh.yaml
List Flavors
point to example prg examples/flavors.py use cloidmesh.yaml
List Images
point to example prg examples/images.py use cloidmesh.yaml
List VMs
point to example prg examples/vms.py use cloidmesh.yaml
Boot VMs
point to example prg examples/boot.py use cloidmesh.yaml
Naturally you nee to deal with keys and secgroups also
...
References
- https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/
- https://oracle-cloud-infrastructure-python-sdk.readthedocs.io/en/latest/api/core/client/oci.core.ComputeClient.html
- https://docs.cloud.oracle.com/iaas/Content/API/SDKDocs/pythonsdk.htm
- https://github.com/oracle/oci-python-sdk
- https://github.com/oracle/oci-python-sdk/blob/master/examples/launch_instance_example.py
- https://github.com/cloudmesh-community/fa19-516-162/blob/master/project/report.md
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file cloudmesh-oracle-4.1.4.tar.gz
.
File metadata
- Download URL: cloudmesh-oracle-4.1.4.tar.gz
- Upload date:
- Size: 17.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | df3d9e1f273dcf22b38cc265e9ad736cc55e61b36e07ce9581f8d81ad126654c |
|
MD5 | 850e673a100dae3a1b72b454e2d81687 |
|
BLAKE2b-256 | 7126aeb058632c4d4f62d13e8061ad9b7b006711d72b7f4abf86caf668d86a3e |
File details
Details for the file cloudmesh_oracle-4.1.4-py2.py3-none-any.whl
.
File metadata
- Download URL: cloudmesh_oracle-4.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 17.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 20a32e5ffe36b388a31c7be2e64f311126ca6c45d60c521bbda08b24e5a3e09c |
|
MD5 | 301361a0b91b9002d6d4d7756e29d952 |
|
BLAKE2b-256 | 20850549d7cfc1f37161931a48f2c7a6035bea87bb7e8d578567e0e26d013777 |