blob: fd307a97c5765ccfaeebfd37e3c4bd1fc35cf186 [file] [log] [blame]
Filip Pytlouncd028e42015-10-06 16:28:32 +02001=======================
2Neutron Network Service
3=======================
4
5Neutron is an OpenStack project to provide "networking as a service" between interface devices (e.g., vNICs) managed by other Openstack services (e.g., nova).
6
7Starting in the Folsom release, Neutron is a core and supported part of the OpenStack platform (for Essex, we were an "incubated" project, which means use is suggested only for those who really know what they're doing with Neutron).
8
9Usage notes
10===========
11
12For live migration to work, you have to set migration param on bridge and switch nodes.
13
14.. code-block:: yaml
15
16 neutron:
17 bridge:
18 enabled: true
19 migration: true
20
21.. code-block:: yaml
22
23 neutron:
24 switch:
25 enabled: true
26 migration: true
27
28Furthermore you need to set private and public keys for user 'neutron'.
29
30Sample pillars
31==============
32
33Neutron Server on the controller node
34
35.. code-block:: yaml
36
37 neutron:
38 server:
39 enabled: true
40 version: havana
41 plugin: ml2/contrail
42 bind:
43 address: 172.20.0.1
44 port: 9696
45 tunnel_type: vxlan
46 public_networks:
47 - name: public
48 subnets:
49 - name: public-subnet
50 gateway: 10.0.0.1
51 network: 10.0.0.0/24
52 pool_start: 10.0.5.20
53 pool_end: 10.0.5.200
54 dhcp: False
55 database:
56 engine: mysql
57 host: 127.0.0.1
58 port: 3306
59 name: neutron
60 user: neutron
61 password: pwd
62 identity:
63 engine: keystone
64 host: 127.0.0.1
65 port: 35357
66 user: neutron
67 password: pwd
68 tenant: service
69 message_queue:
70 engine: rabbitmq
71 host: 127.0.0.1
72 port: 5672
73 user: openstack
74 password: pwd
75 virtual_host: '/openstack'
76 metadata:
77 host: 127.0.0.1
78 port: 8775
79 password: pass
80 fwaas: false
81
82Neutron bridge on the network node
83
84.. code-block:: yaml
85
86 neutron:
87 bridge:
88 enabled: true
89 version: havana
90 tunnel_type: vxlan
91 bind:
92 address: 172.20.0.2
93 database:
94 engine: mysql
95 host: 127.0.0.1
96 port: 3306
97 name: neutron
98 user: neutron
99 password: pwd
100 identity:
101 engine: keystone
102 host: 127.0.0.1
103 port: 35357
104 user: neutron
105 password: pwd
106 tenant: service
107 message_queue:
108 engine: rabbitmq
109 host: 127.0.0.1
110 port: 5672
111 user: openstack
112 password: pwd
113 virtual_host: '/openstack'
114
115Neutron switch on the compute node with live migration turned on
116
117.. code-block:: yaml
118
119 neutron:
120 switch:
121 enabled: true
122 version: havana
123 migration: True
124 tunnel_type: vxlan
125 bind:
126 address: 127.20.0.100
127 database:
128 engine: mysql
129 host: 127.0.0.1
130 port: 3306
131 name: neutron
132 user: neutron
133 password: pwd
134 identity:
135 engine: keystone
136 host: 127.0.0.1
137 port: 35357
138 user: neutron
139 password: pwd
140 tenant: service
141 message_queue:
142 engine: rabbitmq
143 host: 127.0.0.1
144 port: 5672
145 user: openstack
146 password: pwd
147 virtual_host: '/openstack'
148
149Usage
150=====
151
152Fix RDO Neutron installation
153
154.. code-block:: yaml
155
156 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
157
158Read more
159=========
160
161* https://wiki.openstack.org/wiki/Neutron
162* http://docs.openstack.org/havana/install-guide/install/zypper/content/install-neutron.install-plugin.ovs.gre.html
163* http://docs.openstack.org/admin-guide-cloud/content//ch_networking.html
164* https://github.com/marafa/openstack/blob/master/openstack-outside.sh
165* http://techbackground.blogspot.ie/2013/06/metadata-via-quantum-router.html
166* http://techbackground.blogspot.ie/2013/06/metadata-via-dhcp-namespace.html
167* http://developer.rackspace.com/blog/neutron-networking-l3-agent.html
168* http://docs.openstack.org/grizzly/basic-install/apt/content/basic-install_network.html#configure-l3
169* ML2 plugin http://openstack.redhat.com/ML2_plugin
170* https://github.com/stackforge/fuel-library/tree/master/deployment/puppet/neutron/files
171* http://openstack.redhat.com/forum/discussion/972/stable-havana-2013-2-3-update/p1