GNU bug report logs -
#52788
static networking: Support pointopoint/peer
Previous Next
To reply to this bug, email your comments to 52788 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-guix <at> gnu.org
:
bug#52788
; Package
guix
.
(Sat, 25 Dec 2021 13:04:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Jonathan Brielmaier <jonathan.brielmaier <at> web.de>
:
New bug report received and forwarded. Copy sent to
bug-guix <at> gnu.org
.
(Sat, 25 Dec 2021 13:04:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Hi folks,
it would be nice if `static-networking` would support the pointopoint
or peer parameter. This one is required to get IPv4 at Hetzner Cloud.
The relevant ip statement is:
ip address add IPv4/32 dev eth0 peer 172.31.1.1
^^^^^^^^^^^^^^^
Is this functionality already implemented by guile-netlink? If yes, I
could try to add this feature to our static-networking-service-type :)
~Jonathan
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52788
; Package
guix
.
(Sat, 25 Dec 2021 16:06:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 52788 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
It was not supported in guile-netlink, so I added support for #:peer and other new arguments in addr-add and addr-del. There's no release yet, but I'd be glad if you could check it works as expected (--with-latest=guile-netlink should work).
Le 25 décembre 2021 08:03:16 GMT-05:00, Jonathan Brielmaier <jonathan.brielmaier <at> web.de> a écrit :
>
>Hi folks,
>
>it would be nice if `static-networking` would support the pointopoint
>or peer parameter. This one is required to get IPv4 at Hetzner Cloud.
>
>The relevant ip statement is:
>ip address add IPv4/32 dev eth0 peer 172.31.1.1
> ^^^^^^^^^^^^^^^
>
>Is this functionality already implemented by guile-netlink? If yes, I
>could try to add this feature to our static-networking-service-type :)
>
>~Jonathan
>
>
>
[Message part 2 (text/html, inline)]
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52788
; Package
guix
.
(Sat, 25 Dec 2021 16:13:02 GMT)
Full text and
rfc822 format available.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52788
; Package
guix
.
(Wed, 12 Jan 2022 22:12:02 GMT)
Full text and
rfc822 format available.
Message #14 received at 52788 <at> debbugs.gnu.org (full text, mbox):
Thanks for the fast implementation in guile-netlink! Didn't know how to
use `--with-latest=guile-netlink` in that context so I updated the package:
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 74567830e6..dcb1041136 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4602,37 +4602,39 @@ (define-public guile-fslib
(license license:agpl3+)))
(define-public guile-netlink
- (package
- (name "guile-netlink")
- (version "1.1.1")
- (source
- (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://git.lepiller.eu/git/guile-netlink")
- (commit version)))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "0jcl6mzqy04if5drflmygmggbgzsxa42mlmskqb3cfqmksq0zj0y"))))
- (build-system gnu-build-system)
- (inputs
- (list guile-3.0))
- (native-inputs
- (list automake
- autoconf
- pkg-config
- guile-3.0 ;for 'guild compile' + guile.m4
- texinfo))
- (home-page "https://git.lepiller.eu/guile-netlink")
- (synopsis "Netlink protocol implementation for Guile")
- (description "Guile Netlink is a GNU Guile library providing an
implementation
+ (let ((commit "b7aa2be9476e0f1b6cc4a7b22ba070c6411cb0ae")
+ (revision "1"))
+ (package
+ (name "guile-netlink")
+ (version (git-version "1.1.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://git.lepiller.eu/git/guile-netlink")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "03f9ads2qj3lj8frlg3pmh0nx4qikqpkhy0fvfy12qivlrfdbvcm"))))
+ (build-system gnu-build-system)
+ (inputs
+ (list guile-3.0))
+ (native-inputs
+ (list automake
+ autoconf
+ pkg-config
+ guile-3.0 ;for 'guild compile' + guile.m4
+ texinfo))
+ (home-page "https://git.lepiller.eu/guile-netlink")
+ (synopsis "Netlink protocol implementation for Guile")
+ (description "Guile Netlink is a GNU Guile library providing an
implementation
of the netlink protocol.
It provides a generic library for writing implementations of a netlink
protocol, a low-level rtnetlink implementation that uses that library
and a
high-level API for network management that uses rtnetlink.")
- (license license:gpl3+)))
+ (license license:gpl3+))))
(define-public guile-gitlab
(package
That was the easy part. The part in gnu/services/base.scm seems to be a
bit over my Guile/gexp skills. And I couldn't find a proper source to
copy-and-paste-and-adapt :P
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52788
; Package
guix
.
(Sun, 30 Jan 2022 17:54:01 GMT)
Full text and
rfc822 format available.
Message #17 received at 52788 <at> debbugs.gnu.org (full text, mbox):
Hi Julien,
Julien Lepiller <julien <at> lepiller.eu> skribis:
> It was not supported in guile-netlink, so I added support for #:peer and other new arguments in addr-add and addr-del. There's no release yet, but I'd be glad if you could check it works as expected (--with-latest=guile-netlink should work).
Perhaps we also need to update <static-networking> and related code in
(gnu services base) to expose that?
Ludo’.
Information forwarded
to
bug-guix <at> gnu.org
:
bug#52788
; Package
guix
.
(Sun, 30 Jan 2022 20:09:01 GMT)
Full text and
rfc822 format available.
Message #20 received at 52788 <at> debbugs.gnu.org (full text, mbox):
Le Sun, 30 Jan 2022 18:53:29 +0100,
Ludovic Courtès <ludo <at> gnu.org> a écrit :
> Hi Julien,
>
> Julien Lepiller <julien <at> lepiller.eu> skribis:
>
> > It was not supported in guile-netlink, so I added support for
> > #:peer and other new arguments in addr-add and addr-del. There's no
> > release yet, but I'd be glad if you could check it works as
> > expected (--with-latest=guile-netlink should work).
>
> Perhaps we also need to update <static-networking> and related code in
> (gnu services base) to expose that?
>
> Ludo’.
Yes, otherwise we won't be able to use that in static-networking.
This bug report was last modified 3 years and 33 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.