This patch series fixes bug #3256:
1. It ensures that general config files (e.g. storage.cfg) are decoded
from UTF-8 when deserialized. Previously, no decoding happened,
meaning that Perl interpreted the string as single bytes instead of
Unicode code points. Note: while I would have pref
Previously, no decoding happened, meaning that Perl interpreted the
string as single bytes instead of Unicode code points when reading
the password.
Also, passwords are now explicitly encoded as UTF-8, preventing issues
the other way around.
For more information, please read:
https://perldoc.perl
Previously, no decoding happened, meaning that Perl interpreted the
string as single bytes instead of Unicode code points when reading
the config. Note: while I would have preferred to decode the text
right after reading from the file, there are some Perl functions
like Digest::SHA::sha1_hex that e
The unit test should prevent the issues explained in bug #3256 from
happening in the future.
Signed-off-by: Laurențiu Leahu-Vlăducu
---
test/section_config_test.pl | 25 +
1 file changed, 25 insertions(+)
diff --git a/test/section_config_test.pl b/test/section_config_tes
Add api endpoints for CRUD of fabrics, nodes, and interfaces.
Signed-off-by: Gabriel Goller
---
src/PVE/API2/Network/SDN.pm | 7 +
src/PVE/API2/Network/SDN/Fabrics.pm | 57 +++
src/PVE/API2/Network/SDN/Fabrics/Common.pm| 111 +
src/PVE/API2/Network/SDN/Fabr
Get the config directly from the file and convert it to the
Perl-Representation (the Frr-Representation), then generate the config
with the existing functions.
Signed-off-by: Gabriel Goller
---
src/PVE/Network/SDN/Controllers.pm| 1 -
src/PVE/Network/SDN/Controllers/EvpnPlugin.pm |
Add the add/edit/delete modals for the FabricsView. This allows us to
create, edit, and delete fabrics, nodes, and interfaces.
Co-authored-by: Stefan Hanreich
Signed-off-by: Gabriel Goller
---
www/manager6/sdn/fabrics/Common.js| 222 ++
.../sdn/fabrics/openfabric/Fab
This crate contains types that represent the frr config. For example it
contains a `Router` and `Interface` struct. This Frr-Representation can
then be converted to the real frr config.
Co-authored-by: Stefan Hanreich
Signed-off-by: Gabriel Goller
---
Cargo.toml| 1 +
prox
Add the sdn fabrics config files. These are split into two, as we
currently support two fabric types: ospf and openfabric. They hold the
whole configuration for the respective protocols. They are read and
written by pve-network.
Signed-off-by: Gabriel Goller
---
src/PVE/Cluster.pm | 2 ++
1 file
Add CRUD and generate fabrics method for perlmod. These can be called
from perl with the raw configuration to edit/read/update/delete the
configuration. It also contains functions to generate the frr config
from the passed SectionConfig.
Signed-off-by: Gabriel Goller
---
pve-rs/Cargo.toml
This adds the intermediate, type-checked fabrics config. This one is
parsed from the SectionConfig and can be converted into the
Frr-Representation.
Co-authored-by: Stefan Hanreich
Signed-off-by: Gabriel Goller
---
proxmox-ve-config/Cargo.toml | 10 +-
proxmox-ve-config/debian
Add the FabricsView in the sdn category of the datacenter view. The
FabricsView allows to show all the fabrics on all the nodes of the
cluster.
Co-authored-by: Stefan Hanreich
Signed-off-by: Gabriel Goller
---
PVE/API2/Cluster.pm | 7 +-
PVE/API2/Network.pm | 7 +-
w
The endpoint '/network' returns all the interfaces but for some unknown
reason filters out the loopback address. This is not desirable for the
sdn fabrics, as we want to be able to add a loopback address to a
fabric.
Signed-off-by: Gabriel Goller
---
PVE/API2/Network.pm | 2 --
1 file changed, 2
Add the config file for ospf and openfabric and add common read/write
functions. We also add the ospf/openfabric config to the
`.running-config` – even though we don't ready from it later.
Signed-off-by: Gabriel Goller
---
src/PVE/Network/SDN.pm | 8 +++-
src/PVE/Network/SDN/Fabrics.pm
This series allows the user to add fabrics such as OpenFabric and OSPF over
their clusters.
Note that this is a very early RFC and its sole purpose is to get some initial
feedback and architectural suggestions.
Overview
Add a new section to the sdn panel in the datacenter options which a
The new proxmox-network-types crate holds some common types that are
used by proxmox-frr, proxmox-ve-config and proxmox-perl-rs. These types
are here because we don't want proxmox-frr to be a dependency of
proxmox-ve-config or vice-versa (or at least it should be feature-gated).
They should be inde
> Ivaylo Markov hat am 13.02.2025 16:21 CET
> geschrieben:
>
> On 04/02/2025 16:46, Fabian Grünbichler wrote:
>
> > > Ivaylo Markov via pve-devel hat am
> > > 04.02.2025 13:44 CET geschrieben:
> > > Greetings,
> > >
> > > I was pointed here to discuss the StorPool storage plugin[0] with the
Am 13.02.25 um 18:21 schrieb Fiona Ebner:
> Am 20.01.25 um 12:28 schrieb Filip Schauer:
>> Extend volume import functionality to support 'iso', 'snippets',
>> 'vztmpl', and 'import' types, in addition to the existing support for
>> 'images' and 'rootdir'. This is a prerequisite for the ability t
18 matches
Mail list logo