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 | 18 ++++++++++++++++++
16 neutron/control/opendaylight/single.yml | 16 ++++++++++++++++
17 neutron/gateway/opendaylight/single.yml | 8 ++++++++
18 opendaylight/server/single.yml | 2 ++
19 reclass/storage/system/opendaylight_control_single.yml | 13 +++++++++++++
20 5 files changed, 57 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..81dd5f9
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 + engine: opendaylight
43 + host: ${_param:opendaylight_service_host}
47 + ovsdb_connection: tcp:127.0.0.1:6639
50 + driver: opendaylight_v2
51 diff --git a/neutron/control/opendaylight/single.yml b/neutron/control/opendaylight/single.yml
53 index 0000000..19af585
55 +++ b/neutron/control/opendaylight/single.yml
58 +- service.neutron.control.single
59 +- system.neutron.control.openvswitch.single
64 + engine: opendaylight
65 + host: ${_param:opendaylight_service_host}
69 + ovsdb_connection: tcp:127.0.0.1:6639
72 + driver: opendaylight_v2
73 diff --git a/neutron/gateway/opendaylight/single.yml b/neutron/gateway/opendaylight/single.yml
75 index 0000000..29c8d95
77 +++ b/neutron/gateway/opendaylight/single.yml
80 +- service.neutron.gateway.single
85 + engine: opendaylight
86 + ovsdb_connection: tcp:127.0.0.1:6639
87 diff --git a/opendaylight/server/single.yml b/opendaylight/server/single.yml
89 index 0000000..3d11872
91 +++ b/opendaylight/server/single.yml
94 +- service.opendaylight.server.single
95 diff --git a/reclass/storage/system/opendaylight_control_single.yml b/reclass/storage/system/opendaylight_control_single.yml
97 index 0000000..ad809f5
99 +++ b/reclass/storage/system/opendaylight_control_single.yml
103 + opendaylight_control_hostname: odl01
107 + opendaylight_control_node01:
108 + name: ${_param:opendaylight_control_hostname}
109 + domain: ${_param:cluster_domain}
111 + salt_master_host: ${_param:reclass_config_master}
112 + linux_system_codename: ${_param:linux_system_codename}
113 + single_address: ${_param:opendaylight_service_host}