metal-stack-api 0.0.3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. buf/__init__.py +0 -0
  2. buf/validate/__init__.py +0 -0
  3. buf/validate/validate_pb2.py +450 -0
  4. buf/validate/validate_pb2.pyi +631 -0
  5. buf/validate/validate_pb2_grpc.py +4 -0
  6. metal_stack_api-0.0.3.dist-info/METADATA +26 -0
  7. metal_stack_api-0.0.3.dist-info/RECORD +107 -0
  8. metal_stack_api-0.0.3.dist-info/WHEEL +5 -0
  9. metal_stack_api-0.0.3.dist-info/top_level.txt +2 -0
  10. metalstack/__init__.py +0 -0
  11. metalstack/admin/__init__.py +0 -0
  12. metalstack/admin/v2/__init__.py +0 -0
  13. metalstack/admin/v2/filesystem_connecpy.py +214 -0
  14. metalstack/admin/v2/filesystem_pb2.py +60 -0
  15. metalstack/admin/v2/filesystem_pb2.pyi +45 -0
  16. metalstack/admin/v2/filesystem_pb2_grpc.py +169 -0
  17. metalstack/admin/v2/image_connecpy.py +270 -0
  18. metalstack/admin/v2/image_pb2.py +66 -0
  19. metalstack/admin/v2/image_pb2.pyi +58 -0
  20. metalstack/admin/v2/image_pb2_grpc.py +213 -0
  21. metalstack/admin/v2/ip_connecpy.py +158 -0
  22. metalstack/admin/v2/ip_pb2.py +53 -0
  23. metalstack/admin/v2/ip_pb2.pyi +39 -0
  24. metalstack/admin/v2/ip_pb2_grpc.py +125 -0
  25. metalstack/admin/v2/network_connecpy.py +326 -0
  26. metalstack/admin/v2/network_pb2.py +104 -0
  27. metalstack/admin/v2/network_pb2.pyi +122 -0
  28. metalstack/admin/v2/network_pb2_grpc.py +257 -0
  29. metalstack/admin/v2/partition_connecpy.py +270 -0
  30. metalstack/admin/v2/partition_pb2.py +72 -0
  31. metalstack/admin/v2/partition_pb2.pyi +90 -0
  32. metalstack/admin/v2/partition_pb2_grpc.py +213 -0
  33. metalstack/admin/v2/size_connecpy.py +214 -0
  34. metalstack/admin/v2/size_pb2.py +66 -0
  35. metalstack/admin/v2/size_pb2.pyi +54 -0
  36. metalstack/admin/v2/size_pb2_grpc.py +169 -0
  37. metalstack/admin/v2/tenant_connecpy.py +158 -0
  38. metalstack/admin/v2/tenant_pb2.py +58 -0
  39. metalstack/admin/v2/tenant_pb2.pyi +50 -0
  40. metalstack/admin/v2/tenant_pb2_grpc.py +125 -0
  41. metalstack/admin/v2/token_connecpy.py +158 -0
  42. metalstack/admin/v2/token_pb2.py +56 -0
  43. metalstack/admin/v2/token_pb2.pyi +34 -0
  44. metalstack/admin/v2/token_pb2_grpc.py +125 -0
  45. metalstack/api/__init__.py +0 -0
  46. metalstack/api/v2/__init__.py +0 -0
  47. metalstack/api/v2/common_pb2.py +66 -0
  48. metalstack/api/v2/common_pb2.pyi +128 -0
  49. metalstack/api/v2/common_pb2_grpc.py +4 -0
  50. metalstack/api/v2/filesystem_connecpy.py +270 -0
  51. metalstack/api/v2/filesystem_pb2.py +167 -0
  52. metalstack/api/v2/filesystem_pb2.pyi +229 -0
  53. metalstack/api/v2/filesystem_pb2_grpc.py +213 -0
  54. metalstack/api/v2/health_connecpy.py +102 -0
  55. metalstack/api/v2/health_pb2.py +70 -0
  56. metalstack/api/v2/health_pb2.pyi +80 -0
  57. metalstack/api/v2/health_pb2_grpc.py +81 -0
  58. metalstack/api/v2/image_connecpy.py +214 -0
  59. metalstack/api/v2/image_pb2.py +106 -0
  60. metalstack/api/v2/image_pb2.pyi +115 -0
  61. metalstack/api/v2/image_pb2_grpc.py +169 -0
  62. metalstack/api/v2/ip_connecpy.py +326 -0
  63. metalstack/api/v2/ip_pb2.py +159 -0
  64. metalstack/api/v2/ip_pb2.pyi +170 -0
  65. metalstack/api/v2/ip_pb2_grpc.py +257 -0
  66. metalstack/api/v2/methods_connecpy.py +158 -0
  67. metalstack/api/v2/methods_pb2.py +62 -0
  68. metalstack/api/v2/methods_pb2.pyi +50 -0
  69. metalstack/api/v2/methods_pb2_grpc.py +128 -0
  70. metalstack/api/v2/network_connecpy.py +382 -0
  71. metalstack/api/v2/network_pb2.py +191 -0
  72. metalstack/api/v2/network_pb2.pyi +247 -0
  73. metalstack/api/v2/network_pb2_grpc.py +301 -0
  74. metalstack/api/v2/partition_connecpy.py +158 -0
  75. metalstack/api/v2/partition_pb2.py +81 -0
  76. metalstack/api/v2/partition_pb2.pyi +79 -0
  77. metalstack/api/v2/partition_pb2_grpc.py +125 -0
  78. metalstack/api/v2/project_connecpy.py +718 -0
  79. metalstack/api/v2/project_pb2.py +156 -0
  80. metalstack/api/v2/project_pb2.pyi +230 -0
  81. metalstack/api/v2/project_pb2_grpc.py +565 -0
  82. metalstack/api/v2/size_connecpy.py +158 -0
  83. metalstack/api/v2/size_pb2.py +85 -0
  84. metalstack/api/v2/size_pb2.pyi +85 -0
  85. metalstack/api/v2/size_pb2_grpc.py +125 -0
  86. metalstack/api/v2/tenant_connecpy.py +718 -0
  87. metalstack/api/v2/tenant_pb2.py +140 -0
  88. metalstack/api/v2/tenant_pb2.pyi +236 -0
  89. metalstack/api/v2/tenant_pb2_grpc.py +565 -0
  90. metalstack/api/v2/token_connecpy.py +326 -0
  91. metalstack/api/v2/token_pb2.py +143 -0
  92. metalstack/api/v2/token_pb2.pyi +175 -0
  93. metalstack/api/v2/token_pb2_grpc.py +257 -0
  94. metalstack/api/v2/user_connecpy.py +102 -0
  95. metalstack/api/v2/user_pb2.py +48 -0
  96. metalstack/api/v2/user_pb2.pyi +38 -0
  97. metalstack/api/v2/user_pb2_grpc.py +81 -0
  98. metalstack/api/v2/version_connecpy.py +102 -0
  99. metalstack/api/v2/version_pb2.py +46 -0
  100. metalstack/api/v2/version_pb2.pyi +29 -0
  101. metalstack/api/v2/version_pb2_grpc.py +81 -0
  102. metalstack/infra/__init__.py +0 -0
  103. metalstack/infra/v2/__init__.py +0 -0
  104. metalstack/infra/v2/bmc_connecpy.py +102 -0
  105. metalstack/infra/v2/bmc_pb2.py +44 -0
  106. metalstack/infra/v2/bmc_pb2.pyi +14 -0
  107. metalstack/infra/v2/bmc_pb2_grpc.py +81 -0
