'Set device state
Sets the device state (up or down)
@param device_mac: device mac
@param pci_slot: pci slot
@param admin_state_up: device admin state True/False'

def set_device_state(self, device_mac, pci_slot, admin_state_up):

    embedded_switch = self._get_emb_eswitch(device_mac, pci_slot)
    if embedded_switch:
        embedded_switch.set_device_state(pci_slot, admin_state_up)
