boxd 0.2.13.dev756__tar.gz → 0.2.14.dev758__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.
- {boxd-0.2.13.dev756/src/boxd.egg-info → boxd-0.2.14.dev758}/PKG-INFO +4 -4
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/README.md +3 -3
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/pyproject.toml +1 -1
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_requests.py +1 -1
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758/src/boxd.egg-info}/PKG-INFO +4 -4
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/LICENSE +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/setup.cfg +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/__init__.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_client.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_credentials.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_generated/__init__.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_generated/api_pb2.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_generated/api_pb2_grpc.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_mappers.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_streaming.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_transport.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_urls.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/_version_check.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/errors.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/models.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/__init__.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/account.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/credentials.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/disks.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/domains.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/machines.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/orgs.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/snapshots.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/teams.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd/resources/vars.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd.egg-info/SOURCES.txt +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd.egg-info/dependency_links.txt +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd.egg-info/requires.txt +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/src/boxd.egg-info/top_level.txt +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/tests/test_credentials.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/tests/test_mappers.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/tests/test_namespaces.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/tests/test_requests.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/tests/test_streaming.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/tests/test_transport.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/tests/test_urls.py +0 -0
- {boxd-0.2.13.dev756 → boxd-0.2.14.dev758}/tests/test_version_check.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: boxd
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.14.dev758
|
|
4
4
|
Summary: Python SDK for the boxd cloud VM platform
|
|
5
5
|
Author: Azin
|
|
6
6
|
License-Expression: MIT
|
|
@@ -198,7 +198,7 @@ boxd.machines.create(
|
|
|
198
198
|
cmd=["/usr/local/bin/start"],
|
|
199
199
|
restart_policy="always", # "always" | "never"
|
|
200
200
|
vcpu=2,
|
|
201
|
-
memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G
|
|
201
|
+
memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G
|
|
202
202
|
disk="100G",
|
|
203
203
|
auto_suspend_timeout=300, # seconds; 0 disables
|
|
204
204
|
auto_destroy_timeout=0,
|
|
@@ -267,8 +267,8 @@ machine restored from a snapshot starts unrestricted.
|
|
|
267
267
|
|
|
268
268
|
### Sizing
|
|
269
269
|
|
|
270
|
-
There are
|
|
271
|
-
other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
|
|
270
|
+
There are four sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G. Name either dimension and
|
|
271
|
+
the other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
|
|
272
272
|
above your org's quota is refused, never quietly clamped.
|
|
273
273
|
|
|
274
274
|
A machine keeps the size it was created with, through stop/start, wake, and
|
|
@@ -166,7 +166,7 @@ boxd.machines.create(
|
|
|
166
166
|
cmd=["/usr/local/bin/start"],
|
|
167
167
|
restart_policy="always", # "always" | "never"
|
|
168
168
|
vcpu=2,
|
|
169
|
-
memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G
|
|
169
|
+
memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G
|
|
170
170
|
disk="100G",
|
|
171
171
|
auto_suspend_timeout=300, # seconds; 0 disables
|
|
172
172
|
auto_destroy_timeout=0,
|
|
@@ -235,8 +235,8 @@ machine restored from a snapshot starts unrestricted.
|
|
|
235
235
|
|
|
236
236
|
### Sizing
|
|
237
237
|
|
|
238
|
-
There are
|
|
239
|
-
other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
|
|
238
|
+
There are four sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G. Name either dimension and
|
|
239
|
+
the other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
|
|
240
240
|
above your org's quota is refused, never quietly clamped.
|
|
241
241
|
|
|
242
242
|
A machine keeps the size it was created with, through stop/start, wake, and
|
|
@@ -187,7 +187,7 @@ def resize_vm(
|
|
|
187
187
|
if vcpu is None and memory is None:
|
|
188
188
|
raise ValueError(
|
|
189
189
|
"resize needs vcpu or memory - either one names a size class "
|
|
190
|
-
"(1 vCPU/4G, 2/8G, 4/16G) and the other follows from it"
|
|
190
|
+
"(1 vCPU/4G, 2/8G, 4/16G, 8/32G) and the other follows from it"
|
|
191
191
|
)
|
|
192
192
|
return api_pb2.ResizeVmRequest(
|
|
193
193
|
vm_id=machine_id, vcpu=vcpu or 0, memory_bytes=parse_size(memory)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: boxd
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.14.dev758
|
|
4
4
|
Summary: Python SDK for the boxd cloud VM platform
|
|
5
5
|
Author: Azin
|
|
6
6
|
License-Expression: MIT
|
|
@@ -198,7 +198,7 @@ boxd.machines.create(
|
|
|
198
198
|
cmd=["/usr/local/bin/start"],
|
|
199
199
|
restart_policy="always", # "always" | "never"
|
|
200
200
|
vcpu=2,
|
|
201
|
-
memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G
|
|
201
|
+
memory="8G", # sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G
|
|
202
202
|
disk="100G",
|
|
203
203
|
auto_suspend_timeout=300, # seconds; 0 disables
|
|
204
204
|
auto_destroy_timeout=0,
|
|
@@ -267,8 +267,8 @@ machine restored from a snapshot starts unrestricted.
|
|
|
267
267
|
|
|
268
268
|
### Sizing
|
|
269
269
|
|
|
270
|
-
There are
|
|
271
|
-
other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
|
|
270
|
+
There are four sizes: 1 vCPU/4G, 2/8G, 4/16G, 8/32G. Name either dimension and
|
|
271
|
+
the other follows, so `vcpu=2` and `memory="8G"` are the same request. Anything
|
|
272
272
|
above your org's quota is refused, never quietly clamped.
|
|
273
273
|
|
|
274
274
|
A machine keeps the size it was created with, through stop/start, wake, and
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|