Merge "Fixing network configuration bug in dea.yaml"
[genesis.git] / compass / deploy / ansible / openstack_juno / roles / neutron-network / handlers / main.yml
1 ---
2 - name: restart neutron-plugin-openvswitch-agent
3   service: name=neutron-plugin-openvswitch-agent state=restarted enabled=yes
4   when: "'opendaylight' not in {{ NEUTRON_MECHANISM_DRIVERS }}"
5
6 - name: restart neutron-l3-agent
7   service: name=neutron-l3-agent state=restarted enabled=yes
8
9 - name: kill dnsmasq
10   command: killall dnsmasq
11   ignore_errors: True
12
13 - name: restart neutron-dhcp-agent
14   service: name=neutron-dhcp-agent state=restarted enabled=yes
15
16 - name: restart neutron-metadata-agent
17   service: name=neutron-metadata-agent state=restarted enabled=yes
18
19 - name: restart xorp
20   service: name=xorp state=restarted enabled=yes sleep=10
21   ignore_errors: True