blob: 4c4bb327bf05bc541fa280cfc9e9e60567bb6890 [file] [log] [blame]
Aleš Komárek41e82312017-04-11 13:37:44 +02001===============
2Neutron Formula
3===============
Filip Pytlouncd028e42015-10-06 16:28:32 +02004
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
Vasyl Saienko2fffc842017-06-14 10:35:26 +030011is suggested only for those who really know what they're doing with Neutron).
Filip Pytlouncd028e42015-10-06 16:28:32 +020012
Aleš Komárek41e82312017-04-11 13:37:44 +020013Sample Pillars
Filip Pytlouncd028e42015-10-06 16:28:32 +020014==============
15
16Neutron Server on the controller node
17
18.. code-block:: yaml
19
20 neutron:
21 server:
22 enabled: true
Jiri Broulik74f61112016-11-21 20:23:47 +010023 version: mitaka
Swann Croiset9407daf2017-02-02 15:27:56 +010024 allow_pagination: true
25 pagination_max_limit: 100
Mykyta Karpin253406d2017-12-08 17:01:37 +020026 api_workers: 2
27 rpc_workers: 2
28 rpc_state_report_workers: 2
Michael Polenchuk1ff88652018-03-06 16:15:57 +040029 root_helper_daemon: false
Michael Polenchuk2151b272018-06-19 18:32:31 +040030 dhcp_lease_duration: 600
Michael Polenchukcece76d2018-06-21 14:56:17 +040031 firewall_driver: iptables_hybrid
Filip Pytlouncd028e42015-10-06 16:28:32 +020032 bind:
33 address: 172.20.0.1
34 port: 9696
Filip Pytlouncd028e42015-10-06 16:28:32 +020035 database:
36 engine: mysql
37 host: 127.0.0.1
38 port: 3306
39 name: neutron
40 user: neutron
41 password: pwd
42 identity:
43 engine: keystone
44 host: 127.0.0.1
45 port: 35357
46 user: neutron
47 password: pwd
48 tenant: service
Dennis Dmitriev37114722017-03-06 16:52:26 +020049 endpoint_type: internal
Filip Pytlouncd028e42015-10-06 16:28:32 +020050 message_queue:
51 engine: rabbitmq
52 host: 127.0.0.1
53 port: 5672
54 user: openstack
55 password: pwd
56 virtual_host: '/openstack'
57 metadata:
58 host: 127.0.0.1
59 port: 8775
60 password: pass
Mykyta Karpin253406d2017-12-08 17:01:37 +020061 workers: 2
Petr Michalec61f7ab22016-11-29 16:29:09 +010062 audit:
63 enabled: false
Filip Pytlouncd028e42015-10-06 16:28:32 +020064
Swann Croiset9407daf2017-02-02 15:27:56 +010065Note: The pagination is useful to retrieve a large bunch of resources,
66because a single request may fail (timeout). This is enabled with both
67parameters *allow_pagination* and *pagination_max_limit* as shown above.
68
Dmitry Ukov596ddcf2017-05-04 18:16:16 +040069
70Configuration of policy.json file
71
72.. code-block:: yaml
73
74 neutron:
75 server:
76 ....
77 policy:
78 create_subnet: 'rule:admin_or_network_owner'
79 'get_network:queue_id': 'rule:admin_only'
80 # Add key without value to remove line from policy.json
81 'create_network:shared':
82
Elena Ezhovacd67cfe2017-06-16 23:35:07 +040083Neutron LBaaSv2 enablement
84--------------------------
Ondrej Smola314eee22017-03-08 21:21:16 +010085
86.. code-block:: yaml
87
88 neutron:
89 server:
90 lbaas:
91 enabled: true
92 providers:
Elena Ezhovacd67cfe2017-06-16 23:35:07 +040093 octavia:
94 engine: octavia
95 driver_path: 'neutron_lbaas.drivers.octavia.driver.OctaviaDriver'
96 base_url: 'http://127.0.0.1:9876'
Ondrej Smola314eee22017-03-08 21:21:16 +010097 avi_adc:
Ondrej Smola314eee22017-03-08 21:21:16 +010098 engine: avinetworks
Elena Ezhovacd67cfe2017-06-16 23:35:07 +040099 driver_path: 'avi_lbaasv2.avi_driver.AviDriver'
Ondrej Smola314eee22017-03-08 21:21:16 +0100100 controller_address: 10.182.129.239
101 controller_user: admin
102 controller_password: Cloudlab2016
103 controller_cloud_name: Default-Cloud
104 avi_adc2:
105 engine: avinetworks
106 ...
107
Elena Ezhovacd67cfe2017-06-16 23:35:07 +0400108Note: If the Contrail backend is set, Opencontrail loadbalancer would be enabled
109automatically. In this case lbaas should disabled in pillar:
Ondrej Smola314eee22017-03-08 21:21:16 +0100110
111.. code-block:: yaml
112
113 neutron:
114 server:
115 lbaas:
Elena Ezhovacd67cfe2017-06-16 23:35:07 +0400116 enabled: false
Ondrej Smola314eee22017-03-08 21:21:16 +0100117
Elena Ezhova166d4012017-08-17 12:53:52 +0400118
119Neutron FWaaSv1 enablement
120--------------------------
121
122.. code-block:: yaml
123
124 neutron:
125 fwaas:
126 enabled: true
127 version: ocata
128 api_version: v1
129
130
Ondrej Smola12ff8192017-04-28 12:39:11 +0200131Enable CORS parameters
Elena Ezhova166d4012017-08-17 12:53:52 +0400132----------------------
Ondrej Smola12ff8192017-04-28 12:39:11 +0200133
134.. code-block:: yaml
135
136 neutron:
137 server:
138 cors:
139 allowed_origin: https:localhost.local,http:localhost.local
140 expose_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token
141 allow_methods: GET,PUT,POST,DELETE,PATCH
142 allow_headers: X-Auth-Token,X-Openstack-Request-Id,X-Subject-Token
143 allow_credentials: True
144 max_age: 86400
145
146
Aleš Komárek41e82312017-04-11 13:37:44 +0200147Neutron VXLAN tenant networks with Network nodes
148------------------------------------------------
Swann Croiset9407daf2017-02-02 15:27:56 +0100149
Aleš Komárek41e82312017-04-11 13:37:44 +0200150With DVR for East-West and Network node for North-South.
Jiri Broulik74f61112016-11-21 20:23:47 +0100151
152This use case describes a model utilising VxLAN overlay with DVR. The DVR
Aleš Komárek41e82312017-04-11 13:37:44 +0200153routers will only be utilized for traffic that is router within the cloud
Vasyl Saienko2fffc842017-06-14 10:35:26 +0300154infrastructure and that remains encapsulated. External traffic will be
155routed to via the network nodes.
Jiri Broulik74f61112016-11-21 20:23:47 +0100156
Vasyl Saienko2fffc842017-06-14 10:35:26 +0300157The intention is that each tenant will require at least two (2) vrouters
158one to be utilised
Jiri Broulik74f61112016-11-21 20:23:47 +0100159
Aleš Komárek41e82312017-04-11 13:37:44 +0200160Neutron Server
marcoa4428a32016-06-10 11:50:16 +0200161
162.. code-block:: yaml
163
164 neutron:
165 server:
Jiri Broulik74f61112016-11-21 20:23:47 +0100166 version: mitaka
Dmitry Stremkouski3c1be3e2017-11-18 11:04:20 +0300167 path_mtu: 1500
Jiri Broulik74f61112016-11-21 20:23:47 +0100168 bind:
169 address: 172.20.0.1
170 port: 9696
171 database:
172 engine: mysql
173 host: 127.0.0.1
174 port: 3306
175 name: neutron
176 user: neutron
177 password: pwd
178 identity:
179 engine: keystone
180 host: 127.0.0.1
181 port: 35357
182 user: neutron
183 password: pwd
184 tenant: service
Dennis Dmitriev37114722017-03-06 16:52:26 +0200185 endpoint_type: internal
Jiri Broulik74f61112016-11-21 20:23:47 +0100186 message_queue:
187 engine: rabbitmq
188 host: 127.0.0.1
189 port: 5672
190 user: openstack
191 password: pwd
192 virtual_host: '/openstack'
193 global_physnet_mtu: 9000
194 l3_ha: False # Which type of router will be created by default
195 dvr: True # disabled for non DVR use case
196 backend:
197 engine: ml2
198 tenant_network_types: "flat,vxlan"
199 external_mtu: 9000
200 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400201 ovs:
202 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100203
Aleš Komárek41e82312017-04-11 13:37:44 +0200204Network Node
Jiri Broulik74f61112016-11-21 20:23:47 +0100205
206.. code-block:: yaml
207
208 neutron:
209 gateway:
210 enabled: True
211 version: mitaka
Michael Polenchuk2151b272018-06-19 18:32:31 +0400212 dhcp_lease_duration: 600
Michael Polenchukcece76d2018-06-21 14:56:17 +0400213 firewall_driver: iptables_hybrid
Jiri Broulik74f61112016-11-21 20:23:47 +0100214 message_queue:
215 engine: rabbitmq
216 host: 127.0.0.1
217 port: 5672
218 user: openstack
219 password: pwd
220 virtual_host: '/openstack'
221 local_ip: 192.168.20.20 # br-mesh ip address
222 dvr: True # disabled for non DVR use case
223 agent_mode: dvr_snat
224 metadata:
225 host: 127.0.0.1
226 password: pass
227 backend:
228 engine: ml2
229 tenant_network_types: "flat,vxlan"
230 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400231 ovs:
232 driver: openvswitch
Vasyl Saienko4bd2d922018-07-27 09:56:38 +0000233 agents:
234 dhcp:
235 ovs_use_veth: False
Jiri Broulik74f61112016-11-21 20:23:47 +0100236
237Compute Node
Jiri Broulik74f61112016-11-21 20:23:47 +0100238
239.. code-block:: yaml
240
241 neutron:
242 compute:
243 enabled: True
244 version: mitaka
245 message_queue:
246 engine: rabbitmq
247 host: 127.0.0.1
248 port: 5672
249 user: openstack
250 password: pwd
251 virtual_host: '/openstack'
252 local_ip: 192.168.20.20 # br-mesh ip address
253 dvr: True # disabled for non DVR use case
254 agent_mode: dvr
255 external_access: false # Compute node with DVR for east-west only, Network Node has True as default
256 metadata:
257 host: 127.0.0.1
Vasyl Saienko2fffc842017-06-14 10:35:26 +0300258 password: pass
Jiri Broulik74f61112016-11-21 20:23:47 +0100259 backend:
260 engine: ml2
261 tenant_network_types: "flat,vxlan"
262 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400263 ovs:
264 driver: openvswitch
Petr Michalec61f7ab22016-11-29 16:29:09 +0100265 audit:
266 enabled: false
Jiri Broulik74f61112016-11-21 20:23:47 +0100267
Aleš Komárek41e82312017-04-11 13:37:44 +0200268
Dmitry Stremkouskia3a4ab42017-10-23 17:37:12 +0300269Disable physnet1 bridge
270-----------------------
271
272By default we have external access turned on, so among any physnets in
273your reclass there would be additional one: physnet1, which is mapped to
274br-floating
275
276If you need internal nets only without this bridge, remove br-floating
277and configurations mappings. Disable mappings for this bridge on
278neutron-servers:
279
280.. code-block:: yaml
281
282 neutron:
283 server:
284 external_access: false
285
286gateways:
287
288.. code-block:: yaml
289
290 neutron:
291 gateway:
292 external_access: false
293
294compute nodes:
295
296.. code-block:: yaml
297
298 neutron:
299 compute:
300 external_access: false
301
302
Marcin Iwinskic50137a2018-01-22 14:18:24 +0100303Add additional bridge mappings for OVS bridges
304----------------------------------------------
305
306By default we have external access turned on, so among any physnets in
307your reclass there would be additional one: physnet1, which is mapped to
308br-floating
309
310If you need to add extra non-default bridge mappings they can be defined
311separately for both gateways and compute nodes:
312
313gateways:
314
315.. code-block:: yaml
316
317 neutron:
318 gateway:
319 bridge_mappings:
320 physnet4: br-floating-internet
321
322compute nodes:
323
324.. code-block:: yaml
325
326 neutron:
327 compute:
328 bridge_mappings:
329 physnet4: br-floating-internet
330
331
Dmitry Stremkouski4b410222017-11-18 11:29:55 +0300332Specify different mtu values for different physnets
333---------------------------------------------------
334
335Neutron Server
336
337.. code-block:: yaml
338
339 neutron:
340 server:
341 version: mitaka
342 backend:
343 external_mtu: 1500
344 tenant_net_mtu: 9000
345 ironic_net_mtu: 9000
346
Jiri Broulik74f61112016-11-21 20:23:47 +0100347Neutron VXLAN tenant networks with Network Nodes (non DVR)
Aleš Komárek41e82312017-04-11 13:37:44 +0200348----------------------------------------------------------
Jiri Broulik74f61112016-11-21 20:23:47 +0100349
350This section describes a network solution that utilises VxLAN overlay
351 networks without DVR with all routers being managed on the network nodes.
352
Aleš Komárek41e82312017-04-11 13:37:44 +0200353Neutron Server
Jiri Broulik74f61112016-11-21 20:23:47 +0100354
355.. code-block:: yaml
356
357 neutron:
358 server:
359 version: mitaka
Jiri Broulik74f61112016-11-21 20:23:47 +0100360 bind:
361 address: 172.20.0.1
362 port: 9696
363 database:
364 engine: mysql
365 host: 127.0.0.1
366 port: 3306
367 name: neutron
368 user: neutron
369 password: pwd
370 identity:
371 engine: keystone
372 host: 127.0.0.1
373 port: 35357
374 user: neutron
375 password: pwd
376 tenant: service
Dennis Dmitriev37114722017-03-06 16:52:26 +0200377 endpoint_type: internal
Jiri Broulik74f61112016-11-21 20:23:47 +0100378 message_queue:
379 engine: rabbitmq
380 host: 127.0.0.1
381 port: 5672
382 user: openstack
383 password: pwd
384 virtual_host: '/openstack'
385 global_physnet_mtu: 9000
386 l3_ha: True
387 dvr: False
388 backend:
389 engine: ml2
390 tenant_network_types= "flat,vxlan"
391 external_mtu: 9000
392 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400393 ovs:
394 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100395
Aleš Komárek41e82312017-04-11 13:37:44 +0200396Network Node
Jiri Broulik74f61112016-11-21 20:23:47 +0100397
398.. code-block:: yaml
399
400 neutron:
401 gateway:
402 enabled: True
403 version: mitaka
404 message_queue:
405 engine: rabbitmq
406 host: 127.0.0.1
407 port: 5672
408 user: openstack
409 password: pwd
410 virtual_host: '/openstack'
411 local_ip: 192.168.20.20 # br-mesh ip address
412 dvr: False
413 agent_mode: legacy
Simon Pasquierc03af112017-04-10 10:35:14 +0200414 availability_zone: az1
Jiri Broulik74f61112016-11-21 20:23:47 +0100415 metadata:
416 host: 127.0.0.1
417 password: pass
418 backend:
419 engine: ml2
420 tenant_network_types: "flat,vxlan"
421 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400422 ovs:
423 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100424
425Compute Node
Jiri Broulik74f61112016-11-21 20:23:47 +0100426
427.. code-block:: yaml
428
429 neutron:
430 compute:
431 enabled: True
432 version: mitaka
433 message_queue:
434 engine: rabbitmq
435 host: 127.0.0.1
436 port: 5672
437 user: openstack
438 password: pwd
439 virtual_host: '/openstack'
440 local_ip: 192.168.20.20 # br-mesh ip address
441 external_access: False
Vasyl Saienko2fffc842017-06-14 10:35:26 +0300442 dvr: False
Jiri Broulik74f61112016-11-21 20:23:47 +0100443 backend:
444 engine: ml2
445 tenant_network_types: "flat,vxlan"
446 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400447 ovs:
448 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100449
Aleš Komárek41e82312017-04-11 13:37:44 +0200450Neutron VXLAN tenant networks with Network Nodes with DVR
451---------------------------------------------------------
452
453With DVR for East-West and North-South, DVR everywhere, Network node for SNAT.
Jiri Broulik74f61112016-11-21 20:23:47 +0100454
Vasyl Saienko2fffc842017-06-14 10:35:26 +0300455This section describes a network solution that utilises VxLAN
456overlay networks with DVR with North-South and East-West. Network
Jiri Broulik74f61112016-11-21 20:23:47 +0100457Node is used only for SNAT.
458
Aleš Komárek41e82312017-04-11 13:37:44 +0200459Neutron Server
Jiri Broulik74f61112016-11-21 20:23:47 +0100460
461.. code-block:: yaml
462
463 neutron:
464 server:
465 version: mitaka
Jiri Broulik74f61112016-11-21 20:23:47 +0100466 bind:
467 address: 172.20.0.1
468 port: 9696
469 database:
470 engine: mysql
471 host: 127.0.0.1
472 port: 3306
473 name: neutron
474 user: neutron
475 password: pwd
476 identity:
477 engine: keystone
478 host: 127.0.0.1
479 port: 35357
480 user: neutron
481 password: pwd
482 tenant: service
Dennis Dmitriev37114722017-03-06 16:52:26 +0200483 endpoint_type: internal
Jiri Broulik74f61112016-11-21 20:23:47 +0100484 message_queue:
485 engine: rabbitmq
486 host: 127.0.0.1
487 port: 5672
488 user: openstack
489 password: pwd
490 virtual_host: '/openstack'
491 global_physnet_mtu: 9000
492 l3_ha: False
493 dvr: True
494 backend:
495 engine: ml2
496 tenant_network_types= "flat,vxlan"
497 external_mtu: 9000
498 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400499 ovs:
500 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100501
Aleš Komárek41e82312017-04-11 13:37:44 +0200502Network Node
Jiri Broulik74f61112016-11-21 20:23:47 +0100503
504.. code-block:: yaml
505
506 neutron:
507 gateway:
508 enabled: True
509 version: mitaka
510 message_queue:
511 engine: rabbitmq
512 host: 127.0.0.1
513 port: 5672
514 user: openstack
515 password: pwd
516 virtual_host: '/openstack'
517 local_ip: 192.168.20.20 # br-mesh ip address
518 dvr: True
519 agent_mode: dvr_snat
Simon Pasquierc03af112017-04-10 10:35:14 +0200520 availability_zone: az1
Jiri Broulik74f61112016-11-21 20:23:47 +0100521 metadata:
522 host: 127.0.0.1
523 password: pass
524 backend:
525 engine: ml2
526 tenant_network_types: "flat,vxlan"
527 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400528 ovs:
529 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100530
531Compute Node
Jiri Broulik74f61112016-11-21 20:23:47 +0100532
533.. code-block:: yaml
534
535 neutron:
536 compute:
537 enabled: True
538 version: mitaka
539 message_queue:
540 engine: rabbitmq
541 host: 127.0.0.1
542 port: 5672
543 user: openstack
544 password: pwd
545 virtual_host: '/openstack'
546 local_ip: 192.168.20.20 # br-mesh ip address
547 dvr: True
Vasyl Saienko2fffc842017-06-14 10:35:26 +0300548 external_access: True
Jiri Broulik74f61112016-11-21 20:23:47 +0100549 agent_mode: dvr
Simon Pasquierc03af112017-04-10 10:35:14 +0200550 availability_zone: az1
Jiri Broulik74f61112016-11-21 20:23:47 +0100551 metadata:
552 host: 127.0.0.1
553 password: pass
554 backend:
555 engine: ml2
556 tenant_network_types: "flat,vxlan"
557 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400558 ovs:
559 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100560
561Sample Linux network configuration for DVR
Jiri Broulik74f61112016-11-21 20:23:47 +0100562
563.. code-block:: yaml
564
565 linux:
566 network:
567 bridge: openvswitch
568 interface:
569 eth1:
570 enabled: true
571 type: eth
572 mtu: 9000
573 proto: manual
574 eth2:
575 enabled: true
576 type: eth
577 mtu: 9000
578 proto: manual
579 eth3:
580 enabled: true
581 type: eth
582 mtu: 9000
583 proto: manual
584 br-int:
585 enabled: true
586 mtu: 9000
587 type: ovs_bridge
588 br-floating:
589 enabled: true
590 mtu: 9000
591 type: ovs_bridge
592 float-to-ex:
593 enabled: true
594 type: ovs_port
595 mtu: 65000
596 bridge: br-floating
597 br-mgmt:
598 enabled: true
599 type: bridge
600 mtu: 9000
601 address: ${_param:single_address}
602 netmask: 255.255.255.0
603 use_interfaces:
604 - eth1
605 br-mesh:
606 enabled: true
607 type: bridge
608 mtu: 9000
609 address: ${_param:tenant_address}
610 netmask: 255.255.255.0
611 use_interfaces:
612 - eth2
613 br-ex:
614 enabled: true
615 type: bridge
616 mtu: 9000
617 address: ${_param:external_address}
618 netmask: 255.255.255.0
619 use_interfaces:
620 - eth3
621 use_ovs_ports:
622 - float-to-ex
623
Thom Gerdes3282d072017-05-30 22:06:04 +0000624Additonal VXLAN tenant network settings
625---------------------------------------
626
627The default multicast group of 224.0.0.1 only multicasts to a single subnet.
628Allow overriding it to allow larger underlay network topologies.
629
630Neutron Server
631
632.. code-block:: yaml
633
634 neutron:
635 server:
636 vxlan:
637 group: 239.0.0.0/8
638 vni_ranges: "2:65535"
639
Jiri Broulik74f61112016-11-21 20:23:47 +0100640Neutron VLAN tenant networks with Network Nodes
Aleš Komárek41e82312017-04-11 13:37:44 +0200641-----------------------------------------------
Jiri Broulik74f61112016-11-21 20:23:47 +0100642
643VLAN tenant provider
644
645Neutron Server only
Jiri Broulik74f61112016-11-21 20:23:47 +0100646
647.. code-block:: yaml
648
649 neutron:
650 server:
651 version: mitaka
Jiri Broulik74f61112016-11-21 20:23:47 +0100652 ...
653 global_physnet_mtu: 9000
654 l3_ha: False
655 dvr: True
656 backend:
657 engine: ml2
658 tenant_network_types: "flat,vlan" # Can be mixed flat,vlan,vxlan
659 tenant_vlan_range: "1000:2000"
660 external_vlan_range: "100:200" # Does not have to be defined.
661 external_mtu: 9000
662 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400663 ovs:
664 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100665
666Compute node
Jiri Broulik74f61112016-11-21 20:23:47 +0100667
668.. code-block:: yaml
669
670 neutron:
671 compute:
672 version: mitaka
Jiri Broulik74f61112016-11-21 20:23:47 +0100673 ...
674 dvr: True
675 agent_mode: dvr
676 external_access: False
677 backend:
678 engine: ml2
679 tenant_network_types: "flat,vlan" # Can be mixed flat,vlan,vxlan
680 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400681 ovs:
682 driver: openvswitch
Jiri Broulik74f61112016-11-21 20:23:47 +0100683
Oleg Bondarevddb9af12018-07-02 19:07:57 +0400684Neutron with explicit physical networks
685---------------------------------------
Oleg Bondarevada324f2018-06-04 14:55:38 +0400686
687Neutron Server only
688
689.. code-block:: yaml
690
691 neutron:
692 server:
693 version: ocata
694 ...
695 backend:
696 engine: ml2
697 tenant_network_types: "flat,vlan" # Can be mixed flat,vlan,vxlan
698 ...
Oleg Bondarevddb9af12018-07-02 19:07:57 +0400699 # also need to configure corresponding bridge_mappings on
Oleg Bondarevada324f2018-06-04 14:55:38 +0400700 # compute and gateway nodes
Oleg Bondarev47d9e2d2018-07-03 13:22:26 +0400701 flat_networks_default: '*' # '*' to allow arbitrary names or '' to disable
Oleg Bondarevddb9af12018-07-02 19:07:57 +0400702 physnets: # only listed physnets will be configured (overrides physnet1/2/3)
703 external:
704 mtu: 1500
Oleg Bondarev47d9e2d2018-07-03 13:22:26 +0400705 types:
706 - flat # possible values - 'flat' or 'vlan'
Oleg Bondarevada324f2018-06-04 14:55:38 +0400707 sriov_net:
708 mtu: 9000 # Optional, defaults to 1500
709 vlan_range: '100:200' # Optional
Oleg Bondarev47d9e2d2018-07-03 13:22:26 +0400710 types:
711 - vlan
Oleg Bondarevada324f2018-06-04 14:55:38 +0400712 ext_net2:
713 mtu: 1500
Oleg Bondarev47d9e2d2018-07-03 13:22:26 +0400714 types:
715 - flat
716 - vlan
Oleg Bondarevada324f2018-06-04 14:55:38 +0400717 mechanism:
718 ovs:
719 driver: openvswitch
720
Aleš Komárek41e82312017-04-11 13:37:44 +0200721Advanced Neutron Features (DPDK, SR-IOV)
Oleg Bondarev0575ae42017-07-28 16:36:25 +0400722----------------------------------------
Aleš Komárek41e82312017-04-11 13:37:44 +0200723
Jakub Pavlik8f83ccc2017-02-27 11:15:39 +0100724Neutron OVS DPDK
Jakub Pavlik8f83ccc2017-02-27 11:15:39 +0100725
726Enable datapath netdev for neutron openvswitch agent
727
728.. code-block:: yaml
729
730 neutron:
731 server:
732 version: mitaka
733 ...
734 dpdk: True
735 ...
736
737 neutron:
738 compute:
739 version: mitaka
Jakub Pavlik8f83ccc2017-02-27 11:15:39 +0100740 dpdk: True
Michael Polenchuk52911652018-04-12 22:09:49 +0400741 vhost_mode: client # options: client|server (default)
Oleg Bondarevee7e8302017-10-16 17:20:38 +0400742 vhost_socket_dir: /var/run/openvswitch
Jakub Pavlik8f83ccc2017-02-27 11:15:39 +0100743 backend:
744 engine: ml2
745 ...
746 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400747 ovs:
748 driver: openvswitch
Jakub Pavlik8f83ccc2017-02-27 11:15:39 +0100749
Jakub Pavlik70555cb2017-02-26 18:48:02 +0100750Neutron OVS SR-IOV
Jakub Pavlik70555cb2017-02-26 18:48:02 +0100751
752.. code-block:: yaml
753
754 neutron:
755 server:
756 version: mitaka
Jakub Pavlik70555cb2017-02-26 18:48:02 +0100757 backend:
758 engine: ml2
759 ...
760 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400761 ovs:
762 driver: openvswitch
763 sriov:
764 driver: sriovnicswitch
Michael Polenchuk0bf59a72018-06-19 18:06:56 +0400765 # Driver w/ highest number will be placed ahead in the list (default is 0).
766 # It's recommended for SR-IOV driver to set an order >0 to get it
767 # before (for example) the opendaylight one.
768 order: 9
Jakub Pavlik70555cb2017-02-26 18:48:02 +0100769
770 neutron:
771 compute:
772 version: mitaka
Jakub Pavlik70555cb2017-02-26 18:48:02 +0100773 ...
774 backend:
775 engine: ml2
776 tenant_network_types: "flat,vlan" # Can be mixed flat,vlan,vxlan
777 sriov:
778 nic_one:
779 devname: eth1
780 physical_network: physnet3
781 mechanism:
Elena Ezhovad6a080c2017-10-09 15:25:16 +0400782 ovs:
783 driver: openvswitch
Jakub Pavlik70555cb2017-02-26 18:48:02 +0100784
Ilya Chukhnakovf4c2bb32017-06-08 02:03:15 +0300785Neutron with VLAN-aware-VMs
Oleg Bondarev0575ae42017-07-28 16:36:25 +0400786---------------------------
Ilya Chukhnakovf4c2bb32017-06-08 02:03:15 +0300787
788.. code-block:: yaml
789
790 neutron:
791 server:
792 vlan_aware_vms: true
793 ....
794 compute:
795 vlan_aware_vms: true
796 ....
797 gateway:
798 vlan_aware_vms: true
799
Oleg Bondarevacb2e532018-03-06 10:43:59 +0400800Neutron with BGP VPN (BaGPipe driver)
Oleg Bondarevb63d27f2018-02-14 19:21:06 +0400801---------------------------
802
803.. code-block:: yaml
804
805 neutron:
806 server:
807 version: pike
808 bgp_vpn:
Oleg Bondarevacb2e532018-03-06 10:43:59 +0400809 enabled: true
Michael Polenchuk0b3c5dd2018-06-27 12:04:32 +0400810 driver: bagpipe # Options: bagpipe/opencontrail/opendaylight[_v2]
Oleg Bondarevb63d27f2018-02-14 19:21:06 +0400811 ....
812 compute:
813 version: pike
814 bgp_vpn:
Oleg Bondarevacb2e532018-03-06 10:43:59 +0400815 enabled: true
Michael Polenchuk0b3c5dd2018-06-27 12:04:32 +0400816 driver: bagpipe # Options: bagpipe/opencontrail/opendaylight[_v2]
Oleg Bondarevacb2e532018-03-06 10:43:59 +0400817 bagpipe:
818 local_address: 192.168.20.20 # IP address for mpls/gre tunnels
819 peers: 192.168.20.30 # IP addresses of BGP peers
820 autonomous_system: 64512 # Autonomous System number
821 enable_rtc: True # Enable RT Constraint (RFC4684)
Oleg Bondarevb63d27f2018-02-14 19:21:06 +0400822 backend:
Oleg Bondarev878ac462018-04-23 17:48:15 +0400823 ovs_extension: # for OVS agent only, not supported in SRIOV agent
Oleg Bondarevb63d27f2018-02-14 19:21:06 +0400824 bagpipe_bgpvpn:
825 enabled: True
826
Oleksii Chupryn16cb4e02018-02-26 14:20:39 +0200827Neutron with DHCP agent on compute node
828---------------------------------------
829
830.. code-block:: yaml
831
832 neutron:
833 ....
834 compute:
835 dhcp_agent_enabled: true
836 ....
837
Oleg Bondarev0575ae42017-07-28 16:36:25 +0400838Neutron with OVN
839----------------
840
841Control node:
842
843.. code-block:: yaml
844
845 neutron:
846 server:
847 backend:
848 engine: ovn
849 mechanism:
850 ovn:
851 driver: ovn
852 tenant_network_types: "geneve,flat"
Michael Polenchukf59229b2018-06-19 16:24:49 +0400853 ovn:
854 ovn_l3_scheduler: leastloaded # valid options: chance, leastloaded
855 neutron_sync_mode: repair # valid options: log, off, repair
Michael Polenchuka3d492b2017-12-27 15:49:43 +0400856 ovn_ctl_opts:
857 db-nb-create-insecure-remote: 'yes'
858 db-sb-create-insecure-remote: 'yes'
Oleg Bondarev0575ae42017-07-28 16:36:25 +0400859
860Compute node:
861
862.. code-block:: yaml
863
864 neutron:
865 compute:
866 local_ip: 10.2.0.105
867 controller_vip: 10.1.0.101
868 external_access: false
869 backend:
870 engine: ovn
871
Michael Polenchukcccd1a52018-02-02 17:41:16 +0400872
873Neutron L2 Gateway
874----------------
875
876Control node:
877
878.. code-block:: yaml
879
880 neutron:
881 server:
882 version: pike
883 l2gw:
884 enabled: true
885 periodic_monitoring_interval: 5
886 quota_l2_gateway: 20
887 # service_provider=<service_type>:<name>:<driver>[:default]
888 service_provider: L2GW:OpenDaylight:networking_odl.l2gateway.driver.OpenDaylightL2gwDriver:default
889 backend:
890 engine: ml2
891
892Network/Gateway node:
893
894.. code-block:: yaml
895
896 neutron:
897 gateway:
898 version: pike
899 l2gw:
900 enabled: true
901 debug: true
902 socket_timeout: 20
903 ovsdb_hosts:
904 # <ovsdb_name>: <ip address>:<port>
905 # - ovsdb_name: a user defined symbolic identifier of physical switch
906 # - ip address: the address or dns name for the OVSDB server (i.e. pointer to the switch)
907 ovsdb1: 10.164.5.33:6632
908 ovsdb2: 10.164.4.33:6632
909
910
Michael Polenchuk87d2b742017-06-29 12:05:25 +0400911OpenDaylight integration
912------------------------
913
914Control node:
915
916.. code-block:: yaml
917
918 neutron:
919 server:
920 backend:
921 opendaylight: true
922 router: odl-router_v2
923 host: 10.20.0.77
924 rest_api_port: 8282
925 user: admin
926 password: admin
927 ovsdb_connection: tcp:127.0.0.1:6639
Oleksii Chuprynfed79572018-07-20 14:11:35 +0300928 ovsdb_interface: native
Michael Polenchuk87d2b742017-06-29 12:05:25 +0400929 enable_websocket: true
930 enable_dhcp_service: false
931 mechanism:
932 ovs:
933 driver: opendaylight_v2
Michael Polenchuk0bf59a72018-06-19 18:06:56 +0400934 order: 1
Michael Polenchuk87d2b742017-06-29 12:05:25 +0400935
936Network/Gateway node:
937
938.. code-block:: yaml
939
940 neutron:
941 gateway:
942 backend:
943 router: odl-router_v2
944 ovsdb_connection: tcp:127.0.0.1:6639
Oleksii Chuprynfed79572018-07-20 14:11:35 +0300945 ovsdb_interface: native
Michael Polenchuk87d2b742017-06-29 12:05:25 +0400946 opendaylight:
947 ovsdb_server_iface: ptcp:6639:127.0.0.1
948 ovsdb_odl_iface: tcp:10.20.0.77:6640
949 tunnel_ip: 10.1.0.110
950 provider_mappings: physnet1:br-floating
951
952Compute node:
953
954.. code-block:: yaml
955
956 neutron:
957 compute:
958 opendaylight:
959 ovsdb_server_iface: ptcp:6639:127.0.0.1
960 ovsdb_odl_iface: tcp:10.20.0.77:6640
961 tunnel_ip: 10.1.0.105
962 provider_mappings: physnet1:br-floating
963
964
Aleš Komárek41e82312017-04-11 13:37:44 +0200965Neutron Server
966--------------
967
Jiri Broulik74f61112016-11-21 20:23:47 +0100968Neutron Server with OpenContrail
Jiri Broulik74f61112016-11-21 20:23:47 +0100969
970.. code-block:: yaml
971
972 neutron:
973 server:
marcoa4428a32016-06-10 11:50:16 +0200974 backend:
975 engine: contrail
976 host: contrail_discovery_host
977 port: 8082
978 user: admin
979 password: password
980 tenant: admin
981 token: token
982
983Neutron Server with Midonet
984
985.. code-block:: yaml
986
987 neutron:
988 server:
989 backend:
990 engine: midonet
991 host: midonet_api_host
992 port: 8181
993 user: admin
994 password: password
995
Vasyl Saienko4549efe2018-07-26 16:06:04 +0000996Neutron Server with NSX
997
998.. code-block:: yaml
999
1000 neutron:
1001 server:
1002 backend:
1003 engine: vmware
1004 core_plugin: vmware_nsxv3
1005 vmware:
1006 nsx:
1007 extension_drivers:
1008 - vmware_nsxv3_dns
1009 v3:
1010 api_password: nsx_password
1011 api_user: nsx_username
1012 api_managers:
1013 01:
1014 scheme: https
1015 host: 192.168.10.120
1016 port: '443'
1017 insecure: true
1018
Jakub Pavlik6dd5c0a2016-03-09 14:18:15 +01001019Neutron Keystone region
1020
1021.. code-block:: yaml
1022
1023 neutron:
1024 server:
1025 enabled: true
1026 version: kilo
1027 ...
1028 identity:
1029 region: RegionTwo
1030 ...
1031 compute:
1032 region: RegionTwo
1033 ...
1034
Jiri Konecny93b19992016-04-12 11:15:39 +02001035Client-side RabbitMQ HA setup
1036
1037.. code-block:: yaml
1038
1039 neutron:
1040 server:
1041 ....
1042 message_queue:
1043 engine: rabbitmq
1044 members:
1045 - host: 10.0.16.1
1046 - host: 10.0.16.2
1047 - host: 10.0.16.3
1048 user: openstack
1049 password: pwd
1050 virtual_host: '/openstack'
1051 ....
1052
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001053
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001054Configuring TLS communications
1055------------------------------
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001056
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001057
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001058**Note:** by default system wide installed CA certs are used, so ``cacert_file`` param is optional, as well as ``cacert``.
1059
1060
1061- **RabbitMQ TLS**
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001062
1063.. code-block:: yaml
1064
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001065 neutron:
1066 server, gateway, compute:
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001067 message_queue:
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001068 port: 5671
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001069 ssl:
1070 enabled: True
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001071 (optional) cacert: cert body if the cacert_file does not exists
1072 (optional) cacert_file: /etc/openstack/rabbitmq-ca.pem
1073 (optional) version: TLSv1_2
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001074
1075
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001076- **MySQL TLS**
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001077
1078.. code-block:: yaml
1079
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001080 neutron:
1081 server:
1082 database:
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001083 ssl:
1084 enabled: True
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001085 (optional) cacert: cert body if the cacert_file does not exists
1086 (optional) cacert_file: /etc/openstack/mysql-ca.pem
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001087
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001088- **Openstack HTTPS API**
1089
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001090
1091.. code-block:: yaml
1092
Kirill Bespalovdd748b62017-11-21 10:42:57 +03001093 neutron:
1094 server:
1095 identity:
1096 protocol: https
1097 (optional) cacert_file: /etc/openstack/proxy.pem
Kirill Bespalov8fffe022017-08-03 17:55:02 +03001098
1099
Petr Michalec61f7ab22016-11-29 16:29:09 +01001100Enable auditing filter, ie: CADF
1101
1102.. code-block:: yaml
1103
1104 neutron:
1105 server:
1106 audit:
1107 enabled: true
1108 ....
1109 filter_factory: 'keystonemiddleware.audit:filter_factory'
1110 map_file: '/etc/pycadf/neutron_api_audit_map.conf'
1111 ....
1112 compute:
1113 audit:
1114 enabled: true
1115 ....
1116 filter_factory: 'keystonemiddleware.audit:filter_factory'
1117 map_file: '/etc/pycadf/neutron_api_audit_map.conf'
1118 ....
Jiri Konecny93b19992016-04-12 11:15:39 +02001119
Oleg Bondarev98870a32017-05-29 16:53:19 +04001120Neutron with security groups disabled
1121
1122.. code-block:: yaml
1123
1124 neutron:
1125 server:
1126 security_groups_enabled: False
1127 ....
1128 compute:
1129 security_groups_enabled: False
1130 ....
1131 gateway:
1132 security_groups_enabled: False
1133
Jiri Konecny93b19992016-04-12 11:15:39 +02001134
Aleš Komárek41e82312017-04-11 13:37:44 +02001135Neutron Client
1136--------------
Jiri Broulik5368cc52017-02-08 18:53:59 +01001137
1138Neutron networks
1139
1140.. code-block:: yaml
1141
1142 neutron:
1143 client:
1144 enabled: true
1145 server:
1146 identity:
Richard Felklaac256a2017-03-23 15:43:49 +01001147 endpoint_type: internalURL
Jiri Broulik5368cc52017-02-08 18:53:59 +01001148 network:
1149 inet1:
1150 tenant: demo
1151 shared: False
1152 admin_state_up: True
1153 router_external: True
1154 provider_physical_network: inet
1155 provider_network_type: flat
1156 provider_segmentation_id: 2
1157 subnet:
1158 inet1-subnet1:
1159 cidr: 192.168.90.0/24
1160 enable_dhcp: False
1161 inet2:
1162 tenant: admin
1163 shared: False
1164 router_external: True
1165 provider_network_type: "vlan"
1166 subnet:
1167 inet2-subnet1:
1168 cidr: 192.168.92.0/24
1169 enable_dhcp: False
1170 inet2-subnet2:
1171 cidr: 192.168.94.0/24
1172 enable_dhcp: True
1173 identity1:
1174 network:
1175 ...
1176
Jiri Broulik5368cc52017-02-08 18:53:59 +01001177Neutron routers
1178
1179.. code-block:: yaml
1180
1181 neutron:
1182 client:
1183 enabled: true
1184 server:
1185 identity:
Richard Felklaac256a2017-03-23 15:43:49 +01001186 endpoint_type: internalURL
Jiri Broulik5368cc52017-02-08 18:53:59 +01001187 router:
1188 inet1-router:
1189 tenant: demo
1190 admin_state_up: True
1191 gateway_network: inet
1192 interfaces:
1193 - inet1-subnet1
1194 - inet1-subnet2
1195 identity1:
1196 router:
1197 ...
1198
1199 TODO: implement adding new interfaces to a router while updating it
1200
1201
1202Neutron security groups
1203
1204.. code-block:: yaml
1205
1206 neutron:
1207 client:
1208 enabled: true
1209 server:
1210 identity:
Richard Felklaac256a2017-03-23 15:43:49 +01001211 endpoint_type: internalURL
Jiri Broulik5368cc52017-02-08 18:53:59 +01001212 security_group:
1213 security_group1:
1214 tenant: demo
1215 description: security group 1
1216 rules:
1217 - direction: ingress
1218 ethertype: IPv4
1219 protocol: TCP
1220 port_range_min: 1
1221 port_range_max: 65535
1222 remote_ip_prefix: 0.0.0.0/0
1223 - direction: ingress
1224 ethertype: IPv4
1225 protocol: UDP
1226 port_range_min: 1
1227 port_range_max: 65535
1228 remote_ip_prefix: 0.0.0.0/0
1229 - direction: ingress
1230 protocol: ICMP
1231 remote_ip_prefix: 0.0.0.0/0
1232 identity1:
1233 security_group:
1234 ...
1235
1236 TODO: implement updating existing security rules (now it adds new rule if trying to update existing one)
1237
Jiri Broulikde2e2902017-02-13 15:03:47 +01001238
1239Floating IP addresses
1240
1241.. code-block:: yaml
1242
1243 neutron:
1244 client:
1245 enabled: true
1246 server:
1247 identity:
Richard Felklaac256a2017-03-23 15:43:49 +01001248 endpoint_type: internalURL
Jiri Broulikde2e2902017-02-13 15:03:47 +01001249 floating_ip:
1250 prx01-instance:
1251 server: prx01.mk22-lab-basic.local
1252 subnet: private-subnet1
1253 network: public-net1
1254 tenant: demo
1255 gtw01-instance:
1256 ...
1257
1258.. note:: The network must have flag router:external set to True.
1259 Instance port in the stated subnet will be associated with the dynamically generated floating IP.
1260
1261
Oleg Iurchenkode71cc22017-09-18 17:58:56 +03001262
1263Enable Neutron extensions (QoS, DNS, etc.)
1264------------------------------------------
1265.. code-block:: yaml
1266
1267 neutron:
1268 server:
1269 backend:
1270 extension:
Oleg Iurchenkoac17f4f2017-10-06 11:24:27 +03001271 dns:
1272 enabled: True
1273 host: 127.0.0.1
1274 port: 9001
1275 protocol: http
1276 ....
1277 qos
1278 enabled: True
Oleg Iurchenkode71cc22017-09-18 17:58:56 +03001279
Oleg Bondarev878ac462018-04-23 17:48:15 +04001280Different Neutron extensions for different agents
1281-------------------------------------------------
1282.. code-block:: yaml
1283
1284 neutron:
1285 server:
1286 backend:
1287 extension: # common extensions for OVS and SRIOV agents
1288 dns:
1289 enabled: True
1290 ...
1291 qos
1292 enabled: True
1293 ovs_extension: # OVS specific extensions
1294 bagpipe_bgpvpn:
1295 enabled: True
1296 sriov_extension: # SRIOV specific extensions
1297 dummy:
1298 enabled: True
Oleg Iurchenkode71cc22017-09-18 17:58:56 +03001299
Oleg Iurchenko8cf6cf52017-09-18 15:44:03 +03001300
1301Neutron with Designate
1302-----------------------------------------
1303.. code-block:: yaml
1304
1305 neutron:
1306 server:
1307 backend:
1308 extension:
1309 dns:
1310 enabled: True
1311 host: 127.0.0.1
1312 port: 9001
1313 protocol: http
1314
Marek Celoud67ce2062018-01-31 13:44:55 +01001315Enable RBAC for OpenContrail engine
1316-----------------------------------
1317.. code-block:: yaml
1318
1319 neutron:
1320 server:
1321 backend:
1322 engine: contrail
1323 rbac:
1324 enabled: True
Oleg Iurchenko8cf6cf52017-09-18 15:44:03 +03001325
Dmitry Kalashnik35dd0e02017-12-07 14:16:25 +04001326Enhanced logging with logging.conf
1327----------------------------------
1328
1329By default logging.conf is disabled.
1330
1331That is possible to enable per-binary logging.conf with new variables:
1332 * openstack_log_appender - set it to true to enable log_config_append for all OpenStack services;
1333 * openstack_fluentd_handler_enabled - set to true to enable FluentHandler for all Openstack services.
Oleksii Chupryn156c5f42018-02-07 10:06:50 +02001334 * openstack_ossyslog_handler_enabled - set to true to enable OSSysLogHandler for all Openstack services.
Dmitry Kalashnik35dd0e02017-12-07 14:16:25 +04001335
Oleksii Chupryn156c5f42018-02-07 10:06:50 +02001336Only WatchedFileHandler, OSSysLogHandler and FluentHandler are available.
Dmitry Kalashnik35dd0e02017-12-07 14:16:25 +04001337
1338Also it is possible to configure this with pillar:
1339
1340.. code-block:: yaml
1341
1342 neutron:
1343 server:
1344 logging:
1345 log_appender: true
1346 log_handlers:
1347 watchedfile:
1348 enabled: true
1349 fluentd:
1350 enabled: true
Oleksii Chupryn156c5f42018-02-07 10:06:50 +02001351 ossyslog:
1352 enabled: true
Dmitry Kalashnik35dd0e02017-12-07 14:16:25 +04001353 ....
1354 compute:
1355 logging:
1356 log_appender: true
1357 log_handlers:
1358 watchedfile:
1359 enabled: true
1360 fluentd:
1361 enabled: true
Oleksii Chupryn156c5f42018-02-07 10:06:50 +02001362 ossyslog:
1363 enabled: true
Dmitry Kalashnik35dd0e02017-12-07 14:16:25 +04001364 ....
1365 gateway:
1366 logging:
1367 log_appender: true
1368 log_handlers:
1369 watchedfile:
1370 enabled: true
1371 fluentd:
1372 enabled: true
Oleksii Chupryn156c5f42018-02-07 10:06:50 +02001373 ossyslog:
1374 enabled: true
Oleg Iurchenko8cf6cf52017-09-18 15:44:03 +03001375
Oleksii Grudevfe73ee52018-05-14 14:08:11 +03001376Logging levels pillar example:
1377
1378.. code-block:: yaml
1379
1380 neutron:
1381 server:
1382 logging:
1383 log_appender: true
1384 loggers:
1385 root:
1386 level: 'DEBUG'
1387 neutron:
1388 level: 'DEBUG'
1389 amqplib:
1390 level: 'DEBUG'
1391 sqlalchemy:
1392 level: 'DEBUG'
1393 boto:
1394 level: 'DEBUG'
1395 suds:
1396 level: 'DEBUG'
1397 eventletwsgi:
1398 level: 'DEBUG'
1399 ......
1400
1401
Filip Pytloun20c0a442017-02-02 13:05:13 +01001402Documentation and Bugs
1403======================
1404
1405To learn how to install and update salt-formulas, consult the documentation
1406available online at:
1407
1408 http://salt-formulas.readthedocs.io/
1409
1410In the unfortunate event that bugs are discovered, they should be reported to
1411the appropriate issue tracker. Use Github issue tracker for specific salt
1412formula:
1413
1414 https://github.com/salt-formulas/salt-formula-neutron/issues
1415
1416For feature requests, bug reports or blueprints affecting entire ecosystem,
1417use Launchpad salt-formulas project:
1418
1419 https://launchpad.net/salt-formulas
1420
1421You can also join salt-formulas-users team and subscribe to mailing list:
1422
1423 https://launchpad.net/~salt-formulas-users
1424
1425Developers wishing to work on the salt-formulas projects should always base
1426their work on master branch and submit pull request against specific formula.
1427
1428 https://github.com/salt-formulas/salt-formula-neutron
1429
1430Any questions or feedback is always welcome so feel free to join our IRC
1431channel:
1432
1433 #salt-formulas @ irc.freenode.net