update stats dom
This commit is contained in:
parent
e9f910ea23
commit
0b697d7a61
|
@ -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]
|
Loading…
Reference in New Issue