opiproject / opi-api

Open Programmable Infrastructure API and Behavioral Model
Apache License 2.0
31 stars 39 forks source link

Change security API to a CRUD API #453

Closed stevedoyle closed 1 week ago

stevedoyle commented 2 weeks ago

Resolves issue #446 and #104

Update the OPI security API to use CRUD operations and to use more non-implementation specific types. The v1 API messages were very specifc to a strongSwan implementation. This version updates the API to align with the more generic types from the IETF yang model described in RFC 9061.

Using an API version tag of v2alpha1 as the API is not backwards compatible with the v1 IPsec APIs.

Adpoting protobuf naming conventions for all messages and services.

BREAKING-CHANGE: Breaks compatiblity with the existing OPI security API definition.

artek-koltun commented 2 weeks ago

@stevedoyle pls see failed CI jobs: https://github.com/opiproject/opi-api/actions/runs/9646431855/job/26602822438?pr=453 https://github.com/opiproject/opi-api/actions/runs/9646431854/job/26602822702?pr=453