1 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2 : Copyright (c) 2017 Mirantis Inc., Enea AB and others.
4 : All rights reserved. This program and the accompanying materials
5 : are made available under the terms of the Apache License, Version 2.0
6 : which accompanies this distribution, and is available at
7 : http://www.apache.org/licenses/LICENSE-2.0
8 ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
9 From: Michael Polenchuk <mpolenchuk@mirantis.com>
10 Date: Thu, 29 Jun 2017 12:22:42 +0400
11 Subject: [PATCH] Bring in opendaylight support
13 Change-Id: I3efec9a8b586a6c75b1c1635ad2a7024d73d9ad2
15 neutron/control/opendaylight/cluster.yml | 17 +++++++++++++++++
16 neutron/control/opendaylight/single.yml | 15 +++++++++++++++
17 neutron/gateway/opendaylight/single.yml | 7 +++++++
18 opendaylight/server/single.yml | 2 ++
19 reclass/storage/system/opendaylight_control_single.yml | 13 +++++++++++++
20 5 files changed, 54 insertions(+)
21 create mode 100644 neutron/control/opendaylight/cluster.yml
22 create mode 100644 neutron/control/opendaylight/single.yml
23 create mode 100644 neutron/gateway/opendaylight/single.yml
24 create mode 100644 opendaylight/server/single.yml
25 create mode 100644 reclass/storage/system/opendaylight_control_single.yml
27 diff --git a/neutron/control/opendaylight/cluster.yml b/neutron/control/opendaylight/cluster.yml
29 index 0000000..a32e7ab
31 +++ b/neutron/control/opendaylight/cluster.yml
34 +- service.keepalived.cluster.single
35 +- service.haproxy.proxy.single
36 +- service.neutron.control.cluster
37 +- system.neutron.control.openvswitch.cluster
42 + host: ${_param:opendaylight_service_host}
46 + ovsdb_connection: tcp:127.0.0.1:6639
49 + driver: opendaylight_v2
50 diff --git a/neutron/control/opendaylight/single.yml b/neutron/control/opendaylight/single.yml
52 index 0000000..053f14d
54 +++ b/neutron/control/opendaylight/single.yml
57 +- service.neutron.control.single
58 +- system.neutron.control.openvswitch.single
63 + host: ${_param:opendaylight_service_host}
67 + ovsdb_connection: tcp:127.0.0.1:6639
70 + driver: opendaylight_v2
71 diff --git a/neutron/gateway/opendaylight/single.yml b/neutron/gateway/opendaylight/single.yml
73 index 0000000..2169001
75 +++ b/neutron/gateway/opendaylight/single.yml
78 +- service.neutron.gateway.single
83 + ovsdb_connection: tcp:127.0.0.1:6639
84 diff --git a/opendaylight/server/single.yml b/opendaylight/server/single.yml
86 index 0000000..3d11872
88 +++ b/opendaylight/server/single.yml
91 +- service.opendaylight.server.single
92 diff --git a/reclass/storage/system/opendaylight_control_single.yml b/reclass/storage/system/opendaylight_control_single.yml
94 index 0000000..ad809f5
96 +++ b/reclass/storage/system/opendaylight_control_single.yml
100 + opendaylight_control_hostname: odl01
104 + opendaylight_control_node01:
105 + name: ${_param:opendaylight_control_hostname}
106 + domain: ${_param:cluster_domain}
108 + salt_master_host: ${_param:reclass_config_master}
109 + linux_system_codename: ${_param:linux_system_codename}
110 + single_address: ${_param:opendaylight_service_host}