Please sign in to comment.
Add support for Infiniband network interfaces
OpenStack ironic references Infiniband interfaces via a 6 byte 'MAC address' formed from bytes 13-15 and 18-20 of interface's hardware address. This address is used as the ethernet_mac_address of Infiniband links in network_data.json in configdrives generated by OpenStack nova. We can use this address to map links in network_data.json to their corresponding interface names. When generating interface configuration files, we need to use the interface's full hardware address as the HWADDR, rather than the 6 byte MAC address provided by network_data.json. This change allows IB interfaces to be referenced in this dual mode - by MAC address and hardware address, depending on the context. This change does not implement support for writing out ifcfg files on RHEL systems with TYPE=Infiniband - these files are generated with TYPE=Ethernet. There may be some downsides to this. Conflicts: cloudinit/net/__init__.py tests/unittests/test_net.py
- Loading branch information...
Showing with 144 additions and 7 deletions.