summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/setup-openvswitch/handlers/main.yml
blob: 58a1710c75a521f0c4c7ac936965611b3169bdf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
############################################################################
# Copyright (c) 2017 HUAWEI TECHNOLOGIES CO.,LTD and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
############################################################################
---
- name: restart network service
  service:
    name: networking
    state: restarted

- name: restart neutron-openvswitch-agent
  service:
    name: neutron-openvswitch-agent
    state: restarted