Make ovs-vswitchd restart instead of stop/start

ovs-vswitch daemon incorrecly doing serial stop -> start which affects
proper restart handling and remains with non-dpdk binary in runtime.
In order to mend the above issue make a restart action of daemon.

Change-Id: I61dbdb91f7fb9924bba4119993cb696eb0a7b9e9
Closes-Bug: #1664862
This commit is contained in:
Michael Polenchuk 2017-02-17 17:42:32 +04:00
parent 5035fd3557
commit e0e195b1e6
1 changed files with 6 additions and 5 deletions

View File

@ -74,11 +74,12 @@ class l23network::l2 (
ensure_package => $ensure_package,
} -> Anchor['l23network::l2::init']
service {'openvswitch-service':
ensure => 'running',
name => $::l23network::params::ovs_service_name,
enable => true,
hasstatus => true,
service { 'openvswitch-service':
ensure => 'running',
name => $::l23network::params::ovs_service_name,
enable => true,
hasstatus => true,
hasrestart => true,
}
Service['openvswitch-service'] -> Anchor['l23network::l2::init']