Hello, We want to create an integration with OpenStack for which we require the REST APIs to connect to OpenStack. However, OpenStack provides 2 offerings i.e. Cloud and On-Prem. We are referring to the OpenStack API documentation available over here https://docs.openstack.org/api-quick-start/api-quick-start.html#. But it does not specify anywhere whether the APIs are for cloud or on-prem. Are the APIs same for both or do we have separate documentation for each of these? Thanks in advance!
Hello, I think you are referring to the offer of a commercial provider (see for example https://www.openstack.org/marketplace/public-clouds/) - the docs on openstack.org are related to the "stock" software you can install on-premise, any eventual difference is related to the provider or the distributions (https://www.openstack.org/marketplace/distros/) -- Francesco Di Nucci System Administrator Compute & Networking Service, INFN Naples Email: francesco.dinucci@na.infn.it On 05/12/24 09:52, darsh.mehta@crestdata.ai wrote:
Hello, We want to create an integration with OpenStack for which we require the REST APIs to connect to OpenStack. However, OpenStack provides 2 offerings i.e. Cloud and On-Prem. We are referring to the OpenStack API documentation available over here https://docs.openstack.org/api-quick-start/api-quick-start.html#. But it does not specify anywhere whether the APIs are for cloud or on-prem. Are the APIs same for both or do we have separate documentation for each of these?
Thanks in advance!
Hi, Dnia czwartek, 5 grudnia 2024 09:52:36 czas środkowoeuropejski standardowy darsh.mehta@crestdata.ai pisze:
Hello, We want to create an integration with OpenStack for which we require the REST APIs to connect to OpenStack. However, OpenStack provides 2 offerings i.e. Cloud and On-Prem. We are referring to the OpenStack API documentation available over here https://docs.openstack.org/api-quick-start/api-quick-start.html#. But it does not specify anywhere whether the APIs are for cloud or on-prem. Are the APIs same for both or do we have separate documentation for each of these?
Thanks in advance!
Documentation is the same but APIs provided by providers may vary depending on the version used, sometimes also extensions/plugins enabled, etc. Services provides documentation called "api-ref", like e.g. [1] for Nova or [2] for Neutron - see [3] for list of the projects with such document. You should use that as API documentation. Services like Nova supports micro versioning so based on the micro version used some APIs may or may not be available. Neutron for example don't support microversions but we have something called "API extensions" so you can call your cloud to get list of available extensions and based on that you will know which of the APIs are available. [1] https://docs.openstack.org/api-ref/compute/ [2] https://docs.openstack.org/api-ref/network/v2/ [3] https://docs.openstack.org/api-ref/ -- Slawek Kaplonski Principal Software Engineer Red Hat
So I think the greatest confusion here is what OpenStack actually is. OpenStack is pretty much a set of microservices which aim to provide cloud computing standards. APIs of services that are under OpenStack governance do not differ if cloud is Public or On-Permise/Private. What can differ depending on the cloud provider/vendor is basically implementation, including service configuration, design choices made by cloud administrators ie selected drivers or backends which may result in difference in behaviour of components. And also version of services that are installed. Some vendors/cloud providers also use modified versions of OpenStack, implementing their own functionality on top of what is provided by services. But there is no such "pre-defined" offering from OpenStack itself which will make an API difference for Public/Private deployments. чт, 5 дек. 2024 г. в 09:53, <darsh.mehta@crestdata.ai>:
Hello, We want to create an integration with OpenStack for which we require the REST APIs to connect to OpenStack. However, OpenStack provides 2 offerings i.e. Cloud and On-Prem. We are referring to the OpenStack API documentation available over here https://docs.openstack.org/api-quick-start/api-quick-start.html#. But it does not specify anywhere whether the APIs are for cloud or on-prem. Are the APIs same for both or do we have separate documentation for each of these?
Thanks in advance!
participants (4)
-
darsh.mehta@crestdata.ai
-
Dmitriy Rabotyagov
-
Francesco Di Nucci
-
Sławek Kapłoński