python-compute/node_agent/main.py
2023-06-17 20:07:50 +03:00

9 lines
177 B
Python

import libvirt
from .vm import VirtualMachine
class NodeAgent:
def __init__(self, conn: libvirt.virConnect, config: dict):
self.vm = VirtualMachine(conn, config)