Skip to content
Snippets Groups Projects
Unverified Commit e73ded3c authored by Marius Bakke's avatar Marius Bakke
Browse files

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.
parent d7d3bdca
No related branches found
No related tags found
No related merge requests found
...@@ -1154,7 +1154,8 @@ (define openvswitch-service-type ...@@ -1154,7 +1154,8 @@ (define openvswitch-service-type
(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
......
...@@ -178,9 +178,7 @@ (define %openvswitch-os ...@@ -178,9 +178,7 @@ (define %openvswitch-os
(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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment