metal-stack-api 0.0.11__py3-none-any.whl → 0.0.12__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.12.dist-info}/METADATA +1 -1
- {metal_stack_api-0.0.11.dist-info → metal_stack_api-0.0.12.dist-info}/RECORD +43 -39
- 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 +3 -3
- metalstack/admin/v2/network_pb2.pyi +1 -1
- 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 +3 -3
- metalstack/api/v2/common_pb2.py +3 -3
- metalstack/api/v2/filesystem_pb2.py +3 -3
- metalstack/api/v2/filesystem_pb2.pyi +1 -1
- metalstack/api/v2/health_pb2.py +3 -3
- metalstack/api/v2/image_pb2.py +3 -3
- metalstack/api/v2/ip_pb2.py +3 -3
- 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 +3 -3
- metalstack/api/v2/partition_pb2.py +3 -3
- metalstack/api/v2/project_pb2.py +3 -3
- metalstack/api/v2/project_pb2.pyi +2 -2
- metalstack/api/v2/size_pb2.py +3 -3
- metalstack/api/v2/switch_pb2.py +3 -3
- metalstack/api/v2/tenant_pb2.py +3 -3
- metalstack/api/v2/tenant_pb2.pyi +1 -1
- metalstack/api/v2/token_pb2.py +3 -3
- 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.12.dist-info}/WHEEL +0 -0
- {metal_stack_api-0.0.11.dist-info → metal_stack_api-0.0.12.dist-info}/top_level.txt +0 -0
|
@@ -36,6 +36,21 @@ class MachineProvisioningEventState(int, metaclass=_enum_type_wrapper.EnumTypeWr
|
|
|
36
36
|
MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP: _ClassVar[MachineProvisioningEventState]
|
|
37
37
|
MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM: _ClassVar[MachineProvisioningEventState]
|
|
38
38
|
|
|
39
|
+
class MachineProvisioningEventType(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
40
|
+
__slots__ = ()
|
|
41
|
+
MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED: _ClassVar[MachineProvisioningEventType]
|
|
42
|
+
MACHINE_PROVISIONING_EVENT_TYPE_ALIVE: _ClassVar[MachineProvisioningEventType]
|
|
43
|
+
MACHINE_PROVISIONING_EVENT_TYPE_CRASHED: _ClassVar[MachineProvisioningEventType]
|
|
44
|
+
MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING: _ClassVar[MachineProvisioningEventType]
|
|
45
|
+
MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT: _ClassVar[MachineProvisioningEventType]
|
|
46
|
+
MACHINE_PROVISIONING_EVENT_TYPE_PREPARING: _ClassVar[MachineProvisioningEventType]
|
|
47
|
+
MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING: _ClassVar[MachineProvisioningEventType]
|
|
48
|
+
MACHINE_PROVISIONING_EVENT_TYPE_WAITING: _ClassVar[MachineProvisioningEventType]
|
|
49
|
+
MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING: _ClassVar[MachineProvisioningEventType]
|
|
50
|
+
MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL: _ClassVar[MachineProvisioningEventType]
|
|
51
|
+
MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME: _ClassVar[MachineProvisioningEventType]
|
|
52
|
+
MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM: _ClassVar[MachineProvisioningEventType]
|
|
53
|
+
|
|
39
54
|
class MachineLiveliness(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
40
55
|
__slots__ = ()
|
|
41
56
|
MACHINE_LIVELINESS_UNSPECIFIED: _ClassVar[MachineLiveliness]
|
|
@@ -58,6 +73,18 @@ MACHINE_STATE_AVAILABLE: MachineState
|
|
|
58
73
|
MACHINE_PROVISIONING_EVENT_STATE_UNSPECIFIED: MachineProvisioningEventState
|
|
59
74
|
MACHINE_PROVISIONING_EVENT_STATE_CRASHLOOP: MachineProvisioningEventState
|
|
60
75
|
MACHINE_PROVISIONING_EVENT_STATE_FAILED_RECLAIM: MachineProvisioningEventState
|
|
76
|
+
MACHINE_PROVISIONING_EVENT_TYPE_UNSPECIFIED: MachineProvisioningEventType
|
|
77
|
+
MACHINE_PROVISIONING_EVENT_TYPE_ALIVE: MachineProvisioningEventType
|
|
78
|
+
MACHINE_PROVISIONING_EVENT_TYPE_CRASHED: MachineProvisioningEventType
|
|
79
|
+
MACHINE_PROVISIONING_EVENT_TYPE_PXE_BOOTING: MachineProvisioningEventType
|
|
80
|
+
MACHINE_PROVISIONING_EVENT_TYPE_PLANNED_REBOOT: MachineProvisioningEventType
|
|
81
|
+
MACHINE_PROVISIONING_EVENT_TYPE_PREPARING: MachineProvisioningEventType
|
|
82
|
+
MACHINE_PROVISIONING_EVENT_TYPE_REGISTERING: MachineProvisioningEventType
|
|
83
|
+
MACHINE_PROVISIONING_EVENT_TYPE_WAITING: MachineProvisioningEventType
|
|
84
|
+
MACHINE_PROVISIONING_EVENT_TYPE_INSTALLING: MachineProvisioningEventType
|
|
85
|
+
MACHINE_PROVISIONING_EVENT_TYPE_BOOTING_NEW_KERNEL: MachineProvisioningEventType
|
|
86
|
+
MACHINE_PROVISIONING_EVENT_TYPE_PHONED_HOME: MachineProvisioningEventType
|
|
87
|
+
MACHINE_PROVISIONING_EVENT_TYPE_MACHINE_RECLAIM: MachineProvisioningEventType
|
|
61
88
|
MACHINE_LIVELINESS_UNSPECIFIED: MachineLiveliness
|
|
62
89
|
MACHINE_LIVELINESS_ALIVE: MachineLiveliness
|
|
63
90
|
MACHINE_LIVELINESS_DEAD: MachineLiveliness
|
|
@@ -266,7 +293,7 @@ class MachineAllocationNetwork(_message.Message):
|
|
|
266
293
|
NO_AUTO_ACQUIRE_IP_FIELD_NUMBER: _ClassVar[int]
|
|
267
294
|
network: str
|
|
268
295
|
no_auto_acquire_ip: bool
|
|
269
|
-
def __init__(self, network: _Optional[str] = ..., no_auto_acquire_ip: bool = ...) -> None: ...
|
|
296
|
+
def __init__(self, network: _Optional[str] = ..., no_auto_acquire_ip: _Optional[bool] = ...) -> None: ...
|
|
270
297
|
|
|
271
298
|
class FirewallRules(_message.Message):
|
|
272
299
|
__slots__ = ("egress", "ingress")
|
|
@@ -417,9 +444,9 @@ class MachineProvisioningEvent(_message.Message):
|
|
|
417
444
|
EVENT_FIELD_NUMBER: _ClassVar[int]
|
|
418
445
|
MESSAGE_FIELD_NUMBER: _ClassVar[int]
|
|
419
446
|
time: _timestamp_pb2.Timestamp
|
|
420
|
-
event:
|
|
447
|
+
event: MachineProvisioningEventType
|
|
421
448
|
message: str
|
|
422
|
-
def __init__(self, time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., event: _Optional[str] = ..., message: _Optional[str] = ...) -> None: ...
|
|
449
|
+
def __init__(self, time: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., event: _Optional[_Union[MachineProvisioningEventType, str]] = ..., message: _Optional[str] = ...) -> None: ...
|
|
423
450
|
|
|
424
451
|
class MachineVPN(_message.Message):
|
|
425
452
|
__slots__ = ("control_plane_address", "auth_key", "connected")
|
|
@@ -429,7 +456,7 @@ class MachineVPN(_message.Message):
|
|
|
429
456
|
control_plane_address: str
|
|
430
457
|
auth_key: str
|
|
431
458
|
connected: bool
|
|
432
|
-
def __init__(self, control_plane_address: _Optional[str] = ..., auth_key: _Optional[str] = ..., connected: bool = ...) -> None: ...
|
|
459
|
+
def __init__(self, control_plane_address: _Optional[str] = ..., auth_key: _Optional[str] = ..., connected: _Optional[bool] = ...) -> None: ...
|
|
433
460
|
|
|
434
461
|
class MachineQuery(_message.Message):
|
|
435
462
|
__slots__ = ("uuid", "name", "partition", "size", "rack", "labels", "allocation", "network", "nic", "disk", "ipmi", "fru", "hardware", "state")
|
|
@@ -68,7 +68,7 @@ class MachineServiceServicer(object):
|
|
|
68
68
|
raise NotImplementedError('Method not implemented!')
|
|
69
69
|
|
|
70
70
|
def List(self, request, context):
|
|
71
|
-
"""List all
|
|
71
|
+
"""List all machines
|
|
72
72
|
"""
|
|
73
73
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
74
|
context.set_details('Method not implemented!')
|
metalstack/api/v2/method_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/method.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/method.proto'
|
|
19
19
|
)
|
metalstack/api/v2/network_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/network.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/network.proto'
|
|
19
19
|
)
|
|
@@ -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
|
)
|
|
@@ -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")
|
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
|
)
|
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
|
)
|
metalstack/api/v2/tenant_pb2.pyi
CHANGED
|
@@ -61,7 +61,7 @@ class TenantInvite(_message.Message):
|
|
|
61
61
|
tenant_name: str
|
|
62
62
|
expires_at: _timestamp_pb2.Timestamp
|
|
63
63
|
joined_at: _timestamp_pb2.Timestamp
|
|
64
|
-
def __init__(self, secret: _Optional[str] = ..., target_tenant: _Optional[str] = ..., role: _Optional[_Union[_common_pb2.TenantRole, str]] = ..., joined: bool = ..., target_tenant_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: ...
|
|
64
|
+
def __init__(self, secret: _Optional[str] = ..., target_tenant: _Optional[str] = ..., role: _Optional[_Union[_common_pb2.TenantRole, str]] = ..., joined: _Optional[bool] = ..., target_tenant_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: ...
|
|
65
65
|
|
|
66
66
|
class TenantServiceListRequest(_message.Message):
|
|
67
67
|
__slots__ = ("id", "name")
|
metalstack/api/v2/token_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/token.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/token.proto'
|
|
19
19
|
)
|
metalstack/api/v2/user_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/user.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/user.proto'
|
|
19
19
|
)
|
metalstack/api/v2/version_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/version.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/version.proto'
|
|
19
19
|
)
|
metalstack/client/client.py
CHANGED
|
@@ -5,6 +5,7 @@ import httpx
|
|
|
5
5
|
import metalstack.admin.v2.filesystem_connecpy as admin_filesystem_connecpy
|
|
6
6
|
import metalstack.admin.v2.image_connecpy as admin_image_connecpy
|
|
7
7
|
import metalstack.admin.v2.ip_connecpy as admin_ip_connecpy
|
|
8
|
+
import metalstack.admin.v2.machine_connecpy as admin_machine_connecpy
|
|
8
9
|
import metalstack.admin.v2.network_connecpy as admin_network_connecpy
|
|
9
10
|
import metalstack.admin.v2.partition_connecpy as admin_partition_connecpy
|
|
10
11
|
import metalstack.admin.v2.size_connecpy as admin_size_connecpy
|
|
@@ -68,6 +69,9 @@ class Client:
|
|
|
68
69
|
def ip(self):
|
|
69
70
|
return admin_ip_connecpy.IPServiceClient(address=self._baseurl, session=self._session)
|
|
70
71
|
|
|
72
|
+
def machine(self):
|
|
73
|
+
return admin_machine_connecpy.MachineServiceClient(address=self._baseurl, session=self._session)
|
|
74
|
+
|
|
71
75
|
def network(self):
|
|
72
76
|
return admin_network_connecpy.NetworkServiceClient(address=self._baseurl, session=self._session)
|
|
73
77
|
|
metalstack/infra/v2/bmc_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/infra/v2/bmc.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/infra/v2/bmc.proto'
|
|
19
19
|
)
|
|
@@ -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/infra/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/infra/v2/switch.proto'
|
|
19
19
|
)
|
|
File without changes
|
|
File without changes
|