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

Add explicit tree type for policy #186

Open
calind opened this issue Mar 13, 2017 · 0 comments
Open

Add explicit tree type for policy #186

calind opened this issue Mar 13, 2017 · 0 comments

Comments

@calind
Copy link
Contributor

calind commented Mar 13, 2017

weighted policy

If a policy is of type weighted is should build only a weighted tree, ignoring policy member's region. When saving in admin a policy of type weighted we should validate:

  1. all policy members are in the same region
  2. there is at least one policy member with weight > 0

lbr policy

If a policy is of type lbr it should build a lbr tree, regardless of policy member's region. When saving in admin a policy of type lbr we should validate:

  1. there are policy members in at least 2 regions
  2. each reagion has at least one policy member with weight > 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant