metal-stack-api 0.0.19__tar.gz → 0.0.21__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/PKG-INFO +1 -1
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metal_stack_api.egg-info/PKG-INFO +1 -1
- metal_stack_api-0.0.21/metalstack/admin/v2/filesystem_pb2.py +68 -0
- metal_stack_api-0.0.21/metalstack/admin/v2/filesystem_pb2.pyi +64 -0
- metal_stack_api-0.0.21/metalstack/admin/v2/image_pb2.py +81 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/image_pb2.pyi +21 -4
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/network_pb2.py +18 -16
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/network_pb2.pyi +4 -2
- metal_stack_api-0.0.21/metalstack/admin/v2/partition_pb2.py +82 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/partition_pb2.pyi +18 -4
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/size_pb2.py +12 -10
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/size_pb2.pyi +4 -2
- metal_stack_api-0.0.21/metalstack/api/v2/common_pb2.py +68 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/common_pb2.pyi +19 -2
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/ip_pb2.py +26 -24
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/ip_pb2.pyi +4 -2
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/machine_pb2.py +82 -80
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/machine_pb2.pyi +4 -2
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/network_pb2.py +36 -34
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/network_pb2.pyi +4 -2
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/project_pb2.py +36 -34
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/project_pb2.pyi +4 -2
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/tenant_pb2.py +46 -44
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/tenant_pb2.pyi +4 -2
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/token_pb2.py +18 -16
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/token_pb2.pyi +4 -2
- metal_stack_api-0.0.19/metalstack/admin/v2/filesystem_pb2.py +0 -60
- metal_stack_api-0.0.19/metalstack/admin/v2/filesystem_pb2.pyi +0 -45
- metal_stack_api-0.0.19/metalstack/admin/v2/image_pb2.py +0 -66
- metal_stack_api-0.0.19/metalstack/admin/v2/partition_pb2.py +0 -72
- metal_stack_api-0.0.19/metalstack/api/v2/common_pb2.py +0 -66
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/README.md +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/buf/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/buf/validate/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/buf/validate/validate_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/buf/validate/validate_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/buf/validate/validate_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metal_stack_api.egg-info/SOURCES.txt +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metal_stack_api.egg-info/dependency_links.txt +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metal_stack_api.egg-info/requires.txt +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metal_stack_api.egg-info/top_level.txt +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/filesystem_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/filesystem_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/image_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/image_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/ip_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/ip_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/ip_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/ip_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/machine_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/machine_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/machine_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/machine_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/network_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/network_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/partition_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/partition_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/size_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/size_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/tenant_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/tenant_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/tenant_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/tenant_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/token_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/token_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/token_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/admin/v2/token_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/common_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/filesystem_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/filesystem_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/filesystem_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/filesystem_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/health_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/health_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/health_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/health_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/image_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/image_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/image_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/image_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/ip_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/ip_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/machine_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/machine_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/method_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/method_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/method_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/method_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/network_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/network_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/partition_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/partition_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/partition_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/partition_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/project_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/project_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/size_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/size_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/size_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/size_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/switch_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/tenant_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/tenant_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/token_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/token_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/user_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/user_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/user_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/user_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/version_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/version_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/version_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/api/v2/version_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/client/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/client/client.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/__init__.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/bmc_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/bmc_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/bmc_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/bmc_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/switch_connecpy.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/switch_pb2.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/switch_pb2.pyi +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/metalstack/infra/v2/switch_pb2_grpc.py +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/setup.cfg +0 -0
- {metal_stack_api-0.0.19 → metal_stack_api-0.0.21}/setup.py +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: metalstack/admin/v2/filesystem.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
32,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'metalstack/admin/v2/filesystem.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
27
|
+
from metalstack.api.v2 import filesystem_pb2 as metalstack_dot_api_dot_v2_dot_filesystem__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$metalstack/admin/v2/filesystem.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\"metalstack/api/v2/filesystem.proto\"r\n\x1e\x46ilesystemServiceCreateRequest\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"s\n\x1f\x46ilesystemServiceCreateResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"\xf4\x04\n\x1e\x46ilesystemServiceUpdateRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12?\n\x0b\x66ilesystems\x18\x05 \x03(\x0b\x32\x1d.metalstack.api.v2.FilesystemR\x0b\x66ilesystems\x12-\n\x05\x64isks\x18\x06 \x03(\x0b\x32\x17.metalstack.api.v2.DiskR\x05\x64isks\x12+\n\x04raid\x18\x07 \x03(\x0b\x32\x17.metalstack.api.v2.RaidR\x04raid\x12\x43\n\rvolume_groups\x18\x08 \x03(\x0b\x32\x1e.metalstack.api.v2.VolumeGroupR\x0cvolumeGroups\x12I\n\x0flogical_volumes\x18\t \x03(\x0b\x32 .metalstack.api.v2.LogicalVolumeR\x0elogicalVolumes\x12P\n\x0b\x63onstraints\x18\n \x01(\x0b\x32..metalstack.api.v2.FilesystemLayoutConstraintsR\x0b\x63onstraintsB\x07\n\x05_nameB\x0e\n\x0c_description\"s\n\x1f\x46ilesystemServiceUpdateResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout\"<\n\x1e\x46ilesystemServiceDeleteRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"s\n\x1f\x46ilesystemServiceDeleteResponse\x12P\n\x11\x66ilesystem_layout\x18\x01 \x01(\x0b\x32#.metalstack.api.v2.FilesystemLayoutR\x10\x66ilesystemLayout2\x93\x03\n\x11\x46ilesystemService\x12~\n\x06\x43reate\x12\x33.metalstack.admin.v2.FilesystemServiceCreateRequest\x1a\x34.metalstack.admin.v2.FilesystemServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12~\n\x06Update\x12\x33.metalstack.admin.v2.FilesystemServiceUpdateRequest\x1a\x34.metalstack.admin.v2.FilesystemServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12~\n\x06\x44\x65lete\x12\x33.metalstack.admin.v2.FilesystemServiceDeleteRequest\x1a\x34.metalstack.admin.v2.FilesystemServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x42\xd3\x01\n\x17\x63om.metalstack.admin.v2B\x0f\x46ilesystemProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'metalstack.admin.v2.filesystem_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.metalstack.admin.v2B\017FilesystemProtoP\001Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\242\002\003MAX\252\002\023Metalstack.Admin.V2\312\002\023Metalstack\\Admin\\V2\342\002\037Metalstack\\Admin\\V2\\GPBMetadata\352\002\025Metalstack::Admin::V2'
|
|
38
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
39
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
40
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
|
|
41
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
42
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
43
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
44
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
45
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
46
|
+
_globals['_FILESYSTEMSERVICEDELETEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
47
|
+
_globals['_FILESYSTEMSERVICEDELETEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
48
|
+
_globals['_FILESYSTEMSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
49
|
+
_globals['_FILESYSTEMSERVICE'].methods_by_name['Create']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
50
|
+
_globals['_FILESYSTEMSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
51
|
+
_globals['_FILESYSTEMSERVICE'].methods_by_name['Update']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
52
|
+
_globals['_FILESYSTEMSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
53
|
+
_globals['_FILESYSTEMSERVICE'].methods_by_name['Delete']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
54
|
+
_globals['_FILESYSTEMSERVICECREATEREQUEST']._serialized_start=158
|
|
55
|
+
_globals['_FILESYSTEMSERVICECREATEREQUEST']._serialized_end=272
|
|
56
|
+
_globals['_FILESYSTEMSERVICECREATERESPONSE']._serialized_start=274
|
|
57
|
+
_globals['_FILESYSTEMSERVICECREATERESPONSE']._serialized_end=389
|
|
58
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST']._serialized_start=392
|
|
59
|
+
_globals['_FILESYSTEMSERVICEUPDATEREQUEST']._serialized_end=1020
|
|
60
|
+
_globals['_FILESYSTEMSERVICEUPDATERESPONSE']._serialized_start=1022
|
|
61
|
+
_globals['_FILESYSTEMSERVICEUPDATERESPONSE']._serialized_end=1137
|
|
62
|
+
_globals['_FILESYSTEMSERVICEDELETEREQUEST']._serialized_start=1139
|
|
63
|
+
_globals['_FILESYSTEMSERVICEDELETEREQUEST']._serialized_end=1199
|
|
64
|
+
_globals['_FILESYSTEMSERVICEDELETERESPONSE']._serialized_start=1201
|
|
65
|
+
_globals['_FILESYSTEMSERVICEDELETERESPONSE']._serialized_end=1316
|
|
66
|
+
_globals['_FILESYSTEMSERVICE']._serialized_start=1319
|
|
67
|
+
_globals['_FILESYSTEMSERVICE']._serialized_end=1722
|
|
68
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from metalstack.api.v2 import common_pb2 as _common_pb2
|
|
3
|
+
from metalstack.api.v2 import filesystem_pb2 as _filesystem_pb2
|
|
4
|
+
from google.protobuf.internal import containers as _containers
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import message as _message
|
|
7
|
+
from collections.abc import Iterable as _Iterable, Mapping as _Mapping
|
|
8
|
+
from typing import ClassVar as _ClassVar, Optional as _Optional, Union as _Union
|
|
9
|
+
|
|
10
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
11
|
+
|
|
12
|
+
class FilesystemServiceCreateRequest(_message.Message):
|
|
13
|
+
__slots__ = ("filesystem_layout",)
|
|
14
|
+
FILESYSTEM_LAYOUT_FIELD_NUMBER: _ClassVar[int]
|
|
15
|
+
filesystem_layout: _filesystem_pb2.FilesystemLayout
|
|
16
|
+
def __init__(self, filesystem_layout: _Optional[_Union[_filesystem_pb2.FilesystemLayout, _Mapping]] = ...) -> None: ...
|
|
17
|
+
|
|
18
|
+
class FilesystemServiceCreateResponse(_message.Message):
|
|
19
|
+
__slots__ = ("filesystem_layout",)
|
|
20
|
+
FILESYSTEM_LAYOUT_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
filesystem_layout: _filesystem_pb2.FilesystemLayout
|
|
22
|
+
def __init__(self, filesystem_layout: _Optional[_Union[_filesystem_pb2.FilesystemLayout, _Mapping]] = ...) -> None: ...
|
|
23
|
+
|
|
24
|
+
class FilesystemServiceUpdateRequest(_message.Message):
|
|
25
|
+
__slots__ = ("id", "update_meta", "name", "description", "filesystems", "disks", "raid", "volume_groups", "logical_volumes", "constraints")
|
|
26
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
UPDATE_META_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
29
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
FILESYSTEMS_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
DISKS_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
RAID_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
VOLUME_GROUPS_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
LOGICAL_VOLUMES_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
CONSTRAINTS_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
id: str
|
|
37
|
+
update_meta: _common_pb2.UpdateMeta
|
|
38
|
+
name: str
|
|
39
|
+
description: str
|
|
40
|
+
filesystems: _containers.RepeatedCompositeFieldContainer[_filesystem_pb2.Filesystem]
|
|
41
|
+
disks: _containers.RepeatedCompositeFieldContainer[_filesystem_pb2.Disk]
|
|
42
|
+
raid: _containers.RepeatedCompositeFieldContainer[_filesystem_pb2.Raid]
|
|
43
|
+
volume_groups: _containers.RepeatedCompositeFieldContainer[_filesystem_pb2.VolumeGroup]
|
|
44
|
+
logical_volumes: _containers.RepeatedCompositeFieldContainer[_filesystem_pb2.LogicalVolume]
|
|
45
|
+
constraints: _filesystem_pb2.FilesystemLayoutConstraints
|
|
46
|
+
def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., filesystems: _Optional[_Iterable[_Union[_filesystem_pb2.Filesystem, _Mapping]]] = ..., disks: _Optional[_Iterable[_Union[_filesystem_pb2.Disk, _Mapping]]] = ..., raid: _Optional[_Iterable[_Union[_filesystem_pb2.Raid, _Mapping]]] = ..., volume_groups: _Optional[_Iterable[_Union[_filesystem_pb2.VolumeGroup, _Mapping]]] = ..., logical_volumes: _Optional[_Iterable[_Union[_filesystem_pb2.LogicalVolume, _Mapping]]] = ..., constraints: _Optional[_Union[_filesystem_pb2.FilesystemLayoutConstraints, _Mapping]] = ...) -> None: ...
|
|
47
|
+
|
|
48
|
+
class FilesystemServiceUpdateResponse(_message.Message):
|
|
49
|
+
__slots__ = ("filesystem_layout",)
|
|
50
|
+
FILESYSTEM_LAYOUT_FIELD_NUMBER: _ClassVar[int]
|
|
51
|
+
filesystem_layout: _filesystem_pb2.FilesystemLayout
|
|
52
|
+
def __init__(self, filesystem_layout: _Optional[_Union[_filesystem_pb2.FilesystemLayout, _Mapping]] = ...) -> None: ...
|
|
53
|
+
|
|
54
|
+
class FilesystemServiceDeleteRequest(_message.Message):
|
|
55
|
+
__slots__ = ("id",)
|
|
56
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
id: str
|
|
58
|
+
def __init__(self, id: _Optional[str] = ...) -> None: ...
|
|
59
|
+
|
|
60
|
+
class FilesystemServiceDeleteResponse(_message.Message):
|
|
61
|
+
__slots__ = ("filesystem_layout",)
|
|
62
|
+
FILESYSTEM_LAYOUT_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
+
filesystem_layout: _filesystem_pb2.FilesystemLayout
|
|
64
|
+
def __init__(self, filesystem_layout: _Optional[_Union[_filesystem_pb2.FilesystemLayout, _Mapping]] = ...) -> None: ...
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: metalstack/admin/v2/image.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
32,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'metalstack/admin/v2/image.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
|
+
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
28
|
+
from metalstack.api.v2 import image_pb2 as metalstack_dot_api_dot_v2_dot_image__pb2
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmetalstack/admin/v2/image.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1dmetalstack/api/v2/image.proto\"K\n\x19ImageServiceCreateRequest\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"L\n\x1aImageServiceCreateResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"\xe4\x04\n\x19ImageServiceUpdateRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12O\n\x03url\x18\x03 \x01(\tB8\xbaH5\xba\x01\x32\n\tvalid_url\x12\x17url must be a valid URI\x1a\x0cthis.isUri()H\x00R\x03url\x88\x01\x01\x12#\n\x04name\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x05 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x83\x01\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1f.metalstack.api.v2.ImageFeatureBF\xbaHC\x92\x01@\x08\x01\"<\xba\x01\x39\n\x08\x66\x65\x61tures\x12\x15\x66\x65\x61ture must be valid\x1a\x16this >= 0 && this <= 2R\x08\x66\x65\x61tures\x12X\n\x0e\x63lassification\x18\x07 \x01(\x0e\x32&.metalstack.api.v2.ImageClassificationB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0e\x63lassification\x12\x39\n\nexpires_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAtB\x06\n\x04_urlB\x07\n\x05_nameB\x0e\n\x0c_description\"L\n\x1aImageServiceUpdateResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"7\n\x19ImageServiceDeleteRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"L\n\x1aImageServiceDeleteResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"O\n\x18ImageServiceUsageRequest\x12\x33\n\x05query\x18\x01 \x01(\x0b\x32\x1d.metalstack.api.v2.ImageQueryR\x05query\"[\n\x19ImageServiceUsageResponse\x12>\n\x0bimage_usage\x18\x01 \x03(\x0b\x32\x1d.metalstack.api.v2.ImageUsageR\nimageUsage2\xe0\x03\n\x0cImageService\x12t\n\x06\x43reate\x12..metalstack.admin.v2.ImageServiceCreateRequest\x1a/.metalstack.admin.v2.ImageServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12t\n\x06Update\x12..metalstack.admin.v2.ImageServiceUpdateRequest\x1a/.metalstack.admin.v2.ImageServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12t\n\x06\x44\x65lete\x12..metalstack.admin.v2.ImageServiceDeleteRequest\x1a/.metalstack.admin.v2.ImageServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12n\n\x05Usage\x12-.metalstack.admin.v2.ImageServiceUsageRequest\x1a..metalstack.admin.v2.ImageServiceUsageResponse\"\x06\xd2\xf3\x18\x02\x01\x02\x42\xce\x01\n\x17\x63om.metalstack.admin.v2B\nImageProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
|
|
32
|
+
|
|
33
|
+
_globals = globals()
|
|
34
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
35
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'metalstack.admin.v2.image_pb2', _globals)
|
|
36
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
37
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
38
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.metalstack.admin.v2B\nImageProtoP\001Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\242\002\003MAX\252\002\023Metalstack.Admin.V2\312\002\023Metalstack\\Admin\\V2\342\002\037Metalstack\\Admin\\V2\\GPBMetadata\352\002\025Metalstack::Admin::V2'
|
|
39
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
40
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
41
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
|
|
42
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
43
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['url']._loaded_options = None
|
|
44
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['url']._serialized_options = b'\272H5\272\0012\n\tvalid_url\022\027url must be a valid URI\032\014this.isUri()'
|
|
45
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
46
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
47
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
48
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
49
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['features']._loaded_options = None
|
|
50
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['features']._serialized_options = b'\272HC\222\001@\010\001\"<\272\0019\n\010features\022\025feature must be valid\032\026this >= 0 && this <= 2'
|
|
51
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['classification']._loaded_options = None
|
|
52
|
+
_globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['classification']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
53
|
+
_globals['_IMAGESERVICEDELETEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
54
|
+
_globals['_IMAGESERVICEDELETEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
55
|
+
_globals['_IMAGESERVICE'].methods_by_name['Create']._loaded_options = None
|
|
56
|
+
_globals['_IMAGESERVICE'].methods_by_name['Create']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
57
|
+
_globals['_IMAGESERVICE'].methods_by_name['Update']._loaded_options = None
|
|
58
|
+
_globals['_IMAGESERVICE'].methods_by_name['Update']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
59
|
+
_globals['_IMAGESERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
60
|
+
_globals['_IMAGESERVICE'].methods_by_name['Delete']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
61
|
+
_globals['_IMAGESERVICE'].methods_by_name['Usage']._loaded_options = None
|
|
62
|
+
_globals['_IMAGESERVICE'].methods_by_name['Usage']._serialized_options = b'\322\363\030\002\001\002'
|
|
63
|
+
_globals['_IMAGESERVICECREATEREQUEST']._serialized_start=181
|
|
64
|
+
_globals['_IMAGESERVICECREATEREQUEST']._serialized_end=256
|
|
65
|
+
_globals['_IMAGESERVICECREATERESPONSE']._serialized_start=258
|
|
66
|
+
_globals['_IMAGESERVICECREATERESPONSE']._serialized_end=334
|
|
67
|
+
_globals['_IMAGESERVICEUPDATEREQUEST']._serialized_start=337
|
|
68
|
+
_globals['_IMAGESERVICEUPDATEREQUEST']._serialized_end=949
|
|
69
|
+
_globals['_IMAGESERVICEUPDATERESPONSE']._serialized_start=951
|
|
70
|
+
_globals['_IMAGESERVICEUPDATERESPONSE']._serialized_end=1027
|
|
71
|
+
_globals['_IMAGESERVICEDELETEREQUEST']._serialized_start=1029
|
|
72
|
+
_globals['_IMAGESERVICEDELETEREQUEST']._serialized_end=1084
|
|
73
|
+
_globals['_IMAGESERVICEDELETERESPONSE']._serialized_start=1086
|
|
74
|
+
_globals['_IMAGESERVICEDELETERESPONSE']._serialized_end=1162
|
|
75
|
+
_globals['_IMAGESERVICEUSAGEREQUEST']._serialized_start=1164
|
|
76
|
+
_globals['_IMAGESERVICEUSAGEREQUEST']._serialized_end=1243
|
|
77
|
+
_globals['_IMAGESERVICEUSAGERESPONSE']._serialized_start=1245
|
|
78
|
+
_globals['_IMAGESERVICEUSAGERESPONSE']._serialized_end=1336
|
|
79
|
+
_globals['_IMAGESERVICE']._serialized_start=1339
|
|
80
|
+
_globals['_IMAGESERVICE']._serialized_end=1819
|
|
81
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
+
import datetime
|
|
2
|
+
|
|
1
3
|
from buf.validate import validate_pb2 as _validate_pb2
|
|
4
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
2
5
|
from metalstack.api.v2 import common_pb2 as _common_pb2
|
|
3
6
|
from metalstack.api.v2 import image_pb2 as _image_pb2
|
|
4
7
|
from google.protobuf.internal import containers as _containers
|
|
@@ -22,10 +25,24 @@ class ImageServiceCreateResponse(_message.Message):
|
|
|
22
25
|
def __init__(self, image: _Optional[_Union[_image_pb2.Image, _Mapping]] = ...) -> None: ...
|
|
23
26
|
|
|
24
27
|
class ImageServiceUpdateRequest(_message.Message):
|
|
25
|
-
__slots__ = ("
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
28
|
+
__slots__ = ("id", "update_meta", "url", "name", "description", "features", "classification", "expires_at")
|
|
29
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
UPDATE_META_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
URL_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
34
|
+
FEATURES_FIELD_NUMBER: _ClassVar[int]
|
|
35
|
+
CLASSIFICATION_FIELD_NUMBER: _ClassVar[int]
|
|
36
|
+
EXPIRES_AT_FIELD_NUMBER: _ClassVar[int]
|
|
37
|
+
id: str
|
|
38
|
+
update_meta: _common_pb2.UpdateMeta
|
|
39
|
+
url: str
|
|
40
|
+
name: str
|
|
41
|
+
description: str
|
|
42
|
+
features: _containers.RepeatedScalarFieldContainer[_image_pb2.ImageFeature]
|
|
43
|
+
classification: _image_pb2.ImageClassification
|
|
44
|
+
expires_at: _timestamp_pb2.Timestamp
|
|
45
|
+
def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., url: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., features: _Optional[_Iterable[_Union[_image_pb2.ImageFeature, str]]] = ..., classification: _Optional[_Union[_image_pb2.ImageClassification, str]] = ..., expires_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
29
46
|
|
|
30
47
|
class ImageServiceUpdateResponse(_message.Message):
|
|
31
48
|
__slots__ = ("image",)
|
|
@@ -27,7 +27,7 @@ from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common
|
|
|
27
27
|
from metalstack.api.v2 import network_pb2 as metalstack_dot_api_dot_v2_dot_network__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/admin/v2/network.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1fmetalstack/api/v2/network.proto\"6\n\x18NetworkServiceGetRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"Q\n\x19NetworkServiceGetResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"\xd1\x0b\n\x1bNetworkServiceCreateRequest\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x12#\n\x04name\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x02R\x0b\x64\x65scription\x88\x01\x01\x12-\n\tpartition\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x03R\tpartition\x88\x01\x01\x12\'\n\x07project\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x04R\x07project\x88\x01\x01\x12<\n\x04type\x18\x06 \x01(\x0e\x32\x1e.metalstack.api.v2.NetworkTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04type\x12\x36\n\x06labels\x18\x07 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x05R\x06labels\x88\x01\x01\x12\x1a\n\x08prefixes\x18\x08 \x03(\tR\x08prefixes\x12\x31\n\x14\x64\x65stination_prefixes\x18\t \x03(\tR\x13\x64\x65stinationPrefixes\x12\x63\n\x1b\x64\x65\x66\x61ult_child_prefix_length\x18\n \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthR\x18\x64\x65\x66\x61ultChildPrefixLength\x12[\n\x17min_child_prefix_length\x18\x0b \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthR\x14minChildPrefixLength\x12\x44\n\x08nat_type\x18\x0c \x01(\x0e\x32\x1a.metalstack.api.v2.NATTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x06R\x07natType\x88\x01\x01\x12\x15\n\x03vrf\x18\r \x01(\rH\x07R\x03vrf\x88\x01\x01\x12\x36\n\x0eparent_network\x18\x0e \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x08R\rparentNetwork\x88\x01\x01\x12@\n\x1c\x61\x64\x64itional_announcable_cidrs\x18\x0f \x03(\tR\x1a\x61\x64\x64itionalAnnouncableCidrs\x12\x41\n\x06length\x18\x10 \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthH\tR\x06length\x88\x01\x01\x12]\n\x0e\x61\x64\x64ress_family\x18\x11 \x01(\x0e\x32\'.metalstack.api.v2.NetworkAddressFamilyB\x08\xbaH\x05\x82\x01\x02\x10\x01H\nR\raddressFamily\x88\x01\x01:\xd5\x02\xbaH\xd1\x02\x1aN\n\x08prefixes\x12\x1cgiven prefixes must be valid\x1a$this.prefixes.all(m, m.isIpPrefix())\x1ar\n\x14\x64\x65stination_prefixes\x12(given destination_prefixes must be valid\x1a\x30this.destination_prefixes.all(m, m.isIpPrefix())\x1a\x8a\x01\n\x1c\x61\x64\x64itional_announcable_cidrs\x12\x30given additional_announcable_cidrs must be valid\x1a\x38this.additional_announcable_cidrs.all(m, m.isIpPrefix())B\x05\n\x03_idB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0c\n\n_partitionB\n\n\x08_projectB\t\n\x07_labelsB\x0b\n\t_nat_typeB\x06\n\x04_vrfB\x11\n\x0f_parent_networkB\t\n\x07_lengthB\x11\n\x0f_address_family\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/admin/v2/network.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1fmetalstack/api/v2/network.proto\"6\n\x18NetworkServiceGetRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"Q\n\x19NetworkServiceGetResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"\xd1\x0b\n\x1bNetworkServiceCreateRequest\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x12#\n\x04name\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x02R\x0b\x64\x65scription\x88\x01\x01\x12-\n\tpartition\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x03R\tpartition\x88\x01\x01\x12\'\n\x07project\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x04R\x07project\x88\x01\x01\x12<\n\x04type\x18\x06 \x01(\x0e\x32\x1e.metalstack.api.v2.NetworkTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04type\x12\x36\n\x06labels\x18\x07 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x05R\x06labels\x88\x01\x01\x12\x1a\n\x08prefixes\x18\x08 \x03(\tR\x08prefixes\x12\x31\n\x14\x64\x65stination_prefixes\x18\t \x03(\tR\x13\x64\x65stinationPrefixes\x12\x63\n\x1b\x64\x65\x66\x61ult_child_prefix_length\x18\n \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthR\x18\x64\x65\x66\x61ultChildPrefixLength\x12[\n\x17min_child_prefix_length\x18\x0b \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthR\x14minChildPrefixLength\x12\x44\n\x08nat_type\x18\x0c \x01(\x0e\x32\x1a.metalstack.api.v2.NATTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x06R\x07natType\x88\x01\x01\x12\x15\n\x03vrf\x18\r \x01(\rH\x07R\x03vrf\x88\x01\x01\x12\x36\n\x0eparent_network\x18\x0e \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x08R\rparentNetwork\x88\x01\x01\x12@\n\x1c\x61\x64\x64itional_announcable_cidrs\x18\x0f \x03(\tR\x1a\x61\x64\x64itionalAnnouncableCidrs\x12\x41\n\x06length\x18\x10 \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthH\tR\x06length\x88\x01\x01\x12]\n\x0e\x61\x64\x64ress_family\x18\x11 \x01(\x0e\x32\'.metalstack.api.v2.NetworkAddressFamilyB\x08\xbaH\x05\x82\x01\x02\x10\x01H\nR\raddressFamily\x88\x01\x01:\xd5\x02\xbaH\xd1\x02\x1aN\n\x08prefixes\x12\x1cgiven prefixes must be valid\x1a$this.prefixes.all(m, m.isIpPrefix())\x1ar\n\x14\x64\x65stination_prefixes\x12(given destination_prefixes must be valid\x1a\x30this.destination_prefixes.all(m, m.isIpPrefix())\x1a\x8a\x01\n\x1c\x61\x64\x64itional_announcable_cidrs\x12\x30given additional_announcable_cidrs must be valid\x1a\x38this.additional_announcable_cidrs.all(m, m.isIpPrefix())B\x05\n\x03_idB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0c\n\n_partitionB\n\n\x08_projectB\t\n\x07_labelsB\x0b\n\t_nat_typeB\x06\n\x04_vrfB\x11\n\x0f_parent_networkB\t\n\x07_lengthB\x11\n\x0f_address_family\"\x95\t\n\x1bNetworkServiceUpdateRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12<\n\x06labels\x18\x05 \x01(\x0b\x32\x1f.metalstack.api.v2.UpdateLabelsH\x02R\x06labels\x88\x01\x01\x12\x1a\n\x08prefixes\x18\x06 \x03(\tR\x08prefixes\x12\x31\n\x14\x64\x65stination_prefixes\x18\x07 \x03(\tR\x13\x64\x65stinationPrefixes\x12h\n\x1b\x64\x65\x66\x61ult_child_prefix_length\x18\n \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthH\x03R\x18\x64\x65\x66\x61ultChildPrefixLength\x88\x01\x01\x12`\n\x17min_child_prefix_length\x18\x0b \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthH\x04R\x14minChildPrefixLength\x88\x01\x01\x12\x44\n\x08nat_type\x18\r \x01(\x0e\x32\x1a.metalstack.api.v2.NATTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x05R\x07natType\x88\x01\x01\x12@\n\x1c\x61\x64\x64itional_announcable_cidrs\x18\x10 \x03(\tR\x1a\x61\x64\x64itionalAnnouncableCidrs\x12\x14\n\x05\x66orce\x18\x14 \x01(\x08R\x05\x66orce:\xd5\x02\xbaH\xd1\x02\x1aN\n\x08prefixes\x12\x1cgiven prefixes must be valid\x1a$this.prefixes.all(m, m.isIpPrefix())\x1ar\n\x14\x64\x65stination_prefixes\x12(given destination_prefixes must be valid\x1a\x30this.destination_prefixes.all(m, m.isIpPrefix())\x1a\x8a\x01\n\x1c\x61\x64\x64itional_announcable_cidrs\x12\x30given additional_announcable_cidrs must be valid\x1a\x38this.additional_announcable_cidrs.all(m, m.isIpPrefix())B\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_labelsB\x1e\n\x1c_default_child_prefix_lengthB\x1a\n\x18_min_child_prefix_lengthB\x0b\n\t_nat_type\"9\n\x1bNetworkServiceDeleteRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"R\n\x19NetworkServiceListRequest\x12\x35\n\x05query\x18\x02 \x01(\x0b\x32\x1f.metalstack.api.v2.NetworkQueryR\x05query\"T\n\x1cNetworkServiceCreateResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"T\n\x1cNetworkServiceUpdateResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"T\n\x1cNetworkServiceDeleteResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"T\n\x1aNetworkServiceListResponse\x12\x36\n\x08networks\x18\x01 \x03(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x08networks2\xe5\x04\n\x0eNetworkService\x12p\n\x03Get\x12-.metalstack.admin.v2.NetworkServiceGetRequest\x1a..metalstack.admin.v2.NetworkServiceGetResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12x\n\x06\x43reate\x12\x30.metalstack.admin.v2.NetworkServiceCreateRequest\x1a\x31.metalstack.admin.v2.NetworkServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12x\n\x06Update\x12\x30.metalstack.admin.v2.NetworkServiceUpdateRequest\x1a\x31.metalstack.admin.v2.NetworkServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12x\n\x06\x44\x65lete\x12\x30.metalstack.admin.v2.NetworkServiceDeleteRequest\x1a\x31.metalstack.admin.v2.NetworkServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12s\n\x04List\x12..metalstack.admin.v2.NetworkServiceListRequest\x1a/.metalstack.admin.v2.NetworkServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x42\xd0\x01\n\x17\x63om.metalstack.admin.v2B\x0cNetworkProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -59,6 +59,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
59
59
|
_globals['_NETWORKSERVICECREATEREQUEST']._serialized_options = b'\272H\321\002\032N\n\010prefixes\022\034given prefixes must be valid\032$this.prefixes.all(m, m.isIpPrefix())\032r\n\024destination_prefixes\022(given destination_prefixes must be valid\0320this.destination_prefixes.all(m, m.isIpPrefix())\032\212\001\n\034additional_announcable_cidrs\0220given additional_announcable_cidrs must be valid\0328this.additional_announcable_cidrs.all(m, m.isIpPrefix())'
|
|
60
60
|
_globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
61
61
|
_globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
62
|
+
_globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
|
|
63
|
+
_globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
62
64
|
_globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
63
65
|
_globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
64
66
|
_globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
@@ -86,19 +88,19 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
86
88
|
_globals['_NETWORKSERVICECREATEREQUEST']._serialized_start=292
|
|
87
89
|
_globals['_NETWORKSERVICECREATEREQUEST']._serialized_end=1781
|
|
88
90
|
_globals['_NETWORKSERVICEUPDATEREQUEST']._serialized_start=1784
|
|
89
|
-
_globals['_NETWORKSERVICEUPDATEREQUEST']._serialized_end=
|
|
90
|
-
_globals['_NETWORKSERVICEDELETEREQUEST']._serialized_start=
|
|
91
|
-
_globals['_NETWORKSERVICEDELETEREQUEST']._serialized_end=
|
|
92
|
-
_globals['_NETWORKSERVICELISTREQUEST']._serialized_start=
|
|
93
|
-
_globals['_NETWORKSERVICELISTREQUEST']._serialized_end=
|
|
94
|
-
_globals['_NETWORKSERVICECREATERESPONSE']._serialized_start=
|
|
95
|
-
_globals['_NETWORKSERVICECREATERESPONSE']._serialized_end=
|
|
96
|
-
_globals['_NETWORKSERVICEUPDATERESPONSE']._serialized_start=
|
|
97
|
-
_globals['_NETWORKSERVICEUPDATERESPONSE']._serialized_end=
|
|
98
|
-
_globals['_NETWORKSERVICEDELETERESPONSE']._serialized_start=
|
|
99
|
-
_globals['_NETWORKSERVICEDELETERESPONSE']._serialized_end=
|
|
100
|
-
_globals['_NETWORKSERVICELISTRESPONSE']._serialized_start=
|
|
101
|
-
_globals['_NETWORKSERVICELISTRESPONSE']._serialized_end=
|
|
102
|
-
_globals['_NETWORKSERVICE']._serialized_start=
|
|
103
|
-
_globals['_NETWORKSERVICE']._serialized_end=
|
|
91
|
+
_globals['_NETWORKSERVICEUPDATEREQUEST']._serialized_end=2957
|
|
92
|
+
_globals['_NETWORKSERVICEDELETEREQUEST']._serialized_start=2959
|
|
93
|
+
_globals['_NETWORKSERVICEDELETEREQUEST']._serialized_end=3016
|
|
94
|
+
_globals['_NETWORKSERVICELISTREQUEST']._serialized_start=3018
|
|
95
|
+
_globals['_NETWORKSERVICELISTREQUEST']._serialized_end=3100
|
|
96
|
+
_globals['_NETWORKSERVICECREATERESPONSE']._serialized_start=3102
|
|
97
|
+
_globals['_NETWORKSERVICECREATERESPONSE']._serialized_end=3186
|
|
98
|
+
_globals['_NETWORKSERVICEUPDATERESPONSE']._serialized_start=3188
|
|
99
|
+
_globals['_NETWORKSERVICEUPDATERESPONSE']._serialized_end=3272
|
|
100
|
+
_globals['_NETWORKSERVICEDELETERESPONSE']._serialized_start=3274
|
|
101
|
+
_globals['_NETWORKSERVICEDELETERESPONSE']._serialized_end=3358
|
|
102
|
+
_globals['_NETWORKSERVICELISTRESPONSE']._serialized_start=3360
|
|
103
|
+
_globals['_NETWORKSERVICELISTRESPONSE']._serialized_end=3444
|
|
104
|
+
_globals['_NETWORKSERVICE']._serialized_start=3447
|
|
105
|
+
_globals['_NETWORKSERVICE']._serialized_end=4060
|
|
104
106
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -60,8 +60,9 @@ class NetworkServiceCreateRequest(_message.Message):
|
|
|
60
60
|
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., partition: _Optional[str] = ..., project: _Optional[str] = ..., type: _Optional[_Union[_network_pb2.NetworkType, str]] = ..., labels: _Optional[_Union[_common_pb2.Labels, _Mapping]] = ..., prefixes: _Optional[_Iterable[str]] = ..., destination_prefixes: _Optional[_Iterable[str]] = ..., default_child_prefix_length: _Optional[_Union[_network_pb2.ChildPrefixLength, _Mapping]] = ..., min_child_prefix_length: _Optional[_Union[_network_pb2.ChildPrefixLength, _Mapping]] = ..., nat_type: _Optional[_Union[_network_pb2.NATType, str]] = ..., vrf: _Optional[int] = ..., parent_network: _Optional[str] = ..., additional_announcable_cidrs: _Optional[_Iterable[str]] = ..., length: _Optional[_Union[_network_pb2.ChildPrefixLength, _Mapping]] = ..., address_family: _Optional[_Union[_network_pb2.NetworkAddressFamily, str]] = ...) -> None: ...
|
|
61
61
|
|
|
62
62
|
class NetworkServiceUpdateRequest(_message.Message):
|
|
63
|
-
__slots__ = ("id", "name", "description", "labels", "prefixes", "destination_prefixes", "default_child_prefix_length", "min_child_prefix_length", "nat_type", "additional_announcable_cidrs", "force")
|
|
63
|
+
__slots__ = ("id", "update_meta", "name", "description", "labels", "prefixes", "destination_prefixes", "default_child_prefix_length", "min_child_prefix_length", "nat_type", "additional_announcable_cidrs", "force")
|
|
64
64
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
65
|
+
UPDATE_META_FIELD_NUMBER: _ClassVar[int]
|
|
65
66
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
66
67
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
67
68
|
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -73,6 +74,7 @@ class NetworkServiceUpdateRequest(_message.Message):
|
|
|
73
74
|
ADDITIONAL_ANNOUNCABLE_CIDRS_FIELD_NUMBER: _ClassVar[int]
|
|
74
75
|
FORCE_FIELD_NUMBER: _ClassVar[int]
|
|
75
76
|
id: str
|
|
77
|
+
update_meta: _common_pb2.UpdateMeta
|
|
76
78
|
name: str
|
|
77
79
|
description: str
|
|
78
80
|
labels: _common_pb2.UpdateLabels
|
|
@@ -83,7 +85,7 @@ class NetworkServiceUpdateRequest(_message.Message):
|
|
|
83
85
|
nat_type: _network_pb2.NATType
|
|
84
86
|
additional_announcable_cidrs: _containers.RepeatedScalarFieldContainer[str]
|
|
85
87
|
force: bool
|
|
86
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., labels: _Optional[_Union[_common_pb2.UpdateLabels, _Mapping]] = ..., prefixes: _Optional[_Iterable[str]] = ..., destination_prefixes: _Optional[_Iterable[str]] = ..., default_child_prefix_length: _Optional[_Union[_network_pb2.ChildPrefixLength, _Mapping]] = ..., min_child_prefix_length: _Optional[_Union[_network_pb2.ChildPrefixLength, _Mapping]] = ..., nat_type: _Optional[_Union[_network_pb2.NATType, str]] = ..., additional_announcable_cidrs: _Optional[_Iterable[str]] = ..., force: _Optional[bool] = ...) -> None: ...
|
|
88
|
+
def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., labels: _Optional[_Union[_common_pb2.UpdateLabels, _Mapping]] = ..., prefixes: _Optional[_Iterable[str]] = ..., destination_prefixes: _Optional[_Iterable[str]] = ..., default_child_prefix_length: _Optional[_Union[_network_pb2.ChildPrefixLength, _Mapping]] = ..., min_child_prefix_length: _Optional[_Union[_network_pb2.ChildPrefixLength, _Mapping]] = ..., nat_type: _Optional[_Union[_network_pb2.NATType, str]] = ..., additional_announcable_cidrs: _Optional[_Iterable[str]] = ..., force: _Optional[bool] = ...) -> None: ...
|
|
87
89
|
|
|
88
90
|
class NetworkServiceDeleteRequest(_message.Message):
|
|
89
91
|
__slots__ = ("id",)
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: metalstack/admin/v2/partition.proto
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
6,
|
|
15
|
+
32,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'metalstack/admin/v2/partition.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
|
+
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
27
|
+
from metalstack.api.v2 import partition_pb2 as metalstack_dot_api_dot_v2_dot_partition__pb2
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#metalstack/admin/v2/partition.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a!metalstack/api/v2/partition.proto\"[\n\x1dPartitionServiceCreateRequest\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\xaf\x04\n\x1dPartitionServiceUpdateRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x12\\\n\x12\x62oot_configuration\x18\x04 \x01(\x0b\x32-.metalstack.api.v2.PartitionBootConfigurationR\x11\x62ootConfiguration\x12\x45\n\ndns_server\x18\x05 \x03(\x0b\x32\x1c.metalstack.api.v2.DNSServerB\x08\xbaH\x05\x92\x01\x02\x10\x03R\tdnsServer\x12\x45\n\nntp_server\x18\x06 \x03(\x0b\x32\x1c.metalstack.api.v2.NTPServerB\x08\xbaH\x05\x92\x01\x02\x10\nR\tntpServer\x12\x34\n\x16mgmt_service_addresses\x18\x07 \x03(\tR\x14mgmtServiceAddresses\x12<\n\x06labels\x18\x08 \x01(\x0b\x32\x1f.metalstack.api.v2.UpdateLabelsH\x01R\x06labels\x88\x01\x01\x42\x0e\n\x0c_descriptionB\t\n\x07_labels\";\n\x1dPartitionServiceDeleteRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"\\\n\x1ePartitionServiceCreateResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\\\n\x1ePartitionServiceUpdateResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\\\n\x1ePartitionServiceDeleteResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\xac\x01\n\x1fPartitionServiceCapacityRequest\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x12#\n\x04size\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x04size\x88\x01\x01\x12\'\n\x07project\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x02R\x07project\x88\x01\x01\x42\x05\n\x03_idB\x07\n\x05_sizeB\n\n\x08_project\"\x83\x04\n PartitionServiceCapacityResponse\x12\x12\n\x04size\x18\x01 \x01(\tR\x04size\x12\x14\n\x05total\x18\x02 \x01(\x03R\x05total\x12\x1f\n\x0bphoned_home\x18\x03 \x01(\x03R\nphonedHome\x12\x18\n\x07waiting\x18\x04 \x01(\x03R\x07waiting\x12\x14\n\x05other\x18\x05 \x01(\x03R\x05other\x12%\n\x0eother_machines\x18\x06 \x03(\tR\rotherMachines\x12\x1c\n\tallocated\x18\x07 \x01(\x03R\tallocated\x12 \n\x0b\x61llocatable\x18\x08 \x01(\x03R\x0b\x61llocatable\x12\x12\n\x04\x66ree\x18\t \x01(\x03R\x04\x66ree\x12 \n\x0bunavailable\x18\n \x01(\x03R\x0bunavailable\x12\x16\n\x06\x66\x61ulty\x18\x0b \x01(\x03R\x06\x66\x61ulty\x12\'\n\x0f\x66\x61ulty_machines\x18\x0c \x03(\tR\x0e\x66\x61ultyMachines\x12\"\n\x0creservations\x18\r \x01(\x03R\x0creservations\x12+\n\x11used_reservations\x18\x0e \x01(\x03R\x10usedReservations\x12\x35\n\x16remaining_reservations\x18\x0f \x01(\x03R\x15remainingReservations2\x92\x04\n\x10PartitionService\x12|\n\x06\x43reate\x12\x32.metalstack.admin.v2.PartitionServiceCreateRequest\x1a\x33.metalstack.admin.v2.PartitionServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12|\n\x06Update\x12\x32.metalstack.admin.v2.PartitionServiceUpdateRequest\x1a\x33.metalstack.admin.v2.PartitionServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12|\n\x06\x44\x65lete\x12\x32.metalstack.admin.v2.PartitionServiceDeleteRequest\x1a\x33.metalstack.admin.v2.PartitionServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x83\x01\n\x08\x43\x61pacity\x12\x34.metalstack.admin.v2.PartitionServiceCapacityRequest\x1a\x35.metalstack.admin.v2.PartitionServiceCapacityResponse\"\n\xd2\xf3\x18\x02\x02\x01\xe0\xf3\x18\x02\x42\xd2\x01\n\x17\x63om.metalstack.admin.v2B\x0ePartitionProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
|
|
31
|
+
|
|
32
|
+
_globals = globals()
|
|
33
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
34
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'metalstack.admin.v2.partition_pb2', _globals)
|
|
35
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
36
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
37
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.metalstack.admin.v2B\016PartitionProtoP\001Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\242\002\003MAX\252\002\023Metalstack.Admin.V2\312\002\023Metalstack\\Admin\\V2\342\002\037Metalstack\\Admin\\V2\\GPBMetadata\352\002\025Metalstack::Admin::V2'
|
|
38
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
39
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
40
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
|
|
41
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
42
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
43
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\200\001'
|
|
44
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['dns_server']._loaded_options = None
|
|
45
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['dns_server']._serialized_options = b'\272H\005\222\001\002\020\003'
|
|
46
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['ntp_server']._loaded_options = None
|
|
47
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST'].fields_by_name['ntp_server']._serialized_options = b'\272H\005\222\001\002\020\n'
|
|
48
|
+
_globals['_PARTITIONSERVICEDELETEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
49
|
+
_globals['_PARTITIONSERVICEDELETEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
50
|
+
_globals['_PARTITIONSERVICECAPACITYREQUEST'].fields_by_name['id']._loaded_options = None
|
|
51
|
+
_globals['_PARTITIONSERVICECAPACITYREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
52
|
+
_globals['_PARTITIONSERVICECAPACITYREQUEST'].fields_by_name['size']._loaded_options = None
|
|
53
|
+
_globals['_PARTITIONSERVICECAPACITYREQUEST'].fields_by_name['size']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
54
|
+
_globals['_PARTITIONSERVICECAPACITYREQUEST'].fields_by_name['project']._loaded_options = None
|
|
55
|
+
_globals['_PARTITIONSERVICECAPACITYREQUEST'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
|
|
56
|
+
_globals['_PARTITIONSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
57
|
+
_globals['_PARTITIONSERVICE'].methods_by_name['Create']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
58
|
+
_globals['_PARTITIONSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
59
|
+
_globals['_PARTITIONSERVICE'].methods_by_name['Update']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
60
|
+
_globals['_PARTITIONSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
61
|
+
_globals['_PARTITIONSERVICE'].methods_by_name['Delete']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
|
|
62
|
+
_globals['_PARTITIONSERVICE'].methods_by_name['Capacity']._loaded_options = None
|
|
63
|
+
_globals['_PARTITIONSERVICE'].methods_by_name['Capacity']._serialized_options = b'\322\363\030\002\002\001\340\363\030\002'
|
|
64
|
+
_globals['_PARTITIONSERVICECREATEREQUEST']._serialized_start=156
|
|
65
|
+
_globals['_PARTITIONSERVICECREATEREQUEST']._serialized_end=247
|
|
66
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST']._serialized_start=250
|
|
67
|
+
_globals['_PARTITIONSERVICEUPDATEREQUEST']._serialized_end=809
|
|
68
|
+
_globals['_PARTITIONSERVICEDELETEREQUEST']._serialized_start=811
|
|
69
|
+
_globals['_PARTITIONSERVICEDELETEREQUEST']._serialized_end=870
|
|
70
|
+
_globals['_PARTITIONSERVICECREATERESPONSE']._serialized_start=872
|
|
71
|
+
_globals['_PARTITIONSERVICECREATERESPONSE']._serialized_end=964
|
|
72
|
+
_globals['_PARTITIONSERVICEUPDATERESPONSE']._serialized_start=966
|
|
73
|
+
_globals['_PARTITIONSERVICEUPDATERESPONSE']._serialized_end=1058
|
|
74
|
+
_globals['_PARTITIONSERVICEDELETERESPONSE']._serialized_start=1060
|
|
75
|
+
_globals['_PARTITIONSERVICEDELETERESPONSE']._serialized_end=1152
|
|
76
|
+
_globals['_PARTITIONSERVICECAPACITYREQUEST']._serialized_start=1155
|
|
77
|
+
_globals['_PARTITIONSERVICECAPACITYREQUEST']._serialized_end=1327
|
|
78
|
+
_globals['_PARTITIONSERVICECAPACITYRESPONSE']._serialized_start=1330
|
|
79
|
+
_globals['_PARTITIONSERVICECAPACITYRESPONSE']._serialized_end=1845
|
|
80
|
+
_globals['_PARTITIONSERVICE']._serialized_start=1848
|
|
81
|
+
_globals['_PARTITIONSERVICE']._serialized_end=2378
|
|
82
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -16,10 +16,24 @@ class PartitionServiceCreateRequest(_message.Message):
|
|
|
16
16
|
def __init__(self, partition: _Optional[_Union[_partition_pb2.Partition, _Mapping]] = ...) -> None: ...
|
|
17
17
|
|
|
18
18
|
class PartitionServiceUpdateRequest(_message.Message):
|
|
19
|
-
__slots__ = ("
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
19
|
+
__slots__ = ("id", "update_meta", "description", "boot_configuration", "dns_server", "ntp_server", "mgmt_service_addresses", "labels")
|
|
20
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
21
|
+
UPDATE_META_FIELD_NUMBER: _ClassVar[int]
|
|
22
|
+
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
23
|
+
BOOT_CONFIGURATION_FIELD_NUMBER: _ClassVar[int]
|
|
24
|
+
DNS_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
25
|
+
NTP_SERVER_FIELD_NUMBER: _ClassVar[int]
|
|
26
|
+
MGMT_SERVICE_ADDRESSES_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
28
|
+
id: str
|
|
29
|
+
update_meta: _common_pb2.UpdateMeta
|
|
30
|
+
description: str
|
|
31
|
+
boot_configuration: _partition_pb2.PartitionBootConfiguration
|
|
32
|
+
dns_server: _containers.RepeatedCompositeFieldContainer[_partition_pb2.DNSServer]
|
|
33
|
+
ntp_server: _containers.RepeatedCompositeFieldContainer[_partition_pb2.NTPServer]
|
|
34
|
+
mgmt_service_addresses: _containers.RepeatedScalarFieldContainer[str]
|
|
35
|
+
labels: _common_pb2.UpdateLabels
|
|
36
|
+
def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., description: _Optional[str] = ..., boot_configuration: _Optional[_Union[_partition_pb2.PartitionBootConfiguration, _Mapping]] = ..., dns_server: _Optional[_Iterable[_Union[_partition_pb2.DNSServer, _Mapping]]] = ..., ntp_server: _Optional[_Iterable[_Union[_partition_pb2.NTPServer, _Mapping]]] = ..., mgmt_service_addresses: _Optional[_Iterable[str]] = ..., labels: _Optional[_Union[_common_pb2.UpdateLabels, _Mapping]] = ...) -> None: ...
|
|
23
37
|
|
|
24
38
|
class PartitionServiceDeleteRequest(_message.Message):
|
|
25
39
|
__slots__ = ("id",)
|
|
@@ -27,7 +27,7 @@ from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common
|
|
|
27
27
|
from metalstack.api.v2 import size_pb2 as metalstack_dot_api_dot_v2_dot_size__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emetalstack/admin/v2/size.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1cmetalstack/api/v2/size.proto\"G\n\x18SizeServiceCreateRequest\x12+\n\x04size\x18\x01 \x01(\x0b\x32\x17.metalstack.api.v2.SizeR\x04size\"H\n\x19SizeServiceCreateResponse\x12+\n\x04size\x18\x01 \x01(\x0b\x32\x17.metalstack.api.v2.SizeR\x04size\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emetalstack/admin/v2/size.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1cmetalstack/api/v2/size.proto\"G\n\x18SizeServiceCreateRequest\x12+\n\x04size\x18\x01 \x01(\x0b\x32\x17.metalstack.api.v2.SizeR\x04size\"H\n\x19SizeServiceCreateResponse\x12+\n\x04size\x18\x01 \x01(\x0b\x32\x17.metalstack.api.v2.SizeR\x04size\"\xfd\x02\n\x18SizeServiceUpdateRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x43\n\x0b\x63onstraints\x18\x05 \x03(\x0b\x32!.metalstack.api.v2.SizeConstraintR\x0b\x63onstraints\x12<\n\x06labels\x18\x06 \x01(\x0b\x32\x1f.metalstack.api.v2.UpdateLabelsH\x02R\x06labels\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_labels\"H\n\x19SizeServiceUpdateResponse\x12+\n\x04size\x18\x01 \x01(\x0b\x32\x17.metalstack.api.v2.SizeR\x04size\"6\n\x18SizeServiceDeleteRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"H\n\x19SizeServiceDeleteResponse\x12+\n\x04size\x18\x01 \x01(\x0b\x32\x17.metalstack.api.v2.SizeR\x04size2\xe0\x02\n\x0bSizeService\x12o\n\x06\x43reate\x12-.metalstack.admin.v2.SizeServiceCreateRequest\x1a..metalstack.admin.v2.SizeServiceCreateResponse\"\x06\xd2\xf3\x18\x02\x01\x02\x12o\n\x06Update\x12-.metalstack.admin.v2.SizeServiceUpdateRequest\x1a..metalstack.admin.v2.SizeServiceUpdateResponse\"\x06\xd2\xf3\x18\x02\x01\x02\x12o\n\x06\x44\x65lete\x12-.metalstack.admin.v2.SizeServiceDeleteRequest\x1a..metalstack.admin.v2.SizeServiceDeleteResponse\"\x06\xd2\xf3\x18\x02\x01\x02\x42\xcd\x01\n\x17\x63om.metalstack.admin.v2B\tSizeProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,6 +37,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
37
|
_globals['DESCRIPTOR']._serialized_options = b'\n\027com.metalstack.admin.v2B\tSizeProtoP\001Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\242\002\003MAX\252\002\023Metalstack.Admin.V2\312\002\023Metalstack\\Admin\\V2\342\002\037Metalstack\\Admin\\V2\\GPBMetadata\352\002\025Metalstack::Admin::V2'
|
|
38
38
|
_globals['_SIZESERVICEUPDATEREQUEST'].fields_by_name['id']._loaded_options = None
|
|
39
39
|
_globals['_SIZESERVICEUPDATEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
40
|
+
_globals['_SIZESERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
|
|
41
|
+
_globals['_SIZESERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
40
42
|
_globals['_SIZESERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
41
43
|
_globals['_SIZESERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
42
44
|
_globals['_SIZESERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
@@ -54,13 +56,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
54
56
|
_globals['_SIZESERVICECREATERESPONSE']._serialized_start=219
|
|
55
57
|
_globals['_SIZESERVICECREATERESPONSE']._serialized_end=291
|
|
56
58
|
_globals['_SIZESERVICEUPDATEREQUEST']._serialized_start=294
|
|
57
|
-
_globals['_SIZESERVICEUPDATEREQUEST']._serialized_end=
|
|
58
|
-
_globals['_SIZESERVICEUPDATERESPONSE']._serialized_start=
|
|
59
|
-
_globals['_SIZESERVICEUPDATERESPONSE']._serialized_end=
|
|
60
|
-
_globals['_SIZESERVICEDELETEREQUEST']._serialized_start=
|
|
61
|
-
_globals['_SIZESERVICEDELETEREQUEST']._serialized_end=
|
|
62
|
-
_globals['_SIZESERVICEDELETERESPONSE']._serialized_start=
|
|
63
|
-
_globals['_SIZESERVICEDELETERESPONSE']._serialized_end=
|
|
64
|
-
_globals['_SIZESERVICE']._serialized_start=
|
|
65
|
-
_globals['_SIZESERVICE']._serialized_end=
|
|
59
|
+
_globals['_SIZESERVICEUPDATEREQUEST']._serialized_end=675
|
|
60
|
+
_globals['_SIZESERVICEUPDATERESPONSE']._serialized_start=677
|
|
61
|
+
_globals['_SIZESERVICEUPDATERESPONSE']._serialized_end=749
|
|
62
|
+
_globals['_SIZESERVICEDELETEREQUEST']._serialized_start=751
|
|
63
|
+
_globals['_SIZESERVICEDELETEREQUEST']._serialized_end=805
|
|
64
|
+
_globals['_SIZESERVICEDELETERESPONSE']._serialized_start=807
|
|
65
|
+
_globals['_SIZESERVICEDELETERESPONSE']._serialized_end=879
|
|
66
|
+
_globals['_SIZESERVICE']._serialized_start=882
|
|
67
|
+
_globals['_SIZESERVICE']._serialized_end=1234
|
|
66
68
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -22,18 +22,20 @@ class SizeServiceCreateResponse(_message.Message):
|
|
|
22
22
|
def __init__(self, size: _Optional[_Union[_size_pb2.Size, _Mapping]] = ...) -> None: ...
|
|
23
23
|
|
|
24
24
|
class SizeServiceUpdateRequest(_message.Message):
|
|
25
|
-
__slots__ = ("id", "name", "description", "constraints", "labels")
|
|
25
|
+
__slots__ = ("id", "update_meta", "name", "description", "constraints", "labels")
|
|
26
26
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
27
|
+
UPDATE_META_FIELD_NUMBER: _ClassVar[int]
|
|
27
28
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
28
29
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
29
30
|
CONSTRAINTS_FIELD_NUMBER: _ClassVar[int]
|
|
30
31
|
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
31
32
|
id: str
|
|
33
|
+
update_meta: _common_pb2.UpdateMeta
|
|
32
34
|
name: str
|
|
33
35
|
description: str
|
|
34
36
|
constraints: _containers.RepeatedCompositeFieldContainer[_size_pb2.SizeConstraint]
|
|
35
37
|
labels: _common_pb2.UpdateLabels
|
|
36
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., constraints: _Optional[_Iterable[_Union[_size_pb2.SizeConstraint, _Mapping]]] = ..., labels: _Optional[_Union[_common_pb2.UpdateLabels, _Mapping]] = ...) -> None: ...
|
|
38
|
+
def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., constraints: _Optional[_Iterable[_Union[_size_pb2.SizeConstraint, _Mapping]]] = ..., labels: _Optional[_Union[_common_pb2.UpdateLabels, _Mapping]] = ...) -> None: ...
|
|
37
39
|
|
|
38
40
|
class SizeServiceUpdateResponse(_message.Message):
|
|
39
41
|
__slots__ = ("size",)
|