Dietmar Maurer
f240a2bfaa
acme-api: add debian packaging
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-17 12:13:02 +02:00
Dietmar Maurer
7c899090e4
acme-api: use product-config instead of custom acme api configuration
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-17 11:52:57 +02:00
Dietmar Maurer
0ffe40fcfa
bump proxmox-section-config to 2.0.2-1
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-17 11:04:10 +02:00
Dietmar Maurer
a2693c7046
section-config: pass filesystem paths as AsRef<Path>
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-17 10:59:20 +02:00
Dietmar Maurer
cfc155a06b
acme-api: reusable ACME api implementation.
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 12:35:14 +02:00
Dietmar Maurer
870948f1d7
bump proxmox-acme to 0.5.2
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 11:53:52 +02:00
Dietmar Maurer
c07c46cd82
acme: add async-client feature
...
The client code is copied from propxmox-backup, without the load/safe
account functionality.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 11:48:17 +02:00
Dietmar Maurer
c2450691c6
acme: allow to compile/use api types separately.
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 11:23:19 +02:00
Dietmar Maurer
b082d7dafa
system-management-api: network: add create_interface and update_interface
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 10:24:41 +02:00
Dietmar Maurer
2c0c7ca478
system-management: use ip/cidr schema types from proxmox-schema
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 09:42:10 +02:00
Dietmar Maurer
49b97b6a5f
bump proxmox-schema to 3.1.1-1
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 09:35:50 +02:00
Dietmar Maurer
31b7b070b5
schema: api-types: add ip/cidr api schemas
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-16 09:09:37 +02:00
Dietmar Maurer
b74583dffe
system-management-api: rename features (add suffix -api-types)
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-15 13:33:55 +02:00
Dietmar Maurer
3c19dd757a
rename proxmox-system-config-api to proxmox-system-management-api
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-15 13:23:42 +02:00
Dietmar Maurer
15e3779331
system-config-api: add syslog feature
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-15 12:31:50 +02:00
Dietmar Maurer
87aaa4e30a
Revert "system-config-api: network: add alias 'iface' for interface name."
...
This reverts commit a4de726601
.
Turn out we do not need this.
2024-05-14 11:50:44 +02:00
Dominik Csapak
e226ddcc90
tape: include drive activity in status
...
Since we don't query each drives status seperately, but rely on a single
call to the drives listing parameter for that, we now add the option
to query the activity there too. This makes that data avaiable for us
to show in a seperate (by default hidden) column.
Also we show the activity in the 'State' column when the drive is idle
from our perspective. This is useful when e.g. an LTO-9 tape is loaded
the first time and is calibrating, since that happens automatically.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2024-05-14 10:31:33 +02:00
Dominik Csapak
2bf32cb820
tape: add drive activity to drive status api
...
and show it in the gui for single drives. Adds the known values for the
activity to the UI.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2024-05-14 10:25:42 +02:00
Dominik Csapak
175a9b3cd5
tape: add functions to parse drive device activity
...
we use the VHF part from the DT Device Activity page for that.
This is intended to query the drive for it's current state and activity.
Currently only the activity is parsed and used.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2024-05-14 10:11:06 +02:00
Dominik Csapak
8002011f7c
tape: save 'bytes used' in tape inventory
...
and show them on the ui. This can help uses with seeing how much a tape
is used.
The value is updated on 'commit' and when the tape is changed during a
backup.
For drives not supporting the volume statistics, this is simply skipped.
Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
2024-05-14 10:07:57 +02:00
Dietmar Maurer
26c7a591eb
system-config-api: expose helpers to set ports/slaves as string (list)
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-13 12:25:07 +02:00
Dietmar Maurer
805b1d366b
system-config-api: network: add api type to update network interfaces
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-13 11:06:53 +02:00
Dietmar Maurer
c101194f5a
system-config-api: cleanup: remove useless serde rename property
2024-05-10 11:15:12 +02:00
Dietmar Maurer
a4de726601
system-config-api: network: add alias 'iface' for interface name.
...
So that we can use the Interface struct with create and update api calls (which
currently use 'iface' instead of 'name').
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-10 10:23:27 +02:00
Dietmar Maurer
e210c85d8e
system-config-api: network: add helpers to check for duplicate gateway propertie
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-10 10:08:23 +02:00
Dietmar Maurer
943cfd5417
system-config-api: network: add helpers to set bridge ports and bond slaves
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-10 09:53:27 +02:00
Dietmar Maurer
729817efd3
system-config-api: add network feature
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-10 09:53:05 +02:00
Dietmar Maurer
3e8b0ee567
system-config-api: use cargo features to sparate functionality
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-08 11:13:20 +02:00
Dietmar Maurer
770c5dbd03
system-config-api: add functions to read/write time and timezone
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-07 14:18:25 +02:00
Dietmar Maurer
751b578d6e
rename proxmox-dns-api to proxmox-system-config-api
...
Because we want to bundle system configuration APIs in one crate,
i.e. Time, DNS, Network. We may separate them in future using
cargo features.
2024-05-07 13:32:26 +02:00
Dietmar Maurer
78bd8eea24
dns-api: add feature "impl"
...
So the we can use the api types with our UI crates.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-06 13:52:57 +02:00
Dietmar Maurer
96a3656dd2
product-config: add feature "impl"
...
So the we can use the ConfigDigest with our UI crates.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-06 13:40:32 +02:00
Dietmar Maurer
53ee3f92ea
product-config: add method to detect config digest modifications.
...
Using an object method with strong typing is considered cleaner.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-06 13:01:36 +02:00
Dietmar Maurer
cb4e3776f2
dns-api: do not serlialize option None
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-06 10:29:49 +02:00
Dietmar Maurer
5d3c3a8770
dns-api: export all defined api types
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-03 09:51:34 +02:00
Dietmar Maurer
58bb112375
dns-api: add debian packaging
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-03 09:30:40 +02:00
Dietmar Maurer
03b4aed510
product-config: add debian packaging
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-03 09:29:46 +02:00
Dietmar Maurer
64e8a72a0b
fix typo in proxmox-product-config workspace dependency
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-03 09:28:33 +02:00
Dietmar Maurer
c2f85d418a
dns-api: new crate which implements the DNS api
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-02 13:04:43 +02:00
Dietmar Maurer
e64575b6a7
product-config: add rust API type for configuration digest
...
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-02 12:28:11 +02:00
Dietmar Maurer
9fc48d96d2
new crate for commonly used functions to read and write configuration files
...
Factor out functions to read and write configuration files with
product specific permissions.
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
2024-05-02 11:17:27 +02:00
Gabriel Goller
16ac3ef458
api-types: remove influxdb bucket name restrictions
...
Remove the regex for influxdb organizations and buckets. Influxdb does
not place any constraints on these names and allows all characters. This
allows influxdb organization names with slashes.
Also remove a duplicate comment and add some missing ones.
This also aligns the behavior to PVE as there are no restrictions there
either.
The motivation for this patch is this forum post:
https://forum.proxmox.com/threads/influx-db-organization-doesnt-allow-slash.145402/
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2024-04-26 17:54:51 +02:00
Thomas Lamprecht
afb48baca5
metrics: bump version to 0.3.1-1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-26 17:36:19 +02:00
Thomas Lamprecht
d426b6fe03
metrics: influxdb: inline variables into template format string
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-26 17:31:22 +02:00
Gabriel Goller
bfa73aadf8
metrics: encode influxdb org and bucket parameters
...
In order to remove the current limitations on the bucket and
organization names, we need to make sure that they are transmitted
correctly. In order to do this, we encode them using the url crate.
This way we support organization/bucket names that include slashes,
whitespaces, etc.
Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
2024-04-26 17:25:52 +02:00
Thomas Lamprecht
5987eb0c3f
sys: bump version to 0.5.4-2
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-26 17:24:23 +02:00
Thomas Lamprecht
c68b69e949
sys: bump version to 0.5.4-1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-26 16:52:46 +02:00
Stefan Lendl
f2633b462f
config: write vlan network interface
...
* Add vlan_id and vlan_raw_device fields to the Interface api type
* Write to the network config the vlan specific properties for vlan
interface type
* Add several tests to verify the functionally
Signed-off-by: Stefan Lendl <s.lendl@proxmox.com>
Tested-by: Lukas Wagner <l.wagner@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
Tested-by: Folke Gleumes <f.gleumes@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-24 21:48:50 +02:00
Thomas Lamprecht
863d760340
auth-api: bump version to 0.3.5
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-24 21:22:33 +02:00
Thomas Lamprecht
bd944b06f9
ldap: bump version to 0.2.2-1
...
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2024-04-24 21:13:45 +02:00