The OpenStack APIs
Ben Trumbore
Cornell Center for Advanced Computing
Revisions: 7/2023, 6/2020 (original)
Acknowledgments: Material from Indiana University's Pervasive Technology Institute was adapted for inclusion in this topic.
The OpenStack API and SDKs provide the lowest possible levels of access to OpenStack services. As with the OpenStack CLI, entities that were created through the Horizon user interface can be controlled through the OpenStack API and SDKs and vice versa.
This section describes the different levels of OpenStack APIs and discusses how to use them.
Objectives
After you complete this segment, you should be able to:
- Describe the difference between the OpenStack Services, REST API and SDKs.
- Initiate an OpenStack REST API call to work with Jetstream2.
- Write a short Python program to call the OpenStack SDK.
Prerequisites
- Complete the Introduction to Jetstream2 tutorial.
- A familiarity with the Bash shell, environment variables and some Linux commands.