Merge "docs: Update release documentation"
[fuel.git] / mcp / patches / reclass-system-salt-model / 0001-Bring-in-opendaylight-support.patch
1 From: Michael Polenchuk <mpolenchuk@mirantis.com>
2 Date: Thu, 29 Jun 2017 12:22:42 +0400
3 Subject: [PATCH] Bring in opendaylight support
4
5 Change-Id: I3efec9a8b586a6c75b1c1635ad2a7024d73d9ad2
6
7 diff --git a/neutron/control/opendaylight/cluster.yml b/neutron/control/opendaylight/cluster.yml
8 new file mode 100644
9 index 0000000..81dd5f9
10 --- /dev/null
11 +++ b/neutron/control/opendaylight/cluster.yml
12 @@ -0,0 +1,18 @@
13 +classes:
14 +- service.keepalived.cluster.single
15 +- service.haproxy.proxy.single
16 +- service.neutron.control.cluster
17 +- system.neutron.control.openvswitch.cluster
18 +parameters:
19 +  neutron:
20 +    server:
21 +      backend:
22 +        engine: opendaylight
23 +        host: ${_param:opendaylight_service_host}
24 +        rest_api_port: 8282
25 +        user: admin
26 +        password: admin
27 +        ovsdb_connection: tcp:127.0.0.1:6639
28 +        mechanism:
29 +          ovs:
30 +            driver: opendaylight_v2
31 diff --git a/neutron/control/opendaylight/single.yml b/neutron/control/opendaylight/single.yml
32 new file mode 100644
33 index 0000000..19af585
34 --- /dev/null
35 +++ b/neutron/control/opendaylight/single.yml
36 @@ -0,0 +1,16 @@
37 +classes:
38 +- service.neutron.control.single
39 +- system.neutron.control.openvswitch.single
40 +parameters:
41 +  neutron:
42 +    server:
43 +      backend:
44 +        engine: opendaylight
45 +        host: ${_param:opendaylight_service_host}
46 +        rest_api_port: 8282
47 +        user: admin
48 +        password: admin
49 +        ovsdb_connection: tcp:127.0.0.1:6639
50 +        mechanism:
51 +          ovs:
52 +            driver: opendaylight_v2
53 diff --git a/neutron/gateway/opendaylight/single.yml b/neutron/gateway/opendaylight/single.yml
54 new file mode 100644
55 index 0000000..29c8d95
56 --- /dev/null
57 +++ b/neutron/gateway/opendaylight/single.yml
58 @@ -0,0 +1,8 @@
59 +classes:
60 +- service.neutron.gateway.single
61 +parameters:
62 +  neutron:
63 +    gateway:
64 +      backend:
65 +        engine: opendaylight
66 +        ovsdb_connection: tcp:127.0.0.1:6639
67 diff --git a/opendaylight/server/single.yml b/opendaylight/server/single.yml
68 new file mode 100644
69 index 0000000..3d11872
70 --- /dev/null
71 +++ b/opendaylight/server/single.yml
72 @@ -0,0 +1,2 @@
73 +classes:
74 +- service.opendaylight.server.single
75 diff --git a/reclass/storage/system/opendaylight_control_single.yml b/reclass/storage/system/opendaylight_control_single.yml
76 new file mode 100644
77 index 0000000..ad809f5
78 --- /dev/null
79 +++ b/reclass/storage/system/opendaylight_control_single.yml
80 @@ -0,0 +1,13 @@
81 +parameters:
82 +  _param:
83 +    opendaylight_control_hostname: odl01
84 +  reclass:
85 +    storage:
86 +      node:
87 +        opendaylight_control_node01:
88 +          name: ${_param:opendaylight_control_hostname}
89 +          domain: ${_param:cluster_domain}
90 +          params:
91 +            salt_master_host: ${_param:reclass_config_master}
92 +            linux_system_codename: ${_param:linux_system_codename}
93 +            single_address: ${_param:opendaylight_service_host}