metal-stack-api 0.0.11__py3-none-any.whl → 0.0.13__py3-none-any.whl
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.
- buf/validate/validate_pb2.py +3 -3
- buf/validate/validate_pb2.pyi +13 -13
- {metal_stack_api-0.0.11.dist-info → metal_stack_api-0.0.13.dist-info}/METADATA +1 -1
- {metal_stack_api-0.0.11.dist-info → metal_stack_api-0.0.13.dist-info}/RECORD +48 -44
- metalstack/admin/v2/filesystem_pb2.py +3 -3
- metalstack/admin/v2/image_pb2.py +3 -3
- metalstack/admin/v2/ip_pb2.py +3 -3
- metalstack/admin/v2/machine_connecpy.py +158 -0
- metalstack/admin/v2/machine_pb2.py +54 -0
- metalstack/admin/v2/machine_pb2.pyi +34 -0
- metalstack/admin/v2/machine_pb2_grpc.py +125 -0
- metalstack/admin/v2/network_pb2.py +23 -23
- metalstack/admin/v2/network_pb2.pyi +5 -5
- metalstack/admin/v2/partition_pb2.py +3 -3
- metalstack/admin/v2/size_pb2.py +3 -3
- metalstack/admin/v2/tenant_pb2.py +3 -3
- metalstack/admin/v2/token_pb2.py +15 -15
- metalstack/admin/v2/token_pb2.pyi +8 -8
- metalstack/api/v2/common_pb2.py +3 -3
- metalstack/api/v2/filesystem_pb2.py +40 -40
- metalstack/api/v2/filesystem_pb2.pyi +5 -5
- metalstack/api/v2/health_pb2.py +3 -3
- metalstack/api/v2/image_pb2.py +3 -3
- metalstack/api/v2/ip_pb2.py +33 -33
- metalstack/api/v2/ip_pb2.pyi +8 -8
- metalstack/api/v2/machine_pb2.py +60 -36
- metalstack/api/v2/machine_pb2.pyi +31 -4
- metalstack/api/v2/machine_pb2_grpc.py +1 -1
- metalstack/api/v2/method_pb2.py +3 -3
- metalstack/api/v2/network_pb2.py +47 -47
- metalstack/api/v2/network_pb2.pyi +12 -12
- metalstack/api/v2/partition_pb2.py +3 -3
- metalstack/api/v2/project_pb2.py +21 -21
- metalstack/api/v2/project_pb2.pyi +10 -10
- metalstack/api/v2/size_pb2.py +3 -3
- metalstack/api/v2/switch_pb2.py +23 -23
- metalstack/api/v2/switch_pb2.pyi +4 -4
- metalstack/api/v2/tenant_pb2.py +57 -57
- metalstack/api/v2/tenant_pb2.pyi +13 -13
- metalstack/api/v2/token_pb2.py +49 -49
- metalstack/api/v2/token_pb2.pyi +4 -4
- metalstack/api/v2/user_pb2.py +3 -3
- metalstack/api/v2/version_pb2.py +3 -3
- metalstack/client/client.py +4 -0
- metalstack/infra/v2/bmc_pb2.py +3 -3
- metalstack/infra/v2/switch_pb2.py +3 -3
- {metal_stack_api-0.0.11.dist-info → metal_stack_api-0.0.13.dist-info}/WHEEL +0 -0
- {metal_stack_api-0.0.11.dist-info → metal_stack_api-0.0.13.dist-info}/top_level.txt +0 -0
|
@@ -61,13 +61,13 @@ class NetworkServiceGetResponse(_message.Message):
|
|
|
61
61
|
def __init__(self, network: _Optional[_Union[Network, _Mapping]] = ...) -> None: ...
|
|
62
62
|
|
|
63
63
|
class NetworkServiceCreateRequest(_message.Message):
|
|
64
|
-
__slots__ = ("project", "name", "description", "partition", "labels", "
|
|
64
|
+
__slots__ = ("project", "name", "description", "partition", "labels", "parent_network", "length", "address_family")
|
|
65
65
|
PROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
66
66
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
67
67
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
68
68
|
PARTITION_FIELD_NUMBER: _ClassVar[int]
|
|
69
69
|
LABELS_FIELD_NUMBER: _ClassVar[int]
|
|
70
|
-
|
|
70
|
+
PARENT_NETWORK_FIELD_NUMBER: _ClassVar[int]
|
|
71
71
|
LENGTH_FIELD_NUMBER: _ClassVar[int]
|
|
72
72
|
ADDRESS_FAMILY_FIELD_NUMBER: _ClassVar[int]
|
|
73
73
|
project: str
|
|
@@ -75,10 +75,10 @@ class NetworkServiceCreateRequest(_message.Message):
|
|
|
75
75
|
description: str
|
|
76
76
|
partition: str
|
|
77
77
|
labels: _common_pb2.Labels
|
|
78
|
-
|
|
78
|
+
parent_network: str
|
|
79
79
|
length: ChildPrefixLength
|
|
80
80
|
address_family: NetworkAddressFamily
|
|
81
|
-
def __init__(self, project: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., partition: _Optional[str] = ..., labels: _Optional[_Union[_common_pb2.Labels, _Mapping]] = ...,
|
|
81
|
+
def __init__(self, project: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., partition: _Optional[str] = ..., labels: _Optional[_Union[_common_pb2.Labels, _Mapping]] = ..., parent_network: _Optional[str] = ..., length: _Optional[_Union[ChildPrefixLength, _Mapping]] = ..., address_family: _Optional[_Union[NetworkAddressFamily, str]] = ...) -> None: ...
|
|
82
82
|
|
|
83
83
|
class NetworkServiceCreateResponse(_message.Message):
|
|
84
84
|
__slots__ = ("network",)
|
|
@@ -149,7 +149,7 @@ class NetworkServiceDeleteResponse(_message.Message):
|
|
|
149
149
|
def __init__(self, network: _Optional[_Union[Network, _Mapping]] = ...) -> None: ...
|
|
150
150
|
|
|
151
151
|
class Network(_message.Message):
|
|
152
|
-
__slots__ = ("id", "meta", "name", "description", "partition", "project", "namespace", "prefixes", "destination_prefixes", "default_child_prefix_length", "min_child_prefix_length", "type", "nat_type", "vrf", "
|
|
152
|
+
__slots__ = ("id", "meta", "name", "description", "partition", "project", "namespace", "prefixes", "destination_prefixes", "default_child_prefix_length", "min_child_prefix_length", "type", "nat_type", "vrf", "parent_network", "additional_announcable_cidrs", "consumption")
|
|
153
153
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
154
154
|
META_FIELD_NUMBER: _ClassVar[int]
|
|
155
155
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -164,7 +164,7 @@ class Network(_message.Message):
|
|
|
164
164
|
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
165
165
|
NAT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
166
166
|
VRF_FIELD_NUMBER: _ClassVar[int]
|
|
167
|
-
|
|
167
|
+
PARENT_NETWORK_FIELD_NUMBER: _ClassVar[int]
|
|
168
168
|
ADDITIONAL_ANNOUNCABLE_CIDRS_FIELD_NUMBER: _ClassVar[int]
|
|
169
169
|
CONSUMPTION_FIELD_NUMBER: _ClassVar[int]
|
|
170
170
|
id: str
|
|
@@ -181,13 +181,13 @@ class Network(_message.Message):
|
|
|
181
181
|
type: NetworkType
|
|
182
182
|
nat_type: NATType
|
|
183
183
|
vrf: int
|
|
184
|
-
|
|
184
|
+
parent_network: str
|
|
185
185
|
additional_announcable_cidrs: _containers.RepeatedScalarFieldContainer[str]
|
|
186
186
|
consumption: NetworkConsumption
|
|
187
|
-
def __init__(self, id: _Optional[str] = ..., meta: _Optional[_Union[_common_pb2.Meta, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., partition: _Optional[str] = ..., project: _Optional[str] = ..., namespace: _Optional[str] = ..., prefixes: _Optional[_Iterable[str]] = ..., destination_prefixes: _Optional[_Iterable[str]] = ..., default_child_prefix_length: _Optional[_Union[ChildPrefixLength, _Mapping]] = ..., min_child_prefix_length: _Optional[_Union[ChildPrefixLength, _Mapping]] = ..., type: _Optional[_Union[NetworkType, str]] = ..., nat_type: _Optional[_Union[NATType, str]] = ..., vrf: _Optional[int] = ...,
|
|
187
|
+
def __init__(self, id: _Optional[str] = ..., meta: _Optional[_Union[_common_pb2.Meta, _Mapping]] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., partition: _Optional[str] = ..., project: _Optional[str] = ..., namespace: _Optional[str] = ..., prefixes: _Optional[_Iterable[str]] = ..., destination_prefixes: _Optional[_Iterable[str]] = ..., default_child_prefix_length: _Optional[_Union[ChildPrefixLength, _Mapping]] = ..., min_child_prefix_length: _Optional[_Union[ChildPrefixLength, _Mapping]] = ..., type: _Optional[_Union[NetworkType, str]] = ..., nat_type: _Optional[_Union[NATType, str]] = ..., vrf: _Optional[int] = ..., parent_network: _Optional[str] = ..., additional_announcable_cidrs: _Optional[_Iterable[str]] = ..., consumption: _Optional[_Union[NetworkConsumption, _Mapping]] = ...) -> None: ...
|
|
188
188
|
|
|
189
189
|
class NetworkQuery(_message.Message):
|
|
190
|
-
__slots__ = ("id", "name", "description", "partition", "project", "namespace", "prefixes", "destination_prefixes", "vrf", "
|
|
190
|
+
__slots__ = ("id", "name", "description", "partition", "project", "namespace", "prefixes", "destination_prefixes", "vrf", "parent_network", "address_family", "type", "nat_type", "labels")
|
|
191
191
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
192
192
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
193
193
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -197,7 +197,7 @@ class NetworkQuery(_message.Message):
|
|
|
197
197
|
PREFIXES_FIELD_NUMBER: _ClassVar[int]
|
|
198
198
|
DESTINATION_PREFIXES_FIELD_NUMBER: _ClassVar[int]
|
|
199
199
|
VRF_FIELD_NUMBER: _ClassVar[int]
|
|
200
|
-
|
|
200
|
+
PARENT_NETWORK_FIELD_NUMBER: _ClassVar[int]
|
|
201
201
|
ADDRESS_FAMILY_FIELD_NUMBER: _ClassVar[int]
|
|
202
202
|
TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
203
203
|
NAT_TYPE_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -211,12 +211,12 @@ class NetworkQuery(_message.Message):
|
|
|
211
211
|
prefixes: _containers.RepeatedScalarFieldContainer[str]
|
|
212
212
|
destination_prefixes: _containers.RepeatedScalarFieldContainer[str]
|
|
213
213
|
vrf: int
|
|
214
|
-
|
|
214
|
+
parent_network: str
|
|
215
215
|
address_family: NetworkAddressFamily
|
|
216
216
|
type: NetworkType
|
|
217
217
|
nat_type: NATType
|
|
218
218
|
labels: _common_pb2.Labels
|
|
219
|
-
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., partition: _Optional[str] = ..., project: _Optional[str] = ..., namespace: _Optional[str] = ..., prefixes: _Optional[_Iterable[str]] = ..., destination_prefixes: _Optional[_Iterable[str]] = ..., vrf: _Optional[int] = ...,
|
|
219
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., partition: _Optional[str] = ..., project: _Optional[str] = ..., namespace: _Optional[str] = ..., prefixes: _Optional[_Iterable[str]] = ..., destination_prefixes: _Optional[_Iterable[str]] = ..., vrf: _Optional[int] = ..., parent_network: _Optional[str] = ..., address_family: _Optional[_Union[NetworkAddressFamily, str]] = ..., type: _Optional[_Union[NetworkType, str]] = ..., nat_type: _Optional[_Union[NATType, str]] = ..., labels: _Optional[_Union[_common_pb2.Labels, _Mapping]] = ...) -> None: ...
|
|
220
220
|
|
|
221
221
|
class ChildPrefixLength(_message.Message):
|
|
222
222
|
__slots__ = ("ipv4", "ipv6")
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: metalstack/api/v2/partition.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
14
|
6,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
32,
|
|
16
|
+
0,
|
|
17
17
|
'',
|
|
18
18
|
'metalstack/api/v2/partition.proto'
|
|
19
19
|
)
|
metalstack/api/v2/project_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: metalstack/api/v2/project.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
14
|
6,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
32,
|
|
16
|
+
0,
|
|
17
17
|
'',
|
|
18
18
|
'metalstack/api/v2/project.proto'
|
|
19
19
|
)
|
|
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
27
27
|
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmetalstack/api/v2/project.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\"\xcb\x01\n\x07Project\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06tenant\x18\x05 \x01(\tR\x06tenant\x12\"\n\navatar_url\x18\x06 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\"\xcb\x01\n\rProjectMember\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12<\n\x04role\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12\x31\n\x14inherited_membership\x18\x03 \x01(\x08R\x13inheritedMembership\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"\xe7\x02\n\rProjectInvite\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\x12\x18\n\x07project\x18\x02 \x01(\tR\x07project\x12<\n\x04role\x18\x03 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12\x16\n\x06joined\x18\x04 \x01(\x08R\x06joined\x12!\n\x0cproject_name\x18\x05 \x01(\tR\x0bprojectName\x12\x16\n\x06tenant\x18\x06 \x01(\tR\x06tenant\x12\x1f\n\x0btenant_name\x18\x07 \x01(\tR\ntenantName\x12\x39\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x37\n\tjoined_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08joinedAt\"}\n\x19ProjectServiceListRequest\x12#\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\'\n\x06tenant\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x06tenant\x88\x01\x01\x42\x07\n\x05_nameB\t\n\x07_tenant\"T\n\x1aProjectServiceListResponse\x12\x36\n\x08projects\x18\x01 \x03(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x08projects\">\n\x18ProjectServiceGetRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\"\x9c\x01\n\x19ProjectServiceGetResponse\x12\x34\n\x07project\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x07project\x12I\n\x0fproject_members\x18\x02 \x03(\x0b\x32 .metalstack.api.v2.ProjectMemberR\x0eprojectMembers\"\xbf\x01\n\x1bProjectServiceCreateRequest\x12 \n\x05login\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x05login\x12\x1d\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18@R\x04name\x12,\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04R\x0b\x64\x65scription\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\"T\n\x1cProjectServiceCreateResponse\x12\x34\n\x07project\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x07project\"A\n\x1bProjectServiceDeleteRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\"T\n\x1cProjectServiceDeleteResponse\x12\x34\n\x07project\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x07project\"\xe4\x01\n\x1bProjectServiceUpdateRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18@H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04H\x01R\x0b\x64\x65scription\x88\x01\x01\x12\"\n\navatar_url\x18\x04 \x01(\tH\x02R\tavatarUrl\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\r\n\x0b_avatar_url\"T\n\x1cProjectServiceUpdateResponse\x12\x34\n\x07project\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x07project\"\x7f\n\x1bProjectServiceInviteRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12<\n\x04role\x18\x03 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\"X\n\x1cProjectServiceInviteResponse\x12\x38\n\x06invite\x18\x01 \x01(\x0b\x32 .metalstack.api.v2.ProjectInviteR\x06invite\"F\n ProjectServiceInvitesListRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\"_\n!ProjectServiceInvitesListResponse\x12:\n\x07invites\x18\x01 \x03(\x0b\x32 .metalstack.api.v2.ProjectInviteR\x07invites\"8\n\x1eProjectServiceInviteGetRequest\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\"[\n\x1fProjectServiceInviteGetResponse\x12\x38\n\x06invite\x18\x01 \x01(\x0b\x32 .metalstack.api.v2.ProjectInviteR\x06invite\"
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmetalstack/api/v2/project.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\"\xcb\x01\n\x07Project\x12\x12\n\x04uuid\x18\x01 \x01(\tR\x04uuid\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12 \n\x0b\x64\x65scription\x18\x04 \x01(\tR\x0b\x64\x65scription\x12\x16\n\x06tenant\x18\x05 \x01(\tR\x06tenant\x12\"\n\navatar_url\x18\x06 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\"\xcb\x01\n\rProjectMember\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12<\n\x04role\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12\x31\n\x14inherited_membership\x18\x03 \x01(\x08R\x13inheritedMembership\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"\xe7\x02\n\rProjectInvite\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\x12\x18\n\x07project\x18\x02 \x01(\tR\x07project\x12<\n\x04role\x18\x03 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12\x16\n\x06joined\x18\x04 \x01(\x08R\x06joined\x12!\n\x0cproject_name\x18\x05 \x01(\tR\x0bprojectName\x12\x16\n\x06tenant\x18\x06 \x01(\tR\x06tenant\x12\x1f\n\x0btenant_name\x18\x07 \x01(\tR\ntenantName\x12\x39\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x37\n\tjoined_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08joinedAt\"}\n\x19ProjectServiceListRequest\x12#\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12\'\n\x06tenant\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x06tenant\x88\x01\x01\x42\x07\n\x05_nameB\t\n\x07_tenant\"T\n\x1aProjectServiceListResponse\x12\x36\n\x08projects\x18\x01 \x03(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x08projects\">\n\x18ProjectServiceGetRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\"\x9c\x01\n\x19ProjectServiceGetResponse\x12\x34\n\x07project\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x07project\x12I\n\x0fproject_members\x18\x02 \x03(\x0b\x32 .metalstack.api.v2.ProjectMemberR\x0eprojectMembers\"\xbf\x01\n\x1bProjectServiceCreateRequest\x12 \n\x05login\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x05login\x12\x1d\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18@R\x04name\x12,\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04R\x0b\x64\x65scription\x12\"\n\navatar_url\x18\x04 \x01(\tH\x00R\tavatarUrl\x88\x01\x01\x42\r\n\x0b_avatar_url\"T\n\x1cProjectServiceCreateResponse\x12\x34\n\x07project\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x07project\"A\n\x1bProjectServiceDeleteRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\"T\n\x1cProjectServiceDeleteResponse\x12\x34\n\x07project\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x07project\"\xe4\x01\n\x1bProjectServiceUpdateRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18@H\x00R\x04name\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04H\x01R\x0b\x64\x65scription\x88\x01\x01\x12\"\n\navatar_url\x18\x04 \x01(\tH\x02R\tavatarUrl\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\r\n\x0b_avatar_url\"T\n\x1cProjectServiceUpdateResponse\x12\x34\n\x07project\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.ProjectR\x07project\"\x7f\n\x1bProjectServiceInviteRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12<\n\x04role\x18\x03 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\"X\n\x1cProjectServiceInviteResponse\x12\x38\n\x06invite\x18\x01 \x01(\x0b\x32 .metalstack.api.v2.ProjectInviteR\x06invite\"F\n ProjectServiceInvitesListRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\"_\n!ProjectServiceInvitesListResponse\x12:\n\x07invites\x18\x01 \x03(\x0b\x32 .metalstack.api.v2.ProjectInviteR\x07invites\"8\n\x1eProjectServiceInviteGetRequest\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\"[\n\x1fProjectServiceInviteGetResponse\x12\x38\n\x06invite\x18\x01 \x01(\x0b\x32 .metalstack.api.v2.ProjectInviteR\x06invite\"_\n!ProjectServiceRemoveMemberRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12\x16\n\x06member\x18\x02 \x01(\tR\x06member\"$\n\"ProjectServiceRemoveMemberResponse\"\x9d\x01\n!ProjectServiceUpdateMemberRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12\x16\n\x06member\x18\x02 \x01(\tR\x06member\x12<\n\x04role\x18\x03 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\"m\n\"ProjectServiceUpdateMemberResponse\x12G\n\x0eproject_member\x18\x05 \x01(\x0b\x32 .metalstack.api.v2.ProjectMemberR\rprojectMember\";\n!ProjectServiceInviteAcceptRequest\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\"a\n\"ProjectServiceInviteAcceptResponse\x12\x18\n\x07project\x18\x01 \x01(\tR\x07project\x12!\n\x0cproject_name\x18\x02 \x01(\tR\x0bprojectName\"_\n!ProjectServiceInviteDeleteRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret\"$\n\"ProjectServiceInviteDeleteResponse2\xef\x0b\n\x0eProjectService\x12m\n\x04List\x12,.metalstack.api.v2.ProjectServiceListRequest\x1a-.metalstack.api.v2.ProjectServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12m\n\x03Get\x12+.metalstack.api.v2.ProjectServiceGetRequest\x1a,.metalstack.api.v2.ProjectServiceGetResponse\"\x0b\xca\xf3\x18\x03\x01\x02\x03\xe0\xf3\x18\x02\x12u\n\x06\x43reate\x12..metalstack.api.v2.ProjectServiceCreateRequest\x1a/.metalstack.api.v2.ProjectServiceCreateResponse\"\n\xc2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12t\n\x06\x44\x65lete\x12..metalstack.api.v2.ProjectServiceDeleteRequest\x1a/.metalstack.api.v2.ProjectServiceDeleteResponse\"\t\xca\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12u\n\x06Update\x12..metalstack.api.v2.ProjectServiceUpdateRequest\x1a/.metalstack.api.v2.ProjectServiceUpdateResponse\"\n\xca\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12\x86\x01\n\x0cRemoveMember\x12\x34.metalstack.api.v2.ProjectServiceRemoveMemberRequest\x1a\x35.metalstack.api.v2.ProjectServiceRemoveMemberResponse\"\t\xca\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x86\x01\n\x0cUpdateMember\x12\x34.metalstack.api.v2.ProjectServiceUpdateMemberRequest\x1a\x35.metalstack.api.v2.ProjectServiceUpdateMemberResponse\"\t\xca\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12t\n\x06Invite\x12..metalstack.api.v2.ProjectServiceInviteRequest\x1a/.metalstack.api.v2.ProjectServiceInviteResponse\"\t\xca\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x85\x01\n\x0cInviteAccept\x12\x34.metalstack.api.v2.ProjectServiceInviteAcceptRequest\x1a\x35.metalstack.api.v2.ProjectServiceInviteAcceptResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x01\x12\x86\x01\n\x0cInviteDelete\x12\x34.metalstack.api.v2.ProjectServiceInviteDeleteRequest\x1a\x35.metalstack.api.v2.ProjectServiceInviteDeleteResponse\"\t\xca\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x83\x01\n\x0bInvitesList\x12\x33.metalstack.api.v2.ProjectServiceInvitesListRequest\x1a\x34.metalstack.api.v2.ProjectServiceInvitesListResponse\"\t\xca\xf3\x18\x01\x01\xe0\xf3\x18\x02\x12|\n\tInviteGet\x12\x31.metalstack.api.v2.ProjectServiceInviteGetRequest\x1a\x32.metalstack.api.v2.ProjectServiceInviteGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc2\x01\n\x15\x63om.metalstack.api.v2B\x0cProjectProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -136,21 +136,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
136
136
|
_globals['_PROJECTSERVICEINVITEGETRESPONSE']._serialized_start=2554
|
|
137
137
|
_globals['_PROJECTSERVICEINVITEGETRESPONSE']._serialized_end=2645
|
|
138
138
|
_globals['_PROJECTSERVICEREMOVEMEMBERREQUEST']._serialized_start=2647
|
|
139
|
-
_globals['_PROJECTSERVICEREMOVEMEMBERREQUEST']._serialized_end=
|
|
140
|
-
_globals['_PROJECTSERVICEREMOVEMEMBERRESPONSE']._serialized_start=
|
|
141
|
-
_globals['_PROJECTSERVICEREMOVEMEMBERRESPONSE']._serialized_end=
|
|
142
|
-
_globals['_PROJECTSERVICEUPDATEMEMBERREQUEST']._serialized_start=
|
|
143
|
-
_globals['_PROJECTSERVICEUPDATEMEMBERREQUEST']._serialized_end=
|
|
144
|
-
_globals['_PROJECTSERVICEUPDATEMEMBERRESPONSE']._serialized_start=
|
|
145
|
-
_globals['_PROJECTSERVICEUPDATEMEMBERRESPONSE']._serialized_end=
|
|
146
|
-
_globals['_PROJECTSERVICEINVITEACCEPTREQUEST']._serialized_start=
|
|
147
|
-
_globals['_PROJECTSERVICEINVITEACCEPTREQUEST']._serialized_end=
|
|
148
|
-
_globals['_PROJECTSERVICEINVITEACCEPTRESPONSE']._serialized_start=
|
|
149
|
-
_globals['_PROJECTSERVICEINVITEACCEPTRESPONSE']._serialized_end=
|
|
150
|
-
_globals['_PROJECTSERVICEINVITEDELETEREQUEST']._serialized_start=
|
|
151
|
-
_globals['_PROJECTSERVICEINVITEDELETEREQUEST']._serialized_end=
|
|
152
|
-
_globals['_PROJECTSERVICEINVITEDELETERESPONSE']._serialized_start=
|
|
153
|
-
_globals['_PROJECTSERVICEINVITEDELETERESPONSE']._serialized_end=
|
|
154
|
-
_globals['_PROJECTSERVICE']._serialized_start=
|
|
155
|
-
_globals['_PROJECTSERVICE']._serialized_end=
|
|
139
|
+
_globals['_PROJECTSERVICEREMOVEMEMBERREQUEST']._serialized_end=2742
|
|
140
|
+
_globals['_PROJECTSERVICEREMOVEMEMBERRESPONSE']._serialized_start=2744
|
|
141
|
+
_globals['_PROJECTSERVICEREMOVEMEMBERRESPONSE']._serialized_end=2780
|
|
142
|
+
_globals['_PROJECTSERVICEUPDATEMEMBERREQUEST']._serialized_start=2783
|
|
143
|
+
_globals['_PROJECTSERVICEUPDATEMEMBERREQUEST']._serialized_end=2940
|
|
144
|
+
_globals['_PROJECTSERVICEUPDATEMEMBERRESPONSE']._serialized_start=2942
|
|
145
|
+
_globals['_PROJECTSERVICEUPDATEMEMBERRESPONSE']._serialized_end=3051
|
|
146
|
+
_globals['_PROJECTSERVICEINVITEACCEPTREQUEST']._serialized_start=3053
|
|
147
|
+
_globals['_PROJECTSERVICEINVITEACCEPTREQUEST']._serialized_end=3112
|
|
148
|
+
_globals['_PROJECTSERVICEINVITEACCEPTRESPONSE']._serialized_start=3114
|
|
149
|
+
_globals['_PROJECTSERVICEINVITEACCEPTRESPONSE']._serialized_end=3211
|
|
150
|
+
_globals['_PROJECTSERVICEINVITEDELETEREQUEST']._serialized_start=3213
|
|
151
|
+
_globals['_PROJECTSERVICEINVITEDELETEREQUEST']._serialized_end=3308
|
|
152
|
+
_globals['_PROJECTSERVICEINVITEDELETERESPONSE']._serialized_start=3310
|
|
153
|
+
_globals['_PROJECTSERVICEINVITEDELETERESPONSE']._serialized_end=3346
|
|
154
|
+
_globals['_PROJECTSERVICE']._serialized_start=3349
|
|
155
|
+
_globals['_PROJECTSERVICE']._serialized_end=4868
|
|
156
156
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -37,7 +37,7 @@ class ProjectMember(_message.Message):
|
|
|
37
37
|
role: _common_pb2.ProjectRole
|
|
38
38
|
inherited_membership: bool
|
|
39
39
|
created_at: _timestamp_pb2.Timestamp
|
|
40
|
-
def __init__(self, id: _Optional[str] = ..., role: _Optional[_Union[_common_pb2.ProjectRole, str]] = ..., inherited_membership: bool = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
40
|
+
def __init__(self, id: _Optional[str] = ..., role: _Optional[_Union[_common_pb2.ProjectRole, str]] = ..., inherited_membership: _Optional[bool] = ..., created_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
41
41
|
|
|
42
42
|
class ProjectInvite(_message.Message):
|
|
43
43
|
__slots__ = ("secret", "project", "role", "joined", "project_name", "tenant", "tenant_name", "expires_at", "joined_at")
|
|
@@ -59,7 +59,7 @@ class ProjectInvite(_message.Message):
|
|
|
59
59
|
tenant_name: str
|
|
60
60
|
expires_at: _timestamp_pb2.Timestamp
|
|
61
61
|
joined_at: _timestamp_pb2.Timestamp
|
|
62
|
-
def __init__(self, secret: _Optional[str] = ..., project: _Optional[str] = ..., role: _Optional[_Union[_common_pb2.ProjectRole, str]] = ..., joined: bool = ..., project_name: _Optional[str] = ..., tenant: _Optional[str] = ..., tenant_name: _Optional[str] = ..., expires_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., joined_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
62
|
+
def __init__(self, secret: _Optional[str] = ..., project: _Optional[str] = ..., role: _Optional[_Union[_common_pb2.ProjectRole, str]] = ..., joined: _Optional[bool] = ..., project_name: _Optional[str] = ..., tenant: _Optional[str] = ..., tenant_name: _Optional[str] = ..., expires_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., joined_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ...) -> None: ...
|
|
63
63
|
|
|
64
64
|
class ProjectServiceListRequest(_message.Message):
|
|
65
65
|
__slots__ = ("name", "tenant")
|
|
@@ -176,26 +176,26 @@ class ProjectServiceInviteGetResponse(_message.Message):
|
|
|
176
176
|
def __init__(self, invite: _Optional[_Union[ProjectInvite, _Mapping]] = ...) -> None: ...
|
|
177
177
|
|
|
178
178
|
class ProjectServiceRemoveMemberRequest(_message.Message):
|
|
179
|
-
__slots__ = ("project", "
|
|
179
|
+
__slots__ = ("project", "member")
|
|
180
180
|
PROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
181
|
-
|
|
181
|
+
MEMBER_FIELD_NUMBER: _ClassVar[int]
|
|
182
182
|
project: str
|
|
183
|
-
|
|
184
|
-
def __init__(self, project: _Optional[str] = ...,
|
|
183
|
+
member: str
|
|
184
|
+
def __init__(self, project: _Optional[str] = ..., member: _Optional[str] = ...) -> None: ...
|
|
185
185
|
|
|
186
186
|
class ProjectServiceRemoveMemberResponse(_message.Message):
|
|
187
187
|
__slots__ = ()
|
|
188
188
|
def __init__(self) -> None: ...
|
|
189
189
|
|
|
190
190
|
class ProjectServiceUpdateMemberRequest(_message.Message):
|
|
191
|
-
__slots__ = ("project", "
|
|
191
|
+
__slots__ = ("project", "member", "role")
|
|
192
192
|
PROJECT_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
-
|
|
193
|
+
MEMBER_FIELD_NUMBER: _ClassVar[int]
|
|
194
194
|
ROLE_FIELD_NUMBER: _ClassVar[int]
|
|
195
195
|
project: str
|
|
196
|
-
|
|
196
|
+
member: str
|
|
197
197
|
role: _common_pb2.ProjectRole
|
|
198
|
-
def __init__(self, project: _Optional[str] = ...,
|
|
198
|
+
def __init__(self, project: _Optional[str] = ..., member: _Optional[str] = ..., role: _Optional[_Union[_common_pb2.ProjectRole, str]] = ...) -> None: ...
|
|
199
199
|
|
|
200
200
|
class ProjectServiceUpdateMemberResponse(_message.Message):
|
|
201
201
|
__slots__ = ("project_member",)
|
metalstack/api/v2/size_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: metalstack/api/v2/size.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
14
|
6,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
32,
|
|
16
|
+
0,
|
|
17
17
|
'',
|
|
18
18
|
'metalstack/api/v2/size.proto'
|
|
19
19
|
)
|
metalstack/api/v2/switch_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: metalstack/api/v2/switch.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
14
|
6,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
32,
|
|
16
|
+
0,
|
|
17
17
|
'',
|
|
18
18
|
'metalstack/api/v2/switch.proto'
|
|
19
19
|
)
|
|
@@ -27,7 +27,7 @@ from google.protobuf import duration_pb2 as google_dot_protobuf_dot_duration__pb
|
|
|
27
27
|
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emetalstack/api/v2/switch.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1emetalstack/api/v2/common.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emetalstack/api/v2/switch.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1emetalstack/api/v2/common.proto\"\xd6\x03\n\x06Switch\x12\x1c\n\x02id\x18\x01 \x01(\tB\x0c\xbaH\tr\x07\x10\x02\x18\x80\x01h\x01R\x02id\x12,\n\x0b\x64\x65scription\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x0b\x64\x65scription\x12#\n\x04rack\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04rack\x88\x01\x01\x12(\n\tpartition\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\tpartition\x12Q\n\x0creplace_mode\x18\x06 \x01(\x0e\x32$.metalstack.api.v2.SwitchReplaceModeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0breplaceMode\x12,\n\rmanagement_ip\x18\x07 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x0cmanagementIp\x12\x33\n\x0fmanagement_user\x18\x08 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x0emanagementUser\x12\x33\n\x0f\x63onsole_command\x18\t \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x0e\x63onsoleCommand\x12=\n\x0bswitch_nics\x18\n \x03(\x0b\x32\x1c.metalstack.api.v2.SwitchNicR\nswitchNicsB\x07\n\x05_rack\"\xaf\x01\n\x08SwitchOS\x12\x43\n\x06vendor\x18\x01 \x01(\x0e\x32!.metalstack.api.v2.SwitchOSVendorB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x06vendor\x12$\n\x07version\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07version\x12\x38\n\x12metal_core_version\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x10metalCoreVersion\"\xc2\x03\n\tSwitchNic\x12\x1e\n\x04name\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12*\n\nidentifier\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\nidentifier\x12\x41\n\x03mac\x18\x03 \x01(\tB/\xbaH,r*2(^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$R\x03mac\x12!\n\x03vrf\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x03vrf\x88\x01\x01\x12\x45\n\x06\x61\x63tual\x18\x05 \x01(\x0e\x32#.metalstack.api.v2.SwitchPortStatusB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x06\x61\x63tual\x12@\n\nbgp_filter\x18\x06 \x01(\x0b\x32\x1c.metalstack.api.v2.BGPFilterH\x01R\tbgpFilter\x88\x01\x01\x12P\n\x0e\x62gp_port_state\x18\x07 \x01(\x0b\x32%.metalstack.api.v2.SwitchBGPPortStateH\x02R\x0c\x62gpPortState\x88\x01\x01\x42\x06\n\x04_vrfB\r\n\x0b_bgp_filterB\x11\n\x0f_bgp_port_state\"\x92\x01\n\tBGPFilter\x12\x14\n\x05\x63idrs\x18\x01 \x03(\tR\x05\x63idrs\x12#\n\x04vnis\x18\x02 \x03(\tB\x0f\xbaH\x0c\x92\x01\t\"\x07r\x05\x10\x02\x18\x80\x01R\x04vnis:J\xbaHG\x1a\x45\n\x05\x63idrs\x12\x19given cidrs must be valid\x1a!this.cidrs.all(m, m.isIpPrefix())\"\x8e\x03\n\x12SwitchBGPPortState\x12&\n\x08neighbor\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x08neighbor\x12)\n\npeer_group\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\tpeerGroup\x12%\n\x08vrf_name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07vrfName\x12\x42\n\tbgp_state\x18\x04 \x01(\x0e\x32\x1b.metalstack.api.v2.BGPStateB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x08\x62gpState\x12R\n\x18\x62gp_timer_up_established\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationR\x15\x62gpTimerUpEstablished\x12.\n\x13sent_prefix_counter\x18\x06 \x01(\x04R\x11sentPrefixCounter\x12\x36\n\x17\x61\x63\x63\x65pted_prefix_counter\x18\x07 \x01(\x04R\x15\x61\x63\x63\x65ptedPrefixCounter*\x8b\x02\n\x08\x42GPState\x12\x19\n\x15\x42GP_STATE_UNSPECIFIED\x10\x00\x12\x1c\n\x0e\x42GP_STATE_IDLE\x10\x01\x1a\x08\x82\xb2\x19\x04idle\x12\"\n\x11\x42GP_STATE_CONNECT\x10\x02\x1a\x0b\x82\xb2\x19\x07\x63onnect\x12 \n\x10\x42GP_STATE_ACTIVE\x10\x03\x1a\n\x82\xb2\x19\x06\x61\x63tive\x12&\n\x13\x42GP_STATE_OPEN_SENT\x10\x04\x1a\r\x82\xb2\x19\topen-sent\x12,\n\x16\x42GP_STATE_OPEN_CONFIRM\x10\x05\x1a\x10\x82\xb2\x19\x0copen-confirm\x12*\n\x15\x42GP_STATE_ESTABLISHED\x10\x06\x1a\x0f\x82\xb2\x19\x0b\x65stablished*\x9c\x01\n\x11SwitchReplaceMode\x12#\n\x1fSWITCH_REPLACE_MODE_UNSPECIFIED\x10\x00\x12,\n\x1bSWITCH_REPLACE_MODE_REPLACE\x10\x01\x1a\x0b\x82\xb2\x19\x07replace\x12\x34\n\x1fSWITCH_REPLACE_MODE_OPERATIONAL\x10\x02\x1a\x0f\x82\xb2\x19\x0boperational*\x84\x01\n\x0eSwitchOSVendor\x12 \n\x1cSWITCH_OS_VENDOR_UNSPECIFIED\x10\x00\x12)\n\x18SWITCH_OS_VENDOR_CUMULUS\x10\x01\x1a\x0b\x82\xb2\x19\x07\x63umulus\x12%\n\x16SWITCH_OS_VENDOR_SONIC\x10\x02\x1a\t\x82\xb2\x19\x05sonic*\x80\x01\n\x10SwitchPortStatus\x12\"\n\x1eSWITCH_PORT_STATUS_UNSPECIFIED\x10\x00\x12!\n\x15SWITCH_PORT_STATUS_UP\x10\x01\x1a\x06\x82\xb2\x19\x02up\x12%\n\x17SWITCH_PORT_STATUS_DOWN\x10\x02\x1a\x08\x82\xb2\x19\x04\x64ownB\xc1\x01\n\x15\x63om.metalstack.api.v2B\x0bSwitchProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -63,8 +63,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
63
63
|
_globals['_SWITCH'].fields_by_name['id']._serialized_options = b'\272H\tr\007\020\002\030\200\001h\001'
|
|
64
64
|
_globals['_SWITCH'].fields_by_name['description']._loaded_options = None
|
|
65
65
|
_globals['_SWITCH'].fields_by_name['description']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
66
|
-
_globals['_SWITCH'].fields_by_name['
|
|
67
|
-
_globals['_SWITCH'].fields_by_name['
|
|
66
|
+
_globals['_SWITCH'].fields_by_name['rack']._loaded_options = None
|
|
67
|
+
_globals['_SWITCH'].fields_by_name['rack']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
68
68
|
_globals['_SWITCH'].fields_by_name['partition']._loaded_options = None
|
|
69
69
|
_globals['_SWITCH'].fields_by_name['partition']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
70
70
|
_globals['_SWITCH'].fields_by_name['replace_mode']._loaded_options = None
|
|
@@ -103,22 +103,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
103
103
|
_globals['_SWITCHBGPPORTSTATE'].fields_by_name['vrf_name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
|
|
104
104
|
_globals['_SWITCHBGPPORTSTATE'].fields_by_name['bgp_state']._loaded_options = None
|
|
105
105
|
_globals['_SWITCHBGPPORTSTATE'].fields_by_name['bgp_state']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
106
|
-
_globals['_BGPSTATE']._serialized_start=
|
|
107
|
-
_globals['_BGPSTATE']._serialized_end=
|
|
108
|
-
_globals['_SWITCHREPLACEMODE']._serialized_start=
|
|
109
|
-
_globals['_SWITCHREPLACEMODE']._serialized_end=
|
|
110
|
-
_globals['_SWITCHOSVENDOR']._serialized_start=
|
|
111
|
-
_globals['_SWITCHOSVENDOR']._serialized_end=
|
|
112
|
-
_globals['_SWITCHPORTSTATUS']._serialized_start=
|
|
113
|
-
_globals['_SWITCHPORTSTATUS']._serialized_end=
|
|
106
|
+
_globals['_BGPSTATE']._serialized_start=1801
|
|
107
|
+
_globals['_BGPSTATE']._serialized_end=2068
|
|
108
|
+
_globals['_SWITCHREPLACEMODE']._serialized_start=2071
|
|
109
|
+
_globals['_SWITCHREPLACEMODE']._serialized_end=2227
|
|
110
|
+
_globals['_SWITCHOSVENDOR']._serialized_start=2230
|
|
111
|
+
_globals['_SWITCHOSVENDOR']._serialized_end=2362
|
|
112
|
+
_globals['_SWITCHPORTSTATUS']._serialized_start=2365
|
|
113
|
+
_globals['_SWITCHPORTSTATUS']._serialized_end=2493
|
|
114
114
|
_globals['_SWITCH']._serialized_start=147
|
|
115
|
-
_globals['_SWITCH']._serialized_end=
|
|
116
|
-
_globals['_SWITCHOS']._serialized_start=
|
|
117
|
-
_globals['_SWITCHOS']._serialized_end=
|
|
118
|
-
_globals['_SWITCHNIC']._serialized_start=
|
|
119
|
-
_globals['_SWITCHNIC']._serialized_end=
|
|
120
|
-
_globals['_BGPFILTER']._serialized_start=
|
|
121
|
-
_globals['_BGPFILTER']._serialized_end=
|
|
122
|
-
_globals['_SWITCHBGPPORTSTATE']._serialized_start=
|
|
123
|
-
_globals['_SWITCHBGPPORTSTATE']._serialized_end=
|
|
115
|
+
_globals['_SWITCH']._serialized_end=617
|
|
116
|
+
_globals['_SWITCHOS']._serialized_start=620
|
|
117
|
+
_globals['_SWITCHOS']._serialized_end=795
|
|
118
|
+
_globals['_SWITCHNIC']._serialized_start=798
|
|
119
|
+
_globals['_SWITCHNIC']._serialized_end=1248
|
|
120
|
+
_globals['_BGPFILTER']._serialized_start=1251
|
|
121
|
+
_globals['_BGPFILTER']._serialized_end=1397
|
|
122
|
+
_globals['_SWITCHBGPPORTSTATE']._serialized_start=1400
|
|
123
|
+
_globals['_SWITCHBGPPORTSTATE']._serialized_end=1798
|
|
124
124
|
# @@protoc_insertion_point(module_scope)
|
metalstack/api/v2/switch_pb2.pyi
CHANGED
|
@@ -57,10 +57,10 @@ SWITCH_PORT_STATUS_UP: SwitchPortStatus
|
|
|
57
57
|
SWITCH_PORT_STATUS_DOWN: SwitchPortStatus
|
|
58
58
|
|
|
59
59
|
class Switch(_message.Message):
|
|
60
|
-
__slots__ = ("id", "description", "
|
|
60
|
+
__slots__ = ("id", "description", "rack", "partition", "replace_mode", "management_ip", "management_user", "console_command", "switch_nics")
|
|
61
61
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
62
62
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
63
|
-
|
|
63
|
+
RACK_FIELD_NUMBER: _ClassVar[int]
|
|
64
64
|
PARTITION_FIELD_NUMBER: _ClassVar[int]
|
|
65
65
|
REPLACE_MODE_FIELD_NUMBER: _ClassVar[int]
|
|
66
66
|
MANAGEMENT_IP_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -69,14 +69,14 @@ class Switch(_message.Message):
|
|
|
69
69
|
SWITCH_NICS_FIELD_NUMBER: _ClassVar[int]
|
|
70
70
|
id: str
|
|
71
71
|
description: str
|
|
72
|
-
|
|
72
|
+
rack: str
|
|
73
73
|
partition: str
|
|
74
74
|
replace_mode: SwitchReplaceMode
|
|
75
75
|
management_ip: str
|
|
76
76
|
management_user: str
|
|
77
77
|
console_command: str
|
|
78
78
|
switch_nics: _containers.RepeatedCompositeFieldContainer[SwitchNic]
|
|
79
|
-
def __init__(self, id: _Optional[str] = ..., description: _Optional[str] = ...,
|
|
79
|
+
def __init__(self, id: _Optional[str] = ..., description: _Optional[str] = ..., rack: _Optional[str] = ..., partition: _Optional[str] = ..., replace_mode: _Optional[_Union[SwitchReplaceMode, str]] = ..., management_ip: _Optional[str] = ..., management_user: _Optional[str] = ..., console_command: _Optional[str] = ..., switch_nics: _Optional[_Iterable[_Union[SwitchNic, _Mapping]]] = ...) -> None: ...
|
|
80
80
|
|
|
81
81
|
class SwitchOS(_message.Message):
|
|
82
82
|
__slots__ = ("vendor", "version", "metal_core_version")
|
metalstack/api/v2/tenant_pb2.py
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
3
|
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
4
|
# source: metalstack/api/v2/tenant.proto
|
|
5
|
-
# Protobuf Python Version: 6.
|
|
5
|
+
# Protobuf Python Version: 6.32.0
|
|
6
6
|
"""Generated protocol buffer code."""
|
|
7
7
|
from google.protobuf import descriptor as _descriptor
|
|
8
8
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
@@ -12,8 +12,8 @@ from google.protobuf.internal import builder as _builder
|
|
|
12
12
|
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
13
|
_runtime_version.Domain.PUBLIC,
|
|
14
14
|
6,
|
|
15
|
-
|
|
16
|
-
|
|
15
|
+
32,
|
|
16
|
+
0,
|
|
17
17
|
'',
|
|
18
18
|
'metalstack/api/v2/tenant.proto'
|
|
19
19
|
)
|
|
@@ -27,7 +27,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
27
27
|
from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emetalstack/api/v2/tenant.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\"\xd5\x01\n\x06Tenant\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x14\n\x05\x65mail\x18\x04 \x01(\tR\x05\x65mail\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\navatar_url\x18\x06 \x01(\tR\tavatarUrl\x12\x1d\n\ncreated_by\x18\x0f \x01(\tR\tcreatedBy\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1emetalstack/api/v2/tenant.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\"\xd5\x01\n\x06Tenant\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12\x14\n\x05\x65mail\x18\x04 \x01(\tR\x05\x65mail\x12 \n\x0b\x64\x65scription\x18\x05 \x01(\tR\x0b\x64\x65scription\x12\x1d\n\navatar_url\x18\x06 \x01(\tR\tavatarUrl\x12\x1d\n\ncreated_by\x18\x0f \x01(\tR\tcreatedBy\"\xb2\x01\n\x0cTenantMember\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12;\n\x04role\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12\x1a\n\x08projects\x18\x04 \x03(\tR\x08projects\x12\x39\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\"\xfb\x02\n\x0cTenantInvite\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\x12#\n\rtarget_tenant\x18\x02 \x01(\tR\x0ctargetTenant\x12;\n\x04role\x18\x03 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\x12\x16\n\x06joined\x18\x04 \x01(\x08R\x06joined\x12,\n\x12target_tenant_name\x18\x05 \x01(\tR\x10targetTenantName\x12\x16\n\x06tenant\x18\x06 \x01(\tR\x06tenant\x12\x1f\n\x0btenant_name\x18\x07 \x01(\tR\ntenantName\x12\x39\n\nexpires_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAt\x12\x37\n\tjoined_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08joinedAt\"c\n\x18TenantServiceListRequest\x12\x13\n\x02id\x18\x01 \x01(\tH\x00R\x02id\x88\x01\x01\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18@H\x01R\x04name\x88\x01\x01\x42\x05\n\x03_idB\x07\n\x05_name\"/\n\x17TenantServiceGetRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\"\x98\x02\n\x1aTenantServiceCreateRequest\x12\x1d\n\x04name\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18@R\x04name\x12\x31\n\x0b\x64\x65scription\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04H\x00R\x0b\x64\x65scription\x88\x01\x01\x12\"\n\x05\x65mail\x18\x03 \x01(\tB\x07\xbaH\x04r\x02`\x01H\x01R\x05\x65mail\x88\x01\x01\x12\"\n\navatar_url\x18\x04 \x01(\tH\x02R\tavatarUrl\x88\x01\x01\x12&\n\x0cphone_number\x18\x05 \x01(\tH\x03R\x0bphoneNumber\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x08\n\x06_emailB\r\n\x0b_avatar_urlB\x0f\n\r_phone_number\"\x83\x02\n\x1aTenantServiceUpdateRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x02\x18@H\x00R\x04name\x88\x01\x01\x12\"\n\x05\x65mail\x18\x03 \x01(\tB\x07\xbaH\x04r\x02`\x01H\x01R\x05\x65mail\x88\x01\x01\x12\x31\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04H\x02R\x0b\x64\x65scription\x88\x01\x01\x12\"\n\navatar_url\x18\x05 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x42\x07\n\x05_nameB\x08\n\x06_emailB\x0e\n\x0c_descriptionB\r\n\x0b_avatar_url\"2\n\x1aTenantServiceDeleteRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\"\x95\x01\n\x18TenantServiceGetResponse\x12\x31\n\x06tenant\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.TenantR\x06tenant\x12\x46\n\x0etenant_members\x18\x02 \x03(\x0b\x32\x1f.metalstack.api.v2.TenantMemberR\rtenantMembers\"P\n\x19TenantServiceListResponse\x12\x33\n\x07tenants\x18\x01 \x03(\x0b\x32\x19.metalstack.api.v2.TenantR\x07tenants\"P\n\x1bTenantServiceCreateResponse\x12\x31\n\x06tenant\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.TenantR\x06tenant\"P\n\x1bTenantServiceUpdateResponse\x12\x31\n\x06tenant\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.TenantR\x06tenant\"P\n\x1bTenantServiceDeleteResponse\x12\x31\n\x06tenant\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.TenantR\x06tenant\"o\n\x1aTenantServiceInviteRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12;\n\x04role\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\"V\n\x1bTenantServiceInviteResponse\x12\x37\n\x06invite\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.TenantInviteR\x06invite\"7\n\x1fTenantServiceInvitesListRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\"]\n TenantServiceInvitesListResponse\x12\x39\n\x07invites\x18\x01 \x03(\x0b\x32\x1f.metalstack.api.v2.TenantInviteR\x07invites\"7\n\x1dTenantServiceInviteGetRequest\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\"Y\n\x1eTenantServiceInviteGetResponse\x12\x37\n\x06invite\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.TenantInviteR\x06invite\"P\n TenantServiceRemoveMemberRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12\x16\n\x06member\x18\x02 \x01(\tR\x06member\"#\n!TenantServiceRemoveMemberResponse\":\n TenantServiceInviteAcceptRequest\x12\x16\n\x06secret\x18\x01 \x01(\tR\x06secret\"\\\n!TenantServiceInviteAcceptResponse\x12\x16\n\x06tenant\x18\x01 \x01(\tR\x06tenant\x12\x1f\n\x0btenant_name\x18\x02 \x01(\tR\ntenantName\"P\n TenantServiceInviteDeleteRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret\"#\n!TenantServiceInviteDeleteResponse\"\x8d\x01\n TenantServiceUpdateMemberRequest\x12\x14\n\x05login\x18\x01 \x01(\tR\x05login\x12\x16\n\x06member\x18\x02 \x01(\tR\x06member\x12;\n\x04role\x18\x03 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04role\"i\n!TenantServiceUpdateMemberResponse\x12\x44\n\rtenant_member\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.TenantMemberR\x0ctenantMember2\xd6\x0b\n\rTenantService\x12q\n\x06\x43reate\x12-.metalstack.api.v2.TenantServiceCreateRequest\x1a..metalstack.api.v2.TenantServiceCreateResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x01\x12k\n\x04List\x12+.metalstack.api.v2.TenantServiceListRequest\x1a,.metalstack.api.v2.TenantServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12l\n\x03Get\x12*.metalstack.api.v2.TenantServiceGetRequest\x1a+.metalstack.api.v2.TenantServiceGetResponse\"\x0c\xc2\xf3\x18\x04\x01\x02\x03\x04\xe0\xf3\x18\x02\x12s\n\x06Update\x12-.metalstack.api.v2.TenantServiceUpdateRequest\x1a..metalstack.api.v2.TenantServiceUpdateResponse\"\n\xc2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12s\n\x06\x44\x65lete\x12-.metalstack.api.v2.TenantServiceDeleteRequest\x1a..metalstack.api.v2.TenantServiceDeleteResponse\"\n\xc2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12\x84\x01\n\x0cRemoveMember\x12\x33.metalstack.api.v2.TenantServiceRemoveMemberRequest\x1a\x34.metalstack.api.v2.TenantServiceRemoveMemberResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x84\x01\n\x0cUpdateMember\x12\x33.metalstack.api.v2.TenantServiceUpdateMemberRequest\x1a\x34.metalstack.api.v2.TenantServiceUpdateMemberResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12r\n\x06Invite\x12-.metalstack.api.v2.TenantServiceInviteRequest\x1a..metalstack.api.v2.TenantServiceInviteResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x83\x01\n\x0cInviteAccept\x12\x33.metalstack.api.v2.TenantServiceInviteAcceptRequest\x1a\x34.metalstack.api.v2.TenantServiceInviteAcceptResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x01\x12\x84\x01\n\x0cInviteDelete\x12\x33.metalstack.api.v2.TenantServiceInviteDeleteRequest\x1a\x34.metalstack.api.v2.TenantServiceInviteDeleteResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x81\x01\n\x0bInvitesList\x12\x32.metalstack.api.v2.TenantServiceInvitesListRequest\x1a\x33.metalstack.api.v2.TenantServiceInvitesListResponse\"\t\xc2\xf3\x18\x01\x01\xe0\xf3\x18\x02\x12z\n\tInviteGet\x12\x30.metalstack.api.v2.TenantServiceInviteGetRequest\x1a\x31.metalstack.api.v2.TenantServiceInviteGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc1\x01\n\x15\x63om.metalstack.api.v2B\x0bTenantProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -84,57 +84,57 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
84
84
|
_globals['_TENANT']._serialized_start=148
|
|
85
85
|
_globals['_TENANT']._serialized_end=361
|
|
86
86
|
_globals['_TENANTMEMBER']._serialized_start=364
|
|
87
|
-
_globals['_TENANTMEMBER']._serialized_end=
|
|
88
|
-
_globals['_TENANTINVITE']._serialized_start=
|
|
89
|
-
_globals['_TENANTINVITE']._serialized_end=
|
|
90
|
-
_globals['_TENANTSERVICELISTREQUEST']._serialized_start=
|
|
91
|
-
_globals['_TENANTSERVICELISTREQUEST']._serialized_end=
|
|
92
|
-
_globals['_TENANTSERVICEGETREQUEST']._serialized_start=
|
|
93
|
-
_globals['_TENANTSERVICEGETREQUEST']._serialized_end=
|
|
94
|
-
_globals['_TENANTSERVICECREATEREQUEST']._serialized_start=
|
|
95
|
-
_globals['_TENANTSERVICECREATEREQUEST']._serialized_end=
|
|
96
|
-
_globals['_TENANTSERVICEUPDATEREQUEST']._serialized_start=
|
|
97
|
-
_globals['_TENANTSERVICEUPDATEREQUEST']._serialized_end=
|
|
98
|
-
_globals['_TENANTSERVICEDELETEREQUEST']._serialized_start=
|
|
99
|
-
_globals['_TENANTSERVICEDELETEREQUEST']._serialized_end=
|
|
100
|
-
_globals['_TENANTSERVICEGETRESPONSE']._serialized_start=
|
|
101
|
-
_globals['_TENANTSERVICEGETRESPONSE']._serialized_end=
|
|
102
|
-
_globals['_TENANTSERVICELISTRESPONSE']._serialized_start=
|
|
103
|
-
_globals['_TENANTSERVICELISTRESPONSE']._serialized_end=
|
|
104
|
-
_globals['_TENANTSERVICECREATERESPONSE']._serialized_start=
|
|
105
|
-
_globals['_TENANTSERVICECREATERESPONSE']._serialized_end=
|
|
106
|
-
_globals['_TENANTSERVICEUPDATERESPONSE']._serialized_start=
|
|
107
|
-
_globals['_TENANTSERVICEUPDATERESPONSE']._serialized_end=
|
|
108
|
-
_globals['_TENANTSERVICEDELETERESPONSE']._serialized_start=
|
|
109
|
-
_globals['_TENANTSERVICEDELETERESPONSE']._serialized_end=
|
|
110
|
-
_globals['_TENANTSERVICEINVITEREQUEST']._serialized_start=
|
|
111
|
-
_globals['_TENANTSERVICEINVITEREQUEST']._serialized_end=
|
|
112
|
-
_globals['_TENANTSERVICEINVITERESPONSE']._serialized_start=
|
|
113
|
-
_globals['_TENANTSERVICEINVITERESPONSE']._serialized_end=
|
|
114
|
-
_globals['_TENANTSERVICEINVITESLISTREQUEST']._serialized_start=
|
|
115
|
-
_globals['_TENANTSERVICEINVITESLISTREQUEST']._serialized_end=
|
|
116
|
-
_globals['_TENANTSERVICEINVITESLISTRESPONSE']._serialized_start=
|
|
117
|
-
_globals['_TENANTSERVICEINVITESLISTRESPONSE']._serialized_end=
|
|
118
|
-
_globals['_TENANTSERVICEINVITEGETREQUEST']._serialized_start=
|
|
119
|
-
_globals['_TENANTSERVICEINVITEGETREQUEST']._serialized_end=
|
|
120
|
-
_globals['_TENANTSERVICEINVITEGETRESPONSE']._serialized_start=
|
|
121
|
-
_globals['_TENANTSERVICEINVITEGETRESPONSE']._serialized_end=
|
|
122
|
-
_globals['_TENANTSERVICEREMOVEMEMBERREQUEST']._serialized_start=
|
|
123
|
-
_globals['_TENANTSERVICEREMOVEMEMBERREQUEST']._serialized_end=
|
|
124
|
-
_globals['_TENANTSERVICEREMOVEMEMBERRESPONSE']._serialized_start=
|
|
125
|
-
_globals['_TENANTSERVICEREMOVEMEMBERRESPONSE']._serialized_end=
|
|
126
|
-
_globals['_TENANTSERVICEINVITEACCEPTREQUEST']._serialized_start=
|
|
127
|
-
_globals['_TENANTSERVICEINVITEACCEPTREQUEST']._serialized_end=
|
|
128
|
-
_globals['_TENANTSERVICEINVITEACCEPTRESPONSE']._serialized_start=
|
|
129
|
-
_globals['_TENANTSERVICEINVITEACCEPTRESPONSE']._serialized_end=
|
|
130
|
-
_globals['_TENANTSERVICEINVITEDELETEREQUEST']._serialized_start=
|
|
131
|
-
_globals['_TENANTSERVICEINVITEDELETEREQUEST']._serialized_end=
|
|
132
|
-
_globals['_TENANTSERVICEINVITEDELETERESPONSE']._serialized_start=
|
|
133
|
-
_globals['_TENANTSERVICEINVITEDELETERESPONSE']._serialized_end=
|
|
134
|
-
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST']._serialized_start=
|
|
135
|
-
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST']._serialized_end=
|
|
136
|
-
_globals['_TENANTSERVICEUPDATEMEMBERRESPONSE']._serialized_start=
|
|
137
|
-
_globals['_TENANTSERVICEUPDATEMEMBERRESPONSE']._serialized_end=
|
|
138
|
-
_globals['_TENANTSERVICE']._serialized_start=
|
|
139
|
-
_globals['_TENANTSERVICE']._serialized_end=
|
|
87
|
+
_globals['_TENANTMEMBER']._serialized_end=542
|
|
88
|
+
_globals['_TENANTINVITE']._serialized_start=545
|
|
89
|
+
_globals['_TENANTINVITE']._serialized_end=924
|
|
90
|
+
_globals['_TENANTSERVICELISTREQUEST']._serialized_start=926
|
|
91
|
+
_globals['_TENANTSERVICELISTREQUEST']._serialized_end=1025
|
|
92
|
+
_globals['_TENANTSERVICEGETREQUEST']._serialized_start=1027
|
|
93
|
+
_globals['_TENANTSERVICEGETREQUEST']._serialized_end=1074
|
|
94
|
+
_globals['_TENANTSERVICECREATEREQUEST']._serialized_start=1077
|
|
95
|
+
_globals['_TENANTSERVICECREATEREQUEST']._serialized_end=1357
|
|
96
|
+
_globals['_TENANTSERVICEUPDATEREQUEST']._serialized_start=1360
|
|
97
|
+
_globals['_TENANTSERVICEUPDATEREQUEST']._serialized_end=1619
|
|
98
|
+
_globals['_TENANTSERVICEDELETEREQUEST']._serialized_start=1621
|
|
99
|
+
_globals['_TENANTSERVICEDELETEREQUEST']._serialized_end=1671
|
|
100
|
+
_globals['_TENANTSERVICEGETRESPONSE']._serialized_start=1674
|
|
101
|
+
_globals['_TENANTSERVICEGETRESPONSE']._serialized_end=1823
|
|
102
|
+
_globals['_TENANTSERVICELISTRESPONSE']._serialized_start=1825
|
|
103
|
+
_globals['_TENANTSERVICELISTRESPONSE']._serialized_end=1905
|
|
104
|
+
_globals['_TENANTSERVICECREATERESPONSE']._serialized_start=1907
|
|
105
|
+
_globals['_TENANTSERVICECREATERESPONSE']._serialized_end=1987
|
|
106
|
+
_globals['_TENANTSERVICEUPDATERESPONSE']._serialized_start=1989
|
|
107
|
+
_globals['_TENANTSERVICEUPDATERESPONSE']._serialized_end=2069
|
|
108
|
+
_globals['_TENANTSERVICEDELETERESPONSE']._serialized_start=2071
|
|
109
|
+
_globals['_TENANTSERVICEDELETERESPONSE']._serialized_end=2151
|
|
110
|
+
_globals['_TENANTSERVICEINVITEREQUEST']._serialized_start=2153
|
|
111
|
+
_globals['_TENANTSERVICEINVITEREQUEST']._serialized_end=2264
|
|
112
|
+
_globals['_TENANTSERVICEINVITERESPONSE']._serialized_start=2266
|
|
113
|
+
_globals['_TENANTSERVICEINVITERESPONSE']._serialized_end=2352
|
|
114
|
+
_globals['_TENANTSERVICEINVITESLISTREQUEST']._serialized_start=2354
|
|
115
|
+
_globals['_TENANTSERVICEINVITESLISTREQUEST']._serialized_end=2409
|
|
116
|
+
_globals['_TENANTSERVICEINVITESLISTRESPONSE']._serialized_start=2411
|
|
117
|
+
_globals['_TENANTSERVICEINVITESLISTRESPONSE']._serialized_end=2504
|
|
118
|
+
_globals['_TENANTSERVICEINVITEGETREQUEST']._serialized_start=2506
|
|
119
|
+
_globals['_TENANTSERVICEINVITEGETREQUEST']._serialized_end=2561
|
|
120
|
+
_globals['_TENANTSERVICEINVITEGETRESPONSE']._serialized_start=2563
|
|
121
|
+
_globals['_TENANTSERVICEINVITEGETRESPONSE']._serialized_end=2652
|
|
122
|
+
_globals['_TENANTSERVICEREMOVEMEMBERREQUEST']._serialized_start=2654
|
|
123
|
+
_globals['_TENANTSERVICEREMOVEMEMBERREQUEST']._serialized_end=2734
|
|
124
|
+
_globals['_TENANTSERVICEREMOVEMEMBERRESPONSE']._serialized_start=2736
|
|
125
|
+
_globals['_TENANTSERVICEREMOVEMEMBERRESPONSE']._serialized_end=2771
|
|
126
|
+
_globals['_TENANTSERVICEINVITEACCEPTREQUEST']._serialized_start=2773
|
|
127
|
+
_globals['_TENANTSERVICEINVITEACCEPTREQUEST']._serialized_end=2831
|
|
128
|
+
_globals['_TENANTSERVICEINVITEACCEPTRESPONSE']._serialized_start=2833
|
|
129
|
+
_globals['_TENANTSERVICEINVITEACCEPTRESPONSE']._serialized_end=2925
|
|
130
|
+
_globals['_TENANTSERVICEINVITEDELETEREQUEST']._serialized_start=2927
|
|
131
|
+
_globals['_TENANTSERVICEINVITEDELETEREQUEST']._serialized_end=3007
|
|
132
|
+
_globals['_TENANTSERVICEINVITEDELETERESPONSE']._serialized_start=3009
|
|
133
|
+
_globals['_TENANTSERVICEINVITEDELETERESPONSE']._serialized_end=3044
|
|
134
|
+
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST']._serialized_start=3047
|
|
135
|
+
_globals['_TENANTSERVICEUPDATEMEMBERREQUEST']._serialized_end=3188
|
|
136
|
+
_globals['_TENANTSERVICEUPDATEMEMBERRESPONSE']._serialized_start=3190
|
|
137
|
+
_globals['_TENANTSERVICEUPDATEMEMBERRESPONSE']._serialized_end=3295
|
|
138
|
+
_globals['_TENANTSERVICE']._serialized_start=3298
|
|
139
|
+
_globals['_TENANTSERVICE']._serialized_end=4792
|
|
140
140
|
# @@protoc_insertion_point(module_scope)
|