elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 1 | .. This work is licensed under a Creative Commons Attribution 4.0 |
| 2 | International License. |
| 3 | .. http://creativecommons.org/licenses/by/4.0 |
JohnKeeney | 069b469 | 2022-05-12 22:15:14 +0100 | [diff] [blame] | 4 | .. Copyright 2022 Nordix Foundation |
Singal, Kapil (ks220y) | 535be96 | 2020-10-07 12:59:08 -0400 | [diff] [blame] | 5 | |
| 6 | .. _offered_apis: |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 7 | |
| 8 | |
| 9 | Offered APIs |
| 10 | ============ |
| 11 | |
| 12 | Introduction |
JohnKeeney | de4ac0d | 2021-03-09 18:32:45 +0000 | [diff] [blame] | 13 | ------------ |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 14 | |
JohnKeeney | 069b469 | 2022-05-12 22:15:14 +0100 | [diff] [blame] | 15 | The north-bound REST API of the A1 Policy Management Service provides convenient methods to handle A1 policies. |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 16 | |
| 17 | |
JohnKeeney | de4ac0d | 2021-03-09 18:32:45 +0000 | [diff] [blame] | 18 | Overall architecture for O-RAN A1 Policy functions |
| 19 | -------------------------------------------------- |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 20 | |
JohnKeeney | de4ac0d | 2021-03-09 18:32:45 +0000 | [diff] [blame] | 21 | This picture provides a overview of ONAP's A1 Controller architecture, |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 22 | integration with other ONAP components and API resource/operation provided. |
| 23 | |
elinuxhenrik | 42fb47f | 2020-11-17 17:43:28 +0100 | [diff] [blame] | 24 | .. image:: ../media/ONAP-A1ControllerArchitecture.png |
Singal, Kapil (ks220y) | 535be96 | 2020-10-07 12:59:08 -0400 | [diff] [blame] | 25 | :width: 500pt |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 26 | |
| 27 | |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 28 | API Version |
JohnKeeney | de4ac0d | 2021-03-09 18:32:45 +0000 | [diff] [blame] | 29 | ----------- |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 30 | |
| 31 | APIs are described with a state version with "v" following the API Name, |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 32 | e.g.: ``v2/policy``. |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 33 | The schema associated with a REST API must have its version number aligned |
| 34 | with that of the REST API. |
| 35 | |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 36 | API Table |
JohnKeeney | de4ac0d | 2021-03-09 18:32:45 +0000 | [diff] [blame] | 37 | --------- |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 38 | |
| 39 | .. |swagger-icon| image:: ../media/swagger.png |
| 40 | :width: 40px |
| 41 | |
elinuxhenrik | 9bb9a4c | 2020-10-08 14:36:37 +0200 | [diff] [blame] | 42 | .. |yaml-icon| image:: ../media/yaml_logo.png |
| 43 | :width: 40px |
| 44 | |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 45 | |
| 46 | .. csv-table:: |
elinuxhenrik | 9bb9a4c | 2020-10-08 14:36:37 +0200 | [diff] [blame] | 47 | :header: "API name", "|swagger-icon|", "|yaml-icon|" |
| 48 | :widths: 10,5, 5 |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 49 | |
JohnKeeney | de4ac0d | 2021-03-09 18:32:45 +0000 | [diff] [blame] | 50 | "A1 Policy Management Service API (NBI)", ":download:`link <./swagger/pms-api.json>`", ":download:`link <./swagger/pms-api.yaml>`" |
raviteja.karumuri | 8909784 | 2024-09-20 14:06:44 +0100 | [diff] [blame^] | 51 | "A1 PolicyManagementService, ServiceRegistry, Configuration, and NearRT-RIC Repository API V3 (NBI)", ":download:`link <./swagger/pms-api-v3.json>`", ":download:`link <./swagger/pms-api-v3.yaml>`" |
| 52 | "A1 Policy Management Service API V3 (NBI)", ":download:`link <./swagger/a1pms-api-v3.json>`" |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 53 | "A1 ADAPTER API (Internal)", ":download:`link <./swagger/a1-adapter-api.json>`", ":download:`link <./swagger/a1-adapter-api.yaml>`" |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 54 | |
Singal, Kapil (ks220y) | 535be96 | 2020-10-07 12:59:08 -0400 | [diff] [blame] | 55 | .. _pms_api: |
| 56 | |
JohnKeeney | de4ac0d | 2021-03-09 18:32:45 +0000 | [diff] [blame] | 57 | A1 Policy Management Service API |
| 58 | ................................ |
| 59 | |
halil.cakal | 8ff6511 | 2023-02-02 14:22:55 +0000 | [diff] [blame] | 60 | The A1 Policy Management Service API is described in more detail in `A1 Policy Management Service API (html) <./pms-api.html>`_ |
raviteja.karumuri | 8909784 | 2024-09-20 14:06:44 +0100 | [diff] [blame^] | 61 | A1 PolicyManagementService, ServiceRegistry, Configuration, and NearRT-RIC Repository API version 3 is described in more detail at `A1 Policy Management Service API V3 (html) <./pms-api-v3.html>`_ |
elinuxhenrik | 3c0cb32 | 2020-10-01 10:52:59 +0200 | [diff] [blame] | 62 | |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 63 | .. _a1_adapter_api: |
| 64 | |
| 65 | A1 ADAPTER API |
| 66 | .............. |
elinuxhenrik | ea2fcc8 | 2020-10-13 16:39:13 +0200 | [diff] [blame] | 67 | |
JohnKeeney | de4ac0d | 2021-03-09 18:32:45 +0000 | [diff] [blame] | 68 | The O-RAN A1 Adapter provides an **internal** RESTCONF API that is used by the A1 Policy Management System when accessing the A1 Interface. This API is useful for test and verification but should not be used otherwise. |
| 69 | |
| 70 | The A1 Adapter API is described in more detail in `A1 ADAPTER API (html) <./a1-adapter-api.html>`_ |