Description of problem: As you can mix multicast and unicast MAC addresses when creating/editing a new MAC pool, but you can create new VNICs only with unicast addresses, there should be some kind of indication how many VNICs the user can create Providing such information in GUI for each MAC pool/ MAC pool range will make the user life much simpliar.
Ales, maybe you can revive the old patch for this?
Sure I'll take look at this patch.
this got merged into 4.2 by mistake, let's try to verify it anyway.
Hi Ales, Need to understand here something: 1) 'MACs count' stand for the range count in total or for the free MACs ? 2) Looks like the MACs count is for the total MACs in the range and not how much available, which is not what was requested here. 3) And some another example: I have a range 00:00:00:00:00:10-00:00:00:00:00:10 which is a range of 1 MAC address, but the 'MACs count' shows 0 (this MAC isn't in use by any VM btw..) - And the default MAC pool range is 1024 MACs and not 1023, which means that we have problem with the calculating here. 1 MAC is missing. 00:1a:4a:16:01:00-00:1a:4a:16:04:ff(1024 macs), engine shows: MACs count=1023 From the qa point of view this bug has failed QA unless i'm missing here something..
Tested on - 4.2.0-0.0.master.20171201121510.gitb338573.el7.centos
Indicating the number of free MACs would be nice, but it is not worth investing more effort into. Stating the size of the pool, as we have now (though we need to fix an off-by-one bug there) should be enough.