0e8fdcdf63
PvmVnicSriovVifDriver, a VIF driver for vNICs backed by SR-IOV VFs. The main plug method intercepts incoming vif requests and branches off to this new vif driver if the vif type is 'pvm_sriov'. The driver "plugs" a new vNIC into the instance by: - Building a new pypowervm.wrappers.iocard.VNIC object. - Assigning backing devices from the pool of physical ports labeled according to the physical network name. - Creating the VNIC on the PowerVM REST server as a child of the LPAR corresponding to the instance. The unplug method locates the appropriate VNIC according to its MAC address and deletes it from the PowerVM REST server. Implements: bp/powervm-sriov-nova Change-Id: I9b707e8c12c2124001089ac1a0f2ef28e5cc7478 |
||
---|---|---|
.. | ||
powervm | ||
__init__.py |