Bug 1377166

Summary: virt-manager GUI should show guest mac address fully
Product: Red Hat Enterprise Linux 7 Reporter: zhoujunqin <juzhou>
Component: virt-managerAssignee: Pavel Hrdina <phrdina>
Status: CLOSED WONTFIX QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3CC: mxie, mzhan, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-01-13 13:33:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Screenshot for step3 none

Description zhoujunqin 2016-09-19 03:39:37 UTC
Created attachment 1202288 [details]
Screenshot for step3

Description of problem:
virt-manager GUI now only shows last three bits for guest mac address, it's not convenient for users when do operations.

Version-Release number of selected component (if applicable):
virt-manager-1.4.0-2.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Prepare 2 virtual networks and 1 health guest on host.
# virsh net-list --all
 Name                 State      Autostart     Persistent
----------------------------------------------------------
 default              active     yes           yes
 test2                 active     yes           yes

# virsh list
 Id    Name                           State
----------------------------------------------------
 29    rhel7.3                        running


2. Launch virt-manager:
# virt-manager

3. Hotplug 2 nics to guest with same last 3 bits mac address
   Launch virt-manager---> Click the Hardware details button--->Click Add Hardware button--->
   Select Network in Hardware type droplist and click Forward--->Select Vitual network 'default':NAT
   set fixed MAC(52:54:00:bb:3b:86)--->Finish.
   Rerun
   >Select Vitual network 'test2':NAT to eno1.0
   set fixed MAC(52:55:00:bb:3b:86)--->Finish.        

Actual results:
After step3, the new added 2 NIC shows the same from virt-manager GUI, it's not convenient for users when do operations.

Expected results:
virt-manager GUI should show guest mac address fully

Additional info:

Comment 1 Pavel Hrdina 2017-01-13 13:33:55 UTC
Hi, I'm no in favor to printing the whole MAC address.  The MAC address is in most cases automatically generated and the generated vendor part is always "52:54:00".  In 99% use-cases it would be useless to print the whole MAC address.