Change NodeNetmapInfo class

Signed-off-by: Dmitriy Zayakin <d.zayakin@yadro.com>
This commit is contained in:
Dmitriy Zayakin 2023-09-11 10:36:54 +03:00
parent 19b8b96898
commit ecf8f0841a

View file

@ -27,18 +27,17 @@ class StorageObjectInfo(ObjectRef):
@dataclass
class NodeNetmapInfo:
node_id: str
node_status: str
node_data_ip: str
cluster_name: str
continent: str
country: str
country_code: str
external_address: str
location: str
node: str
price: int
sub_div: str
sub_div_code: int
un_locode: str
role: str
node_id: str = None
node_status: str = None
node_data_ip: str = None
cluster_name: str = None
continent: str = None
country: str = None
country_code: str = None
external_address: str = None
location: str = None
node: str = None
sub_div: str = None
sub_div_code: int = None
un_locode: str = None
role: str = None