mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
services: Open vSwitch: Provide a default configuration.
* gnu/services/networking.scm (openvswitch-service-type): Provide OPENVSWITCH-CONFIGURATION as a default value. * gnu/tests/networking.scm (%openvswitch-os): Don't configure the service.
This commit is contained in:
parent
d7d3bdca89
commit
e73ded3c71
2 changed files with 3 additions and 4 deletions
|
@ -1154,7 +1154,8 @@ (define openvswitch-service-type
|
|||
(description
|
||||
"Run @uref{http://www.openvswitch.org, Open vSwitch}, a multilayer virtual
|
||||
switch designed to enable massive network automation through programmatic
|
||||
extension.")))
|
||||
extension.")
|
||||
(default-value (openvswitch-configuration))))
|
||||
|
||||
;;;
|
||||
;;; iptables
|
||||
|
|
|
@ -178,9 +178,7 @@ (define %openvswitch-os
|
|||
(static-networking-service "ovs0" "10.1.1.1"
|
||||
#:netmask "255.255.255.252"
|
||||
#:requirement '(openvswitch-configuration))
|
||||
(service openvswitch-service-type
|
||||
(openvswitch-configuration
|
||||
(package openvswitch)))
|
||||
(service openvswitch-service-type)
|
||||
openvswitch-configuration-service))
|
||||
|
||||
(define (run-openvswitch-test)
|
||||
|
|
Loading…
Reference in a new issue