metal-stack-api 0.0.25__tar.gz → 0.0.27__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 (102) hide show
  1. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/PKG-INFO +1 -1
  2. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metal_stack_api.egg-info/PKG-INFO +1 -1
  3. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/image_pb2.py +16 -16
  4. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/switch_pb2.py +18 -20
  5. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/switch_pb2.pyi +2 -4
  6. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/image_pb2.py +15 -15
  7. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/partition_pb2.py +18 -18
  8. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/predefined_rules_pb2.py +3 -1
  9. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/predefined_rules_pb2.pyi +2 -0
  10. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/token_pb2.py +34 -34
  11. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/README.md +0 -0
  12. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metal_stack_api.egg-info/SOURCES.txt +0 -0
  13. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metal_stack_api.egg-info/dependency_links.txt +0 -0
  14. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metal_stack_api.egg-info/requires.txt +0 -0
  15. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metal_stack_api.egg-info/top_level.txt +0 -0
  16. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/__init__.py +0 -0
  17. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/__init__.py +0 -0
  18. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/__init__.py +0 -0
  19. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/filesystem_connect.py +0 -0
  20. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/filesystem_pb2.py +0 -0
  21. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/filesystem_pb2.pyi +0 -0
  22. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/image_connect.py +0 -0
  23. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/image_pb2.pyi +0 -0
  24. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/ip_connect.py +0 -0
  25. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/ip_pb2.py +0 -0
  26. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/ip_pb2.pyi +0 -0
  27. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/machine_connect.py +0 -0
  28. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/machine_pb2.py +0 -0
  29. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/machine_pb2.pyi +0 -0
  30. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/network_connect.py +0 -0
  31. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/network_pb2.py +0 -0
  32. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/network_pb2.pyi +0 -0
  33. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/partition_connect.py +0 -0
  34. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/partition_pb2.py +0 -0
  35. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/partition_pb2.pyi +0 -0
  36. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/size_connect.py +0 -0
  37. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/size_pb2.py +0 -0
  38. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/size_pb2.pyi +0 -0
  39. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/switch_connect.py +0 -0
  40. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/tenant_connect.py +0 -0
  41. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/tenant_pb2.py +0 -0
  42. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/tenant_pb2.pyi +0 -0
  43. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/token_connect.py +0 -0
  44. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/token_pb2.py +0 -0
  45. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/admin/v2/token_pb2.pyi +0 -0
  46. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/__init__.py +0 -0
  47. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/__init__.py +0 -0
  48. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/common_pb2.py +0 -0
  49. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/common_pb2.pyi +0 -0
  50. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/filesystem_connect.py +0 -0
  51. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/filesystem_pb2.py +0 -0
  52. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/filesystem_pb2.pyi +0 -0
  53. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/health_connect.py +0 -0
  54. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/health_pb2.py +0 -0
  55. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/health_pb2.pyi +0 -0
  56. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/image_connect.py +0 -0
  57. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/image_pb2.pyi +0 -0
  58. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/ip_connect.py +0 -0
  59. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/ip_pb2.py +0 -0
  60. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/ip_pb2.pyi +0 -0
  61. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/machine_connect.py +0 -0
  62. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/machine_pb2.py +0 -0
  63. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/machine_pb2.pyi +0 -0
  64. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/method_connect.py +0 -0
  65. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/method_pb2.py +0 -0
  66. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/method_pb2.pyi +0 -0
  67. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/network_connect.py +0 -0
  68. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/network_pb2.py +0 -0
  69. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/network_pb2.pyi +0 -0
  70. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/partition_connect.py +0 -0
  71. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/partition_pb2.pyi +0 -0
  72. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/project_connect.py +0 -0
  73. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/project_pb2.py +0 -0
  74. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/project_pb2.pyi +0 -0
  75. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/size_connect.py +0 -0
  76. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/size_pb2.py +0 -0
  77. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/size_pb2.pyi +0 -0
  78. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/switch_pb2.py +0 -0
  79. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/switch_pb2.pyi +0 -0
  80. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/tenant_connect.py +0 -0
  81. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/tenant_pb2.py +0 -0
  82. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/tenant_pb2.pyi +0 -0
  83. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/token_connect.py +0 -0
  84. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/token_pb2.pyi +0 -0
  85. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/user_connect.py +0 -0
  86. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/user_pb2.py +0 -0
  87. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/user_pb2.pyi +0 -0
  88. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/version_connect.py +0 -0
  89. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/version_pb2.py +0 -0
  90. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/api/v2/version_pb2.pyi +0 -0
  91. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/client/__init__.py +0 -0
  92. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/client/client.py +0 -0
  93. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/infra/__init__.py +0 -0
  94. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/infra/v2/__init__.py +0 -0
  95. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/infra/v2/bmc_connect.py +0 -0
  96. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/infra/v2/bmc_pb2.py +0 -0
  97. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/infra/v2/bmc_pb2.pyi +0 -0
  98. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/infra/v2/switch_connect.py +0 -0
  99. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/infra/v2/switch_pb2.py +0 -0
  100. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/metalstack/infra/v2/switch_pb2.pyi +0 -0
  101. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/setup.cfg +0 -0
  102. {metal_stack_api-0.0.25 → metal_stack_api-0.0.27}/setup.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: metal-stack-api
3
- Version: 0.0.25
3
+ Version: 0.0.27
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.0.25
3
+ Version: 0.0.27
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
@@ -29,7 +29,7 @@ from metalstack.api.v2 import image_pb2 as metalstack_dot_api_dot_v2_dot_image__
29
29
  from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
30
30
 
31
31
 
