Compare commits
No commits in common. "6b386d67587ff8fb21bf99f126a57a94c5f95422" and "781f265ca40758e461aff9f0fa68f52651b1d9c3" have entirely different histories.
6b386d6758
...
781f265ca4
|
@ -4,8 +4,7 @@ from time import time_ns
|
||||||
|
|
||||||
class CPU(BaseModel):
|
class CPU(BaseModel):
|
||||||
model_config = ConfigDict()
|
model_config = ConfigDict()
|
||||||
current_time:int = Field(default_factory=time_ns)
|
time:int = Field(default_factory=time_ns)
|
||||||
time:int = Field()
|
|
||||||
user:int = Field()
|
user:int = Field()
|
||||||
system:int = Field()
|
system:int = Field()
|
||||||
count:int = Field()
|
count:int = Field()
|
||||||
|
@ -17,7 +16,7 @@ class DiskFlows(BaseModel):
|
||||||
|
|
||||||
class Disk(BaseModel):
|
class Disk(BaseModel):
|
||||||
model_config = ConfigDict()
|
model_config = ConfigDict()
|
||||||
current_time:int = Field(default_factory=time_ns)
|
time:int = Field(default_factory=time_ns)
|
||||||
uuid:UUID4 = Field()
|
uuid:UUID4 = Field()
|
||||||
name:str = Field()
|
name:str = Field()
|
||||||
read:DiskFlows = Field()
|
read:DiskFlows = Field()
|
||||||
|
@ -29,7 +28,7 @@ class MemorySwap(BaseModel):
|
||||||
|
|
||||||
class Memory(BaseModel):
|
class Memory(BaseModel):
|
||||||
model_config = ConfigDict()
|
model_config = ConfigDict()
|
||||||
current_time:int = Field()
|
time:int = Field()
|
||||||
available:Optional[int] = Field(default=None)
|
available:Optional[int] = Field(default=None)
|
||||||
current:int = Field()
|
current:int = Field()
|
||||||
maximum:int = Field()
|
maximum:int = Field()
|
||||||
|
@ -49,7 +48,7 @@ class Interface(BaseModel):
|
||||||
model_config = ConfigDict()
|
model_config = ConfigDict()
|
||||||
|
|
||||||
uuid:UUID4 = Field()
|
uuid:UUID4 = Field()
|
||||||
current_time:int = Field(default_factory=time_ns)
|
time:int = Field(default_factory=time_ns)
|
||||||
name:str = Field()
|
name:str = Field()
|
||||||
rx:InterfaceFlows = Field()
|
rx:InterfaceFlows = Field()
|
||||||
tx:InterfaceFlows = Field()
|
tx:InterfaceFlows = Field()
|
||||||
|
|
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.6',
|
version='0.1.5',
|
||||||
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