How are group "weights" interpreted in BMv2?

8 views
Skip to first unread message

Syd

unread,
Feb 14, 2023, 9:59:34 AM2/14/23
to stratum-dev
Hi Stratum-dev folks,
                                     I'm working with bmv2 switches and using the GroupBucket interface of ONOS to add groups such that I can specify a custom "weight" value. 

Questions:
1. What is the range of values for "weight"?
2. Let's assume the range was 1-10. Does a weight of 10 for a given path guarantee that the bmv2 switch logic will take this path(i.e. there is a 100% chance that the path is selected)? If not, can you kindly provide feedback as to how this decision is made based on the weight?

Thanks!
-Syd

Ventre, Pier

unread,
Feb 20, 2023, 3:20:30 AM2/20/23
to Syd, stratum-dev

Hi Syd,

  1. It is a short in ONOS but this value eventually will be constrained/governed by the dataplane (you may not have available the full range)

 

Thanks

Pier

--
You received this message because you are subscribed to the Google Groups "stratum-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to stratum-dev...@opennetworking.org.
To view this discussion on the web visit https://groups.google.com/a/opennetworking.org/d/msgid/stratum-dev/38535b31-1a57-49bf-be70-229645556107n%40opennetworking.org.

---------------------------------------------------------------------
INTEL CORPORATION ITALIA S.p.A. con unico socio
Sede: Milanofiori Palazzo E 4
CAP 20094 Assago (MI)
Capitale Sociale Euro 104.000,00 interamente versato
Partita I.V.A. e Codice Fiscale  04236760155
Repertorio Economico Amministrativo n. 997124
Registro delle Imprese di Milano nr. 183983/5281/33
Soggetta ad attivita' di direzione e coordinamento di
INTEL CORPORATION, USA

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

A Sydney

unread,
Feb 20, 2023, 12:19:55 PM2/20/23
to Ventre, Pier, stratum-dev
Thanks for the feedback. Any thoughts on #2?

-Syd

Reply all
Reply to author
Forward
0 new messages