diff options
author | Alexey Abramov <levenson@mmer.org> | 2023-09-29 21:34:06 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-10-11 18:51:07 +0200 |
commit | 670d985cabf81a28660c4a8024f752decc495dce (patch) | |
tree | 2d8a7e99099b2563ce912ff0a922b4b1c83fe46e /gnu/packages/node.scm | |
parent | b4f2b681ad9c01b99f36d3c2f6af78234b41d745 (diff) | |
download | guix-670d985cabf81a28660c4a8024f752decc495dce.tar guix-670d985cabf81a28660c4a8024f752decc495dce.tar.gz |
services: static-networking: Add support for bonding.
* gnu/services/base.scm (<network-link>): Add mac-address field. Set
type field to #f by default, so it won't be mandatory. network-link
without a type will be used for existing interfaces.
(assert-network-link-mac-address, mac-address?): Add sanitizer. Allow
valid mac-address or #f.
(assert-network-link-type): Add sanitizer. Allow symbol or #f.
* gnu/services/base.scm (network-set-up/linux,
network-tear-down/linux): Adapt to new structure.
* doc/guix.texi (Networking Setup): Document it.
* gnu/tests/networking.scm (run-static-networking-advanced-test): New
variable.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/node.scm')
0 files changed, 0 insertions, 0 deletions