[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/11: news: Add entry about 'static-networking-service-type'.
From: |
guix-commits |
Subject: |
11/11: news: Add entry about 'static-networking-service-type'. |
Date: |
Sun, 12 Dec 2021 18:10:07 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit c8609493ba6fd36c05815cad198060e54ea8c4f9
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Dec 13 00:08:47 2021 +0100
news: Add entry about 'static-networking-service-type'.
* etc/news.scm: Add entry.
---
etc/news.scm | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 53 insertions(+)
diff --git a/etc/news.scm b/etc/news.scm
index 7c313a4..49b0664 100644
--- a/etc/news.scm
+++ b/etc/news.scm
@@ -25,6 +25,59 @@
(channel-news
(version 0)
+ (entry (commit "223f1b1eb3707f1d3ef91200dd616ee6c8b77db0")
+ (title
+ (en "Improved static networking support on Guix System")
+ (fr "Meilleure prise en charge de réseaux statiques sur Guix System"))
+ (body
+ (en "Support for declarative static networking setup on Guix System
+has been improved. It now allows you to list IPv4 and IPv6 addresses in
+routes in a flexible way, similar to what you would do with the @command{ip}
+command, but in a declarative fashion, as in this example:
+
+@lisp
+;; Static networking for one NIC, IPv4-only.
+(service static-networking-service-type
+ (list (static-networking
+ (addresses
+ (list (network-address
+ (device \"eno1\")
+ (value \"10.0.2.15/24\"))))
+ (routes
+ (list (network-route
+ (destination \"default\")
+ (gateway \"10.0.2.2\"))))
+ (name-servers '(\"10.0.2.3\")))))
+@end lisp
+
+The @code{static-networking-service} procedure remains available but is
+deprecated. Run @command{info \"(guix) Networking Setup\"} for more
+information.")
+ (fr "La configuration déclarative et statique du réseau est mieux
+prise en charge sur Guix System. Il est maintenant possible d'énumérer des
+adresses IPv6 et IPv4 et les chemins avec plus de flexibilité, un peu comme ce
+qu'on peut faire avec la commande @command{ip} mais de manière déclarative,
+comme dans cet exemple :
+
+@lisp
+;; Réseau statique à une seule interface, IPv4 seulement.
+(service static-networking-service-type
+ (list (static-networking
+ (addresses
+ (list (network-address
+ (device \"eno1\")
+ (value \"10.0.2.15/24\"))))
+ (routes
+ (list (network-route
+ (destination \"default\")
+ (gateway \"10.0.2.2\"))))
+ (name-servers '(\"10.0.2.3\")))))
+@end lisp
+
+La procédure @code{static-networking-service} reste disponible mais elle est
+obsolète. Lancer @command{info \"(guix) Networking Setup\"} pour plus
+d'informations.")))
+
(entry (commit "52cb5cf5b852117b5151a67af187d80764849ad3")
(title
(en "Icedove 91: profile folder moved to @file{~/.thunderbird}")
- branch master updated (9b24cd3 -> c860949), guix-commits, 2021/12/12
- 01/11: tests: Add 'static-networking' test., guix-commits, 2021/12/12
- 04/11: gnu: guile-netlink: Allow cross-compilation., guix-commits, 2021/12/12
- 11/11: news: Add entry about 'static-networking-service-type'.,
guix-commits <=
- 10/11: tests: Replace uses of deprecated 'static-networking-service'., guix-commits, 2021/12/12
- 06/11: services: secret-service: Turn into a Shepherd service., guix-commits, 2021/12/12
- 02/11: tests: openvswitch: Check whether ovs0 is up., guix-commits, 2021/12/12
- 03/11: doc: Add new "Networking Setup" node for the main setup options., guix-commits, 2021/12/12
- 09/11: services: Define '%loopback-static-networking'., guix-commits, 2021/12/12
- 08/11: services: Define '%qemu-static-networking'., guix-commits, 2021/12/12
- 05/11: services: static-networking: Use Guile-Netlink on GNU/Linux., guix-commits, 2021/12/12
- 07/11: services: static-networking: Change interface to mimic netlink., guix-commits, 2021/12/12