Compare commits
2 Commits
e9f910ea23
...
0112e771e7
Author | SHA1 | Date |
---|---|---|
Mickael BOURNEUF | 0112e771e7 | |
Mickael BOURNEUF | 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