commit 6ef04176474e6b6034b4d4ae0081cb759eaa760b
Author: Harald Jensas <email address hidden>
Date: Thu Nov 17 15:37:10 2016 +0100
No longer hard coding to a specifc network interface name.
Instead of using a specific network interface name, thi fix
fetch all ethernet mac addresses. Then uses this list of
mac addresses to do a check if any entries in the list
match any of the values in NetConfigDataLookup for a node.
If there is a match, the /etc/os-net-config/mapping.yaml
file for the node will be written.
This fix removes the hard coded interface name 'eth0' used
to get a mac address as identifyer for the specific node
before. Using a hard coded interface name such as 'eth0'
would have failed on most hardware because of "consistent
network device names".
Fix Bug: #1642551
Change-Id: I6c1d1b4d70b916bc5d9049469df8221f8ab2eb95
(cherry picked from commit 06d4d088adcceb6076017fb2a58b5a339232a6a3)
Reviewed: https:/ /review. openstack. org/406634 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=6ef04176474 e6b6034b4d4ae00 81cb759eaa760b
Committed: https:/
Submitter: Jenkins
Branch: stable/newton
commit 6ef04176474e6b6 034b4d4ae0081cb 759eaa760b
Author: Harald Jensas <email address hidden>
Date: Thu Nov 17 15:37:10 2016 +0100
No longer hard coding to a specifc network interface name.
Instead of using a specific network interface name, thi fix net-config/ mapping. yaml
fetch all ethernet mac addresses. Then uses this list of
mac addresses to do a check if any entries in the list
match any of the values in NetConfigDataLookup for a node.
If there is a match, the /etc/os-
file for the node will be written.
This fix removes the hard coded interface name 'eth0' used
to get a mac address as identifyer for the specific node
before. Using a hard coded interface name such as 'eth0'
would have failed on most hardware because of "consistent
network device names".
Fix Bug: #1642551
Change-Id: I6c1d1b4d70b916 bc5d9049469df82 21f8ab2eb95 076017fb2a58b5a 339232a6a3)
(cherry picked from commit 06d4d088adcceb6