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]
|
2
setup.py
2
setup.py
|
@ -2,7 +2,7 @@ from setuptools import find_packages, setup
|
||||||
|
|
||||||
setup(
|
setup(
|
||||||
name='deevirt_schema',
|
name='deevirt_schema',
|
||||||
version='0.1.1',
|
version='0.1.2',
|
||||||
description='Deevirt Schema',
|
description='Deevirt Schema',
|
||||||
url='https://git.celeonet.fr/Deevirt/deevirt_schema.git',
|
url='https://git.celeonet.fr/Deevirt/deevirt_schema.git',
|
||||||
author='Celeonet',
|
author='Celeonet',
|
||||||
|
|
Loading…
Reference in New Issue