aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshmel1k <shmel1k@ydb.tech>2023-11-26 20:43:04 +0300
committershmel1k <shmel1k@ydb.tech>2023-11-26 21:04:29 +0300
commit1164420b193a75caad01ce25ec0ab0eb470f0c27 (patch)
tree777328ee55e4fe47aa87cd8107f6a59c8e0fb559
parentfa1b69cf7cb7576abe8f71e15c976d73f8e14d5f (diff)
downloadydb-1164420b193a75caad01ce25ec0ab0eb470f0c27.tar.gz
fix imports
-rw-r--r--ydb/tools/cfg/validation.py23
-rw-r--r--ydb/tools/cfg/ya.make2
2 files changed, 0 insertions, 25 deletions
diff --git a/ydb/tools/cfg/validation.py b/ydb/tools/cfg/validation.py
index 29d09013e0..2758d73814 100644
--- a/ydb/tools/cfg/validation.py
+++ b/ydb/tools/cfg/validation.py
@@ -4,8 +4,6 @@ import copy
import jsonschema
-from cloud.blockstore.config import diagnostics_pb2, storage_pb2
-from cloud.storage.core.protos import authorization_mode_pb2
from ydb.tools.cfg import utils
from ydb.tools.cfg.types import (Erasure, FailDomainType, LogLevels, NodeType,
PDiskCategory)
@@ -494,18 +492,6 @@ NBS_SCHEMA = {
'storage': {
'type': 'object',
'properties': {
- 'authorization_mode': {
- 'type': 'string',
- 'enum': authorization_mode_pb2.EAuthorizationMode.keys(),
- },
- 'channel_allocation_mode': {
- 'type': 'string',
- 'enum': storage_pb2.EChannelAllocationMode.keys(),
- },
- 'volume_preemption_type': {
- 'type': 'string',
- 'enum': storage_pb2.EVolumePreemptionType.keys(),
- }
}
},
'disk_registry_proxy': {
@@ -539,15 +525,6 @@ NBS_SCHEMA = {
}
}
},
- 'diagnostics': {
- 'type': 'object',
- 'properties': {
- 'host_name_scheme': {
- 'type': 'string',
- 'enum': diagnostics_pb2.EHostNameScheme.keys(),
- },
- }
- },
'discovery': {
'type': 'object'
},
diff --git a/ydb/tools/cfg/ya.make b/ydb/tools/cfg/ya.make
index 0cc2e5a634..ae998201e5 100644
--- a/ydb/tools/cfg/ya.make
+++ b/ydb/tools/cfg/ya.make
@@ -23,8 +23,6 @@ IF (PYTHON2)
ENDIF()
PEERDIR(
- cloud/blockstore/config
- cloud/filestore/config
contrib/python/protobuf
contrib/python/PyYAML
contrib/python/jsonschema