32
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmetalstack/admin/v2/image.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1dmetalstack/api/v2/image.proto\x1a(metalstack/api/v2/predefined_rules.proto\"K\n\x19ImageServiceCreateRequest\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"L\n\x1aImageServiceCreateResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"\xe6\x04\n\x19ImageServiceUpdateRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12O\n\x03url\x18\x03 \x01(\tB8\xbaH5\xba\x01\x32\n\tvalid_url\x12\x17url must be a valid URI\x1a\x0cthis.isUri()H\x00R\x03url\x88\x01\x01\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x01R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x02R\x0b\x64\x65scription\x88\x01\x01\x12\x83\x01\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1f.metalstack.api.v2.ImageFeatureBF\xbaHC\x92\x01@\x08\x01\"<\xba\x01\x39\n\x08\x66\x65\x61tures\x12\x15\x66\x65\x61ture must be valid\x1a\x16this >= 0 && this <= 2R\x08\x66\x65\x61tures\x12X\n\x0e\x63lassification\x18\x07 \x01(\x0e\x32&.metalstack.api.v2.ImageClassificationB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0e\x63lassification\x12\x39\n\nexpires_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAtB\x06\n\x04_urlB\x07\n\x05_nameB\x0e\n\x0c_description\"L\n\x1aImageServiceUpdateResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"7\n\x19ImageServiceDeleteRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"L\n\x1aImageServiceDeleteResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"O\n\x18ImageServiceUsageRequest\x12\x33\n\x05query\x18\x01 \x01(\x0b\x32\x1d.metalstack.api.v2.ImageQueryR\x05query\"[\n\x19ImageServiceUsageResponse\x12>\n\x0bimage_usage\x18\x01 \x03(\x0b\x32\x1d.metalstack.api.v2.ImageUsageR\nimageUsage2\xe0\x03\n\x0cImageService\x12t\n\x06\x43reate\x12..metalstack.admin.v2.ImageServiceCreateRequest\x1a/.metalstack.admin.v2.ImageServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12t\n\x06Update\x12..metalstack.admin.v2.ImageServiceUpdateRequest\x1a/.metalstack.admin.v2.ImageServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12t\n\x06\x44\x65lete\x12..metalstack.admin.v2.ImageServiceDeleteRequest\x1a/.metalstack.admin.v2.ImageServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12n\n\x05Usage\x12-.metalstack.admin.v2.ImageServiceUsageRequest\x1a..metalstack.admin.v2.ImageServiceUsageResponse\"\x06\xd2\xf3\x18\x02\x01\x02\x42\xce\x01\n\x17\x63om.metalstack.admin.v2B\nImageProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
32
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fmetalstack/admin/v2/image.proto\x12\x13metalstack.admin.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a\x1dmetalstack/api/v2/image.proto\x1a(metalstack/api/v2/predefined_rules.proto\"K\n\x19ImageServiceCreateRequest\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"L\n\x1aImageServiceCreateResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"\x81\x04\n\x19ImageServiceUpdateRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12\"\n\x03url\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xe0\xb3\xae\xb1\x02\x01H\x00R\x03url\x88\x01\x01\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x01R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x02R\x0b\x64\x65scription\x88\x01\x01\x12L\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1f.metalstack.api.v2.ImageFeatureB\x0f\xbaH\x0c\x92\x01\t\x18\x01\"\x05\x82\x01\x02\x10\x01R\x08\x66\x65\x61tures\x12X\n\x0e\x63lassification\x18\x07 \x01(\x0e\x32&.metalstack.api.v2.ImageClassificationB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0e\x63lassification\x12\x39\n\nexpires_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAtB\x06\n\x04_urlB\x07\n\x05_nameB\x0e\n\x0c_description\"L\n\x1aImageServiceUpdateResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"7\n\x19ImageServiceDeleteRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"L\n\x1aImageServiceDeleteResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"O\n\x18ImageServiceUsageRequest\x12\x33\n\x05query\x18\x01 \x01(\x0b\x32\x1d.metalstack.api.v2.ImageQueryR\x05query\"[\n\x19ImageServiceUsageResponse\x12>\n\x0bimage_usage\x18\x01 \x03(\x0b\x32\x1d.metalstack.api.v2.ImageUsageR\nimageUsage2\xe0\x03\n\x0cImageService\x12t\n\x06\x43reate\x12..metalstack.admin.v2.ImageServiceCreateRequest\x1a/.metalstack.admin.v2.ImageServiceCreateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12t\n\x06Update\x12..metalstack.admin.v2.ImageServiceUpdateRequest\x1a/.metalstack.admin.v2.ImageServiceUpdateResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12t\n\x06\x44\x65lete\x12..metalstack.admin.v2.ImageServiceDeleteRequest\x1a/.metalstack.admin.v2.ImageServiceDeleteResponse\"\t\xd2\xf3\x18\x01\x01\xe0\xf3\x18\x01\x12n\n\x05Usage\x12-.metalstack.admin.v2.ImageServiceUsageRequest\x1a..metalstack.admin.v2.ImageServiceUsageResponse\"\x06\xd2\xf3\x18\x02\x01\x02\x42\xce\x01\n\x17\x63om.metalstack.admin.v2B\nImageProtoP\x01Z9github.com/metal-stack/api/go/metalstack/admin/v2;adminv2\xa2\x02\x03MAX\xaa\x02\x13Metalstack.Admin.V2\xca\x02\x13Metalstack\\Admin\\V2\xe2\x02\x1fMetalstack\\Admin\\V2\\GPBMetadata\xea\x02\x15Metalstack::Admin::V2b\x06proto3')
33
33
 
34
34
  _globals = globals()
35
35
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -42,13 +42,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
42
42
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['update_meta']._loaded_options = None
43
43
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['update_meta']._serialized_options = b'\272H\003\310\001\001'
44
44
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['url']._loaded_options = None
45
- _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['url']._serialized_options = b'\272H5\272\0012\n\tvalid_url\022\027url must be a valid URI\032\014this.isUri()'
45
+ _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['url']._serialized_options = b'\272H\010r\006\340\263\256\261\002\001'
46
46
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
47
47
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
48
48
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
49
49
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
50
50
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['features']._loaded_options = None
51
- _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['features']._serialized_options = b'\272HC\222\001@\010\001\"<\272\0019\n\010features\022\025feature must be valid\032\026this >= 0 && this <= 2'
51
+ _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['features']._serialized_options = b'\272H\014\222\001\t\030\001\"\005\202\001\002\020\001'
52
52
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['classification']._loaded_options = None
53
53
  _globals['_IMAGESERVICEUPDATEREQUEST'].fields_by_name['classification']._serialized_options = b'\272H\005\202\001\002\020\001'
54
54
  _globals['_IMAGESERVICEDELETEREQUEST'].fields_by_name['id']._loaded_options = None
@@ -66,17 +66,17 @@ if not _descriptor._USE_C_DESCRIPTORS:
66
66
  _globals['_IMAGESERVICECREATERESPONSE']._serialized_start=300
67
67
  _globals['_IMAGESERVICECREATERESPONSE']._serialized_end=376
68
68
  _globals['_IMAGESERVICEUPDATEREQUEST']._serialized_start=379
69
- _globals['_IMAGESERVICEUPDATEREQUEST']._serialized_end=993
70
- _globals['_IMAGESERVICEUPDATERESPONSE']._serialized_start=995
71
- _globals['_IMAGESERVICEUPDATERESPONSE']._serialized_end=1071
72
- _globals['_IMAGESERVICEDELETEREQUEST']._serialized_start=1073
73
- _globals['_IMAGESERVICEDELETEREQUEST']._serialized_end=1128
74
- _globals['_IMAGESERVICEDELETERESPONSE']._serialized_start=1130
75
- _globals['_IMAGESERVICEDELETERESPONSE']._serialized_end=1206
76
- _globals['_IMAGESERVICEUSAGEREQUEST']._serialized_start=1208
77
- _globals['_IMAGESERVICEUSAGEREQUEST']._serialized_end=1287
78
- _globals['_IMAGESERVICEUSAGERESPONSE']._serialized_start=1289
79
- _globals['_IMAGESERVICEUSAGERESPONSE']._serialized_end=1380
80
- _globals['_IMAGESERVICE']._serialized_start=1383
81
- _globals['_IMAGESERVICE']._serialized_end=1863
69
+ _globals['_IMAGESERVICEUPDATEREQUEST']._serialized_end=892
70
+ _globals['_IMAGESERVICEUPDATERESPONSE']._serialized_start=894
71
+ _globals['_IMAGESERVICEUPDATERESPONSE']._serialized_end=970
72
+ _globals['_IMAGESERVICEDELETEREQUEST']._serialized_start=972
73
+ _globals['_IMAGESERVICEDELETEREQUEST']._serialized_end=1027
74
+ _globals['_IMAGESERVICEDELETERESPONSE']._serialized_start=1029
75
+ _globals['_IMAGESERVICEDELETERESPONSE']._serialized_end=1105
76
+ _globals['_IMAGESERVICEUSAGEREQUEST']._serialized_start=1107
77
+ _globals['_IMAGESERVICEUSAGEREQUEST']._serialized_end=1186
78
+ _globals['_IMAGESERVICEUSAGERESPONSE']._serialized_start=1188
79
+ _globals['_IMAGESERVICEUSAGERESPONSE']._serialized_end=1279
80
+ _globals['_IMAGESERVICE']._serialized_start=1282
81
+ _globals['_IMAGESERVICE']._serialized_end=1762
82
82
  # @@protoc_insertion_point(module_scope)
@@ -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\"\xf0\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\x12)\n\x07rack_id\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x01R\x06rackId\x88\x01\x01\x12V\n\x0creplace_mode\x18\x06 \x01(\x0e\x32$.metalstack.api.v2.SwitchReplaceModeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x02R\x0breplaceMode\x88\x01\x01\x12\x31\n\rmanagement_ip\x18\x07 \x01(\tB\x07\xbaH\x04r\x02p\x01H\x03R\x0cmanagementIp\x88\x01\x01\x12\x39\n\x0fmanagement_user\x18\x08 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x04R\x0emanagementUser\x88\x01\x01\x12\x39\n\x0f\x63onsole_command\x18\t \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x05R\x0e\x63onsoleCommand\x88\x01\x01\x12\x30\n\x04nics\x18\n \x03(\x0b\x32\x1c.metalstack.api.v2.SwitchNicR\x04nics\x12\x30\n\x02os\x18\x0b \x01(\x0b\x32\x1b.metalstack.api.v2.SwitchOSH\x06R\x02os\x88\x01\x01\x42\x0e\n\x0c_descriptionB\n\n\x08_rack_idB\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')
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=1281
92
- _globals['_SWITCHSERVICEUPDATERESPONSE']._serialized_start=1283
93
- _globals['_SWITCHSERVICEUPDATERESPONSE']._serialized_end=1363
94
- _globals['_SWITCHSERVICEDELETEREQUEST']._serialized_start=1365
95
- _globals['_SWITCHSERVICEDELETEREQUEST']._serialized_end=1446
96
- _globals['_SWITCHSERVICEDELETERESPONSE']._serialized_start=1448
97
- _globals['_SWITCHSERVICEDELETERESPONSE']._serialized_end=1528
98
- _globals['_SWITCHSERVICEMIGRATEREQUEST']._serialized_start=1530
99
- _globals['_SWITCHSERVICEMIGRATEREQUEST']._serialized_end=1651
100
- _globals['_SWITCHSERVICEMIGRATERESPONSE']._serialized_start=1653
101
- _globals['_SWITCHSERVICEMIGRATERESPONSE']._serialized_end=1734
102
- _globals['_SWITCHSERVICEPORTREQUEST']._serialized_start=1737
103
- _globals['_SWITCHSERVICEPORTREQUEST']._serialized_end=1905
104
- _globals['_SWITCHSERVICEPORTRESPONSE']._serialized_start=1907
105
- _globals['_SWITCHSERVICEPORTRESPONSE']._serialized_end=1985
106
- _globals['_SWITCHSERVICE']._serialized_start=1988
107
- _globals['_SWITCHSERVICE']._serialized_end=2691
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", "rack_id", "replace_mode", "management_ip", "management_user", "console_command", "nics", "os")
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] = ..., rack_id: _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: ...
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",)
@@ -28,7 +28,7 @@ from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common
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\x1dmetalstack/api/v2/image.proto\x12\x11metalstack.api.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\"4\n\x16ImageServiceGetRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"N\n\x17ImageServiceListRequest\x12\x33\n\x05query\x18\x01 \x01(\x0b\x32\x1d.metalstack.api.v2.ImageQueryR\x05query\"+\n\x19ImageServiceLatestRequest\x12\x0e\n\x02os\x18\x01 \x01(\tR\x02os\"I\n\x17ImageServiceGetResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"L\n\x18ImageServiceListResponse\x12\x30\n\x06images\x18\x01 \x03(\x0b\x32\x18.metalstack.api.v2.ImageR\x06images\"L\n\x1aImageServiceLatestResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"\xaa\x04\n\x05Image\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12J\n\x03url\x18\x03 \x01(\tB8\xbaH5\xba\x01\x32\n\tvalid_url\x12\x17url must be a valid URI\x1a\x0cthis.isUri()R\x03url\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x83\x01\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1f.metalstack.api.v2.ImageFeatureBF\xbaHC\x92\x01@\x08\x01\"<\xba\x01\x39\n\x08\x66\x65\x61tures\x12\x15\x66\x65\x61ture must be valid\x1a\x16this >= 0 && this <= 2R\x08\x66\x65\x61tures\x12X\n\x0e\x63lassification\x18\x07 \x01(\x0e\x32&.metalstack.api.v2.ImageClassificationB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0e\x63lassification\x12\x39\n\nexpires_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAtB\x07\n\x05_nameB\x0e\n\x0c_description\"U\n\nImageUsage\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\x12\x17\n\x07used_by\x18\x02 \x03(\tR\x06usedBy\"\xea\x04\n\nImageQuery\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x12\x1f\n\x02os\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x02os\x88\x01\x01\x12)\n\x07version\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x02R\x07version\x88\x01\x01\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x03R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x04R\x0b\x64\x65scription\x88\x01\x01\x12O\n\x03url\x18\x06 \x01(\tB8\xbaH5\xba\x01\x32\n\tvalid_url\x12\x17url must be a valid URI\x1a\x0cthis.isUri()H\x05R\x03url\x88\x01\x01\x12H\n\x07\x66\x65\x61ture\x18\x07 \x01(\x0e\x32\x1f.metalstack.api.v2.ImageFeatureB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x06R\x07\x66\x65\x61ture\x88\x01\x01\x12]\n\x0e\x63lassification\x18\x08 \x01(\x0e\x32&.metalstack.api.v2.ImageClassificationB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x07R\x0e\x63lassification\x88\x01\x01\x12\x36\n\x06labels\x18\t \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x08R\x06labels\x88\x01\x01\x42\x05\n\x03_idB\x05\n\x03_osB\n\n\x08_versionB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x06\n\x04_urlB\n\n\x08_featureB\x11\n\x0f_classificationB\t\n\x07_labels*\x7f\n\x0cImageFeature\x12\x1d\n\x19IMAGE_FEATURE_UNSPECIFIED\x10\x00\x12&\n\x15IMAGE_FEATURE_MACHINE\x10\x01\x1a\x0b\x82\xb2\x19\x07machine\x12(\n\x16IMAGE_FEATURE_FIREWALL\x10\x02\x1a\x0c\x82\xb2\x19\x08\x66irewall*\xd2\x01\n\x13ImageClassification\x12$\n IMAGE_CLASSIFICATION_UNSPECIFIED\x10\x00\x12-\n\x1cIMAGE_CLASSIFICATION_PREVIEW\x10\x01\x1a\x0b\x82\xb2\x19\x07preview\x12\x31\n\x1eIMAGE_CLASSIFICATION_SUPPORTED\x10\x02\x1a\r\x82\xb2\x19\tsupported\x12\x33\n\x1fIMAGE_CLASSIFICATION_DEPRECATED\x10\x03\x1a\x0e\x82\xb2\x19\ndeprecated2\xd2\x02\n\x0cImageService\x12\x66\n\x03Get\x12).metalstack.api.v2.ImageServiceGetRequest\x1a*.metalstack.api.v2.ImageServiceGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12i\n\x04List\x12*.metalstack.api.v2.ImageServiceListRequest\x1a+.metalstack.api.v2.ImageServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12o\n\x06Latest\x12,.metalstack.api.v2.ImageServiceLatestRequest\x1a-.metalstack.api.v2.ImageServiceLatestResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc0\x01\n\x15\x63om.metalstack.api.v2B\nImageProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
31
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dmetalstack/api/v2/image.proto\x12\x11metalstack.api.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\"4\n\x16ImageServiceGetRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"N\n\x17ImageServiceListRequest\x12\x33\n\x05query\x18\x01 \x01(\x0b\x32\x1d.metalstack.api.v2.ImageQueryR\x05query\"+\n\x19ImageServiceLatestRequest\x12\x0e\n\x02os\x18\x01 \x01(\tR\x02os\"I\n\x17ImageServiceGetResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"L\n\x18ImageServiceListResponse\x12\x30\n\x06images\x18\x01 \x03(\x0b\x32\x18.metalstack.api.v2.ImageR\x06images\"L\n\x1aImageServiceLatestResponse\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\"\xc5\x03\n\x05Image\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12\x1d\n\x03url\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xe0\xb3\xae\xb1\x02\x01R\x03url\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x00R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12L\n\x08\x66\x65\x61tures\x18\x06 \x03(\x0e\x32\x1f.metalstack.api.v2.ImageFeatureB\x0f\xbaH\x0c\x92\x01\t\x18\x01\"\x05\x82\x01\x02\x10\x01R\x08\x66\x65\x61tures\x12X\n\x0e\x63lassification\x18\x07 \x01(\x0e\x32&.metalstack.api.v2.ImageClassificationB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x0e\x63lassification\x12\x39\n\nexpires_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\texpiresAtB\x07\n\x05_nameB\x0e\n\x0c_description\"U\n\nImageUsage\x12.\n\x05image\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.ImageR\x05image\x12\x17\n\x07used_by\x18\x02 \x03(\tR\x06usedBy\"\xbd\x04\n\nImageQuery\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x12\x1f\n\x02os\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x02os\x88\x01\x01\x12)\n\x07version\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x01\x18\x80\x01H\x02R\x07version\x88\x01\x01\x12$\n\x04name\x18\x04 \x01(\tB\x0b\xbaH\x08r\x06\xc0\xb3\xae\xb1\x02\x01H\x03R\x04name\x88\x01\x01\x12\x32\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x04R\x0b\x64\x65scription\x88\x01\x01\x12\"\n\x03url\x18\x06 \x01(\tB\x0b\xbaH\x08r\x06\xe0\xb3\xae\xb1\x02\x01H\x05R\x03url\x88\x01\x01\x12H\n\x07\x66\x65\x61ture\x18\x07 \x01(\x0e\x32\x1f.metalstack.api.v2.ImageFeatureB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x06R\x07\x66\x65\x61ture\x88\x01\x01\x12]\n\x0e\x63lassification\x18\x08 \x01(\x0e\x32&.metalstack.api.v2.ImageClassificationB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x07R\x0e\x63lassification\x88\x01\x01\x12\x36\n\x06labels\x18\t \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x08R\x06labels\x88\x01\x01\x42\x05\n\x03_idB\x05\n\x03_osB\n\n\x08_versionB\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x06\n\x04_urlB\n\n\x08_featureB\x11\n\x0f_classificationB\t\n\x07_labels*\x7f\n\x0cImageFeature\x12\x1d\n\x19IMAGE_FEATURE_UNSPECIFIED\x10\x00\x12&\n\x15IMAGE_FEATURE_MACHINE\x10\x01\x1a\x0b\x82\xb2\x19\x07machine\x12(\n\x16IMAGE_FEATURE_FIREWALL\x10\x02\x1a\x0c\x82\xb2\x19\x08\x66irewall*\xd2\x01\n\x13ImageClassification\x12$\n IMAGE_CLASSIFICATION_UNSPECIFIED\x10\x00\x12-\n\x1cIMAGE_CLASSIFICATION_PREVIEW\x10\x01\x1a\x0b\x82\xb2\x19\x07preview\x12\x31\n\x1eIMAGE_CLASSIFICATION_SUPPORTED\x10\x02\x1a\r\x82\xb2\x19\tsupported\x12\x33\n\x1fIMAGE_CLASSIFICATION_DEPRECATED\x10\x03\x1a\x0e\x82\xb2\x19\ndeprecated2\xd2\x02\n\x0cImageService\x12\x66\n\x03Get\x12).metalstack.api.v2.ImageServiceGetRequest\x1a*.metalstack.api.v2.ImageServiceGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12i\n\x04List\x12*.metalstack.api.v2.ImageServiceListRequest\x1a+.metalstack.api.v2.ImageServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12o\n\x06Latest\x12,.metalstack.api.v2.ImageServiceLatestRequest\x1a-.metalstack.api.v2.ImageServiceLatestResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc0\x01\n\x15\x63om.metalstack.api.v2B\nImageProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
32
32
 
33
33
  _globals = globals()
34
34
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -51,13 +51,13 @@ if not _descriptor._USE_C_DESCRIPTORS:
51
51
  _globals['_IMAGE'].fields_by_name['id']._loaded_options = None
52
52
  _globals['_IMAGE'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
53
53
  _globals['_IMAGE'].fields_by_name['url']._loaded_options = None
54
- _globals['_IMAGE'].fields_by_name['url']._serialized_options = b'\272H5\272\0012\n\tvalid_url\022\027url must be a valid URI\032\014this.isUri()'
54
+ _globals['_IMAGE'].fields_by_name['url']._serialized_options = b'\272H\010r\006\340\263\256\261\002\001'
55
55
  _globals['_IMAGE'].fields_by_name['name']._loaded_options = None
56
56
  _globals['_IMAGE'].fields_by_name['name']._serialized_options = b'\272H\010r\006\300\263\256\261\002\001'
57
57
  _globals['_IMAGE'].fields_by_name['description']._loaded_options = None
58
58
  _globals['_IMAGE'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
59
59
  _globals['_IMAGE'].fields_by_name['features']._loaded_options = None
60
- _globals['_IMAGE'].fields_by_name['features']._serialized_options = b'\272HC\222\001@\010\001\"<\272\0019\n\010features\022\025feature must be valid\032\026this >= 0 && this <= 2'
60
+ _globals['_IMAGE'].fields_by_name['features']._serialized_options = b'\272H\014\222\001\t\030\001\"\005\202\001\002\020\001'
61
61
  _globals['_IMAGE'].fields_by_name['classification']._loaded_options = None
62
62
  _globals['_IMAGE'].fields_by_name['classification']._serialized_options = b'\272H\005\202\001\002\020\001'
63
63
  _globals['_IMAGEQUERY'].fields_by_name['id']._loaded_options = None
@@ -71,7 +71,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
71
71
  _globals['_IMAGEQUERY'].fields_by_name['description']._loaded_options = None
72
72
  _globals['_IMAGEQUERY'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
73
73
  _globals['_IMAGEQUERY'].fields_by_name['url']._loaded_options = None
74
- _globals['_IMAGEQUERY'].fields_by_name['url']._serialized_options = b'\272H5\272\0012\n\tvalid_url\022\027url must be a valid URI\032\014this.isUri()'
74
+ _globals['_IMAGEQUERY'].fields_by_name['url']._serialized_options = b'\272H\010r\006\340\263\256\261\002\001'
75
75
  _globals['_IMAGEQUERY'].fields_by_name['feature']._loaded_options = None
76
76
  _globals['_IMAGEQUERY'].fields_by_name['feature']._serialized_options = b'\272H\005\202\001\002\020\001'
77
77
  _globals['_IMAGEQUERY'].fields_by_name['classification']._loaded_options = None
@@ -82,10 +82,10 @@ if not _descriptor._USE_C_DESCRIPTORS:
82
82
  _globals['_IMAGESERVICE'].methods_by_name['List']._serialized_options = b'\330\363\030\003\340\363\030\002'
83
83
  _globals['_IMAGESERVICE'].methods_by_name['Latest']._loaded_options = None
84
84
  _globals['_IMAGESERVICE'].methods_by_name['Latest']._serialized_options = b'\330\363\030\003\340\363\030\002'
85
- _globals['_IMAGEFEATURE']._serialized_start=1863
86
- _globals['_IMAGEFEATURE']._serialized_end=1990
87
- _globals['_IMAGECLASSIFICATION']._serialized_start=1993
88
- _globals['_IMAGECLASSIFICATION']._serialized_end=2203
85
+ _globals['_IMAGEFEATURE']._serialized_start=1717
86
+ _globals['_IMAGEFEATURE']._serialized_end=1844
87
+ _globals['_IMAGECLASSIFICATION']._serialized_start=1847
88
+ _globals['_IMAGECLASSIFICATION']._serialized_end=2057
89
89
  _globals['_IMAGESERVICEGETREQUEST']._serialized_start=188
90
90
  _globals['_IMAGESERVICEGETREQUEST']._serialized_end=240
91
91
  _globals['_IMAGESERVICELISTREQUEST']._serialized_start=242
@@ -99,11 +99,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
99
99
  _globals['_IMAGESERVICELATESTRESPONSE']._serialized_start=520
100
100
  _globals['_IMAGESERVICELATESTRESPONSE']._serialized_end=596
101
101
  _globals['_IMAGE']._serialized_start=599
102
- _globals['_IMAGE']._serialized_end=1153
103
- _globals['_IMAGEUSAGE']._serialized_start=1155
104
- _globals['_IMAGEUSAGE']._serialized_end=1240
105
- _globals['_IMAGEQUERY']._serialized_start=1243
106
- _globals['_IMAGEQUERY']._serialized_end=1861
107
- _globals['_IMAGESERVICE']._serialized_start=2206
108
- _globals['_IMAGESERVICE']._serialized_end=2544
102
+ _globals['_IMAGE']._serialized_end=1052
103
+ _globals['_IMAGEUSAGE']._serialized_start=1054
104
+ _globals['_IMAGEUSAGE']._serialized_end=1139
105
+ _globals['_IMAGEQUERY']._serialized_start=1142
106
+ _globals['_IMAGEQUERY']._serialized_end=1715
107
+ _globals['_IMAGESERVICE']._serialized_start=2060
108
+ _globals['_IMAGESERVICE']._serialized_end=2398
109
109
  # @@protoc_insertion_point(module_scope)
@@ -27,7 +27,7 @@ from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common
27
27
  from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/api/v2/partition.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\"\xa5\x03\n\tPartition\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12\\\n\x12\x62oot_configuration\x18\x04 \x01(\x0b\x32-.metalstack.api.v2.PartitionBootConfigurationR\x11\x62ootConfiguration\x12\x45\n\ndns_server\x18\x05 \x03(\x0b\x32\x1c.metalstack.api.v2.DNSServerB\x08\xbaH\x05\x92\x01\x02\x10\x03R\tdnsServer\x12\x45\n\nntp_server\x18\x06 \x03(\x0b\x32\x1c.metalstack.api.v2.NTPServerB\x08\xbaH\x05\x92\x01\x02\x10\nR\tntpServer\x12\x34\n\x16mgmt_service_addresses\x18\x07 \x03(\tR\x14mgmtServiceAddresses\"{\n\x0ePartitionQuery\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x12\x36\n\x06labels\x18\x02 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x01R\x06labels\x88\x01\x01\x42\x05\n\x03_idB\t\n\x07_labels\"\xee\x01\n\x1aPartitionBootConfiguration\x12U\n\timage_url\x18\x01 \x01(\tB8\xbaH5\xba\x01\x32\n\tvalid_url\x12\x17url must be a valid URI\x1a\x0cthis.isUri()R\x08imageUrl\x12W\n\nkernel_url\x18\x02 \x01(\tB8\xbaH5\xba\x01\x32\n\tvalid_url\x12\x17url must be a valid URI\x1a\x0cthis.isUri()R\tkernelUrl\x12 \n\x0b\x63ommandline\x18\x03 \x01(\tR\x0b\x63ommandline\"$\n\tDNSServer\x12\x17\n\x02ip\x18\x01 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x02ip\"/\n\tNTPServer\x12\"\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x02R\x07\x61\x64\x64ress\"8\n\x1aPartitionServiceGetRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"V\n\x1bPartitionServiceListRequest\x12\x37\n\x05query\x18\x01 \x01(\x0b\x32!.metalstack.api.v2.PartitionQueryR\x05query\"Y\n\x1bPartitionServiceGetResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\\\n\x1cPartitionServiceListResponse\x12<\n\npartitions\x18\x01 \x03(\x0b\x32\x1c.metalstack.api.v2.PartitionR\npartitions2\xf5\x01\n\x10PartitionService\x12n\n\x03Get\x12-.metalstack.api.v2.PartitionServiceGetRequest\x1a..metalstack.api.v2.PartitionServiceGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12q\n\x04List\x12..metalstack.api.v2.PartitionServiceListRequest\x1a/.metalstack.api.v2.PartitionServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc4\x01\n\x15\x63om.metalstack.api.v2B\x0ePartitionProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!metalstack/api/v2/partition.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\"\xa5\x03\n\tPartition\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12\\\n\x12\x62oot_configuration\x18\x04 \x01(\x0b\x32-.metalstack.api.v2.PartitionBootConfigurationR\x11\x62ootConfiguration\x12\x45\n\ndns_server\x18\x05 \x03(\x0b\x32\x1c.metalstack.api.v2.DNSServerB\x08\xbaH\x05\x92\x01\x02\x10\x03R\tdnsServer\x12\x45\n\nntp_server\x18\x06 \x03(\x0b\x32\x1c.metalstack.api.v2.NTPServerB\x08\xbaH\x05\x92\x01\x02\x10\nR\tntpServer\x12\x34\n\x16mgmt_service_addresses\x18\x07 \x03(\tR\x14mgmtServiceAddresses\"{\n\x0ePartitionQuery\x12\x1f\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x02id\x88\x01\x01\x12\x36\n\x06labels\x18\x02 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x01R\x06labels\x88\x01\x01\x42\x05\n\x03_idB\t\n\x07_labels\"\x94\x01\n\x1aPartitionBootConfiguration\x12(\n\timage_url\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xe0\xb3\xae\xb1\x02\x01R\x08imageUrl\x12*\n\nkernel_url\x18\x02 \x01(\tB\x0b\xbaH\x08r\x06\xe0\xb3\xae\xb1\x02\x01R\tkernelUrl\x12 \n\x0b\x63ommandline\x18\x03 \x01(\tR\x0b\x63ommandline\"$\n\tDNSServer\x12\x17\n\x02ip\x18\x01 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x02ip\"/\n\tNTPServer\x12\"\n\x07\x61\x64\x64ress\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x02R\x07\x61\x64\x64ress\"8\n\x1aPartitionServiceGetRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x02id\"V\n\x1bPartitionServiceListRequest\x12\x37\n\x05query\x18\x01 \x01(\x0b\x32!.metalstack.api.v2.PartitionQueryR\x05query\"Y\n\x1bPartitionServiceGetResponse\x12:\n\tpartition\x18\x01 \x01(\x0b\x32\x1c.metalstack.api.v2.PartitionR\tpartition\"\\\n\x1cPartitionServiceListResponse\x12<\n\npartitions\x18\x01 \x03(\x0b\x32\x1c.metalstack.api.v2.PartitionR\npartitions2\xf5\x01\n\x10PartitionService\x12n\n\x03Get\x12-.metalstack.api.v2.PartitionServiceGetRequest\x1a..metalstack.api.v2.PartitionServiceGetResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x12q\n\x04List\x12..metalstack.api.v2.PartitionServiceListRequest\x1a/.metalstack.api.v2.PartitionServiceListResponse\"\x08\xd8\xf3\x18\x03\xe0\xf3\x18\x02\x42\xc4\x01\n\x15\x63om.metalstack.api.v2B\x0ePartitionProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -46,9 +46,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
46
46
  _globals['_PARTITIONQUERY'].fields_by_name['id']._loaded_options = None
47
47
  _globals['_PARTITIONQUERY'].fields_by_name['id']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
48
48
  _globals['_PARTITIONBOOTCONFIGURATION'].fields_by_name['image_url']._loaded_options = None
49
- _globals['_PARTITIONBOOTCONFIGURATION'].fields_by_name['image_url']._serialized_options = b'\272H5\272\0012\n\tvalid_url\022\027url must be a valid URI\032\014this.isUri()'
49
+ _globals['_PARTITIONBOOTCONFIGURATION'].fields_by_name['image_url']._serialized_options = b'\272H\010r\006\340\263\256\261\002\001'
50
50
  _globals['_PARTITIONBOOTCONFIGURATION'].fields_by_name['kernel_url']._loaded_options = None
51
- _globals['_PARTITIONBOOTCONFIGURATION'].fields_by_name['kernel_url']._serialized_options = b'\272H5\272\0012\n\tvalid_url\022\027url must be a valid URI\032\014this.isUri()'
51
+ _globals['_PARTITIONBOOTCONFIGURATION'].fields_by_name['kernel_url']._serialized_options = b'\272H\010r\006\340\263\256\261\002\001'
52
52
  _globals['_DNSSERVER'].fields_by_name['ip']._loaded_options = None
53
53
  _globals['_DNSSERVER'].fields_by_name['ip']._serialized_options = b'\272H\004r\002p\001'
54
54
  _globals['_NTPSERVER'].fields_by_name['address']._loaded_options = None
@@ -64,19 +64,19 @@ if not _descriptor._USE_C_DESCRIPTORS:
64
64
  _globals['_PARTITIONQUERY']._serialized_start=583
65
65
  _globals['_PARTITIONQUERY']._serialized_end=706
66
66
  _globals['_PARTITIONBOOTCONFIGURATION']._serialized_start=709
67
- _globals['_PARTITIONBOOTCONFIGURATION']._serialized_end=947
68
- _globals['_DNSSERVER']._serialized_start=949
69
- _globals['_DNSSERVER']._serialized_end=985
70
- _globals['_NTPSERVER']._serialized_start=987
71
- _globals['_NTPSERVER']._serialized_end=1034
72
- _globals['_PARTITIONSERVICEGETREQUEST']._serialized_start=1036
73
- _globals['_PARTITIONSERVICEGETREQUEST']._serialized_end=1092
74
- _globals['_PARTITIONSERVICELISTREQUEST']._serialized_start=1094
75
- _globals['_PARTITIONSERVICELISTREQUEST']._serialized_end=1180
76
- _globals['_PARTITIONSERVICEGETRESPONSE']._serialized_start=1182
77
- _globals['_PARTITIONSERVICEGETRESPONSE']._serialized_end=1271
78
- _globals['_PARTITIONSERVICELISTRESPONSE']._serialized_start=1273
79
- _globals['_PARTITIONSERVICELISTRESPONSE']._serialized_end=1365
80
- _globals['_PARTITIONSERVICE']._serialized_start=1368
81
- _globals['_PARTITIONSERVICE']._serialized_end=1613
67
+ _globals['_PARTITIONBOOTCONFIGURATION']._serialized_end=857
68
+ _globals['_DNSSERVER']._serialized_start=859
69
+ _globals['_DNSSERVER']._serialized_end=895
70
+ _globals['_NTPSERVER']._serialized_start=897
71
+ _globals['_NTPSERVER']._serialized_end=944
72
+ _globals['_PARTITIONSERVICEGETREQUEST']._serialized_start=946
73
+ _globals['_PARTITIONSERVICEGETREQUEST']._serialized_end=1002
74
+ _globals['_PARTITIONSERVICELISTREQUEST']._serialized_start=1004
75
+ _globals['_PARTITIONSERVICELISTREQUEST']._serialized_end=1090
76
+ _globals['_PARTITIONSERVICEGETRESPONSE']._serialized_start=1092
77
+ _globals['_PARTITIONSERVICEGETRESPONSE']._serialized_end=1181
78
+ _globals['_PARTITIONSERVICELISTRESPONSE']._serialized_start=1183
79
+ _globals['_PARTITIONSERVICELISTRESPONSE']._serialized_end=1275
80
+ _globals['_PARTITIONSERVICE']._serialized_start=1278
81
+ _globals['_PARTITIONSERVICE']._serialized_end=1523
82
82
  # @@protoc_insertion_point(module_scope)
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(metalstack/api/v2/predefined_rules.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto:\xb8\x01\n\nmacaddress\x12\x19.buf.validate.StringRules\x18\xb7\xe6\x95& \x01(\x08\x42z\xc2Hw\nu\n\x11string.macaddress\x12&this string must be a valid macaddress\x1a\x38this.matches(\'^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$\')R\nmacaddress:\x99\x01\n\x07is_name\x12\x19.buf.validate.StringRules\x18\xb8\xe6\x95& \x01(\x08\x42\x62\xc2H_\n]\n\x0estring.is_name\x12#must be within 2 and 128 characters\x1a&this.size() >= 2 && this.size() <= 128R\x06isName:\x9a\x01\n\x0eis_description\x12\x19.buf.validate.StringRules\x18\xb9\xe6\x95& \x01(\x08\x42U\xc2HR\nP\n\x15string.is_description\x12#must be shorter than 256 characters\x1a\x12this.size() <= 256R\risDescription:\xa8\x01\n\x0cis_partition\x12\x19.buf.validate.StringRules\x18\xba\xe6\x95& \x01(\x08\x42g\xc2Hd\nb\n\x13string.is_partition\x12#must be within 2 and 128 characters\x1a&this.size() >= 2 && this.size() <= 128R\x0bisPartition:\x82\x01\n\tis_prefix\x12\x19.buf.validate.StringRules\x18\xbb\xe6\x95& \x01(\x08\x42G\xc2HD\nB\n\x0fstring.prefixes\x12\x1cgiven prefixes must be valid\x1a\x11this.isIpPrefix()R\x08isPrefix:\x8f\x01\n\x08prefixes\x12\x1b.buf.validate.RepeatedRules\x18\xbc\xe6\x95& \x01(\x08\x42S\xc2HP\nN\n\x11repeated.prefixes\x12\x1cgiven prefixes must be valid\x1a\x1bthis.all(m, m.isIpPrefix())R\x08prefixes:u\n\x03ips\x12\x1b.buf.validate.RepeatedRules\x18\xbd\xe6\x95& \x01(\x08\x42\x43\xc2H@\n>\n\x0crepeated.ips\x12\x17given ips must be valid\x1a\x15this.all(m, m.isIp())R\x03ipsB\xca\x01\n\x15\x63om.metalstack.api.v2B\x14PredefinedRulesProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(metalstack/api/v2/predefined_rules.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto:\xb8\x01\n\nmacaddress\x12\x19.buf.validate.StringRules\x18\xb7\xe6\x95& \x01(\x08\x42z\xc2Hw\nu\n\x11string.macaddress\x12&this string must be a valid macaddress\x1a\x38this.matches(\'^([0-9A-Fa-f]{2}[:]){5}([0-9A-Fa-f]{2})$\')R\nmacaddress:\x99\x01\n\x07is_name\x12\x19.buf.validate.StringRules\x18\xb8\xe6\x95& \x01(\x08\x42\x62\xc2H_\n]\n\x0estring.is_name\x12#must be within 2 and 128 characters\x1a&this.size() >= 2 && this.size() <= 128R\x06isName:\x9a\x01\n\x0eis_description\x12\x19.buf.validate.StringRules\x18\xb9\xe6\x95& \x01(\x08\x42U\xc2HR\nP\n\x15string.is_description\x12#must be shorter than 256 characters\x1a\x12this.size() <= 256R\risDescription:\xa8\x01\n\x0cis_partition\x12\x19.buf.validate.StringRules\x18\xba\xe6\x95& \x01(\x08\x42g\xc2Hd\nb\n\x13string.is_partition\x12#must be within 2 and 128 characters\x1a&this.size() >= 2 && this.size() <= 128R\x0bisPartition:\x82\x01\n\tis_prefix\x12\x19.buf.validate.StringRules\x18\xbb\xe6\x95& \x01(\x08\x42G\xc2HD\nB\n\x0fstring.prefixes\x12\x1cgiven prefixes must be valid\x1a\x11this.isIpPrefix()R\x08isPrefix:m\n\x06is_uri\x12\x19.buf.validate.StringRules\x18\xbc\xe6\x95& \x01(\x08\x42\x38\xc2H5\n3\n\nstring.uri\x12\x17given uri must be valid\x1a\x0cthis.isUri()R\x05isUri:\x8f\x01\n\x08prefixes\x12\x1b.buf.validate.RepeatedRules\x18\xbc\xe6\x95& \x01(\x08\x42S\xc2HP\nN\n\x11repeated.prefixes\x12\x1cgiven prefixes must be valid\x1a\x1bthis.all(m, m.isIpPrefix())R\x08prefixes:u\n\x03ips\x12\x1b.buf.validate.RepeatedRules\x18\xbd\xe6\x95& \x01(\x08\x42\x43\xc2H@\n>\n\x0crepeated.ips\x12\x17given ips must be valid\x1a\x15this.all(m, m.isIp())R\x03ipsB\xca\x01\n\x15\x63om.metalstack.api.v2B\x14PredefinedRulesProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -43,6 +43,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
43
43
  _globals['is_partition']._serialized_options = b'\302Hd\nb\n\023string.is_partition\022#must be within 2 and 128 characters\032&this.size() >= 2 && this.size() <= 128'
44
44
  _globals['is_prefix']._loaded_options = None
45
45
  _globals['is_prefix']._serialized_options = b'\302HD\nB\n\017string.prefixes\022\034given prefixes must be valid\032\021this.isIpPrefix()'
46
+ _globals['is_uri']._loaded_options = None
47
+ _globals['is_uri']._serialized_options = b'\302H5\n3\n\nstring.uri\022\027given uri must be valid\032\014this.isUri()'
46
48
  _globals['prefixes']._loaded_options = None
47
49
  _globals['prefixes']._serialized_options = b'\302HP\nN\n\021repeated.prefixes\022\034given prefixes must be valid\032\033this.all(m, m.isIpPrefix())'
48
50
  _globals['ips']._loaded_options = None
@@ -13,6 +13,8 @@ IS_PARTITION_FIELD_NUMBER: _ClassVar[int]
13
13
  is_partition: _descriptor.FieldDescriptor
14
14
  IS_PREFIX_FIELD_NUMBER: _ClassVar[int]
15
15
  is_prefix: _descriptor.FieldDescriptor
16
+ IS_URI_FIELD_NUMBER: _ClassVar[int]
17
+ is_uri: _descriptor.FieldDescriptor
16
18
  PREFIXES_FIELD_NUMBER: _ClassVar[int]
17
19
  prefixes: _descriptor.FieldDescriptor
18
20
  IPS_FIELD_NUMBER: _ClassVar[int]
@@ -29,7 +29,7 @@ from metalstack.api.v2 import common_pb2 as metalstack_dot_api_dot_v2_dot_common
29
29
  from metalstack.api.v2 import predefined_rules_pb2 as metalstack_dot_api_dot_v2_dot_predefined__rules__pb2
30
30
 
31
31
 
32
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dmetalstack/api/v2/token.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\"\xb6\x06\n\x05Token\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1e\n\x04user\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04R\x04user\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12P\n\x0bpermissions\x18\x04 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionB\t\xbaH\x06\x92\x01\x03\x10\xf4\x03R\x0bpermissions\x12\x34\n\x07\x65xpires\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65xpires\x12\x37\n\tissued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08issuedAt\x12\x45\n\ntoken_type\x18\x08 \x01(\x0e\x32\x1c.metalstack.api.v2.TokenTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\ttokenType\x12O\n\rproject_roles\x18\t \x03(\x0b\x32*.metalstack.api.v2.Token.ProjectRolesEntryR\x0cprojectRoles\x12L\n\x0ctenant_roles\x18\n \x03(\x0b\x32).metalstack.api.v2.Token.TenantRolesEntryR\x0btenantRoles\x12J\n\nadmin_role\x18\x0b \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x00R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\r\n\x0b_admin_role\"\x83\x07\n\x19TokenServiceCreateRequest\x12-\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12O\n\x0bpermissions\x18\x02 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionB\x08\xbaH\x05\x92\x01\x02\x10\x64R\x0bpermissions\x12G\n\x07\x65xpires\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x12\xbaH\x0f\xaa\x01\x0c\x1a\x05\x08\x81\xe7\x84\x0f\x32\x03\x08\xd8\x04R\x07\x65xpires\x12\xc1\x01\n\rproject_roles\x18\x05 \x03(\x0b\x32>.metalstack.api.v2.TokenServiceCreateRequest.ProjectRolesEntryB\\\xbaHY\x9a\x01V\"\x07r\x05\x10\x03\x18\x80\x01*K\xba\x01H\n\x0erole-specified\x12\x1eproject role must be specified\x1a\x16this >= 0 && this <= 3R\x0cprojectRoles\x12\xbd\x01\n\x0ctenant_roles\x18\x06 \x03(\x0b\x32=.metalstack.api.v2.TokenServiceCreateRequest.TenantRolesEntryB[\xbaHX\x9a\x01U\"\x07r\x05\x10\x03\x18\x80\x01*J\xba\x01G\n\x0erole-specified\x12\x1dtenant role must be specified\x1a\x16this >= 0 && this <= 4R\x0btenantRoles\x12J\n\nadmin_role\x18\x07 \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x00R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\r\n\x0b_admin_role\"]\n\x10MethodPermission\x12$\n\x07subject\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x02R\x07subject\x12#\n\x07methods\x18\x02 \x03(\tB\t\xbaH\x06\x92\x01\x03\x10\xf4\x03R\x07methods\"d\n\x1aTokenServiceCreateResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret\"\x19\n\x17TokenServiceListRequest\"L\n\x18TokenServiceListResponse\x12\x30\n\x06tokens\x18\x01 \x03(\x0b\x32\x18.metalstack.api.v2.TokenR\x06tokens\"9\n\x19TokenServiceRevokeRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"\x1c\n\x1aTokenServiceRevokeResponse\"\xab\x07\n\x19TokenServiceUpdateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12\x32\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x45\n\x0bpermissions\x18\x04 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionR\x0bpermissions\x12\xc1\x01\n\rproject_roles\x18\x05 \x03(\x0b\x32>.metalstack.api.v2.TokenServiceUpdateRequest.ProjectRolesEntryB\\\xbaHY\x9a\x01V\"\x07r\x05\x10\x03\x18\x80\x01*K\xba\x01H\n\x0erole-specified\x12\x1eproject role must be specified\x1a\x16this >= 0 && this <= 3R\x0cprojectRoles\x12\xbd\x01\n\x0ctenant_roles\x18\x06 \x03(\x0b\x32=.metalstack.api.v2.TokenServiceUpdateRequest.TenantRolesEntryB[\xbaHX\x9a\x01U\"\x07r\x05\x10\x03\x18\x80\x01*J\xba\x01G\n\x0erole-specified\x12\x1dtenant role must be specified\x1a\x16this >= 0 && this <= 4R\x0btenantRoles\x12J\n\nadmin_role\x18\x07 \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x01R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\x0e\n\x0c_descriptionB\r\n\x0b_admin_role\"L\n\x1aTokenServiceUpdateResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\"6\n\x16TokenServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"I\n\x17TokenServiceGetResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\"\x1c\n\x1aTokenServiceRefreshRequest\"e\n\x1bTokenServiceRefreshResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret*S\n\tTokenType\x12\x1a\n\x16TOKEN_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eTOKEN_TYPE_API\x10\x01\x12\x16\n\x12TOKEN_TYPE_CONSOLE\x10\x02\x32\x90\x05\n\x0cTokenService\x12\x62\n\x03Get\x12).metalstack.api.v2.TokenServiceGetRequest\x1a*.metalstack.api.v2.TokenServiceGetResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06\x43reate\x12,.metalstack.api.v2.TokenServiceCreateRequest\x1a-.metalstack.api.v2.TokenServiceCreateResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06Update\x12,.metalstack.api.v2.TokenServiceUpdateRequest\x1a-.metalstack.api.v2.TokenServiceUpdateResponse\"\x04\xd8\xf3\x18\x03\x12\x65\n\x04List\x12*.metalstack.api.v2.TokenServiceListRequest\x1a+.metalstack.api.v2.TokenServiceListResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06Revoke\x12,.metalstack.api.v2.TokenServiceRevokeRequest\x1a-.metalstack.api.v2.TokenServiceRevokeResponse\"\x04\xd8\xf3\x18\x03\x12n\n\x07Refresh\x12-.metalstack.api.v2.TokenServiceRefreshRequest\x1a..metalstack.api.v2.TokenServiceRefreshResponse\"\x04\xd8\xf3\x18\x03\x42\xc0\x01\n\x15\x63om.metalstack.api.v2B\nTokenProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
32
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dmetalstack/api/v2/token.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1emetalstack/api/v2/common.proto\x1a(metalstack/api/v2/predefined_rules.proto\"\xb6\x06\n\x05Token\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x1e\n\x04user\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x04R\x04user\x12-\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12P\n\x0bpermissions\x18\x04 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionB\t\xbaH\x06\x92\x01\x03\x10\xf4\x03R\x0bpermissions\x12\x34\n\x07\x65xpires\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x07\x65xpires\x12\x37\n\tissued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x08issuedAt\x12\x45\n\ntoken_type\x18\x08 \x01(\x0e\x32\x1c.metalstack.api.v2.TokenTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\ttokenType\x12O\n\rproject_roles\x18\t \x03(\x0b\x32*.metalstack.api.v2.Token.ProjectRolesEntryR\x0cprojectRoles\x12L\n\x0ctenant_roles\x18\n \x03(\x0b\x32).metalstack.api.v2.Token.TenantRolesEntryR\x0btenantRoles\x12J\n\nadmin_role\x18\x0b \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x00R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\r\n\x0b_admin_role\"\xf6\x05\n\x19TokenServiceCreateRequest\x12-\n\x0b\x64\x65scription\x18\x01 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01R\x0b\x64\x65scription\x12O\n\x0bpermissions\x18\x02 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionB\x08\xbaH\x05\x92\x01\x02\x10\x64R\x0bpermissions\x12G\n\x07\x65xpires\x18\x04 \x01(\x0b\x32\x19.google.protobuf.DurationB\x12\xbaH\x0f\xaa\x01\x0c\x1a\x05\x08\x81\xe7\x84\x0f\x32\x03\x08\xd8\x04R\x07\x65xpires\x12{\n\rproject_roles\x18\x05 \x03(\x0b\x32>.metalstack.api.v2.TokenServiceCreateRequest.ProjectRolesEntryB\x16\xbaH\x13\x9a\x01\x10\"\x07r\x05\x10\x03\x18\x80\x01*\x05\x82\x01\x02\x10\x01R\x0cprojectRoles\x12x\n\x0ctenant_roles\x18\x06 \x03(\x0b\x32=.metalstack.api.v2.TokenServiceCreateRequest.TenantRolesEntryB\x16\xbaH\x13\x9a\x01\x10\"\x07r\x05\x10\x03\x18\x80\x01*\x05\x82\x01\x02\x10\x01R\x0btenantRoles\x12J\n\nadmin_role\x18\x07 \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x00R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\r\n\x0b_admin_role\"]\n\x10MethodPermission\x12$\n\x07subject\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x02R\x07subject\x12#\n\x07methods\x18\x02 \x03(\tB\t\xbaH\x06\x92\x01\x03\x10\xf4\x03R\x07methods\"d\n\x1aTokenServiceCreateResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret\"\x19\n\x17TokenServiceListRequest\"L\n\x18TokenServiceListResponse\x12\x30\n\x06tokens\x18\x01 \x03(\x0b\x32\x18.metalstack.api.v2.TokenR\x06tokens\"9\n\x19TokenServiceRevokeRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"\x1c\n\x1aTokenServiceRevokeResponse\"\x9e\x06\n\x19TokenServiceUpdateRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12\x46\n\x0bupdate_meta\x18\x02 \x01(\x0b\x32\x1d.metalstack.api.v2.UpdateMetaB\x06\xbaH\x03\xc8\x01\x01R\nupdateMeta\x12\x32\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x0b\xbaH\x08r\x06\xc8\xb3\xae\xb1\x02\x01H\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x45\n\x0bpermissions\x18\x04 \x03(\x0b\x32#.metalstack.api.v2.MethodPermissionR\x0bpermissions\x12{\n\rproject_roles\x18\x05 \x03(\x0b\x32>.metalstack.api.v2.TokenServiceUpdateRequest.ProjectRolesEntryB\x16\xbaH\x13\x9a\x01\x10\"\x07r\x05\x10\x03\x18\x80\x01*\x05\x82\x01\x02\x10\x01R\x0cprojectRoles\x12x\n\x0ctenant_roles\x18\x06 \x03(\x0b\x32=.metalstack.api.v2.TokenServiceUpdateRequest.TenantRolesEntryB\x16\xbaH\x13\x9a\x01\x10\"\x07r\x05\x10\x03\x18\x80\x01*\x05\x82\x01\x02\x10\x01R\x0btenantRoles\x12J\n\nadmin_role\x18\x07 \x01(\x0e\x32\x1c.metalstack.api.v2.AdminRoleB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x01R\tadminRole\x88\x01\x01\x1a_\n\x11ProjectRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x34\n\x05value\x18\x02 \x01(\x0e\x32\x1e.metalstack.api.v2.ProjectRoleR\x05value:\x02\x38\x01\x1a]\n\x10TenantRolesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x33\n\x05value\x18\x02 \x01(\x0e\x32\x1d.metalstack.api.v2.TenantRoleR\x05value:\x02\x38\x01\x42\x0e\n\x0c_descriptionB\r\n\x0b_admin_role\"L\n\x1aTokenServiceUpdateResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\"6\n\x16TokenServiceGetRequest\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\"I\n\x17TokenServiceGetResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\"\x1c\n\x1aTokenServiceRefreshRequest\"e\n\x1bTokenServiceRefreshResponse\x12.\n\x05token\x18\x01 \x01(\x0b\x32\x18.metalstack.api.v2.TokenR\x05token\x12\x16\n\x06secret\x18\x02 \x01(\tR\x06secret*S\n\tTokenType\x12\x1a\n\x16TOKEN_TYPE_UNSPECIFIED\x10\x00\x12\x12\n\x0eTOKEN_TYPE_API\x10\x01\x12\x16\n\x12TOKEN_TYPE_CONSOLE\x10\x02\x32\x90\x05\n\x0cTokenService\x12\x62\n\x03Get\x12).metalstack.api.v2.TokenServiceGetRequest\x1a*.metalstack.api.v2.TokenServiceGetResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06\x43reate\x12,.metalstack.api.v2.TokenServiceCreateRequest\x1a-.metalstack.api.v2.TokenServiceCreateResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06Update\x12,.metalstack.api.v2.TokenServiceUpdateRequest\x1a-.metalstack.api.v2.TokenServiceUpdateResponse\"\x04\xd8\xf3\x18\x03\x12\x65\n\x04List\x12*.metalstack.api.v2.TokenServiceListRequest\x1a+.metalstack.api.v2.TokenServiceListResponse\"\x04\xd8\xf3\x18\x03\x12k\n\x06Revoke\x12,.metalstack.api.v2.TokenServiceRevokeRequest\x1a-.metalstack.api.v2.TokenServiceRevokeResponse\"\x04\xd8\xf3\x18\x03\x12n\n\x07Refresh\x12-.metalstack.api.v2.TokenServiceRefreshRequest\x1a..metalstack.api.v2.TokenServiceRefreshResponse\"\x04\xd8\xf3\x18\x03\x42\xc0\x01\n\x15\x63om.metalstack.api.v2B\nTokenProtoP\x01Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\xa2\x02\x03MAX\xaa\x02\x11Metalstack.Api.V2\xca\x02\x11Metalstack\\Api\\V2\xe2\x02\x1dMetalstack\\Api\\V2\\GPBMetadata\xea\x02\x13Metalstack::Api::V2b\x06proto3')
33
33
 
34
34
  _globals = globals()
35
35
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -64,9 +64,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
64
64
  _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['expires']._loaded_options = None
65
65
  _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['expires']._serialized_options = b'\272H\017\252\001\014\032\005\010\201\347\204\0172\003\010\330\004'
66
66
  _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['project_roles']._loaded_options = None
67
- _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['project_roles']._serialized_options = b'\272HY\232\001V\"\007r\005\020\003\030\200\001*K\272\001H\n\016role-specified\022\036project role must be specified\032\026this >= 0 && this <= 3'
67
+ _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['project_roles']._serialized_options = b'\272H\023\232\001\020\"\007r\005\020\003\030\200\001*\005\202\001\002\020\001'
68
68
  _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['tenant_roles']._loaded_options = None
69
- _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['tenant_roles']._serialized_options = b'\272HX\232\001U\"\007r\005\020\003\030\200\001*J\272\001G\n\016role-specified\022\035tenant role must be specified\032\026this >= 0 && this <= 4'
69
+ _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['tenant_roles']._serialized_options = b'\272H\023\232\001\020\"\007r\005\020\003\030\200\001*\005\202\001\002\020\001'
70
70
  _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['admin_role']._loaded_options = None
71
71
  _globals['_TOKENSERVICECREATEREQUEST'].fields_by_name['admin_role']._serialized_options = b'\272H\005\202\001\002\020\001'
72
72
  _globals['_METHODPERMISSION'].fields_by_name['subject']._loaded_options = None
@@ -86,9 +86,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
86
86
  _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
87
87
  _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\010r\006\310\263\256\261\002\001'
88
88
  _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['project_roles']._loaded_options = None
89
- _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['project_roles']._serialized_options = b'\272HY\232\001V\"\007r\005\020\003\030\200\001*K\272\001H\n\016role-specified\022\036project role must be specified\032\026this >= 0 && this <= 3'
89
+ _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['project_roles']._serialized_options = b'\272H\023\232\001\020\"\007r\005\020\003\030\200\001*\005\202\001\002\020\001'
90
90
  _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['tenant_roles']._loaded_options = None
91
- _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['tenant_roles']._serialized_options = b'\272HX\232\001U\"\007r\005\020\003\030\200\001*J\272\001G\n\016role-specified\022\035tenant role must be specified\032\026this >= 0 && this <= 4'
91
+ _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['tenant_roles']._serialized_options = b'\272H\023\232\001\020\"\007r\005\020\003\030\200\001*\005\202\001\002\020\001'
92
92
  _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['admin_role']._loaded_options = None
93
93
  _globals['_TOKENSERVICEUPDATEREQUEST'].fields_by_name['admin_role']._serialized_options = b'\272H\005\202\001\002\020\001'
94
94
  _globals['_TOKENSERVICEGETREQUEST'].fields_by_name['uuid']._loaded_options = None
@@ -105,8 +105,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
105
105
  _globals['_TOKENSERVICE'].methods_by_name['Revoke']._serialized_options = b'\330\363\030\003'
106
106
  _globals['_TOKENSERVICE'].methods_by_name['Refresh']._loaded_options = None
107
107
  _globals['_TOKENSERVICE'].methods_by_name['Refresh']._serialized_options = b'\330\363\030\003'
108
- _globals['_TOKENTYPE']._serialized_start=3622
109
- _globals['_TOKENTYPE']._serialized_end=3705
108
+ _globals['_TOKENTYPE']._serialized_start=3340
109
+ _globals['_TOKENTYPE']._serialized_end=3423
110
110
  _globals['_TOKEN']._serialized_start=221
111
111
  _globals['_TOKEN']._serialized_end=1043
112
112
  _globals['_TOKEN_PROJECTROLESENTRY']._serialized_start=838
@@ -114,39 +114,39 @@ if not _descriptor._USE_C_DESCRIPTORS:
114
114
  _globals['_TOKEN_TENANTROLESENTRY']._serialized_start=935
115
115
  _globals['_TOKEN_TENANTROLESENTRY']._serialized_end=1028
116
116
  _globals['_TOKENSERVICECREATEREQUEST']._serialized_start=1046
117
- _globals['_TOKENSERVICECREATEREQUEST']._serialized_end=1945
117
+ _globals['_TOKENSERVICECREATEREQUEST']._serialized_end=1804
118
118
  _globals['_TOKENSERVICECREATEREQUEST_PROJECTROLESENTRY']._serialized_start=838
119
119
  _globals['_TOKENSERVICECREATEREQUEST_PROJECTROLESENTRY']._serialized_end=933
120
120
  _globals['_TOKENSERVICECREATEREQUEST_TENANTROLESENTRY']._serialized_start=935
121
121
  _globals['_TOKENSERVICECREATEREQUEST_TENANTROLESENTRY']._serialized_end=1028
122
- _globals['_METHODPERMISSION']._serialized_start=1947
123
- _globals['_METHODPERMISSION']._serialized_end=2040
124
- _globals['_TOKENSERVICECREATERESPONSE']._serialized_start=2042
125
- _globals['_TOKENSERVICECREATERESPONSE']._serialized_end=2142
126
- _globals['_TOKENSERVICELISTREQUEST']._serialized_start=2144
127
- _globals['_TOKENSERVICELISTREQUEST']._serialized_end=2169
128
- _globals['_TOKENSERVICELISTRESPONSE']._serialized_start=2171
129
- _globals['_TOKENSERVICELISTRESPONSE']._serialized_end=2247
130
- _globals['_TOKENSERVICEREVOKEREQUEST']._serialized_start=2249
131
- _globals['_TOKENSERVICEREVOKEREQUEST']._serialized_end=2306
132
- _globals['_TOKENSERVICEREVOKERESPONSE']._serialized_start=2308
133
- _globals['_TOKENSERVICEREVOKERESPONSE']._serialized_end=2336
134
- _globals['_TOKENSERVICEUPDATEREQUEST']._serialized_start=2339
135
- _globals['_TOKENSERVICEUPDATEREQUEST']._serialized_end=3278
122
+ _globals['_METHODPERMISSION']._serialized_start=1806
123
+ _globals['_METHODPERMISSION']._serialized_end=1899
124
+ _globals['_TOKENSERVICECREATERESPONSE']._serialized_start=1901
125
+ _globals['_TOKENSERVICECREATERESPONSE']._serialized_end=2001
126
+ _globals['_TOKENSERVICELISTREQUEST']._serialized_start=2003
127
+ _globals['_TOKENSERVICELISTREQUEST']._serialized_end=2028
128
+ _globals['_TOKENSERVICELISTRESPONSE']._serialized_start=2030
129
+ _globals['_TOKENSERVICELISTRESPONSE']._serialized_end=2106
130
+ _globals['_TOKENSERVICEREVOKEREQUEST']._serialized_start=2108
131
+ _globals['_TOKENSERVICEREVOKEREQUEST']._serialized_end=2165
132
+ _globals['_TOKENSERVICEREVOKERESPONSE']._serialized_start=2167
133
+ _globals['_TOKENSERVICEREVOKERESPONSE']._serialized_end=2195
134
+ _globals['_TOKENSERVICEUPDATEREQUEST']._serialized_start=2198
135
+ _globals['_TOKENSERVICEUPDATEREQUEST']._serialized_end=2996
136
136
  _globals['_TOKENSERVICEUPDATEREQUEST_PROJECTROLESENTRY']._serialized_start=838
137
137
  _globals['_TOKENSERVICEUPDATEREQUEST_PROJECTROLESENTRY']._serialized_end=933
138
138
  _globals['_TOKENSERVICEUPDATEREQUEST_TENANTROLESENTRY']._serialized_start=935
139
139
  _globals['_TOKENSERVICEUPDATEREQUEST_TENANTROLESENTRY']._serialized_end=1028
140
- _globals['_TOKENSERVICEUPDATERESPONSE']._serialized_start=3280
141
- _globals['_TOKENSERVICEUPDATERESPONSE']._serialized_end=3356
142
- _globals['_TOKENSERVICEGETREQUEST']._serialized_start=3358
143
- _globals['_TOKENSERVICEGETREQUEST']._serialized_end=3412
144
- _globals['_TOKENSERVICEGETRESPONSE']._serialized_start=3414
145
- _globals['_TOKENSERVICEGETRESPONSE']._serialized_end=3487
146
- _globals['_TOKENSERVICEREFRESHREQUEST']._serialized_start=3489
147
- _globals['_TOKENSERVICEREFRESHREQUEST']._serialized_end=3517
148
- _globals['_TOKENSERVICEREFRESHRESPONSE']._serialized_start=3519
149
- _globals['_TOKENSERVICEREFRESHRESPONSE']._serialized_end=3620
150
- _globals['_TOKENSERVICE']._serialized_start=3708
151
- _globals['_TOKENSERVICE']._serialized_end=4364
140
+ _globals['_TOKENSERVICEUPDATERESPONSE']._serialized_start=2998
141
+ _globals['_TOKENSERVICEUPDATERESPONSE']._serialized_end=3074
142
+ _globals['_TOKENSERVICEGETREQUEST']._serialized_start=3076
143
+ _globals['_TOKENSERVICEGETREQUEST']._serialized_end=3130
144
+ _globals['_TOKENSERVICEGETRESPONSE']._serialized_start=3132
145
+ _globals['_TOKENSERVICEGETRESPONSE']._serialized_end=3205
146
+ _globals['_TOKENSERVICEREFRESHREQUEST']._serialized_start=3207
147
+ _globals['_TOKENSERVICEREFRESHREQUEST']._serialized_end=3235
148
+ _globals['_TOKENSERVICEREFRESHRESPONSE']._serialized_start=3237
149
+ _globals['_TOKENSERVICEREFRESHRESPONSE']._serialized_end=3338
150
+ _globals['_TOKENSERVICE']._serialized_start=3426
151
+ _globals['_TOKENSERVICE']._serialized_end=4082
152
152
  # @@protoc_insertion_point(module_scope)