'Set device state.
@param pci_slot: Virtual Function address
@param state: link state'

def set_device_state(self, pci_slot, state):

    vf_index = self._get_vf_index(pci_slot)
    return self.pci_dev_wrapper.set_vf_state(vf_index, state)
