from syft.core.node.vm.vm import VirtualMachine

node = VirtualMachine(name="om-vm")

from syft.core.node.device.device import Device
from syft.grid.services.vm_management_service import CreateVMService

node = Device(name="om-device")
node.immediate_services_with_reply.append(CreateVMService)
node._register_services()  # re-register all services including SignalingService

ADD CreateVMService at Device APP
ADD CreateVMService at Device APP

- from syft.core.node.vm.vm import VirtualMachine
+ from syft.core.node.device.device import Device
+ from syft.grid.services.vm_management_service import CreateVMService
  
- node = VirtualMachine(name="om-vm")
+ node = Device(name="om-device")
+ node.immediate_services_with_reply.append(CreateVMService)
+ node._register_services()  # re-register all services including SignalingService
  
ADD CreateVMService at Device APP
## Code Before:
from syft.core.node.vm.vm import VirtualMachine

node = VirtualMachine(name="om-vm")

## Instruction:
ADD CreateVMService at Device APP
## Code After:
from syft.core.node.device.device import Device
from syft.grid.services.vm_management_service import CreateVMService

node = Device(name="om-device")
node.immediate_services_with_reply.append(CreateVMService)
node._register_services()  # re-register all services including SignalingService
