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:
Marius Bakke 2019-03-25 00:17:41 +01:00
parent d7d3bdca89
commit e73ded3c71
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
2 changed files with 3 additions and 4 deletions

View File

@ -1154,7 +1154,8 @@ implements authentication, key negotiation and more for wireless networks.")
(description (description
"Run @uref{http://www.openvswitch.org, Open vSwitch}, a multilayer virtual "Run @uref{http://www.openvswitch.org, Open vSwitch}, a multilayer virtual
switch designed to enable massive network automation through programmatic switch designed to enable massive network automation through programmatic
extension."))) extension.")
(default-value (openvswitch-configuration))))
;;; ;;;
;;; iptables ;;; iptables

View File

@ -178,9 +178,7 @@ port 7, and a dict service on port 2628."
(static-networking-service "ovs0" "10.1.1.1" (static-networking-service "ovs0" "10.1.1.1"
#:netmask "255.255.255.252" #:netmask "255.255.255.252"
#:requirement '(openvswitch-configuration)) #:requirement '(openvswitch-configuration))
(service openvswitch-service-type (service openvswitch-service-type)
(openvswitch-configuration
(package openvswitch)))
openvswitch-configuration-service)) openvswitch-configuration-service))
(define (run-openvswitch-test) (define (run-openvswitch-test)