Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple provider_ids in Cap Policy #714

Closed
jackdreillyvia opened this issue Oct 27, 2021 Discussed in #708 · 6 comments
Closed

Multiple provider_ids in Cap Policy #714

jackdreillyvia opened this issue Oct 27, 2021 Discussed in #708 · 6 comments
Labels
Policy Specific to the Policy API

Comments

@jackdreillyvia
Copy link

Discussed in #708

Originally posted by jackdreillyvia October 22, 2021
This single-provider-cap example policy applies a cap to a single provider.

What is the interpretation of a cap policy when provider_ids is empty or has multiple values? Does it mean that the cap applies independently to each provider, or that the cap is set on the sum of devices summed across all providers in the list (or all providers in the city if provider_ids is empty)?

@schnuerle
Copy link
Member

If null or absent, then it applies to all providers. See the provider_ids field description.

If multiple, it's independently on each provider in this list. One provider does not have control over what another provider does.

Do you think there needs to be clarification on this in the spec for multiple providers?

@schnuerle schnuerle added the Policy Specific to the Policy API label Oct 27, 2021
@jackdreillyvia
Copy link
Author

jackdreillyvia commented Oct 27, 2021 via email

@schnuerle
Copy link
Member

Yes that's my understanding and I'll let some steering committee members weigh in with their thoughts: @jean-populus @marie-x @S-eb

@jackdreillyvia
Copy link
Author

Thanks @schnuerle if that's the case, I'd be happy to clarify multi-provider in the docs w/ a PR, if you think the docs would benefit from this.

@schnuerle
Copy link
Member

If you'd like to make PR about this, please do. Thank you!

@schnuerle
Copy link
Member

If you'd like to make a PR for this based on the new MDS 2.0 please do and we can reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Policy Specific to the Policy API
Projects
None yet
Development

No branches or pull requests

2 participants