Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1219384

Summary: [RFE] There should be indication in GUI how many available MACs exist for each MAC pool
Product: [oVirt] ovirt-engine Reporter: GenadiC <gcheresh>
Component: RFEsAssignee: Ales Musil <amusil>
Status: CLOSED WONTFIX QA Contact: Michael Burman <mburman>
Severity: medium Docs Contact:
Priority: low    
Version: ---CC: amusil, bugs, danken, lsurette, rbalakri, srevivo, ykaul, ylavi
Target Milestone: ---Keywords: FutureFeature, RFE
Target Release: ---Flags: sbonazzo: ovirt-4.3-
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-16 10:11:15 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1553888    

Description GenadiC 2015-05-07 08:22:16 UTC
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.

Comment 1 Dan Kenigsberg 2017-11-23 21:10:19 UTC
Ales, maybe you can revive the old patch for this?

Comment 2 Ales Musil 2017-11-24 08:47:32 UTC
Sure I'll take look at this patch.

Comment 3 Dan Kenigsberg 2017-12-01 07:37:23 UTC
this got merged into 4.2 by mistake, let's try to verify it anyway.

Comment 4 Michael Burman 2017-12-04 11:40:12 UTC
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..

Comment 5 Michael Burman 2017-12-04 11:40:56 UTC
Tested on - 4.2.0-0.0.master.20171201121510.gitb338573.el7.centos

Comment 6 Dan Kenigsberg 2018-05-16 10:11:15 UTC
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.