@@ -0,0 +1,169 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from metalstack.api.v2 import image_pb2 as metalstack_dot_api_dot_v2_dot_image__pb2
6
+
7
+
8
+ class ImageServiceStub(object):
9
+ """ImageService serves image related functions
10
+ """
11
+
12
+ def __init__(self, channel):
13
+ """Constructor.
14
+
15
+ Args:
16
+ channel: A grpc.Channel.
17
+ """
18
+ self.Get = channel.unary_unary(
19
+ '/metalstack.api.v2.ImageService/Get',
20
+ request_serializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceGetRequest.SerializeToString,
21
+ response_deserializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceGetResponse.FromString,
22
+ _registered_method=True)
23
+ self.List = channel.unary_unary(
24
+ '/metalstack.api.v2.ImageService/List',
25
+ request_serializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceListRequest.SerializeToString,
26
+ response_deserializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceListResponse.FromString,
27
+ _registered_method=True)
28
+ self.Latest = channel.unary_unary(
29
+ '/metalstack.api.v2.ImageService/Latest',
30
+ request_serializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceLatestRequest.SerializeToString,
31
+ response_deserializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceLatestResponse.FromString,
32
+ _registered_method=True)
33
+
34
+
35
+ class ImageServiceServicer(object):
36
+ """ImageService serves image related functions
37
+ """
38
+
39
+ def Get(self, request, context):
40
+ """Get a image
41
+ """
42
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
43
+ context.set_details('Method not implemented!')
44
+ raise NotImplementedError('Method not implemented!')
45
+
46
+ def List(self, request, context):
47
+ """List all images
48
+ """
49
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
50
+ context.set_details('Method not implemented!')
51
+ raise NotImplementedError('Method not implemented!')
52
+
53
+ def Latest(self, request, context):
54
+ """Latest image for a specific os
55
+ """
56
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
57
+ context.set_details('Method not implemented!')
58
+ raise NotImplementedError('Method not implemented!')
59
+
60
+
61
+ def add_ImageServiceServicer_to_server(servicer, server):
62
+ rpc_method_handlers = {
63
+ 'Get': grpc.unary_unary_rpc_method_handler(
64
+ servicer.Get,
65
+ request_deserializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceGetRequest.FromString,
66
+ response_serializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceGetResponse.SerializeToString,
67
+ ),
68
+ 'List': grpc.unary_unary_rpc_method_handler(
69
+ servicer.List,
70
+ request_deserializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceListRequest.FromString,
71
+ response_serializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceListResponse.SerializeToString,
72
+ ),
73
+ 'Latest': grpc.unary_unary_rpc_method_handler(
74
+ servicer.Latest,
75
+ request_deserializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceLatestRequest.FromString,
76
+ response_serializer=metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceLatestResponse.SerializeToString,
77
+ ),
78
+ }
79
+ generic_handler = grpc.method_handlers_generic_handler(
80
+ 'metalstack.api.v2.ImageService', rpc_method_handlers)
81
+ server.add_generic_rpc_handlers((generic_handler,))
82
+ server.add_registered_method_handlers('metalstack.api.v2.ImageService', rpc_method_handlers)
83
+
84
+
85
+ # This class is part of an EXPERIMENTAL API.
86
+ class ImageService(object):
87
+ """ImageService serves image related functions
88
+ """
89
+
90
+ @staticmethod
91
+ def Get(request,
92
+ target,
93
+ options=(),
94
+ channel_credentials=None,
95
+ call_credentials=None,
96
+ insecure=False,
97
+ compression=None,
98
+ wait_for_ready=None,
99
+ timeout=None,
100
+ metadata=None):
101
+ return grpc.experimental.unary_unary(
102
+ request,
103
+ target,
104
+ '/metalstack.api.v2.ImageService/Get',
105
+ metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceGetRequest.SerializeToString,
106
+ metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceGetResponse.FromString,
107
+ options,
108
+ channel_credentials,
109
+ insecure,
110
+ call_credentials,
111
+ compression,
112
+ wait_for_ready,
113
+ timeout,
114
+ metadata,
115
+ _registered_method=True)
116
+
117
+ @staticmethod
118
+ def List(request,
119
+ target,
120
+ options=(),
121
+ channel_credentials=None,
122
+ call_credentials=None,
123
+ insecure=False,
124
+ compression=None,
125
+ wait_for_ready=None,
126
+ timeout=None,
127
+ metadata=None):
128
+ return grpc.experimental.unary_unary(
129
+ request,
130
+ target,
131
+ '/metalstack.api.v2.ImageService/List',
132
+ metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceListRequest.SerializeToString,
133
+ metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceListResponse.FromString,
134
+ options,
135
+ channel_credentials,
136
+ insecure,
137
+ call_credentials,
138
+ compression,
139
+ wait_for_ready,
140
+ timeout,
141
+ metadata,
142
+ _registered_method=True)
143
+
144
+ @staticmethod
145
+ def Latest(request,
146
+ target,
147
+ options=(),
148
+ channel_credentials=None,
149
+ call_credentials=None,
150
+ insecure=False,
151
+ compression=None,
152
+ wait_for_ready=None,
153
+ timeout=None,
154
+ metadata=None):
155
+ return grpc.experimental.unary_unary(
156
+ request,
157
+ target,
158
+ '/metalstack.api.v2.ImageService/Latest',
159
+ metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceLatestRequest.SerializeToString,
160
+ metalstack_dot_api_dot_v2_dot_image__pb2.ImageServiceLatestResponse.FromString,
161
+ options,
162
+ channel_credentials,
163
+ insecure,
164
+ call_credentials,
165
+ compression,
166
+ wait_for_ready,
167
+ timeout,
168
+ metadata,
169
+ _registered_method=True)
@@ -0,0 +1,326 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by https://github.com/i2y/connecpy/protoc-gen-connecpy. DO NOT EDIT!
3
+ # source: metalstack/api/v2/ip.proto
4
+
5
+ from typing import Optional, Protocol, Union
6
+
7
+ import httpx
8
+
9
+ from connecpy.async_client import AsyncConnecpyClient
10
+ from connecpy.base import Endpoint
11
+ from connecpy.server import ConnecpyServer
12
+ from connecpy.client import ConnecpyClient
13
+ from connecpy.context import ClientContext, ServiceContext
14
+ import metalstack.api.v2.ip_pb2 as metalstack_dot_api_dot_v2_dot_ip__pb2
15
+
16
+
17
+ class IPService(Protocol):
18
+ async def Get(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse: ...
19
+ async def Create(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse: ...
20
+ async def Update(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse: ...
21
+ async def List(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse: ...
22
+ async def Delete(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse: ...
23
+
24
+
25
+ class IPServiceServer(ConnecpyServer):
26
+ def __init__(self, *, service: IPService, server_path_prefix=""):
27
+ super().__init__()
28
+ self._prefix = f"{server_path_prefix}/metalstack.api.v2.IPService"
29
+ self._endpoints = {
30
+ "Get": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse](
31
+ service_name="IPService",
32
+ name="Get",
33
+ function=getattr(service, "Get"),
34
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetRequest,
35
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse,
36
+ allowed_methods=("POST",),
37
+ ),
38
+ "Create": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse](
39
+ service_name="IPService",
40
+ name="Create",
41
+ function=getattr(service, "Create"),
42
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateRequest,
43
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse,
44
+ allowed_methods=("POST",),
45
+ ),
46
+ "Update": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse](
47
+ service_name="IPService",
48
+ name="Update",
49
+ function=getattr(service, "Update"),
50
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateRequest,
51
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse,
52
+ allowed_methods=("POST",),
53
+ ),
54
+ "List": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse](
55
+ service_name="IPService",
56
+ name="List",
57
+ function=getattr(service, "List"),
58
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListRequest,
59
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse,
60
+ allowed_methods=("POST",),
61
+ ),
62
+ "Delete": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse](
63
+ service_name="IPService",
64
+ name="Delete",
65
+ function=getattr(service, "Delete"),
66
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteRequest,
67
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse,
68
+ allowed_methods=("POST",),
69
+ ),
70
+ }
71
+
72
+ def serviceName(self):
73
+ return "metalstack.api.v2.IPService"
74
+
75
+
76
+ class IPServiceSync(Protocol):
77
+ def Get(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse: ...
78
+ def Create(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse: ...
79
+ def Update(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse: ...
80
+ def List(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse: ...
81
+ def Delete(self, req: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteRequest, ctx: ServiceContext) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse: ...
82
+
83
+
84
+ class IPServiceServerSync(ConnecpyServer):
85
+ def __init__(self, *, service: IPServiceSync, server_path_prefix=""):
86
+ super().__init__()
87
+ self._prefix = f"{server_path_prefix}/metalstack.api.v2.IPService"
88
+ self._endpoints = {
89
+ "Get": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse](
90
+ service_name="IPService",
91
+ name="Get",
92
+ function=getattr(service, "Get"),
93
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetRequest,
94
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse,
95
+ allowed_methods=("POST",),
96
+ ),
97
+ "Create": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse](
98
+ service_name="IPService",
99
+ name="Create",
100
+ function=getattr(service, "Create"),
101
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateRequest,
102
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse,
103
+ allowed_methods=("POST",),
104
+ ),
105
+ "Update": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse](
106
+ service_name="IPService",
107
+ name="Update",
108
+ function=getattr(service, "Update"),
109
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateRequest,
110
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse,
111
+ allowed_methods=("POST",),
112
+ ),
113
+ "List": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse](
114
+ service_name="IPService",
115
+ name="List",
116
+ function=getattr(service, "List"),
117
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListRequest,
118
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse,
119
+ allowed_methods=("POST",),
120
+ ),
121
+ "Delete": Endpoint[metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteRequest, metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse](
122
+ service_name="IPService",
123
+ name="Delete",
124
+ function=getattr(service, "Delete"),
125
+ input=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteRequest,
126
+ output=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse,
127
+ allowed_methods=("POST",),
128
+ ),
129
+ }
130
+
131
+ def serviceName(self):
132
+ return "metalstack.api.v2.IPService"
133
+
134
+
135
+ class IPServiceClient(ConnecpyClient):
136
+ def Get(
137
+ self,
138
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetRequest,
139
+ *,
140
+ ctx: Optional[ClientContext] = None,
141
+ server_path_prefix: str = "",
142
+ **kwargs,
143
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse:
144
+ method = "POST"
145
+ return self._make_request(
146
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/Get",
147
+ ctx=ctx,
148
+ request=request,
149
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse,
150
+ method=method,
151
+ **kwargs,
152
+ )
153
+
154
+ def Create(
155
+ self,
156
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateRequest,
157
+ *,
158
+ ctx: Optional[ClientContext] = None,
159
+ server_path_prefix: str = "",
160
+ **kwargs,
161
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse:
162
+ method = "POST"
163
+ return self._make_request(
164
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/Create",
165
+ ctx=ctx,
166
+ request=request,
167
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse,
168
+ method=method,
169
+ **kwargs,
170
+ )
171
+
172
+ def Update(
173
+ self,
174
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateRequest,
175
+ *,
176
+ ctx: Optional[ClientContext] = None,
177
+ server_path_prefix: str = "",
178
+ **kwargs,
179
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse:
180
+ method = "POST"
181
+ return self._make_request(
182
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/Update",
183
+ ctx=ctx,
184
+ request=request,
185
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse,
186
+ method=method,
187
+ **kwargs,
188
+ )
189
+
190
+ def List(
191
+ self,
192
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListRequest,
193
+ *,
194
+ ctx: Optional[ClientContext] = None,
195
+ server_path_prefix: str = "",
196
+ **kwargs,
197
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse:
198
+ method = "POST"
199
+ return self._make_request(
200
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/List",
201
+ ctx=ctx,
202
+ request=request,
203
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse,
204
+ method=method,
205
+ **kwargs,
206
+ )
207
+
208
+ def Delete(
209
+ self,
210
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteRequest,
211
+ *,
212
+ ctx: Optional[ClientContext] = None,
213
+ server_path_prefix: str = "",
214
+ **kwargs,
215
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse:
216
+ method = "POST"
217
+ return self._make_request(
218
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/Delete",
219
+ ctx=ctx,
220
+ request=request,
221
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse,
222
+ method=method,
223
+ **kwargs,
224
+ )
225
+
226
+
227
+ class AsyncIPServiceClient(AsyncConnecpyClient):
228
+ async def Get(
229
+ self,
230
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetRequest,
231
+ *,
232
+ ctx: Optional[ClientContext] = None,
233
+ server_path_prefix: str = "",
234
+ session: Union[httpx.AsyncClient, None] = None,
235
+ **kwargs,
236
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse:
237
+ method = "POST"
238
+ return await self._make_request(
239
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/Get",
240
+ ctx=ctx,
241
+ request=request,
242
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceGetResponse,
243
+ method=method,
244
+ session=session,
245
+ **kwargs,
246
+ )
247
+
248
+ async def Create(
249
+ self,
250
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateRequest,
251
+ *,
252
+ ctx: Optional[ClientContext] = None,
253
+ server_path_prefix: str = "",
254
+ session: Union[httpx.AsyncClient, None] = None,
255
+ **kwargs,
256
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse:
257
+ method = "POST"
258
+ return await self._make_request(
259
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/Create",
260
+ ctx=ctx,
261
+ request=request,
262
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceCreateResponse,
263
+ method=method,
264
+ session=session,
265
+ **kwargs,
266
+ )
267
+
268
+ async def Update(
269
+ self,
270
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateRequest,
271
+ *,
272
+ ctx: Optional[ClientContext] = None,
273
+ server_path_prefix: str = "",
274
+ session: Union[httpx.AsyncClient, None] = None,
275
+ **kwargs,
276
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse:
277
+ method = "POST"
278
+ return await self._make_request(
279
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/Update",
280
+ ctx=ctx,
281
+ request=request,
282
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceUpdateResponse,
283
+ method=method,
284
+ session=session,
285
+ **kwargs,
286
+ )
287
+
288
+ async def List(
289
+ self,
290
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListRequest,
291
+ *,
292
+ ctx: Optional[ClientContext] = None,
293
+ server_path_prefix: str = "",
294
+ session: Union[httpx.AsyncClient, None] = None,
295
+ **kwargs,
296
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse:
297
+ method = "POST"
298
+ return await self._make_request(
299
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/List",
300
+ ctx=ctx,
301
+ request=request,
302
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceListResponse,
303
+ method=method,
304
+ session=session,
305
+ **kwargs,
306
+ )
307
+
308
+ async def Delete(
309
+ self,
310
+ request: metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteRequest,
311
+ *,
312
+ ctx: Optional[ClientContext] = None,
313
+ server_path_prefix: str = "",
314
+ session: Union[httpx.AsyncClient, None] = None,
315
+ **kwargs,
316
+ ) -> metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse:
317
+ method = "POST"
318
+ return await self._make_request(
319
+ url=f"{server_path_prefix}/metalstack.api.v2.IPService/Delete",
320
+ ctx=ctx,
321
+ request=request,
322
+ response_class=metalstack_dot_api_dot_v2_dot_ip__pb2.IPServiceDeleteResponse,
323
+ method=method,
324
+ session=session,
325
+ **kwargs,
326
+ )
@@ -0,0 +1,159 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: metalstack/api/v2/ip.proto
5
+ # Protobuf Python Version: 6.31.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
+ 6,
15
+ 31,
16
+ 1,
17
+ '',
18
+ 'metalstack/api/v2/ip.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
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1ametalstack/api/v2/ip.proto\x12\x11metalstack.api.v2\x1a\x1b\x62uf/validate/validate.proto\x1a\x1emetalstack/api/v2/common.proto\"\xf2\x02\n\x02IP\x12\x1c\n\x04uuid\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x04uuid\x12+\n\x04meta\x18\x02 \x01(\x0b\x32\x17.metalstack.api.v2.MetaR\x04meta\x12\x17\n\x02ip\x18\x03 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x02ip\x12\x1e\n\x04name\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x04name\x12*\n\x0b\x64\x65scription\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01R\x0b\x64\x65scription\x12$\n\x07network\x18\x06 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07network\x12\"\n\x07project\x18\x07 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12\x37\n\x04type\x18\x08 \x01(\x0e\x32\x19.metalstack.api.v2.IPTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x04type\x12+\n\tnamespace\x18\t \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\tnamespace\x88\x01\x01\x42\x0c\n\n_namespace\"\x8d\x01\n\x13IPServiceGetRequest\x12\x17\n\x02ip\x18\x01 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x02ip\x12\"\n\x07project\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12+\n\tnamespace\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x00R\tnamespace\x88\x01\x01\x42\x0c\n\n_namespace\"\xaa\x04\n\x16IPServiceCreateRequest\x12$\n\x07network\x18\x01 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01R\x07network\x12\"\n\x07project\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x1c\n\x02ip\x18\x05 \x01(\tB\x07\xbaH\x04r\x02p\x01H\x02R\x02ip\x88\x01\x01\x12,\n\nmachine_id\x18\x06 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x03R\tmachineId\x88\x01\x01\x12\x36\n\x06labels\x18\x07 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x04R\x06labels\x88\x01\x01\x12<\n\x04type\x18\x08 \x01(\x0e\x32\x19.metalstack.api.v2.IPTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x05R\x04type\x88\x01\x01\x12X\n\x0e\x61\x64\x64ress_family\x18\t \x01(\x0e\x32\".metalstack.api.v2.IPAddressFamilyB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x06R\raddressFamily\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x05\n\x03_ipB\r\n\x0b_machine_idB\t\n\x07_labelsB\x07\n\x05_typeB\x11\n\x0f_address_family\"\xd4\x02\n\x16IPServiceUpdateRequest\x12\x17\n\x02ip\x18\x01 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x02ip\x12\"\n\x07project\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12#\n\x04name\x18\x03 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x00R\x04name\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x04 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x01H\x01R\x0b\x64\x65scription\x88\x01\x01\x12<\n\x04type\x18\x05 \x01(\x0e\x32\x19.metalstack.api.v2.IPTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x02R\x04type\x88\x01\x01\x12<\n\x06labels\x18\x06 \x01(\x0b\x32\x1f.metalstack.api.v2.UpdateLabelsH\x03R\x06labels\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x07\n\x05_typeB\t\n\x07_labels\"l\n\x14IPServiceListRequest\x12\"\n\x07project\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\x12\x30\n\x05query\x18\x02 \x01(\x0b\x32\x1a.metalstack.api.v2.IPQueryR\x05query\"\xb6\x05\n\x07IPQuery\x12\x1c\n\x02ip\x18\x01 \x01(\tB\x07\xbaH\x04r\x02p\x01H\x00R\x02ip\x88\x01\x01\x12)\n\x07network\x18\x02 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x01R\x07network\x88\x01\x01\x12\'\n\x07project\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x02R\x07project\x88\x01\x01\x12#\n\x04name\x18\x04 \x01(\tB\n\xbaH\x07r\x05\x10\x02\x18\x80\x01H\x03R\x04name\x88\x01\x01\x12!\n\x04uuid\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x04R\x04uuid\x88\x01\x01\x12,\n\nmachine_id\x18\x06 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\x05R\tmachineId\x88\x01\x01\x12:\n\x12parent_prefix_cidr\x18\x07 \x01(\tB\x07\xbaH\x04r\x02p\x01H\x06R\x10parentPrefixCidr\x88\x01\x01\x12\x36\n\x06labels\x18\x08 \x01(\x0b\x32\x19.metalstack.api.v2.LabelsH\x07R\x06labels\x88\x01\x01\x12<\n\x04type\x18\t \x01(\x0e\x32\x19.metalstack.api.v2.IPTypeB\x08\xbaH\x05\x82\x01\x02\x10\x01H\x08R\x04type\x88\x01\x01\x12X\n\x0e\x61\x64\x64ress_family\x18\n \x01(\x0e\x32\".metalstack.api.v2.IPAddressFamilyB\x08\xbaH\x05\x82\x01\x02\x10\x01H\tR\raddressFamily\x88\x01\x01\x12+\n\tnamespace\x18\x0b \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01H\nR\tnamespace\x88\x01\x01\x42\x05\n\x03_ipB\n\n\x08_networkB\n\n\x08_projectB\x07\n\x05_nameB\x07\n\x05_uuidB\r\n\x0b_machine_idB\x15\n\x13_parent_prefix_cidrB\t\n\x07_labelsB\x07\n\x05_typeB\x11\n\x0f_address_familyB\x0c\n\n_namespace\"U\n\x16IPServiceDeleteRequest\x12\x17\n\x02ip\x18\x01 \x01(\tB\x07\xbaH\x04r\x02p\x01R\x02ip\x12\"\n\x07project\x18\x02 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\x07project\"=\n\x14IPServiceGetResponse\x12%\n\x02ip\x18\x01 \x01(\x0b\x32\x15.metalstack.api.v2.IPR\x02ip\"@\n\x17IPServiceUpdateResponse\x12%\n\x02ip\x18\x01 \x01(\x0b\x32\x15.metalstack.api.v2.IPR\x02ip\"@\n\x17IPServiceCreateResponse\x12%\n\x02ip\x18\x01 \x01(\x0b\x32\x15.metalstack.api.v2.IPR\x02ip\"@\n\x15IPServiceListResponse\x12\'\n\x03ips\x18\x01 \x03(\x0b\x32\x15.metalstack.api.v2.IPR\x03ips\"@\n\x17IPServiceDeleteResponse\x12%\n\x02ip\x18\x01 \x01(\x0b\x32\x15.metalstack.api.v2.IPR\x02ip*g\n\x06IPType\x12\x17\n\x13IP_TYPE_UNSPECIFIED\x10\x00\x12$\n\x11IP_TYPE_EPHEMERAL\x10\x01\x1a\r\x82\xb2\x19\tephemeral\x12\x1e\n\x0eIP_TYPE_STATIC\x10\x02\x1a\n\x82\xb2\x19\x06static*|\n\x0fIPAddressFamily\x12!\n\x1dIP_ADDRESS_FAMILY_UNSPECIFIED\x10\x00\x12\"\n\x14IP_ADDRESS_FAMILY_V4\x10\x01\x1a\x08\x82\xb2\x19\x04ipv4\x12\"\n\x14IP_ADDRESS_FAMILY_V6\x10\x02\x1a\x08\x82\xb2\x19\x04ipv62\x93\x04\n\tIPService\x12\x63\n\x03Get\x12&.metalstack.api.v2.IPServiceGetRequest\x1a\'.metalstack.api.v2.IPServiceGetResponse\"\x0b\xca\xf3\x18\x03\x01\x02\x03\xe0\xf3\x18\x02\x12g\n\x06\x43reate\x12).metalstack.api.v2.IPServiceCreateRequest\x1a*.metalstack.api.v2.IPServiceCreateResponse\"\x06\xca\xf3\x18\x02\x01\x02\x12g\n\x06Update\x12).metalstack.api.v2.IPServiceUpdateRequest\x1a*.metalstack.api.v2.IPServiceUpdateResponse\"\x06\xca\xf3\x18\x02\x01\x02\x12\x66\n\x04List\x12\'.metalstack.api.v2.IPServiceListRequest\x1a(.metalstack.api.v2.IPServiceListResponse\"\x0b\xca\xf3\x18\x03\x01\x02\x03\xe0\xf3\x18\x02\x12g\n\x06\x44\x65lete\x12).metalstack.api.v2.IPServiceDeleteRequest\x1a*.metalstack.api.v2.IPServiceDeleteResponse\"\x06\xca\xf3\x18\x02\x01\x02\x42\xbd\x01\n\x15\x63om.metalstack.api.v2B\x07IpProtoP\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
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'metalstack.api.v2.ip_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\025com.metalstack.api.v2B\007IpProtoP\001Z5github.com/metal-stack/api/go/metalstack/api/v2;apiv2\242\002\003MAX\252\002\021Metalstack.Api.V2\312\002\021Metalstack\\Api\\V2\342\002\035Metalstack\\Api\\V2\\GPBMetadata\352\002\023Metalstack::Api::V2'
37
+ _globals['_IPTYPE'].values_by_name["IP_TYPE_EPHEMERAL"]._loaded_options = None
38
+ _globals['_IPTYPE'].values_by_name["IP_TYPE_EPHEMERAL"]._serialized_options = b'\202\262\031\tephemeral'
39
+ _globals['_IPTYPE'].values_by_name["IP_TYPE_STATIC"]._loaded_options = None
40
+ _globals['_IPTYPE'].values_by_name["IP_TYPE_STATIC"]._serialized_options = b'\202\262\031\006static'
41
+ _globals['_IPADDRESSFAMILY'].values_by_name["IP_ADDRESS_FAMILY_V4"]._loaded_options = None
42
+ _globals['_IPADDRESSFAMILY'].values_by_name["IP_ADDRESS_FAMILY_V4"]._serialized_options = b'\202\262\031\004ipv4'
43
+ _globals['_IPADDRESSFAMILY'].values_by_name["IP_ADDRESS_FAMILY_V6"]._loaded_options = None
44
+ _globals['_IPADDRESSFAMILY'].values_by_name["IP_ADDRESS_FAMILY_V6"]._serialized_options = b'\202\262\031\004ipv6'
45
+ _globals['_IP'].fields_by_name['uuid']._loaded_options = None
46
+ _globals['_IP'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
47
+ _globals['_IP'].fields_by_name['ip']._loaded_options = None
48
+ _globals['_IP'].fields_by_name['ip']._serialized_options = b'\272H\004r\002p\001'
49
+ _globals['_IP'].fields_by_name['name']._loaded_options = None
50
+ _globals['_IP'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
51
+ _globals['_IP'].fields_by_name['description']._loaded_options = None
52
+ _globals['_IP'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\200\001'
53
+ _globals['_IP'].fields_by_name['network']._loaded_options = None
54
+ _globals['_IP'].fields_by_name['network']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
55
+ _globals['_IP'].fields_by_name['project']._loaded_options = None
56
+ _globals['_IP'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
57
+ _globals['_IP'].fields_by_name['type']._loaded_options = None
58
+ _globals['_IP'].fields_by_name['type']._serialized_options = b'\272H\005\202\001\002\020\001'
59
+ _globals['_IP'].fields_by_name['namespace']._loaded_options = None
60
+ _globals['_IP'].fields_by_name['namespace']._serialized_options = b'\272H\005r\003\260\001\001'
61
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['ip']._loaded_options = None
62
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['ip']._serialized_options = b'\272H\004r\002p\001'
63
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['project']._loaded_options = None
64
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
65
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['namespace']._loaded_options = None
66
+ _globals['_IPSERVICEGETREQUEST'].fields_by_name['namespace']._serialized_options = b'\272H\005r\003\260\001\001'
67
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['network']._loaded_options = None
68
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['network']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
69
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['project']._loaded_options = None
70
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
71
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['name']._loaded_options = None
72
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
73
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['description']._loaded_options = None
74
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\200\001'
75
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['ip']._loaded_options = None
76
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['ip']._serialized_options = b'\272H\004r\002p\001'
77
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['machine_id']._loaded_options = None
78
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['machine_id']._serialized_options = b'\272H\005r\003\260\001\001'
79
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['type']._loaded_options = None
80
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['type']._serialized_options = b'\272H\005\202\001\002\020\001'
81
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['address_family']._loaded_options = None
82
+ _globals['_IPSERVICECREATEREQUEST'].fields_by_name['address_family']._serialized_options = b'\272H\005\202\001\002\020\001'
83
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['ip']._loaded_options = None
84
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['ip']._serialized_options = b'\272H\004r\002p\001'
85
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['project']._loaded_options = None
86
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
87
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['name']._loaded_options = None
88
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
89
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['description']._loaded_options = None
90
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\200\001'
91
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['type']._loaded_options = None
92
+ _globals['_IPSERVICEUPDATEREQUEST'].fields_by_name['type']._serialized_options = b'\272H\005\202\001\002\020\001'
93
+ _globals['_IPSERVICELISTREQUEST'].fields_by_name['project']._loaded_options = None
94
+ _globals['_IPSERVICELISTREQUEST'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
95
+ _globals['_IPQUERY'].fields_by_name['ip']._loaded_options = None
96
+ _globals['_IPQUERY'].fields_by_name['ip']._serialized_options = b'\272H\004r\002p\001'
97
+ _globals['_IPQUERY'].fields_by_name['network']._loaded_options = None
98
+ _globals['_IPQUERY'].fields_by_name['network']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
99
+ _globals['_IPQUERY'].fields_by_name['project']._loaded_options = None
100
+ _globals['_IPQUERY'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
101
+ _globals['_IPQUERY'].fields_by_name['name']._loaded_options = None
102
+ _globals['_IPQUERY'].fields_by_name['name']._serialized_options = b'\272H\007r\005\020\002\030\200\001'
103
+ _globals['_IPQUERY'].fields_by_name['uuid']._loaded_options = None
104
+ _globals['_IPQUERY'].fields_by_name['uuid']._serialized_options = b'\272H\005r\003\260\001\001'
105
+ _globals['_IPQUERY'].fields_by_name['machine_id']._loaded_options = None
106
+ _globals['_IPQUERY'].fields_by_name['machine_id']._serialized_options = b'\272H\005r\003\260\001\001'
107
+ _globals['_IPQUERY'].fields_by_name['parent_prefix_cidr']._loaded_options = None
108
+ _globals['_IPQUERY'].fields_by_name['parent_prefix_cidr']._serialized_options = b'\272H\004r\002p\001'
109
+ _globals['_IPQUERY'].fields_by_name['type']._loaded_options = None
110
+ _globals['_IPQUERY'].fields_by_name['type']._serialized_options = b'\272H\005\202\001\002\020\001'
111
+ _globals['_IPQUERY'].fields_by_name['address_family']._loaded_options = None
112
+ _globals['_IPQUERY'].fields_by_name['address_family']._serialized_options = b'\272H\005\202\001\002\020\001'
113
+ _globals['_IPQUERY'].fields_by_name['namespace']._loaded_options = None
114
+ _globals['_IPQUERY'].fields_by_name['namespace']._serialized_options = b'\272H\005r\003\260\001\001'
115
+ _globals['_IPSERVICEDELETEREQUEST'].fields_by_name['ip']._loaded_options = None
116
+ _globals['_IPSERVICEDELETEREQUEST'].fields_by_name['ip']._serialized_options = b'\272H\004r\002p\001'
117
+ _globals['_IPSERVICEDELETEREQUEST'].fields_by_name['project']._loaded_options = None
118
+ _globals['_IPSERVICEDELETEREQUEST'].fields_by_name['project']._serialized_options = b'\272H\005r\003\260\001\001'
119
+ _globals['_IPSERVICE'].methods_by_name['Get']._loaded_options = None
120
+ _globals['_IPSERVICE'].methods_by_name['Get']._serialized_options = b'\312\363\030\003\001\002\003\340\363\030\002'
121
+ _globals['_IPSERVICE'].methods_by_name['Create']._loaded_options = None
122
+ _globals['_IPSERVICE'].methods_by_name['Create']._serialized_options = b'\312\363\030\002\001\002'
123
+ _globals['_IPSERVICE'].methods_by_name['Update']._loaded_options = None
124
+ _globals['_IPSERVICE'].methods_by_name['Update']._serialized_options = b'\312\363\030\002\001\002'
125
+ _globals['_IPSERVICE'].methods_by_name['List']._loaded_options = None
126
+ _globals['_IPSERVICE'].methods_by_name['List']._serialized_options = b'\312\363\030\003\001\002\003\340\363\030\002'
127
+ _globals['_IPSERVICE'].methods_by_name['Delete']._loaded_options = None
128
+ _globals['_IPSERVICE'].methods_by_name['Delete']._serialized_options = b'\312\363\030\002\001\002'
129
+ _globals['_IPTYPE']._serialized_start=2748
130
+ _globals['_IPTYPE']._serialized_end=2851
131
+ _globals['_IPADDRESSFAMILY']._serialized_start=2853
132
+ _globals['_IPADDRESSFAMILY']._serialized_end=2977
133
+ _globals['_IP']._serialized_start=111
134
+ _globals['_IP']._serialized_end=481
135
+ _globals['_IPSERVICEGETREQUEST']._serialized_start=484
136
+ _globals['_IPSERVICEGETREQUEST']._serialized_end=625
137
+ _globals['_IPSERVICECREATEREQUEST']._serialized_start=628
138
+ _globals['_IPSERVICECREATEREQUEST']._serialized_end=1182
139
+ _globals['_IPSERVICEUPDATEREQUEST']._serialized_start=1185
140
+ _globals['_IPSERVICEUPDATEREQUEST']._serialized_end=1525
141
+ _globals['_IPSERVICELISTREQUEST']._serialized_start=1527
142
+ _globals['_IPSERVICELISTREQUEST']._serialized_end=1635
143
+ _globals['_IPQUERY']._serialized_start=1638
144
+ _globals['_IPQUERY']._serialized_end=2332
145
+ _globals['_IPSERVICEDELETEREQUEST']._serialized_start=2334
146
+ _globals['_IPSERVICEDELETEREQUEST']._serialized_end=2419
147
+ _globals['_IPSERVICEGETRESPONSE']._serialized_start=2421
148
+ _globals['_IPSERVICEGETRESPONSE']._serialized_end=2482
149
+ _globals['_IPSERVICEUPDATERESPONSE']._serialized_start=2484
150
+ _globals['_IPSERVICEUPDATERESPONSE']._serialized_end=2548
151
+ _globals['_IPSERVICECREATERESPONSE']._serialized_start=2550
152
+ _globals['_IPSERVICECREATERESPONSE']._serialized_end=2614
153
+ _globals['_IPSERVICELISTRESPONSE']._serialized_start=2616
154
+ _globals['_IPSERVICELISTRESPONSE']._serialized_end=2680
155
+ _globals['_IPSERVICEDELETERESPONSE']._serialized_start=2682
156
+ _globals['_IPSERVICEDELETERESPONSE']._serialized_end=2746
157
+ _globals['_IPSERVICE']._serialized_start=2980
158
+ _globals['_IPSERVICE']._serialized_end=3511
159
+ # @@protoc_insertion_point(module_scope)