metal-stack-api 0.0.25__py3-none-any.whl → 0.0.26__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.
- {metal_stack_api-0.0.25.dist-info → metal_stack_api-0.0.26.dist-info}/METADATA +1 -1
- {metal_stack_api-0.0.25.dist-info → metal_stack_api-0.0.26.dist-info}/RECORD +6 -6
- metalstack/admin/v2/switch_pb2.py +18 -20
- metalstack/admin/v2/switch_pb2.pyi +2 -4
- {metal_stack_api-0.0.25.dist-info → metal_stack_api-0.0.26.dist-info}/WHEEL +0 -0
- {metal_stack_api-0.0.25.dist-info → metal_stack_api-0.0.26.dist-info}/top_level.txt +0 -0
|
@@ -23,8 +23,8 @@ metalstack/admin/v2/size_connect.py,sha256=EeDMcsNDo9nN7LetIkaB5sxGMk1CqZGfFtWza
|
|
|
23
23
|
metalstack/admin/v2/size_pb2.py,sha256=doH58QNktnMSAQWlehmeT3VmsHaj5A7DYAzU8bzWiik,6481
|
|
24
24
|
metalstack/admin/v2/size_pb2.pyi,sha256=xMbYS7HghgaPMCOpAwmdadGBOp_BU7TvF4QTJuMaMMs,2664
|
|
25
25
|
metalstack/admin/v2/switch_connect.py,sha256=c_xsfMKHL-K9QLTQr5ApKU5WOaqErTGDVyF2l2dIUFE,22352
|
|
26
|
-
metalstack/admin/v2/switch_pb2.py,sha256=
|
|
27
|
-
metalstack/admin/v2/switch_pb2.pyi,sha256=
|
|
26
|
+
metalstack/admin/v2/switch_pb2.py,sha256=GPVgs04bfWy2t6u7bnXSB1yBqPI5310JZI_GMrxjghI,12168
|
|
27
|
+
metalstack/admin/v2/switch_pb2.pyi,sha256=7llyR9m7oMugurT1FADS35BpMSAN-K4ErWYHPVA5l7U,5312
|
|
28
28
|
metalstack/admin/v2/tenant_connect.py,sha256=yxL56ifI-VSE1O-We4V8naqc0QXKhlkqZaGOm_f1n0c,8788
|
|
29
29
|
metalstack/admin/v2/tenant_pb2.py,sha256=LbMSxlil9NdM20e2Cg1q8Edd2PGdvf8lXSt8sqZpQnQ,5680
|
|
30
30
|
metalstack/admin/v2/tenant_pb2.pyi,sha256=ZI3HryRUf7bWAwKMWsfDa55fS6FVrsxStMyV4sU3cz0,2303
|
|
@@ -91,7 +91,7 @@ metalstack/infra/v2/bmc_pb2.pyi,sha256=e4FGBnDQhg6K_zlhoC170lw-0OSlSdHK3So6r3Reh
|
|
|
91
91
|
metalstack/infra/v2/switch_connect.py,sha256=aP6z0SDF-ks3o-mUVlC18aC_YCIpqOYniIRs7m79mOo,8984
|
|
92
92
|
metalstack/infra/v2/switch_pb2.py,sha256=RuhV586RDLgHe5_xC8IskDobqWp71dAAr_T0ZZ-rYWk,6128
|
|
93
93
|
metalstack/infra/v2/switch_pb2.pyi,sha256=xHjeGvO4i5MtFhV39yiv-dJbTBl2mgt2NplgP0qvAAE,3665
|
|
94
|
-
metal_stack_api-0.0.
|
|
95
|
-
metal_stack_api-0.0.
|
|
96
|
-
metal_stack_api-0.0.
|
|
97
|
-
metal_stack_api-0.0.
|
|
94
|
+
metal_stack_api-0.0.26.dist-info/METADATA,sha256=M53Zxp2aCuIWXafl1C-m5AeGe7GNFCytrzBkiRa5PXI,874
|
|
95
|
+
metal_stack_api-0.0.26.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
96
|
+
metal_stack_api-0.0.26.dist-info/top_level.txt,sha256=OqZoCBTOYMgPJJ3GbO1ZfY7eRpW9Ljc5g3Ajlu44n2I,11
|
|
97
|
+
metal_stack_api-0.0.26.dist-info/RECORD,,
|
|
@@ -29,7 +29,7 @@ from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_
|
|
|
29
29
|
from metalstack.api.v2 import switch_pb2 as metalstack_dot_api_dot_v2_dot_switch__pb2
|
|
30
30
|
|
|
31
31
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n metalstack/admin/v2/switch.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\x1a\x1emetalstack/api/v2/switch.proto\"8\n\x17SwitchServiceGetRequest\x12\x1d\n\x02id\x18\x01 \x01(\tB\r\xbaH\nr\x08h\x01\xc0\xb3\xae\xb1\x02\x01R\x02id\"M\n\x18SwitchServiceGetResponse\x12\x31\n\x06switch\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.SwitchR\x06switch\"P\n\x18SwitchServiceListRequest\x12\x34\n\x05query\x18\x01 \x01(\x0b\x32\x1e.metalstack.api.v2.SwitchQueryR\x05query\"R\n\x19SwitchServiceListResponse\x12\x35\n\x08switches\x18\x01 \x03(\x0b\x32\x19.metalstack.api.v2.SwitchR\x08switches\"\
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n metalstack/admin/v2/switch.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\x1a\x1emetalstack/api/v2/switch.proto\"8\n\x17SwitchServiceGetRequest\x12\x1d\n\x02id\x18\x01 \x01(\tB\r\xbaH\nr\x08h\x01\xc0\xb3\xae\xb1\x02\x01R\x02id\"M\n\x18SwitchServiceGetResponse\x12\x31\n\x06switch\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.SwitchR\x06switch\"P\n\x18SwitchServiceListRequest\x12\x34\n\x05query\x18\x01 \x01(\x0b\x32\x1e.metalstack.api.v2.SwitchQueryR\x05query\"R\n\x19SwitchServiceListResponse\x12\x35\n\x08switches\x18\x01 \x03(\x0b\x32\x19.metalstack.api.v2.SwitchR\x08switches\"\xb9\x05\n\x1aSwitchServiceUpdateRequest\x12\x1d\n\x02id\x18\x01 \x01(\tB\r\xbaH\nr\x08h\x01\xc0\xb3\xae\xb1\x02\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\x39\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12\x32\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x12V\n\x0creplace_mode\x18\x05 \x01(\x0e\x32$.metalstack.api.v2.SwitchReplaceModeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x01R\x0breplaceMode\x88\x01\x01\x12\x31\n\rmanagement_ip\x18\x06 \x01(\tB\x07\xbaH\x04r\x02p\x01H\x02R\x0cmanagementIp\x88\x01\x01\x12\x39\n\x0fmanagement_user\x18\x07 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x03R\x0emanagementUser\x88\x01\x01\x12\x39\n\x0f\x63onsole_command\x18\x08 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x04R\x0e\x63onsoleCommand\x88\x01\x01\x12\x30\n\x04nics\x18\t \x03(\x0b\x32\x1c.metalstack.api.v2.SwitchNicR\x04nics\x12\x30\n\x02os\x18\n \x01(\x0b\x32\x1b.metalstack.api.v2.SwitchOSH\x05R\x02os\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x0f\n\r_replace_modeB\x10\n\x0e_management_ipB\x12\n\x10_management_userB\x12\n\x10_console_commandB\x05\n\x03_os\"P\n\x1bSwitchServiceUpdateResponse\x12\x31\n\x06switch\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.SwitchR\x06switch\"Q\n\x1aSwitchServiceDeleteRequest\x12\x1d\n\x02id\x18\x01 \x01(\tB\r\xbaH\nr\x08h\x01\xc0\xb3\xae\xb1\x02\x01R\x02id\x12\x14\n\x05\x66orce\x18\x02 \x01(\x08R\x05\x66orce\"P\n\x1bSwitchServiceDeleteResponse\x12\x31\n\x06switch\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.SwitchR\x06switch\"y\n\x1bSwitchServiceMigrateRequest\x12,\n\nold_switch\x18\x01 \x01(\tB\r\xbaH\nr\x08h\x01\xc0\xb3\xae\xb1\x02\x01R\toldSwitch\x12,\n\nnew_switch\x18\x02 \x01(\tB\r\xbaH\nr\x08h\x01\xc0\xb3\xae\xb1\x02\x01R\tnewSwitch\"Q\n\x1cSwitchServiceMigrateResponse\x12\x31\n\x06switch\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.SwitchR\x06switch\"\xa8\x01\n\x18SwitchServicePortRequest\x12\x1d\n\x02id\x18\x01 \x01(\tB\r\xbaH\nr\x08h\x01\xc0\xb3\xae\xb1\x02\x01R\x02id\x12&\n\x08nic_name\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x07nicName\x12\x45\n\x06status\x18\x03 \x01(\x0e\x32#.metalstack.api.v2.SwitchPortStatusB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x06status\"N\n\x19SwitchServicePortResponse\x12\x31\n\x06switch\x18\x01 \x01(\x0b\x32\x19.metalstack.api.v2.SwitchR\x06switch2\xbf\x05\n\rSwitchService\x12n\n\x03Get\x12,.metalstack.admin.v2.SwitchServiceGetRequest\x1a-.metalstack.admin.v2.SwitchServiceGetResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12q\n\x04List\x12-.metalstack.admin.v2.SwitchServiceListRequest\x1a..metalstack.admin.v2.SwitchServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12r\n\x06Update\x12/.metalstack.admin.v2.SwitchServiceUpdateRequest\x1a\x30.metalstack.admin.v2.SwitchServiceUpdateResponse\"\x05\xd2\xf3\x18\x01\x01\x12r\n\x06\x44\x65lete\x12/.metalstack.admin.v2.SwitchServiceDeleteRequest\x1a\x30.metalstack.admin.v2.SwitchServiceDeleteResponse\"\x05\xd2\xf3\x18\x01\x01\x12u\n\x07Migrate\x12\x30.metalstack.admin.v2.SwitchServiceMigrateRequest\x1a\x31.metalstack.admin.v2.SwitchServiceMigrateResponse\"\x05\xd2\xf3\x18\x01\x01\x12l\n\x04Port\x12-.metalstack.admin.v2.SwitchServicePortRequest\x1a..metalstack.admin.v2.SwitchServicePortResponse\"\x05\xd2\xf3\x18\x01\x01\x42\xcf\x01\n\x17\x63om.metalstack.admin.v2B\x0bSwitchProtoP\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')
|
|
33
33
|
|
|
34
34
|
_globals = globals()
|
|
35
35
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -45,8 +45,6 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
45
45
|
_globals['_SWITCHSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
|
|
46
46
|
_globals['_SWITCHSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
47
47
|
_globals['_SWITCHSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
|
|
48
|
-
_globals['_SWITCHSERVICEUPDATEREQUEST'].fields_by_name['rack_id']._loaded_options = None
|
|
49
|
-
_globals['_SWITCHSERVICEUPDATEREQUEST'].fields_by_name['rack_id']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
|
|
50
48
|
_globals['_SWITCHSERVICEUPDATEREQUEST'].fields_by_name['replace_mode']._loaded_options = None
|
|
51
49
|
_globals['_SWITCHSERVICEUPDATEREQUEST'].fields_by_name['replace_mode']._serialized_options = b'\272H\005\202\001\002\020\001'
|
|
52
50
|
_globals['_SWITCHSERVICEUPDATEREQUEST'].fields_by_name['management_ip']._loaded_options = None
|
|
@@ -88,21 +86,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
88
86
|
_globals['_SWITCHSERVICELISTRESPONSE']._serialized_start=444
|
|
89
87
|
_globals['_SWITCHSERVICELISTRESPONSE']._serialized_end=526
|
|
90
88
|
_globals['_SWITCHSERVICEUPDATEREQUEST']._serialized_start=529
|
|
91
|
-
_globals['_SWITCHSERVICEUPDATEREQUEST']._serialized_end=
|
|
92
|
-
_globals['_SWITCHSERVICEUPDATERESPONSE']._serialized_start=
|
|
93
|
-
_globals['_SWITCHSERVICEUPDATERESPONSE']._serialized_end=
|
|
94
|
-
_globals['_SWITCHSERVICEDELETEREQUEST']._serialized_start=
|
|
95
|
-
_globals['_SWITCHSERVICEDELETEREQUEST']._serialized_end=
|
|
96
|
-
_globals['_SWITCHSERVICEDELETERESPONSE']._serialized_start=
|
|
97
|
-
_globals['_SWITCHSERVICEDELETERESPONSE']._serialized_end=
|
|
98
|
-
_globals['_SWITCHSERVICEMIGRATEREQUEST']._serialized_start=
|
|
99
|
-
_globals['_SWITCHSERVICEMIGRATEREQUEST']._serialized_end=
|
|
100
|
-
_globals['_SWITCHSERVICEMIGRATERESPONSE']._serialized_start=
|
|
101
|
-
_globals['_SWITCHSERVICEMIGRATERESPONSE']._serialized_end=
|
|
102
|
-
_globals['_SWITCHSERVICEPORTREQUEST']._serialized_start=
|
|
103
|
-
_globals['_SWITCHSERVICEPORTREQUEST']._serialized_end=
|
|
104
|
-
_globals['_SWITCHSERVICEPORTRESPONSE']._serialized_start=
|
|
105
|
-
_globals['_SWITCHSERVICEPORTRESPONSE']._serialized_end=
|
|
106
|
-
_globals['_SWITCHSERVICE']._serialized_start=
|
|
107
|
-
_globals['_SWITCHSERVICE']._serialized_end=
|
|
89
|
+
_globals['_SWITCHSERVICEUPDATEREQUEST']._serialized_end=1226
|
|
90
|
+
_globals['_SWITCHSERVICEUPDATERESPONSE']._serialized_start=1228
|
|
91
|
+
_globals['_SWITCHSERVICEUPDATERESPONSE']._serialized_end=1308
|
|
92
|
+
_globals['_SWITCHSERVICEDELETEREQUEST']._serialized_start=1310
|
|
93
|
+
_globals['_SWITCHSERVICEDELETEREQUEST']._serialized_end=1391
|
|
94
|
+
_globals['_SWITCHSERVICEDELETERESPONSE']._serialized_start=1393
|
|
95
|
+
_globals['_SWITCHSERVICEDELETERESPONSE']._serialized_end=1473
|
|
96
|
+
_globals['_SWITCHSERVICEMIGRATEREQUEST']._serialized_start=1475
|
|
97
|
+
_globals['_SWITCHSERVICEMIGRATEREQUEST']._serialized_end=1596
|
|
98
|
+
_globals['_SWITCHSERVICEMIGRATERESPONSE']._serialized_start=1598
|
|
99
|
+
_globals['_SWITCHSERVICEMIGRATERESPONSE']._serialized_end=1679
|
|
100
|
+
_globals['_SWITCHSERVICEPORTREQUEST']._serialized_start=1682
|
|
101
|
+
_globals['_SWITCHSERVICEPORTREQUEST']._serialized_end=1850
|
|
102
|
+
_globals['_SWITCHSERVICEPORTRESPONSE']._serialized_start=1852
|
|
103
|
+
_globals['_SWITCHSERVICEPORTRESPONSE']._serialized_end=1930
|
|
104
|
+
_globals['_SWITCHSERVICE']._serialized_start=1933
|
|
105
|
+
_globals['_SWITCHSERVICE']._serialized_end=2636
|
|
108
106
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -38,12 +38,11 @@ class SwitchServiceListResponse(_message.Message):
|
|
|
38
38
|
def __init__(self, switches: _Optional[_Iterable[_Union[_switch_pb2.Switch, _Mapping]]] = ...) -> None: ...
|
|
39
39
|
|
|
40
40
|
class SwitchServiceUpdateRequest(_message.Message):
|
|
41
|
-
__slots__ = ("id", "update_meta", "updated_at", "description", "
|
|
41
|
+
__slots__ = ("id", "update_meta", "updated_at", "description", "replace_mode", "management_ip", "management_user", "console_command", "nics", "os")
|
|
42
42
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
43
43
|
UPDATE_META_FIELD_NUMBER: _ClassVar[int]
|
|
44
44
|
UPDATED_AT_FIELD_NUMBER: _ClassVar[int]
|
|
45
45
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
46
|
-
RACK_ID_FIELD_NUMBER: _ClassVar[int]
|
|
47
46
|
REPLACE_MODE_FIELD_NUMBER: _ClassVar[int]
|
|
48
47
|
MANAGEMENT_IP_FIELD_NUMBER: _ClassVar[int]
|
|
49
48
|
MANAGEMENT_USER_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -54,14 +53,13 @@ class SwitchServiceUpdateRequest(_message.Message):
|
|
|
54
53
|
update_meta: _common_pb2.UpdateMeta
|
|
55
54
|
updated_at: _timestamp_pb2.Timestamp
|
|
56
55
|
description: str
|
|
57
|
-
rack_id: str
|
|
58
56
|
replace_mode: _switch_pb2.SwitchReplaceMode
|
|
59
57
|
management_ip: str
|
|
60
58
|
management_user: str
|
|
61
59
|
console_command: str
|
|
62
60
|
nics: _containers.RepeatedCompositeFieldContainer[_switch_pb2.SwitchNic]
|
|
63
61
|
os: _switch_pb2.SwitchOS
|
|
64
|
-
def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., description: _Optional[str] = ...,
|
|
62
|
+
def __init__(self, id: _Optional[str] = ..., update_meta: _Optional[_Union[_common_pb2.UpdateMeta, _Mapping]] = ..., updated_at: _Optional[_Union[datetime.datetime, _timestamp_pb2.Timestamp, _Mapping]] = ..., description: _Optional[str] = ..., replace_mode: _Optional[_Union[_switch_pb2.SwitchReplaceMode, str]] = ..., management_ip: _Optional[str] = ..., management_user: _Optional[str] = ..., console_command: _Optional[str] = ..., nics: _Optional[_Iterable[_Union[_switch_pb2.SwitchNic, _Mapping]]] = ..., os: _Optional[_Union[_switch_pb2.SwitchOS, _Mapping]] = ...) -> None: ...
|
|
65
63
|
|
|
66
64
|
class SwitchServiceUpdateResponse(_message.Message):
|
|
67
65
|
__slots__ = ("switch",)
|
|
File without changes
|
|
File without changes
|