Bug #9615
closedwhile adding alias interface, mac should be auto populated based on attached_to interface
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1193460
Description of problem:
We don't have any validation around mac while adding an interface. I got to know we don't need mac when we add virtual interface.
Now let's say I've to configure alias of eth0, so in this case mac of alias would be same as of eth0. So UI should auto populate same mac as of attached_to interface i.e. eth0.
Or user should restrict to input mac address while defining new alias interface.
I can create alias interface without defining mac and add_interface form saved successfully. But if I do that then interface won't be configured at provisioned node.
In short, we should either of these:
1) either we should restrict user to input mac while alias interface via some validation/warning
2) Or UI should auto populate the mac of attached-to interface.
Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150210.0
Sat6.1.0 beta snap2
How reproducible:
always
Steps to Reproduce:
1. while creating new host, add alias interface without defining mac
2.
3.
Actual results:
alias interface won't be configured on provisioned node
Expected results:
UI should auto pick the mac of main interface to which we are attaching the alias.
Additional info: