Skip to content

Conversation

@jarrodb
Copy link
Contributor

@jarrodb jarrodb commented Jun 13, 2024

This PR introduces a new API endpoint /config/targets/:id/subscriptions designed to allow users to directly update the subscription list for a specific target without the need to delete and re-add the target.

The use case for this endpoint allows us to build an initial target list with a single subscription for system information (i.e. eos_native:/Eos/image for EOS or /system/information/version for SRL) that we can update with subscriptions for specific paths that vary across vendor versions to accommodate breaking changes in models.

@google-cla
Copy link

google-cla bot commented Jun 13, 2024

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@jarrodb jarrodb marked this pull request as ready for review June 13, 2024 02:54
@karimra karimra merged commit a677013 into openconfig:main Jun 21, 2024
@karimra
Copy link
Collaborator

karimra commented Jun 21, 2024

Thanks for contribution!

@jarrodb
Copy link
Contributor Author

jarrodb commented Jun 21, 2024

Oh I was going to get a test pushed first (I'll still do that)

@karimra
Copy link
Collaborator

karimra commented Jun 24, 2024

Sorry, I understood you will do it in a separate PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants