all lists on lists.proxmox.com
 help / color / mirror / Atom feed
From: Gabriel Goller <g.goller@proxmox.com>
To: Shannon Sterz <s.sterz@proxmox.com>, pve-devel@lists.proxmox.com
Cc: Thomas Lamprecht <t.lamprecht@proxmox.com>
Subject: Re: [PATCH proxmox-ve-rs v7 02/21] frr: add proxmox-frr-templates package that contains templates
Date: Fri, 27 Mar 2026 10:12:26 +0100	[thread overview]
Message-ID: <areqo5l2g2zg4oqkwgaqqse754hr4hrvs6gcyddeivsaq6rriu@xqgynuylalju> (raw)
In-Reply-To: <yrainf2tgvfq2lxh4qo2nfao2kbg22wyyqrpzrsqlmyy4hgjw5@25yila5injef>

On 27.03.2026 10:07, Gabriel Goller wrote:
> On 26.03.2026 16:15, Shannon Sterz wrote:
> > On Mon Mar 23, 2026 at 2:48 PM CET, Gabriel Goller wrote:
> > > This debian package contains the jinja template files used to generate
> > > the frr config. Currently only the fabrics template files are here, the
> > > rest will be added in later commits. When installing this package the
> > > templates will be installed to `/usr/share/proxmox-frr/templates/`.
> > > `proxmox-frr` will then use `include_str!` to embed the templates into
> > > the binary.
> > >
> > > This package will only be published to the `devel` channel.
> > >
> > > Reviewed-by: Hannes Laimer <h.laimer@proxmox.com>
> > > Tested-by: Stefan Hanreich <s.hanreich@proxmox.com>
> > > Co-authored-by: Stefan Hanreich <s.hanreich@proxmox.com>
> > > Signed-off-by: Gabriel Goller <g.goller@proxmox.com>
> > > ---
> > >  Makefile                                      |  8 +++
> > >  proxmox-frr-templates/.gitignore              |  1 +
> > >  proxmox-frr-templates/Makefile                | 50 +++++++++++++++++++
> > >  proxmox-frr-templates/debian/changelog        |  5 ++
> > >  proxmox-frr-templates/debian/control          | 17 +++++++
> > >  proxmox-frr-templates/debian/copyright        | 18 +++++++
> > >  .../debian/proxmox-frr-templates.install      |  1 +
> > >  proxmox-frr-templates/debian/rules            |  5 ++
> > >  .../templates/access_lists.jinja              |  6 +++
> > >  proxmox-frr-templates/templates/fabricd.jinja | 29 +++++++++++
> > >  .../templates/frr.conf.jinja                  |  5 ++
> > >  .../templates/interface.jinja                 | 12 +++++
> > >  proxmox-frr-templates/templates/ospfd.jinja   | 18 +++++++
> > >  .../templates/protocol_routemaps.jinja        | 10 ++++
> > >  .../templates/route_maps.jinja                | 22 ++++++++
> > >  15 files changed, 207 insertions(+)
> > >  create mode 100644 proxmox-frr-templates/.gitignore
> > >  create mode 100644 proxmox-frr-templates/Makefile
> > >  create mode 100644 proxmox-frr-templates/debian/changelog
> > >  create mode 100644 proxmox-frr-templates/debian/control
> > >  create mode 100644 proxmox-frr-templates/debian/copyright
> > >  create mode 100644 proxmox-frr-templates/debian/proxmox-frr-templates.install
> > >  create mode 100755 proxmox-frr-templates/debian/rules
> > >  create mode 100644 proxmox-frr-templates/templates/access_lists.jinja
> > >  create mode 100644 proxmox-frr-templates/templates/fabricd.jinja
> > >  create mode 100644 proxmox-frr-templates/templates/frr.conf.jinja
> > >  create mode 100644 proxmox-frr-templates/templates/interface.jinja
> > >  create mode 100644 proxmox-frr-templates/templates/ospfd.jinja
> > >  create mode 100644 proxmox-frr-templates/templates/protocol_routemaps.jinja
> > >  create mode 100644 proxmox-frr-templates/templates/route_maps.jinja
> > >
> > > [snip]
> > > diff --git a/proxmox-frr-templates/debian/copyright b/proxmox-frr-templates/debian/copyright
> > > new file mode 100644
> > > index 000000000000..1ea8a56b4f58
> > > --- /dev/null
> > > +++ b/proxmox-frr-templates/debian/copyright
> > > @@ -0,0 +1,18 @@
> > > +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
> > > +
> > > +Files:
> > > + *
> > > +Copyright: 2019 - 2025 Proxmox Server Solutions GmbH <support@proxmox.com>
> > 
> > tiny nit: but it's 2026 already ;)
> 
> Fixed it, thanks for the review!

Oh, I noticed every crate in ve-rs is on 2025. Should I update them all?
Or do we only update the new crates (so proxmox-frr-templates)?
@Thomas?

> > > +License: AGPL-3.0-or-later
> > > + This program is free software: you can redistribute it and/or modify it under
> > > + the terms of the GNU Affero General Public License as published by the Free
> > > + Software Foundation, either version 3 of the License, or (at your option) any
> > > + later version.
> > > + .
> > > + This program is distributed in the hope that it will be useful, but WITHOUT
> > > + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
> > > + FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
> > > + details.
> > > + .
> > > + You should have received a copy of the GNU Affero General Public License along
> > > + with this program. If not, see <https://www.gnu.org/licenses/>.




  reply	other threads:[~2026-03-27  9:12 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-03-23 13:48 [PATCH manager/network/proxmox{-ve-rs,-perl-rs} v7 00/21] Generate frr config using jinja templates and rust types Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 01/21] ve-config: firewall: cargo fmt Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 02/21] frr: add proxmox-frr-templates package that contains templates Gabriel Goller
2026-03-26 15:15   ` Shannon Sterz
2026-03-27  9:07     ` Gabriel Goller
2026-03-27  9:12       ` Gabriel Goller [this message]
2026-03-27 10:10         ` Thomas Lamprecht
2026-03-27 10:17           ` Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 03/21] ve-config: remove FrrConfigBuilder struct Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 04/21] sdn-types: support variable-length NET identifier Gabriel Goller
2026-03-26 15:15   ` Shannon Sterz
2026-03-27  9:25     ` Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 05/21] frr: add template serializer and serialize fabrics using templates Gabriel Goller
2026-03-27  0:37   ` Thomas Lamprecht
2026-03-27  9:45     ` Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 06/21] frr: add isis configuration and templates Gabriel Goller
2026-03-27  0:41   ` Thomas Lamprecht
2026-03-27  9:53     ` Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 07/21] frr: support custom frr configuration lines Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 08/21] frr: add bgp support with templates and serialization Gabriel Goller
2026-03-27  0:50   ` Thomas Lamprecht
2026-03-27 10:05     ` Gabriel Goller
2026-03-23 13:48 ` [PATCH proxmox-ve-rs v7 09/21] frr: enable minijinja strict undefined behavior mode Gabriel Goller
2026-03-23 13:49 ` [PATCH proxmox-ve-rs v7 10/21] frr: add vtysh integration tests for proxmox-frr Gabriel Goller
2026-03-24  9:03   ` Gabriel Goller
2026-03-23 13:49 ` [PATCH proxmox-perl-rs v7 11/21] sdn: add function to generate the frr config for all daemons Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 12/21] tests: use Test::Differences to make test assertions Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 13/21] test: add tests for frr.conf.local merging Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 14/21] test: bgp: add some various integration tests Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 15/21] sdn: write structured frr config that can be rendered using templates Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 16/21] sdn: remove duplicate comment line '!' in frr config Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 17/21] tests: rearrange some statements in the " Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 18/21] sdn: adjust frr.conf.local merging to rust template types Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 19/21] test: adjust frr_local_merge test for new template generation Gabriel Goller
2026-03-23 13:49 ` [PATCH pve-network v7 20/21] api: add dry-run endpoint for sdn apply to preview changes Gabriel Goller
2026-03-27  1:07   ` Thomas Lamprecht
2026-03-23 13:49 ` [PATCH pve-manager v7 21/21] sdn: add dry-run diff view for sdn apply Gabriel Goller
2026-03-26 13:40 ` [PATCH manager/network/proxmox{-ve-rs,-perl-rs} v7 00/21] Generate frr config using jinja templates and rust types Wolfgang Bumiller
2026-03-27  1:11 ` Thomas Lamprecht
2026-03-27 10:06   ` Gabriel Goller

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=areqo5l2g2zg4oqkwgaqqse754hr4hrvs6gcyddeivsaq6rriu@xqgynuylalju \
    --to=g.goller@proxmox.com \
    --cc=pve-devel@lists.proxmox.com \
    --cc=s.sterz@proxmox.com \
    --cc=t.lamprecht@proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal