metal-stack-api 0.6.0__tar.gz → 0.8.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (157) hide show
  1. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/PKG-INFO +1 -1
  2. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metal_stack_api.egg-info/PKG-INFO +1 -1
  3. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/machine_pb2.py +24 -24
  4. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/machine_pb2.pyi +4 -2
  5. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/network_connect.py +0 -195
  6. metal_stack_api-0.8.0/metalstack/admin/v2/network_pb2.py +115 -0
  7. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/network_pb2.pyi +0 -53
  8. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/machine_pb2.py +99 -99
  9. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/machine_pb2.pyi +4 -2
  10. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/network_pb2.py +15 -29
  11. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/network_pb2.pyi +0 -18
  12. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/switch_pb2.py +24 -24
  13. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/boot_connect.py +130 -0
  14. metal_stack_api-0.8.0/metalstack/infra/v2/boot_pb2.py +133 -0
  15. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/boot_pb2.pyi +36 -0
  16. metal_stack_api-0.6.0/metalstack/admin/v2/network_pb2.py +0 -148
  17. metal_stack_api-0.6.0/metalstack/infra/v2/boot_pb2.py +0 -111
  18. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/README.md +0 -0
  19. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/buf/__init__.py +0 -0
  20. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/buf/validate/__init__.py +0 -0
  21. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/buf/validate/validate_pb2.py +0 -0
  22. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metal_stack_api.egg-info/SOURCES.txt +0 -0
  23. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metal_stack_api.egg-info/dependency_links.txt +0 -0
  24. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metal_stack_api.egg-info/requires.txt +0 -0
  25. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metal_stack_api.egg-info/top_level.txt +0 -0
  26. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/__init__.py +0 -0
  27. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/__init__.py +0 -0
  28. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/__init__.py +0 -0
  29. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/audit_connect.py +0 -0
  30. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/audit_pb2.py +0 -0
  31. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/audit_pb2.pyi +0 -0
  32. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/component_connect.py +0 -0
  33. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/component_pb2.py +0 -0
  34. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/component_pb2.pyi +0 -0
  35. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/filesystem_connect.py +0 -0
  36. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/filesystem_pb2.py +0 -0
  37. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/filesystem_pb2.pyi +0 -0
  38. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/image_connect.py +0 -0
  39. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/image_pb2.py +0 -0
  40. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/image_pb2.pyi +0 -0
  41. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/ip_connect.py +0 -0
  42. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/ip_pb2.py +0 -0
  43. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/ip_pb2.pyi +0 -0
  44. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/machine_connect.py +0 -0
  45. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/partition_connect.py +0 -0
  46. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/partition_pb2.py +0 -0
  47. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/partition_pb2.pyi +0 -0
  48. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/project_connect.py +0 -0
  49. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/project_pb2.py +0 -0
  50. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/project_pb2.pyi +0 -0
  51. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_connect.py +0 -0
  52. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_imageconstraint_connect.py +0 -0
  53. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_imageconstraint_pb2.py +0 -0
  54. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_imageconstraint_pb2.pyi +0 -0
  55. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_pb2.py +0 -0
  56. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_pb2.pyi +0 -0
  57. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_reservation_connect.py +0 -0
  58. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_reservation_pb2.py +0 -0
  59. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/size_reservation_pb2.pyi +0 -0
  60. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/switch_connect.py +0 -0
  61. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/switch_pb2.py +0 -0
  62. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/switch_pb2.pyi +0 -0
  63. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/task_connect.py +0 -0
  64. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/task_pb2.py +0 -0
  65. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/task_pb2.pyi +0 -0
  66. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/tenant_connect.py +0 -0
  67. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/tenant_pb2.py +0 -0
  68. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/tenant_pb2.pyi +0 -0
  69. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/token_connect.py +0 -0
  70. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/token_pb2.py +0 -0
  71. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/token_pb2.pyi +0 -0
  72. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/vpn_connect.py +0 -0
  73. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/vpn_pb2.py +0 -0
  74. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/admin/v2/vpn_pb2.pyi +0 -0
  75. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/__init__.py +0 -0
  76. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/__init__.py +0 -0
  77. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/audit_connect.py +0 -0
  78. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/audit_pb2.py +0 -0
  79. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/audit_pb2.pyi +0 -0
  80. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/common_pb2.py +0 -0
  81. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/common_pb2.pyi +0 -0
  82. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/component_pb2.py +0 -0
  83. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/component_pb2.pyi +0 -0
  84. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/filesystem_connect.py +0 -0
  85. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/filesystem_pb2.py +0 -0
  86. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/filesystem_pb2.pyi +0 -0
  87. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/health_connect.py +0 -0
  88. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/health_pb2.py +0 -0
  89. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/health_pb2.pyi +0 -0
  90. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/image_connect.py +0 -0
  91. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/image_pb2.py +0 -0
  92. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/image_pb2.pyi +0 -0
  93. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/ip_connect.py +0 -0
  94. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/ip_pb2.py +0 -0
  95. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/ip_pb2.pyi +0 -0
  96. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/machine_connect.py +0 -0
  97. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/method_connect.py +0 -0
  98. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/method_pb2.py +0 -0
  99. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/method_pb2.pyi +0 -0
  100. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/network_connect.py +0 -0
  101. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/partition_connect.py +0 -0
  102. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/partition_pb2.py +0 -0
  103. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/partition_pb2.pyi +0 -0
  104. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/predefined_rules_pb2.py +0 -0
  105. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/predefined_rules_pb2.pyi +0 -0
  106. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/project_connect.py +0 -0
  107. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/project_pb2.py +0 -0
  108. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/project_pb2.pyi +0 -0
  109. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_connect.py +0 -0
  110. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_imageconstraint_connect.py +0 -0
  111. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_imageconstraint_pb2.py +0 -0
  112. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_imageconstraint_pb2.pyi +0 -0
  113. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_pb2.py +0 -0
  114. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_pb2.pyi +0 -0
  115. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_reservation_connect.py +0 -0
  116. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_reservation_pb2.py +0 -0
  117. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/size_reservation_pb2.pyi +0 -0
  118. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/switch_pb2.pyi +0 -0
  119. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/tenant_connect.py +0 -0
  120. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/tenant_pb2.py +0 -0
  121. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/tenant_pb2.pyi +0 -0
  122. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/token_connect.py +0 -0
  123. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/token_pb2.py +0 -0
  124. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/token_pb2.pyi +0 -0
  125. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/user_connect.py +0 -0
  126. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/user_pb2.py +0 -0
  127. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/user_pb2.pyi +0 -0
  128. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/version_connect.py +0 -0
  129. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/version_pb2.py +0 -0
  130. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/version_pb2.pyi +0 -0
  131. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/vpn_pb2.py +0 -0
  132. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/api/v2/vpn_pb2.pyi +0 -0
  133. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/__init__.py +0 -0
  134. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/client.py +0 -0
  135. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/test_interceptor.py +0 -0
  136. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/tests/__init__.py +0 -0
  137. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/tests/conftest.py +0 -0
  138. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/tests/test_client.py +0 -0
  139. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/tests/test_interceptor.py +0 -0
  140. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/tests/test_ping.py +0 -0
  141. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/client/tests/test_token_persistent.py +0 -0
  142. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/__init__.py +0 -0
  143. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/__init__.py +0 -0
  144. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/bmc_connect.py +0 -0
  145. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/bmc_pb2.py +0 -0
  146. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/bmc_pb2.pyi +0 -0
  147. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/component_connect.py +0 -0
  148. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/component_pb2.py +0 -0
  149. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/component_pb2.pyi +0 -0
  150. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/event_connect.py +0 -0
  151. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/event_pb2.py +0 -0
  152. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/event_pb2.pyi +0 -0
  153. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/switch_connect.py +0 -0
  154. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/switch_pb2.py +0 -0
  155. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/metalstack/infra/v2/switch_pb2.pyi +0 -0
  156. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/setup.cfg +0 -0
  157. {metal_stack_api-0.6.0 → metal_stack_api-0.8.0}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metal-stack-api
