[ovs-discuss] Range of Group ID

Ben Pfaff blp at nicira.com
Wed Oct 7 15:04:31 UTC 2015


On Wed, Oct 07, 2015 at 04:33:03PM +0530, Dheeraj Bansal wrote:
> I am trying to get the valid range of group id.
> (lets say for the 'group_id' parameter of 'add-group' command)
> 
> All I can deduce till now is:
> Valid range : (0) to (2^32 - 1)
> from -(2^64 - 1) to (2^64 - 1), mod is taken of 2^32
> other numbers are invalid.
> Error : (2^32 - 2^8 + 1) to (2^32 - 1) are invalid
> invalid means OFPGMFC_INVALID_GROUP
> 
> but I need confirmation.
> Can anybody please tell me the correct valid range of group id?

Group IDs are 32-bit.  The usable range is 0...OFPG_MAX, which is
0xffffff00.  This comes from OpenFlow, it's not OVS-specific.



More information about the discuss mailing list