This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
opennebula_sr-iov_vmm_driver [2013/05/15 14:51] dmacleod [Files] |
opennebula_sr-iov_vmm_driver [2021/12/09 16:42] (current) |
||
|---|---|---|---|
| Line 13: | Line 13: | ||
| - A virtual bridge is required. The VM will attach interfaces to this bridge but the OS will not use them. They are only required to pass IP address information into the VM. The bridge does not require any external connectivity, | - A virtual bridge is required. The VM will attach interfaces to this bridge but the OS will not use them. They are only required to pass IP address information into the VM. The bridge does not require any external connectivity, | ||
| - VF usage tracking is implemented in the ///tmp// file system. During a fatal host error the VF usage tracking might become out of sync with actual VF usage. You will have to manually recover. ([[opennebula_sr-iov_vmm_driver# | - VF usage tracking is implemented in the ///tmp// file system. During a fatal host error the VF usage tracking might become out of sync with actual VF usage. You will have to manually recover. ([[opennebula_sr-iov_vmm_driver# | ||
| - | - A modified context script is required to decode the SR-IOV interface information inside the VM. Examples are given for Infiniband | + | - A modified context script is required to decode the SR-IOV interface information inside the VM. Examples are given for Infiniband. |
| - IPv6 has not been tested. | - IPv6 has not been tested. | ||
| ===== Testing Environment ===== | ===== Testing Environment ===== | ||
| Line 96: | Line 96: | ||
| - | Edit the 00-network | + | Edit the //00-network// script (in our case: / |
| gen_iface_conf() { | gen_iface_conf() { | ||
| cat <<EOT | cat <<EOT | ||
| - | | + | |
| - | BOOTPROTO=none | + | BOOTPROTO=none |
| - | ONBOOT=yes | + | ONBOOT=yes |
| - | #################### | + | #################### |
| - | # Update this line # | + | # Update this # |
| - | #################### | + | #################### |
| - | TYPE=$TYPE | + | TYPE=$TYPE |
| - | # | + | # |
| - | NETMASK=$MASK | + | NETMASK=$MASK |
| - | IPADDR=$IP | + | IPADDR=$IP |
| - | EOT | + | EOT |
| - | if [ -n " | + | if [ -n " |
| - | echo " | + | echo " |
| - | fi | + | fi |
| - | echo "" | + | echo "" |
| } | } | ||
| Line 123: | Line 123: | ||
| MAC=`get_mac $i` | MAC=`get_mac $i` | ||
| ################################### | ################################### | ||
| - | # Add this # | + | # Update |
| ################################### | ################################### | ||
| ib_vf=$(echo " | ib_vf=$(echo " | ||
| Line 152: | Line 152: | ||
| done | done | ||
| } | } | ||
| + | | ||
| + | Take note of: | ||
| + | - " | ||
| + | - gen_iface_conf > / | ||