3
- Version: 0.6.0
3
+ Version: 0.8.0
4
4
  Summary: Python API client for metal-stack api
5
5
  Home-page: https://github.com/metal-stack/api
6
6
  Author: metal-stack authors
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metal-stack-api
3
- Version: 0.6.0
3
+ Version: 0.8.0
4
4
  Summary: Python API client for metal-stack api
5
5
  Home-page: https://github.com/metal-stack/api
6
6
  Author: metal-stack authors
@@ -28,7 +28,7 @@ from metalstack.api.v2 import machine_pb2 as metalstack_dot_api_dot_v2_dot_machi
28
28
  from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
29
29
 
30
30
 
31
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/admin/v2/machine.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1fmetalstack/api/v2/machine.proto\x1a(metalstack/api/v2/predefined_rules.proto\"8\n\x18MachineServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"Q\n\x19MachineServiceGetResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"\x90\x01\n\x19MachineServiceListRequest\x12\x35\n\x05query\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.MachineQueryR\x05query\x12.\n\tpartition\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01H\x00R\tpartition\x88\x01\x01\x42\x0c\n\n_partition\"T\n\x1aMachineServiceListResponse\x12\x36\n\x08machines\x18\x01 \x03(\x0b\x32\x1a.metalstack.api.v2.MachineR\x08machines\";\n\x1bMachineServiceDeleteRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"T\n\x1cMachineServiceDeleteResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"\x89\x01\n\x1fMachineServiceBMCCommandRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12H\n\x07\x63ommand\x18\x02 \x01(\x0e\x32$.metalstack.api.v2.MachineBMCCommandB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x07\x63ommand\"\"\n MachineServiceBMCCommandResponse\";\n\x1bMachineServiceGetBMCRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"e\n\x1cMachineServiceGetBMCResponse\x12\x45\n\x0b\x62mc_details\x18\x01 \x01(\x0b\x32$.metalstack.api.v2.MachineBMCDetailsR\nbmcDetails\"U\n\x1cMachineServiceListBMCRequest\x12\x35\n\x05query\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.MachineQueryR\x05query\"f\n\x1dMachineServiceListBMCResponse\x12\x45\n\x0b\x62mc_details\x18\x01 \x03(\x0b\x32$.metalstack.api.v2.MachineBMCDetailsR\nbmcDetails\"h\n$MachineServiceConsolePasswordRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\"\n\x06reason\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\n\x18\x80\x04R\x06reason\"a\n%MachineServiceConsolePasswordResponse\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password\"\xad\x01\n\x1dMachineServiceSetStateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12?\n\x05state\x18\x02 \x01(\x0e\x32\x1f.metalstack.api.v2.MachineStateB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x05state\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\"V\n\x1eMachineServiceSetStateResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"Z\n\x1bMachineServiceIssuesRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32%.metalstack.api.v2.MachineIssuesQueryR\x05query\"X\n\x1cMachineServiceIssuesResponse\x12\x38\n\x06issues\x18\x01 \x03(\x0b\x32 .metalstack.api.v2.MachineIssuesR\x06issues2\x83\t\n\x0eMachineService\x12p\n\x03Get\x12-.metalstack.admin.v2.MachineServiceGetRequest\x1a..metalstack.admin.v2.MachineServiceGetResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12s\n\x04List\x12..metalstack.admin.v2.MachineServiceListRequest\x1a/.metalstack.admin.v2.MachineServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12x\n\x06\x44\x65lete\x12\x30.metalstack.admin.v2.MachineServiceDeleteRequest\x1a\x31.metalstack.admin.v2.MachineServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x84\x01\n\nBMCCommand\x12\x34.metalstack.admin.v2.MachineServiceBMCCommandRequest\x1a\x35.metalstack.admin.v2.MachineServiceBMCCommandResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12y\n\x06GetBMC\x12\x30.metalstack.admin.v2.MachineServiceGetBMCRequest\x1a\x31.metalstack.admin.v2.MachineServiceGetBMCResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12|\n\x07ListBMC\x12\x31.metalstack.admin.v2.MachineServiceListBMCRequest\x1a\x32.metalstack.admin.v2.MachineServiceListBMCResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12\x94\x01\n\x0f\x43onsolePassword\x12\x39.metalstack.admin.v2.MachineServiceConsolePasswordRequest\x1a:.metalstack.admin.v2.MachineServiceConsolePasswordResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12~\n\x08SetState\x12\x32.metalstack.admin.v2.MachineServiceSetStateRequest\x1a\x33.metalstack.admin.v2.MachineServiceSetStateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12y\n\x06Issues\x12\x30.metalstack.admin.v2.MachineServiceIssuesRequest\x1a\x31.metalstack.admin.v2.MachineServiceIssuesResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x42\xd0\x01\n\x17\x63om.metalstack.admin.v2B\x0cMachineProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/admin/v2/machine.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1fmetalstack/api/v2/machine.proto\x1a(metalstack/api/v2/predefined_rules.proto\"8\n\x18MachineServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"Q\n\x19MachineServiceGetResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"\x90\x01\n\x19MachineServiceListRequest\x12\x35\n\x05query\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.MachineQueryR\x05query\x12.\n\tpartition\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01H\x00R\tpartition\x88\x01\x01\x42\x0c\n\n_partition\"T\n\x1aMachineServiceListResponse\x12\x36\n\x08machines\x18\x01 \x03(\x0b\x32\x1a.metalstack.api.v2.MachineR\x08machines\";\n\x1bMachineServiceDeleteRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"T\n\x1cMachineServiceDeleteResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"\x89\x01\n\x1fMachineServiceBMCCommandRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12H\n\x07\x63ommand\x18\x02 \x01(\x0e\x32$.metalstack.api.v2.MachineBMCCommandB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x07\x63ommand\";\n MachineServiceBMCCommandResponse\x12\x17\n\x07task_id\x18\x01 \x01(\tR\x06taskId\";\n\x1bMachineServiceGetBMCRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"e\n\x1cMachineServiceGetBMCResponse\x12\x45\n\x0b\x62mc_details\x18\x01 \x01(\x0b\x32$.metalstack.api.v2.MachineBMCDetailsR\nbmcDetails\"U\n\x1cMachineServiceListBMCRequest\x12\x35\n\x05query\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.MachineQueryR\x05query\"f\n\x1dMachineServiceListBMCResponse\x12\x45\n\x0b\x62mc_details\x18\x01 \x03(\x0b\x32$.metalstack.api.v2.MachineBMCDetailsR\nbmcDetails\"h\n$MachineServiceConsolePasswordRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\"\n\x06reason\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\n\x18\x80\x04R\x06reason\"a\n%MachineServiceConsolePasswordResponse\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1a\n\x08password\x18\x02 \x01(\tR\x08password\"\xad\x01\n\x1dMachineServiceSetStateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12?\n\x05state\x18\x02 \x01(\x0e\x32\x1f.metalstack.api.v2.MachineStateB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x05state\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\"V\n\x1eMachineServiceSetStateResponse\x12\x34\n\x07machine\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.MachineR\x07machine\"Z\n\x1bMachineServiceIssuesRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32%.metalstack.api.v2.MachineIssuesQueryR\x05query\"X\n\x1cMachineServiceIssuesResponse\x12\x38\n\x06issues\x18\x01 \x03(\x0b\x32 .metalstack.api.v2.MachineIssuesR\x06issues2\x83\t\n\x0eMachineService\x12p\n\x03Get\x12-.metalstack.admin.v2.MachineServiceGetRequest\x1a..metalstack.admin.v2.MachineServiceGetResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12s\n\x04List\x12..metalstack.admin.v2.MachineServiceListRequest\x1a/.metalstack.admin.v2.MachineServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12x\n\x06\x44\x65lete\x12\x30.metalstack.admin.v2.MachineServiceDeleteRequest\x1a\x31.metalstack.admin.v2.MachineServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12\x84\x01\n\nBMCCommand\x12\x34.metalstack.admin.v2.MachineServiceBMCCommandRequest\x1a\x35.metalstack.admin.v2.MachineServiceBMCCommandResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12y\n\x06GetBMC\x12\x30.metalstack.admin.v2.MachineServiceGetBMCRequest\x1a\x31.metalstack.admin.v2.MachineServiceGetBMCResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12|\n\x07ListBMC\x12\x31.metalstack.admin.v2.MachineServiceListBMCRequest\x1a\x32.metalstack.admin.v2.MachineServiceListBMCResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12\x94\x01\n\x0f\x43onsolePassword\x12\x39.metalstack.admin.v2.MachineServiceConsolePasswordRequest\x1a:.metalstack.admin.v2.MachineServiceConsolePasswordResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x01\x12~\n\x08SetState\x12\x32.metalstack.admin.v2.MachineServiceSetStateRequest\x1a\x33.metalstack.admin.v2.MachineServiceSetStateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12y\n\x06Issues\x12\x30.metalstack.admin.v2.MachineServiceIssuesRequest\x1a\x31.metalstack.admin.v2.MachineServiceIssuesResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x42\xd0\x01\n\x17\x63om.metalstack.admin.v2B\x0cMachineProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
32
32
 
33
33
  _globals = globals()
34
34
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -93,27 +93,27 @@ if not _descriptor._USE_C_DESCRIPTORS:
93
93
  _globals['_MACHINESERVICEBMCCOMMANDREQUEST']._serialized_start=716
94
94
  _globals['_MACHINESERVICEBMCCOMMANDREQUEST']._serialized_end=853
95
95
  _globals['_MACHINESERVICEBMCCOMMANDRESPONSE']._serialized_start=855
96
- _globals['_MACHINESERVICEBMCCOMMANDRESPONSE']._serialized_end=889
97
- _globals['_MACHINESERVICEGETBMCREQUEST']._serialized_start=891
98
- _globals['_MACHINESERVICEGETBMCREQUEST']._serialized_end=950
99
- _globals['_MACHINESERVICEGETBMCRESPONSE']._serialized_start=952
100
- _globals['_MACHINESERVICEGETBMCRESPONSE']._serialized_end=1053
101
- _globals['_MACHINESERVICELISTBMCREQUEST']._serialized_start=1055
102
- _globals['_MACHINESERVICELISTBMCREQUEST']._serialized_end=1140
103
- _globals['_MACHINESERVICELISTBMCRESPONSE']._serialized_start=1142
104
- _globals['_MACHINESERVICELISTBMCRESPONSE']._serialized_end=1244
105
- _globals['_MACHINESERVICECONSOLEPASSWORDREQUEST']._serialized_start=1246
106
- _globals['_MACHINESERVICECONSOLEPASSWORDREQUEST']._serialized_end=1350
107
- _globals['_MACHINESERVICECONSOLEPASSWORDRESPONSE']._serialized_start=1352
108
- _globals['_MACHINESERVICECONSOLEPASSWORDRESPONSE']._serialized_end=1449
109
- _globals['_MACHINESERVICESETSTATEREQUEST']._serialized_start=1452
110
- _globals['_MACHINESERVICESETSTATEREQUEST']._serialized_end=1625
111
- _globals['_MACHINESERVICESETSTATERESPONSE']._serialized_start=1627
112
- _globals['_MACHINESERVICESETSTATERESPONSE']._serialized_end=1713
113
- _globals['_MACHINESERVICEISSUESREQUEST']._serialized_start=1715
114
- _globals['_MACHINESERVICEISSUESREQUEST']._serialized_end=1805
115
- _globals['_MACHINESERVICEISSUESRESPONSE']._serialized_start=1807
116
- _globals['_MACHINESERVICEISSUESRESPONSE']._serialized_end=1895
117
- _globals['_MACHINESERVICE']._serialized_start=1898
118
- _globals['_MACHINESERVICE']._serialized_end=3053
96
+ _globals['_MACHINESERVICEBMCCOMMANDRESPONSE']._serialized_end=914
97
+ _globals['_MACHINESERVICEGETBMCREQUEST']._serialized_start=916
98
+ _globals['_MACHINESERVICEGETBMCREQUEST']._serialized_end=975
99
+ _globals['_MACHINESERVICEGETBMCRESPONSE']._serialized_start=977
100
+ _globals['_MACHINESERVICEGETBMCRESPONSE']._serialized_end=1078
101
+ _globals['_MACHINESERVICELISTBMCREQUEST']._serialized_start=1080
102
+ _globals['_MACHINESERVICELISTBMCREQUEST']._serialized_end=1165
103
+ _globals['_MACHINESERVICELISTBMCRESPONSE']._serialized_start=1167
104
+ _globals['_MACHINESERVICELISTBMCRESPONSE']._serialized_end=1269
105
+ _globals['_MACHINESERVICECONSOLEPASSWORDREQUEST']._serialized_start=1271
106
+ _globals['_MACHINESERVICECONSOLEPASSWORDREQUEST']._serialized_end=1375
107
+ _globals['_MACHINESERVICECONSOLEPASSWORDRESPONSE']._serialized_start=1377
108
+ _globals['_MACHINESERVICECONSOLEPASSWORDRESPONSE']._serialized_end=1474
109
+ _globals['_MACHINESERVICESETSTATEREQUEST']._serialized_start=1477
110
+ _globals['_MACHINESERVICESETSTATEREQUEST']._serialized_end=1650
111
+ _globals['_MACHINESERVICESETSTATERESPONSE']._serialized_start=1652
112
+ _globals['_MACHINESERVICESETSTATERESPONSE']._serialized_end=1738
113
+ _globals['_MACHINESERVICEISSUESREQUEST']._serialized_start=1740
114
+ _globals['_MACHINESERVICEISSUESREQUEST']._serialized_end=1830
115
+ _globals['_MACHINESERVICEISSUESRESPONSE']._serialized_start=1832
116
+ _globals['_MACHINESERVICEISSUESRESPONSE']._serialized_end=1920
117
+ _globals['_MACHINESERVICE']._serialized_start=1923
118
+ _globals['_MACHINESERVICE']._serialized_end=3078
119
119
  # @@protoc_insertion_point(module_scope)
@@ -57,8 +57,10 @@ class MachineServiceBMCCommandRequest(_message.Message):
57
57
  def __init__(self, uuid: _Optional[str] = ..., command: _Optional[_Union[_machine_pb2.MachineBMCCommand, str]] = ...) -> None: ...
58
58
 
59
59
  class MachineServiceBMCCommandResponse(_message.Message):
60
- __slots__ = ()
61
- def __init__(self) -> None: ...
60
+ __slots__ = ("task_id",)
61
+ TASK_ID_FIELD_NUMBER: _ClassVar[int]
62
+ task_id: str
63
+ def __init__(self, task_id: _Optional[str] = ...) -> None: ...
62
64
 
63
65
  class MachineServiceGetBMCRequest(_message.Message):
64
66
  __slots__ = ("uuid",)
@@ -33,15 +33,6 @@ class NetworkService(Protocol):
33
33
  async def list(self, request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListResponse:
34
34
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
35
35
 
36
- async def list_external_members(self, request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersResponse:
37
- raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
38
-
39
- async def add_external_members(self, request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersResponse:
40
- raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
41
-
42
- async def remove_external_members(self, request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersResponse:
43
- raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
44
-
45
36
 
46
37
  class NetworkServiceASGIApplication(ConnectASGIApplication[NetworkService]):
47
38
  def __init__(self, service: NetworkService | AsyncGenerator[NetworkService], *, interceptors: Iterable[Interceptor]=(), read_max_bytes: int | None = None, compressions: Iterable[Compression] | None = None, codecs: Iterable[Codec] | None = None) -> None:
@@ -98,36 +89,6 @@ class NetworkServiceASGIApplication(ConnectASGIApplication[NetworkService]):
98
89
  ),
99
90
  function=svc.list,
100
91
  ),
101
- "/metalstack.admin.v2.NetworkService/ListExternalMembers": Endpoint.unary(
102
- method=MethodInfo(
103
- name="ListExternalMembers",
104
- service_name="metalstack.admin.v2.NetworkService",
105
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersRequest,
106
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersResponse,
107
- idempotency_level=IdempotencyLevel.UNKNOWN,
108
- ),
109
- function=svc.list_external_members,
110
- ),
111
- "/metalstack.admin.v2.NetworkService/AddExternalMembers": Endpoint.unary(
112
- method=MethodInfo(
113
- name="AddExternalMembers",
114
- service_name="metalstack.admin.v2.NetworkService",
115
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersRequest,
116
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersResponse,
117
- idempotency_level=IdempotencyLevel.UNKNOWN,
118
- ),
119
- function=svc.add_external_members,
120
- ),
121
- "/metalstack.admin.v2.NetworkService/RemoveExternalMembers": Endpoint.unary(
122
- method=MethodInfo(
123
- name="RemoveExternalMembers",
124
- service_name="metalstack.admin.v2.NetworkService",
125
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersRequest,
126
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersResponse,
127
- idempotency_level=IdempotencyLevel.UNKNOWN,
128
- ),
129
- function=svc.remove_external_members,
130
- ),
131
92
  },
132
93
  interceptors=interceptors,
133
94
  read_max_bytes=read_max_bytes,
@@ -242,66 +203,6 @@ class NetworkServiceClient(ConnectClient):
242
203
  timeout_ms=timeout_ms,
243
204
  )
244
205
 
245
- async def list_external_members(
246
- self,
247
- request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersRequest,
248
- *,
249
- headers: Headers | Mapping[str, str] | None = None,
250
- timeout_ms: int | None = None,
251
- ) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersResponse:
252
- return await self.execute_unary(
253
- request=request,
254
- method=MethodInfo(
255
- name="ListExternalMembers",
256
- service_name="metalstack.admin.v2.NetworkService",
257
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersRequest,
258
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersResponse,
259
- idempotency_level=IdempotencyLevel.UNKNOWN,
260
- ),
261
- headers=headers,
262
- timeout_ms=timeout_ms,
263
- )
264
-
265
- async def add_external_members(
266
- self,
267
- request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersRequest,
268
- *,
269
- headers: Headers | Mapping[str, str] | None = None,
270
- timeout_ms: int | None = None,
271
- ) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersResponse:
272
- return await self.execute_unary(
273
- request=request,
274
- method=MethodInfo(
275
- name="AddExternalMembers",
276
- service_name="metalstack.admin.v2.NetworkService",
277
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersRequest,
278
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersResponse,
279
- idempotency_level=IdempotencyLevel.UNKNOWN,
280
- ),
281
- headers=headers,
282
- timeout_ms=timeout_ms,
283
- )
284
-
285
- async def remove_external_members(
286
- self,
287
- request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersRequest,
288
- *,
289
- headers: Headers | Mapping[str, str] | None = None,
290
- timeout_ms: int | None = None,
291
- ) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersResponse:
292
- return await self.execute_unary(
293
- request=request,
294
- method=MethodInfo(
295
- name="RemoveExternalMembers",
296
- service_name="metalstack.admin.v2.NetworkService",
297
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersRequest,
298
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersResponse,
299
- idempotency_level=IdempotencyLevel.UNKNOWN,
300
- ),
301
- headers=headers,
302
- timeout_ms=timeout_ms,
303
- )
304
-
305
206
 
306
207
 
307
208
 
@@ -317,12 +218,6 @@ class NetworkServiceSync(Protocol):
317
218
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
318
219
  def list(self, request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListResponse:
319
220
  raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
320
- def list_external_members(self, request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersResponse:
321
- raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
322
- def add_external_members(self, request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersResponse:
323
- raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
324
- def remove_external_members(self, request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersRequest, ctx: RequestContext) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersResponse:
325
- raise ConnectError(Code.UNIMPLEMENTED, "Not implemented")
326
221
 
327
222
 
328
223
  class NetworkServiceWSGIApplication(ConnectWSGIApplication):
@@ -379,36 +274,6 @@ class NetworkServiceWSGIApplication(ConnectWSGIApplication):
379
274
  ),
380
275
  function=service.list,
381
276
  ),
382
- "/metalstack.admin.v2.NetworkService/ListExternalMembers": EndpointSync.unary(
383
- method=MethodInfo(
384
- name="ListExternalMembers",
385
- service_name="metalstack.admin.v2.NetworkService",
386
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersRequest,
387
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersResponse,
388
- idempotency_level=IdempotencyLevel.UNKNOWN,
389
- ),
390
- function=service.list_external_members,
391
- ),
392
- "/metalstack.admin.v2.NetworkService/AddExternalMembers": EndpointSync.unary(
393
- method=MethodInfo(
394
- name="AddExternalMembers",
395
- service_name="metalstack.admin.v2.NetworkService",
396
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersRequest,
397
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersResponse,
398
- idempotency_level=IdempotencyLevel.UNKNOWN,
399
- ),
400
- function=service.add_external_members,
401
- ),
402
- "/metalstack.admin.v2.NetworkService/RemoveExternalMembers": EndpointSync.unary(
403
- method=MethodInfo(
404
- name="RemoveExternalMembers",
405
- service_name="metalstack.admin.v2.NetworkService",
406
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersRequest,
407
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersResponse,
408
- idempotency_level=IdempotencyLevel.UNKNOWN,
409
- ),
410
- function=service.remove_external_members,
411
- ),
412
277
  },
413
278
  interceptors=interceptors,
414
279
  read_max_bytes=read_max_bytes,
@@ -523,64 +388,4 @@ class NetworkServiceClientSync(ConnectClientSync):
523
388
  timeout_ms=timeout_ms,
524
389
  )
525
390
 
526
- def list_external_members(
527
- self,
528
- request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersRequest,
529
- *,
530
- headers: Headers | Mapping[str, str] | None = None,
531
- timeout_ms: int | None = None,
532
- ) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersResponse:
533
- return self.execute_unary(
534
- request=request,
535
- method=MethodInfo(
536
- name="ListExternalMembers",
537
- service_name="metalstack.admin.v2.NetworkService",
538
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersRequest,
539
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceListExternalMembersResponse,
540
- idempotency_level=IdempotencyLevel.UNKNOWN,
541
- ),
542
- headers=headers,
543
- timeout_ms=timeout_ms,
544
- )
545
-
546
- def add_external_members(
547
- self,
548
- request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersRequest,
549
- *,
550
- headers: Headers | Mapping[str, str] | None = None,
551
- timeout_ms: int | None = None,
552
- ) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersResponse:
553
- return self.execute_unary(
554
- request=request,
555
- method=MethodInfo(
556
- name="AddExternalMembers",
557
- service_name="metalstack.admin.v2.NetworkService",
558
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersRequest,
559
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceAddExternalMembersResponse,
560
- idempotency_level=IdempotencyLevel.UNKNOWN,
561
- ),
562
- headers=headers,
563
- timeout_ms=timeout_ms,
564
- )
565
-
566
- def remove_external_members(
567
- self,
568
- request: metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersRequest,
569
- *,
570
- headers: Headers | Mapping[str, str] | None = None,
571
- timeout_ms: int | None = None,
572
- ) -> metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersResponse:
573
- return self.execute_unary(
574
- request=request,
575
- method=MethodInfo(
576
- name="RemoveExternalMembers",
577
- service_name="metalstack.admin.v2.NetworkService",
578
- input=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersRequest,
579
- output=metalstack_dot_admin_dot_v2_dot_network__pb2.NetworkServiceRemoveExternalMembersResponse,
580
- idempotency_level=IdempotencyLevel.UNKNOWN,
581
- ),
582
- headers=headers,
583
- timeout_ms=timeout_ms,
584
- )
585
-
586
391
 
@@ -0,0 +1,115 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: metalstack/admin/v2/network.proto
5
+ # Protobuf Python Version: 7.36.1
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 7,
15
+ 36,
16
+ 1,
17
+ '',
18
+ 'metalstack/admin/v2/network.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
26
+ from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common__pb2
27
+ from metalstack.api.v2 import network_pb2 as metalstack_dot_api_dot_v2_dot_network__pb2
28
+ from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
29
+
30
+
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/admin/v2/network.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1fmetalstack/api/v2/network.proto\x1a(metalstack/api/v2/predefined_rules.proto\"7\n\x18NetworkServiceGetRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x02id\"Q\n\x19NetworkServiceGetResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"\xa8\t\n\x1bNetworkServiceCreateRequest\x12 \n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x02id\x88\x01\x01\x12$\n\x04name\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x01R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x02R\x0b\x64\x65scription\x88\x01\x01\x12.\n\tpartition\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xd0\xb3\xae\xb1\x02\x01H\x03R\tpartition\x88\x01\x01\x12\'\n\x07project\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x04R\x07project\x88\x01\x01\x12<\n\x04type\x18\x06 \x01(\x0e\x32\x1e.metalstack.api.v2.NetworkTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04type\x12\x36\n\x06labels\x18\x07 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x05R\x06labels\x88\x01\x01\x12(\n\x08prefixes\x18\x08 \x03(\tB\x0c\xbaH\t\x92\x01\x06\xb8\xa4\xb3\xb1\x02\x01R\x08prefixes\x12?\n\x14\x64\x65stination_prefixes\x18\t \x03(\tB\x0c\xbaH\t\x92\x01\x06\xb8\xa4\xb3\xb1\x02\x01R\x13\x64\x65stinationPrefixes\x12\x63\n\x1b\x64\x65\x66\x61ult_child_prefix_length\x18\n \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthR\x18\x64\x65\x66\x61ultChildPrefixLength\x12[\n\x17min_child_prefix_length\x18\x0b \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthR\x14minChildPrefixLength\x12\x44\n\x08nat_type\x18\x0c \x01(\x0e\x32\x1a.metalstack.api.v2.NATTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x06R\x07natType\x88\x01\x01\x12\x15\n\x03vrf\x18\r \x01(\rH\x07R\x03vrf\x88\x01\x01\x12\x37\n\x0eparent_network\x18\x0e \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x08R\rparentNetwork\x88\x01\x01\x12N\n\x1c\x61\x64\x64itional_announcable_cidrs\x18\x0f \x03(\tB\x0c\xbaH\t\x92\x01\x06\xb8\xa4\xb3\xb1\x02\x01R\x1a\x61\x64\x64itionalAnnouncableCidrs\x12\x41\n\x06length\x18\x10 \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthH\tR\x06length\x88\x01\x01\x12]\n\x0e\x61\x64\x64ress_family\x18\x11 \x01(\x0e\x32\'.metalstack.api.v2.NetworkAddressFamilyB\x08\xbaH\x05\x82\x01\x02\x10\x01H\nR\raddressFamily\x88\x01\x01\x42\x05\n\x03_idB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x0c\n\n_partitionB\n\n\x08_projectB\t\n\x07_labelsB\x0b\n\t_nat_typeB\x06\n\x04_vrfB\x11\n\x0f_parent_networkB\t\n\x07_lengthB\x11\n\x0f_address_family\"\xea\x06\n\x1bNetworkServiceUpdateRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\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$\n\x04name\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12<\n\x06labels\x18\x05 \x01(\x0b\x32\x1f.metalstack.api.v2.UpdateLabelsH\x02R\x06labels\x88\x01\x01\x12(\n\x08prefixes\x18\x06 \x03(\tB\x0c\xbaH\t\x92\x01\x06\xb8\xa4\xb3\xb1\x02\x01R\x08prefixes\x12?\n\x14\x64\x65stination_prefixes\x18\x07 \x03(\tB\x0c\xbaH\t\x92\x01\x06\xb8\xa4\xb3\xb1\x02\x01R\x13\x64\x65stinationPrefixes\x12h\n\x1b\x64\x65\x66\x61ult_child_prefix_length\x18\x08 \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthH\x03R\x18\x64\x65\x66\x61ultChildPrefixLength\x88\x01\x01\x12`\n\x17min_child_prefix_length\x18\t \x01(\x0b\x32$.metalstack.api.v2.ChildPrefixLengthH\x04R\x14minChildPrefixLength\x88\x01\x01\x12\x44\n\x08nat_type\x18\n \x01(\x0e\x32\x1a.metalstack.api.v2.NATTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x05R\x07natType\x88\x01\x01\x12N\n\x1c\x61\x64\x64itional_announcable_cidrs\x18\x0b \x03(\tB\x0c\xbaH\t\x92\x01\x06\xb8\xa4\xb3\xb1\x02\x01R\x1a\x61\x64\x64itionalAnnouncableCidrs\x12\x14\n\x05\x66orce\x18\x0c \x01(\x08R\x05\x66orceB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\t\n\x07_labelsB\x1e\n\x1c_default_child_prefix_lengthB\x1a\n\x18_min_child_prefix_lengthB\x0b\n\t_nat_type\":\n\x1bNetworkServiceDeleteRequest\x12\x1b\n\x02id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01R\x02id\"R\n\x19NetworkServiceListRequest\x12\x35\n\x05query\x18\x01 \x01(\x0b\x32\x1f.metalstack.api.v2.NetworkQueryR\x05query\"T\n\x1cNetworkServiceCreateResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"T\n\x1cNetworkServiceUpdateResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"T\n\x1cNetworkServiceDeleteResponse\x12\x34\n\x07network\x18\x01 \x01(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x07network\"T\n\x1aNetworkServiceListResponse\x12\x36\n\x08networks\x18\x01 \x03(\x0b\x32\x1a.metalstack.api.v2.NetworkR\x08networks2\xe5\x04\n\x0eNetworkService\x12p\n\x03Get\x12-.metalstack.admin.v2.NetworkServiceGetRequest\x1a..metalstack.admin.v2.NetworkServiceGetResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x12x\n\x06\x43reate\x12\x30.metalstack.admin.v2.NetworkServiceCreateRequest\x1a\x31.metalstack.admin.v2.NetworkServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12x\n\x06Update\x12\x30.metalstack.admin.v2.NetworkServiceUpdateRequest\x1a\x31.metalstack.admin.v2.NetworkServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12x\n\x06\x44\x65lete\x12\x30.metalstack.admin.v2.NetworkServiceDeleteRequest\x1a\x31.metalstack.admin.v2.NetworkServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12s\n\x04List\x12..metalstack.admin.v2.NetworkServiceListRequest\x1a/.metalstack.admin.v2.NetworkServiceListResponse\"\n\xd2\xf3\x18\x02\x01\x02\xe0\xf3\x18\x02\x42\xd0\x01\n\x17\x63om.metalstack.admin.v2B\x0cNetworkProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
32
+
33
+ _globals = globals()
34
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
35
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'metalstack.admin.v2.network_pb2', _globals)
36
+ if not _descriptor._USE_C_DESCRIPTORS:
37
+ _globals['DESCRIPTOR']._loaded_options = None
38
+ _globals['DESCRIPTOR']._serialized_options = b'\n\027com.metalstack.admin.v2B\014NetworkProtoP\001Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\242\002\003MAX\252\002\023Metalstack.Admin.V2\312\002\023Metalstack\\Admin\\V2\342\002\037Metalstack\\Admin\\V2\\GPBMetadata\352\002\025Metalstack::Admin::V2'
39
+ _globals['_NETWORKSERVICEGETREQUEST'].fields_by_name['id']._loaded_options = None
40
+ _globals['_NETWORKSERVICEGETREQUEST'].fields_by_name['id']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
41
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['id']._loaded_options = None
42
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
43
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['name']._loaded_options = None
44
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
45
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['description']._loaded_options = None
46
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
47
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['partition']._loaded_options = None
48
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['partition']._serialized_options = b'\272H\010r\006\320\263\256\261\002\001'
49
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['project']._loaded_options = None
50
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
51
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['type']._loaded_options = None
52
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['type']._serialized_options = b'\272H\005\202\001\002\020\001'
53
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['prefixes']._loaded_options = None
54
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['prefixes']._serialized_options = b'\272H\t\222\001\006\270\244\263\261\002\001'
55
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['destination_prefixes']._loaded_options = None
56
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['destination_prefixes']._serialized_options = b'\272H\t\222\001\006\270\244\263\261\002\001'
57
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['nat_type']._loaded_options = None
58
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['nat_type']._serialized_options = b'\272H\005\202\001\002\020\001'
59
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['parent_network']._loaded_options = None
60
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['parent_network']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
61
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['additional_announcable_cidrs']._loaded_options = None
62
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['additional_announcable_cidrs']._serialized_options = b'\272H\t\222\001\006\270\244\263\261\002\001'
63
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['address_family']._loaded_options = None
64
+ _globals['_NETWORKSERVICECREATEREQUEST'].fields_by_name['address_family']._serialized_options = b'\272H\005\202\001\002\020\001'
65
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['id']._loaded_options = None
66
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
67
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
68
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
69
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
70
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
71
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
72
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
73
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['prefixes']._loaded_options = None
74
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['prefixes']._serialized_options = b'\272H\t\222\001\006\270\244\263\261\002\001'
75
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['destination_prefixes']._loaded_options = None
76
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['destination_prefixes']._serialized_options = b'\272H\t\222\001\006\270\244\263\261\002\001'
77
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['nat_type']._loaded_options = None
78
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['nat_type']._serialized_options = b'\272H\005\202\001\002\020\001'
79
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['additional_announcable_cidrs']._loaded_options = None
80
+ _globals['_NETWORKSERVICEUPDATEREQUEST'].fields_by_name['additional_announcable_cidrs']._serialized_options = b'\272H\t\222\001\006\270\244\263\261\002\001'
81
+ _globals['_NETWORKSERVICEDELETEREQUEST'].fields_by_name['id']._loaded_options = None
82
+ _globals['_NETWORKSERVICEDELETEREQUEST'].fields_by_name['id']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
83
+ _globals['_NETWORKSERVICE'].methods_by_name['Get']._loaded_options = None
84
+ _globals['_NETWORKSERVICE'].methods_by_name['Get']._serialized_options = b'\322\363\030\002\001\002\340\363\030\002'
85
+ _globals['_NETWORKSERVICE'].methods_by_name['Create']._loaded_options = None
86
+ _globals['_NETWORKSERVICE'].methods_by_name['Create']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
87
+ _globals['_NETWORKSERVICE'].methods_by_name['Update']._loaded_options = None
88
+ _globals['_NETWORKSERVICE'].methods_by_name['Update']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
89
+ _globals['_NETWORKSERVICE'].methods_by_name['Delete']._loaded_options = None
90
+ _globals['_NETWORKSERVICE'].methods_by_name['Delete']._serialized_options = b'\322\363\030\001\001\340\363\030\001'
91
+ _globals['_NETWORKSERVICE'].methods_by_name['List']._loaded_options = None
92
+ _globals['_NETWORKSERVICE'].methods_by_name['List']._serialized_options = b'\322\363\030\002\001\002\340\363\030\002'
93
+ _globals['_NETWORKSERVICEGETREQUEST']._serialized_start=194
94
+ _globals['_NETWORKSERVICEGETREQUEST']._serialized_end=249
95
+ _globals['_NETWORKSERVICEGETRESPONSE']._serialized_start=251
96
+ _globals['_NETWORKSERVICEGETRESPONSE']._serialized_end=332
97
+ _globals['_NETWORKSERVICECREATEREQUEST']._serialized_start=335
98
+ _globals['_NETWORKSERVICECREATEREQUEST']._serialized_end=1527
99
+ _globals['_NETWORKSERVICEUPDATEREQUEST']._serialized_start=1530
100
+ _globals['_NETWORKSERVICEUPDATEREQUEST']._serialized_end=2404
101
+ _globals['_NETWORKSERVICEDELETEREQUEST']._serialized_start=2406
102
+ _globals['_NETWORKSERVICEDELETEREQUEST']._serialized_end=2464
103
+ _globals['_NETWORKSERVICELISTREQUEST']._serialized_start=2466
104
+ _globals['_NETWORKSERVICELISTREQUEST']._serialized_end=2548
105
+ _globals['_NETWORKSERVICECREATERESPONSE']._serialized_start=2550
106
+ _globals['_NETWORKSERVICECREATERESPONSE']._serialized_end=2634
107
+ _globals['_NETWORKSERVICEUPDATERESPONSE']._serialized_start=2636
108
+ _globals['_NETWORKSERVICEUPDATERESPONSE']._serialized_end=2720
109
+ _globals['_NETWORKSERVICEDELETERESPONSE']._serialized_start=2722
110
+ _globals['_NETWORKSERVICEDELETERESPONSE']._serialized_end=2806
111
+ _globals['_NETWORKSERVICELISTRESPONSE']._serialized_start=2808
112
+ _globals['_NETWORKSERVICELISTRESPONSE']._serialized_end=2892
113
+ _globals['_NETWORKSERVICE']._serialized_start=2895
114
+ _globals['_NETWORKSERVICE']._serialized_end=3508
115
+ # @@protoc_insertion_point(module_scope)
@@ -2,7 +2,6 @@ from buf.validate import validate_pb2 as _validate_pb2
2
2
  from metalstack.api.v2 import common_pb2 as _common_pb2
3
3
  from metalstack.api.v2 import network_pb2 as _network_pb2
4
4
  from metalstack.api.v2 import predefined_rules_pb2 as _predefined_rules_pb2
5
- from metalstack.api.v2 import switch_pb2 as _switch_pb2
6
5
  from google.protobuf.internal import containers as _containers
7
6
  from google.protobuf import descriptor as _descriptor
8
7
  from google.protobuf import message as _message
@@ -101,34 +100,6 @@ class NetworkServiceListRequest(_message.Message):
101
100
  query: _network_pb2.NetworkQuery
102
101
  def __init__(self, query: _Optional[_Union[_network_pb2.NetworkQuery, _Mapping]] = ...) -> None: ...
103
102
 
104
- class NetworkServiceListExternalMembersRequest(_message.Message):
105
- __slots__ = ("network", "query")
106
- NETWORK_FIELD_NUMBER: _ClassVar[int]
107
- QUERY_FIELD_NUMBER: _ClassVar[int]
108
- network: str
109
- query: _network_pb2.ExternalNetworkMemberQuery
110
- def __init__(self, network: _Optional[str] = ..., query: _Optional[_Union[_network_pb2.ExternalNetworkMemberQuery, _Mapping]] = ...) -> None: ...
111
-
112
- class NetworkServiceAddExternalMembersRequest(_message.Message):
113
- __slots__ = ("network", "rack", "ports")
114
- NETWORK_FIELD_NUMBER: _ClassVar[int]
115
- RACK_FIELD_NUMBER: _ClassVar[int]
116
- PORTS_FIELD_NUMBER: _ClassVar[int]
117
- network: str
118
- rack: str
119
- ports: _containers.RepeatedScalarFieldContainer[str]
120
- def __init__(self, network: _Optional[str] = ..., rack: _Optional[str] = ..., ports: _Optional[_Iterable[str]] = ...) -> None: ...
121
-
122
- class NetworkServiceRemoveExternalMembersRequest(_message.Message):
123
- __slots__ = ("network", "rack", "ports")
124
- NETWORK_FIELD_NUMBER: _ClassVar[int]
125
- RACK_FIELD_NUMBER: _ClassVar[int]
126
- PORTS_FIELD_NUMBER: _ClassVar[int]
127
- network: str
128
- rack: str
129
- ports: _containers.RepeatedScalarFieldContainer[str]
130
- def __init__(self, network: _Optional[str] = ..., rack: _Optional[str] = ..., ports: _Optional[_Iterable[str]] = ...) -> None: ...
131
-
132
103
  class NetworkServiceCreateResponse(_message.Message):
133
104
  __slots__ = ("network",)
134
105
  NETWORK_FIELD_NUMBER: _ClassVar[int]
@@ -152,27 +123,3 @@ class NetworkServiceListResponse(_message.Message):
152
123
  NETWORKS_FIELD_NUMBER: _ClassVar[int]
153
124
  networks: _containers.RepeatedCompositeFieldContainer[_network_pb2.Network]
154
125
  def __init__(self, networks: _Optional[_Iterable[_Union[_network_pb2.Network, _Mapping]]] = ...) -> None: ...
155
-
156
- class NetworkServiceListExternalMembersResponse(_message.Message):
157
- __slots__ = ("network", "members")
158
- NETWORK_FIELD_NUMBER: _ClassVar[int]
159
- MEMBERS_FIELD_NUMBER: _ClassVar[int]
160
- network: str
161
- members: _containers.RepeatedCompositeFieldContainer[_network_pb2.ExternalNetworkMember]
162
- def __init__(self, network: _Optional[str] = ..., members: _Optional[_Iterable[_Union[_network_pb2.ExternalNetworkMember, _Mapping]]] = ...) -> None: ...
163
-
164
- class NetworkServiceAddExternalMembersResponse(_message.Message):
165
- __slots__ = ("network", "switches")
166
- NETWORK_FIELD_NUMBER: _ClassVar[int]
167
- SWITCHES_FIELD_NUMBER: _ClassVar[int]
168
- network: _network_pb2.Network
169
- switches: _containers.RepeatedCompositeFieldContainer[_switch_pb2.Switch]
170
- def __init__(self, network: _Optional[_Union[_network_pb2.Network, _Mapping]] = ..., switches: _Optional[_Iterable[_Union[_switch_pb2.Switch, _Mapping]]] = ...) -> None: ...
171
-
172
- class NetworkServiceRemoveExternalMembersResponse(_message.Message):
173
- __slots__ = ("network", "switches")
174
- NETWORK_FIELD_NUMBER: _ClassVar[int]
175
- SWITCHES_FIELD_NUMBER: _ClassVar[int]
176
- network: _network_pb2.Network
177
- switches: _containers.RepeatedCompositeFieldContainer[_switch_pb2.Switch]
178
- def __init__(self, network: _Optional[_Union[_network_pb2.Network, _Mapping]] = ..., switches: _Optional[_Iterable[_Union[_switch_pb2.Switch, _Mapping]]] = ...) -> None: ...