update stats dom

This commit is contained in:
Mickael BOURNEUF 2024-10-23 12:36:40 +02:00
parent e9f910ea23
commit 0b697d7a61
2 changed files with 13 additions and 0 deletions

View File

@ -0,0 +1,13 @@
from time import time_ns
from typing import List
from uuid import UUID
from pydantic import BaseModel, Field
from . import cpu, memory, disk, network
class Stats(BaseModel):
domain:UUID
cpu:cpu.CPU
memory:memory.Memory
network:List[network.Interface]
disk:List[disk.Disk]