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

DISCUSSION: New spf_attributes #60

Open
Ktmi opened this issue Jul 26, 2023 · 3 comments
Open

DISCUSSION: New spf_attributes #60

Ktmi opened this issue Jul 26, 2023 · 3 comments
Assignees
Labels

Comments

@Ktmi
Copy link

Ktmi commented Jul 26, 2023

This issue is to discuss new possible spf_attributes to be used for determining the total weight of a path.

One suggestion is the total number of evcs being used by a path. This attribute on its own wouldn't be very good, but if #59 were to be implemented in the future, it would make a great tie breaker. However if we allow unidirectional evcs as suggested with kytos-ng/mef_eline#362, this feature could potentially not work as intended, as it would be harder to account for the direction of the traffic.

@Ktmi Ktmi added 2023.2 Kytos-ng 2023.2 epic_pathfinder_v4 epic_pathfinder_v4 discussion labels Jul 26, 2023
@viniarck
Copy link
Member

Maybe a unidirectional EVC, if we support it, it could weigh 0.5, whereas a bidirectional EVC would weigh 1 per edge?

@viniarck
Copy link
Member

@Ktmi the example you gave on issue #59 looks coherent to me.

I'll recommend that you also confirm with @jab1982 and @italovalcy one production-like example of how they'd use, then we can also map an equivalent one to include in our e2e tests. Other than that, the feature seems clear to me once you also document the proposed changes after confirming the use case is indeed how we're picturing it so far.

@viniarck
Copy link
Member

Maybe a unidirectional EVC, if we support it, it could weigh 0.5, whereas a bidirectional EVC would weigh 1 per edge?

I mean, although we could end up in a case where a link would only have many unidirectional A -> Z EVCs, in practice the link utilization would go up anyway, so it could further also include utilization as a mandatory primary_constraints, still, utilization isn't being populated by a third party or another NApp yet, but I could see this potentially working to achieve a load balance distribution.

@viniarck viniarck added 2024.1 and removed 2023.2 Kytos-ng 2023.2 labels Nov 28, 2023
@viniarck viniarck removed the 2024.1 label Feb 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants