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

Routing policy: just a name or a reference to leaf in a routing policy yang? #117

Closed
oscargdd opened this issue May 28, 2020 · 2 comments
Closed
Labels
question Further information is requested

Comments

@oscargdd
Copy link
Collaborator

Currently, routing policies are just plain strings. There is a yang module to store policies (ietf-routing-policies). In adition to a plain string, we could have either:

a) leafref pointing to the policy ietf-routing-policies module.
(drawback adds a depencency)
b) add type of policy (proprietary-policy, ietf-routing-policy) Then, if the type is ietf-routing-policy, the policy can be quieried in such module. Otherwise it is proprietary to the implementation

@boucadair
Copy link
Collaborator

boucadair commented May 28, 2020

But in both cases you have a dependency.

As the pointer of the policy will be local anyway, having a local id exposed in the L3NM is sufficient, IMO. Any glue/mapping to proprietary-policy, ietf-routing-policy will be up to the controller.

@oscargdd oscargdd added the question Further information is requested label Jun 2, 2020
@oscargdd
Copy link
Collaborator Author

WG decission was to maintain just a hook, no leafref

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants