blob: 8d8739319b214a89abca346b443e3e0a3f6ab4bc [file] [log] [blame]
Filip Pytlouncd028e42015-10-06 16:28:32 +02001=======================
2Neutron Network Service
3=======================
4
Jakub Pavlik9ecf0262016-05-20 11:20:58 +02005Neutron is an OpenStack project to provide "networking as a service" between
6interface devices (e.g., vNICs) managed by other Openstack services (e.g.,
7nova).
Filip Pytlouncd028e42015-10-06 16:28:32 +02008
Jakub Pavlik9ecf0262016-05-20 11:20:58 +02009Starting in the Folsom release, Neutron is a core and supported part of the
10OpenStack platform (for Essex, we were an "incubated" project, which means use
11is suggested only for those who really know what they're doing with Neutron).
Filip Pytlouncd028e42015-10-06 16:28:32 +020012
13Usage notes
14===========
15
Jakub Pavlik9ecf0262016-05-20 11:20:58 +020016For live migration to work, you have to set migration param on bridge and
17switch nodes.
Filip Pytlouncd028e42015-10-06 16:28:32 +020018
19.. code-block:: yaml
20
21 neutron:
22 bridge:
23 enabled: true
24 migration: true
25
26.. code-block:: yaml
27
28 neutron:
29 switch:
30 enabled: true
31 migration: true
32
33Furthermore you need to set private and public keys for user 'neutron'.
34
35Sample pillars
36==============
37
38Neutron Server on the controller node
39
40.. code-block:: yaml
41
42 neutron:
43 server:
44 enabled: true
45 version: havana
Filip Pytlouncd028e42015-10-06 16:28:32 +020046 bind:
47 address: 172.20.0.1
48 port: 9696
49 tunnel_type: vxlan
50 public_networks:
51 - name: public
52 subnets:
53 - name: public-subnet
54 gateway: 10.0.0.1
55 network: 10.0.0.0/24
56 pool_start: 10.0.5.20
57 pool_end: 10.0.5.200
58 dhcp: False
59 database:
60 engine: mysql
61 host: 127.0.0.1
62 port: 3306
63 name: neutron
64 user: neutron
65 password: pwd
66 identity:
67 engine: keystone
68 host: 127.0.0.1
69 port: 35357
70 user: neutron
71 password: pwd
72 tenant: service
73 message_queue:
74 engine: rabbitmq
75 host: 127.0.0.1
76 port: 5672
77 user: openstack
78 password: pwd
79 virtual_host: '/openstack'
80 metadata:
81 host: 127.0.0.1
82 port: 8775
83 password: pass
84 fwaas: false
85
marcoa4428a32016-06-10 11:50:16 +020086Neutron Server with OpenContrail
87
88.. code-block:: yaml
89
90 neutron:
91 server:
92 backend:
93 engine: contrail
94 host: contrail_discovery_host
95 port: 8082
96 user: admin
97 password: password
98 tenant: admin
99 token: token
100
101Neutron Server with Midonet
102
103.. code-block:: yaml
104
105 neutron:
106 server:
107 backend:
108 engine: midonet
109 host: midonet_api_host
110 port: 8181
111 user: admin
112 password: password
113
Filip Pytlouncd028e42015-10-06 16:28:32 +0200114Neutron bridge on the network node
115
116.. code-block:: yaml
117
118 neutron:
119 bridge:
120 enabled: true
121 version: havana
122 tunnel_type: vxlan
123 bind:
124 address: 172.20.0.2
125 database:
126 engine: mysql
127 host: 127.0.0.1
128 port: 3306
129 name: neutron
130 user: neutron
131 password: pwd
132 identity:
133 engine: keystone
134 host: 127.0.0.1
135 port: 35357
136 user: neutron
137 password: pwd
138 tenant: service
139 message_queue:
140 engine: rabbitmq
141 host: 127.0.0.1
142 port: 5672
143 user: openstack
144 password: pwd
145 virtual_host: '/openstack'
146
147Neutron switch on the compute node with live migration turned on
148
149.. code-block:: yaml
150
151 neutron:
152 switch:
153 enabled: true
154 version: havana
155 migration: True
156 tunnel_type: vxlan
157 bind:
158 address: 127.20.0.100
159 database:
160 engine: mysql
161 host: 127.0.0.1
162 port: 3306
163 name: neutron
164 user: neutron
165 password: pwd
166 identity:
167 engine: keystone
168 host: 127.0.0.1
169 port: 35357
170 user: neutron
171 password: pwd
172 tenant: service
173 message_queue:
174 engine: rabbitmq
175 host: 127.0.0.1
176 port: 5672
177 user: openstack
178 password: pwd
179 virtual_host: '/openstack'
180
Jakub Pavlik6dd5c0a2016-03-09 14:18:15 +0100181Neutron Keystone region
182
183.. code-block:: yaml
184
185 neutron:
186 server:
187 enabled: true
188 version: kilo
189 ...
190 identity:
191 region: RegionTwo
192 ...
193 compute:
194 region: RegionTwo
195 ...
196
Jiri Konecny93b19992016-04-12 11:15:39 +0200197
198Client-side RabbitMQ HA setup
199
200.. code-block:: yaml
201
202 neutron:
203 server:
204 ....
205 message_queue:
206 engine: rabbitmq
207 members:
208 - host: 10.0.16.1
209 - host: 10.0.16.2
210 - host: 10.0.16.3
211 user: openstack
212 password: pwd
213 virtual_host: '/openstack'
214 ....
215
216
217
Filip Pytlouncd028e42015-10-06 16:28:32 +0200218Usage
219=====
220
221Fix RDO Neutron installation
222
223.. code-block:: yaml
224
225 neutron-db-manage --config-file /usr/share/neutron/neutron-dist.conf --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugin.ini stamp havana
226
Jakub Pavlik9ecf0262016-05-20 11:20:58 +0200227Documentation and Bugs
228============================
Filip Pytlouncd028e42015-10-06 16:28:32 +0200229
Jakub Pavlik9ecf0262016-05-20 11:20:58 +0200230To learn how to deploy OpenStack Salt, consult the documentation available
231online at:
232
233 https://wiki.openstack.org/wiki/OpenStackSalt
234
235In the unfortunate event that bugs are discovered, they should be reported to
236the appropriate bug tracker. If you obtained the software from a 3rd party
237operating system vendor, it is often wise to use their own bug tracker for
238reporting problems. In all other cases use the master OpenStack bug tracker,
239available at:
240
241 http://bugs.launchpad.net/openstack-salt
242
243Developers wishing to work on the OpenStack Salt project should always base
244their work on the latest formulas code, available from the master GIT
245repository at:
246
247 https://git.openstack.org/cgit/openstack/salt-formula-neutron
248
249Developers should also join the discussion on the IRC list, at:
250
251 https://wiki.openstack.org/wiki/Meetings/openstack-salt