a38e65be47
Correct issues if no interfaces/disks are present
2020-11-10 16:06:43 -05:00
9053edacd8
Bump version to 0.9.4
v0.9.4
2020-11-10 15:33:50 -05:00
beb62c9f3d
Readd erroneously removed blk_file.write
2020-11-10 15:33:29 -05:00
baac8f24fd
Bump version to 0.9.3
v0.9.3
2020-11-09 10:28:15 -05:00
e6bca5b6a9
Add override args for RequestParser
...
Properly fixes the issue with OVA upload bodies by allowing the
restriction of the 'location' directive when parsing specific request
args. Thus the 'form' location can be included by default but removed
for those parsers that have a file body.
2020-11-09 10:26:01 -05:00
b169620eee
Revert "Ensure args are checked against form body"
...
This reverts commit d63e757c32e120dfd4841290cfdb0191fb591083.
This did not work; by readding 'form' checking, the attempt to isolate
the large file upload was again thwarted. Another solution, perhaps
specific to the uploads, is needed instead.
2020-11-09 09:59:33 -05:00
ee4d682b29
Correct faulty function naming
2020-11-09 09:45:54 -05:00
b221e0e954
Add GitHub CodeQL analysis config
2020-11-08 03:54:10 -05:00
6fa173648f
Fix faulty debian changelog
v0.9.2
2020-11-08 02:17:19 -05:00
626a502de7
Fix error in changelog
2020-11-08 02:16:36 -05:00
5e93edde3c
Improve bump-version title
2020-11-08 02:05:59 -05:00
11702f4bc8
Bump version to 0.9.2
2020-11-08 02:03:29 -05:00
f4cb9056b0
Add bump-version script
2020-11-08 02:03:25 -05:00
a4536c31d4
Merge branch 'vm-cli-modifications'
...
Closes #101
2020-11-08 01:03:58 -05:00
569dcd84a4
Implement disk modification on the CLI
...
Adds functions for listing, adding, and removing disks from the CLI,
without editing the XML directly.
References #101
2020-11-08 00:57:13 -05:00
a770b65f6b
Correct bad field in libvirt schema
2020-11-08 00:57:13 -05:00
3ae6a469aa
Improve messages in here docs
2020-11-08 00:57:13 -05:00
8a56414cae
Add message for why commit takes time
2020-11-08 00:57:13 -05:00
9c339f4191
Add proper support for cluster networks
...
Supports adding the cluster networks (upstream, cluster, storage) as
valid networks for a VM.
References #101
2020-11-08 00:57:13 -05:00
1ff5d8bf46
Implement network modification on the CLI
...
Adds functions for listing, adding, and removing networks from the CLI,
without editing the XML directly.
References #101
2020-11-08 00:57:13 -05:00
18d3fc8431
Remove serial and VNC console editors
...
References #101
2020-11-08 00:57:13 -05:00
b72c415bf1
Implement memory modification on the CLI
...
Adds functions for listing and setting the memory values from the CLI,
without editing the XML directly.
References #101
2020-11-08 00:57:13 -05:00
6912bd7a2a
Add missing return statement for vm_modify
2020-11-08 00:57:13 -05:00
03d4be79b7
Implement vCPU modification on the CLI
...
Adds functions for listing and setting the vCPU and topology values from
the CLI, without editing the XML directly.
References #101
2020-11-08 00:57:13 -05:00
5f5f4dd421
Add initial VM modification parent commands
...
References #101
2020-11-08 00:57:13 -05:00
0bf130077c
Lint: W605 invalid escape sequence '<char>'
...
The previous attempt to correct these with character classes failed.
Instead, use the proper `r'blah'` regex formatting.
2020-11-07 17:41:09 -05:00
3ed97d209f
Revert "Lint: W605 invalid escape sequence '\^'"
...
This reverts commit 639937f9c2be4de57d74380072be4262fde93220.
2020-11-07 17:39:34 -05:00
f33398458e
Revert "Lint: W605 invalid escape sequence '\$'"
...
This reverts commit 76b1cafdcc0d276bb0c038992d103b6696910644.
2020-11-07 17:38:03 -05:00
d37e5a0c0b
Revert "Lint: W605 invalid escape sequence '\+'"
...
This reverts commit f787c4cb143113e84940f8c39d7ff5fe87582690.
2020-11-07 17:38:03 -05:00
893e7a616c
Revert "Lint: W605 invalid escape sequence '\-'"
...
This reverts commit db9c6eecad28068b6694c374c4f0511b17fc2323.
2020-11-07 17:38:02 -05:00
6213d39c42
Revert "Lint: W605 invalid escape sequence '\.'"
...
This reverts commit 7aaca92cdb9d6abfdd3c6d37f72783dbbaac12a9.
2020-11-07 17:38:00 -05:00
c7a289e9bb
Merge branch 'the-great-linting'
...
Complete linting of the project to standard flak8 styling.
2020-11-07 15:37:39 -05:00
34ce3bf3f8
Add pre-commit hook to repo
2020-11-07 15:32:56 -05:00
aa6f088a3e
Correct issues with model import
2020-11-07 15:24:18 -05:00
78eedf0d2e
Remove more dead code
2020-11-07 15:20:36 -05:00
f11e5f05a8
Add nicer output to lint script
2020-11-07 15:15:21 -05:00
6f66b77a00
Lint: E121/E126 continuation line under/over-indented for hanging indent
2020-11-07 15:06:21 -05:00
9135c5e3e4
Lint: E241 multiple spaces after ','
2020-11-07 14:52:39 -05:00
dad1b330e6
Lint: E241 multiple spaces after ':'
2020-11-07 14:52:27 -05:00
9dd2a24ce9
Lint: E226 missing whitespace around arithmetic operator
2020-11-07 14:50:57 -05:00
8cea77e4d8
Lint: Ignore E501 line too long
...
I don't care about this style rule. I write a lot of long lines and I
think they are visually fine.
2020-11-07 14:48:40 -05:00
260b39ebf2
Lint: E302 expected 2 blank lines, found X
2020-11-07 14:45:24 -05:00
e9643651f7
Lint: F401 'daemon_lib.ansiprint' imported but unused
...
Removing further obsolete code from daemon-lib
2020-11-07 13:50:27 -05:00
ab0b932fe3
Lint: E125 continuation line with same indent as next logical line
2020-11-07 13:49:54 -05:00
27663cbf87
Lint: E303 too many blank lines (3)
2020-11-07 13:47:25 -05:00
7475252c8e
Lint: W291 trailing whitespace
2020-11-07 13:47:02 -05:00
449f766a2c
Lint: F821 undefined name 'zk_conn'
...
Actually removes these entire sections of dead code; the daemon-common
library does no formatting at all since it is no longer used by the CLI.
2020-11-07 13:45:26 -05:00
99d723dd8b
Lint: F821 undefined name 'count'
2020-11-07 13:39:51 -05:00
6cf7f178a6
Lint: F821 undefined name 'time'
2020-11-07 13:38:54 -05:00
145b1531a4
Lint: F821 undefined name 'name'
2020-11-07 13:38:16 -05:00