blob: eeafd73e8b08583d53308f8009d71c5dc08bad2b [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
46 plugin: ml2/contrail
47 bind:
48 address: 172.20.0.1
49 port: 9696
50 tunnel_type: vxlan
51 public_networks:
52 - name: public
53 subnets:
54 - name: public-subnet
55 gateway: 10.0.0.1
56 network: 10.0.0.0/24
57 pool_start: 10.0.5.20
58 pool_end: 10.0.5.200
59 dhcp: False
60 database:
61 engine: mysql
62 host: 127.0.0.1
63 port: 3306
64 name: neutron
65 user: neutron
66 password: pwd
67 identity:
68 engine: keystone
69 host: 127.0.0.1
70 port: 35357
71 user: neutron
72 password: pwd
73 tenant: service
74 message_queue:
75 engine: rabbitmq
76 host: 127.0.0.1
77 port: 5672
78 user: openstack
79 password: pwd
80 virtual_host: '/openstack'
81 metadata:
82 host: 127.0.0.1
83 port: 8775
84 password: pass
85 fwaas: false
86
87Neutron bridge on the network node
88
89.. code-block:: yaml
90
91 neutron:
92 bridge:
93 enabled: true
94 version: havana
95 tunnel_type: vxlan
96 bind:
97 address: 172.20.0.2
98 database:
99 engine: mysql
100 host: 127.0.0.1
101 port: 3306
102 name: neutron
103 user: neutron
104 password: pwd
105 identity:
106 engine: keystone
107 host: 127.0.0.1
108 port: 35357
109 user: neutron
110 password: pwd
111 tenant: service
112 message_queue:
113 engine: rabbitmq
114 host: 127.0.0.1
115 port: 5672
116 user: openstack
117 password: pwd
118 virtual_host: '/openstack'
119
120Neutron switch on the compute node with live migration turned on
121
122.. code-block:: yaml
123
124 neutron:
125 switch:
126 enabled: true
127 version: havana
128 migration: True
129 tunnel_type: vxlan
130 bind:
131 address: 127.20.0.100
132 database:
133 engine: mysql
134 host: 127.0.0.1
135 port: 3306
136 name: neutron
137 user: neutron
138 password: pwd
139 identity:
140 engine: keystone
141 host: 127.0.0.1
142 port: 35357
143 user: neutron
144 password: pwd
145 tenant: service
146 message_queue:
147 engine: rabbitmq
148 host: 127.0.0.1
149 port: 5672
150 user: openstack
151 password: pwd
152 virtual_host: '/openstack'
153
Jakub Pavlik6dd5c0a2016-03-09 14:18:15 +0100154Neutron Keystone region
155
156.. code-block:: yaml
157
158 neutron:
159 server:
160 enabled: true
161 version: kilo
162 ...
163 identity:
164 region: RegionTwo
165 ...
166 compute:
167 region: RegionTwo
168 ...
169
Jiri Konecny93b19992016-04-12 11:15:39 +0200170
171Client-side RabbitMQ HA setup
172
173.. code-block:: yaml
174
175 neutron:
176 server:
177 ....
178 message_queue:
179 engine: rabbitmq
180 members:
181 - host: 10.0.16.1
182 - host: 10.0.16.2
183 - host: 10.0.16.3
184 user: openstack
185 password: pwd
186 virtual_host: '/openstack'
187 ....
188
189
190
Filip Pytlouncd028e42015-10-06 16:28:32 +0200191Usage
192=====
193
194Fix RDO Neutron installation
195
196.. code-block:: yaml
197
198 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
199
Jakub Pavlik9ecf0262016-05-20 11:20:58 +0200200Documentation and Bugs
201============================
Filip Pytlouncd028e42015-10-06 16:28:32 +0200202
Jakub Pavlik9ecf0262016-05-20 11:20:58 +0200203To learn how to deploy OpenStack Salt, consult the documentation available
204online at:
205
206 https://wiki.openstack.org/wiki/OpenStackSalt
207
208In the unfortunate event that bugs are discovered, they should be reported to
209the appropriate bug tracker. If you obtained the software from a 3rd party
210operating system vendor, it is often wise to use their own bug tracker for
211reporting problems. In all other cases use the master OpenStack bug tracker,
212available at:
213
214 http://bugs.launchpad.net/openstack-salt
215
216Developers wishing to work on the OpenStack Salt project should always base
217their work on the latest formulas code, available from the master GIT
218repository at:
219
220 https://git.openstack.org/cgit/openstack/salt-formula-neutron
221
222Developers should also join the discussion on the IRC list, at:
223
224 https://wiki.openstack.org/wiki/Meetings/openstack-salt