Add a section for single interface networking with Linux Bridge.
Change-Id: I595bc539297bf02182db5a33eeb44360e9eef9a3
| ... | ... |
@@ -6,6 +6,8 @@ This guide will walk you through using OpenStack neutron with the ML2 |
| 6 | 6 |
plugin and the Open vSwitch mechanism driver. |
| 7 | 7 |
|
| 8 | 8 |
|
| 9 |
+.. _single-interface-ovs: |
|
| 10 |
+ |
|
| 9 | 11 |
Using Neutron with a Single Interface |
| 10 | 12 |
===================================== |
| 11 | 13 |
|
| ... | ... |
@@ -74,6 +76,8 @@ serving as a hypervisor for guest instances. |
| 74 | 74 |
PUBLIC_NETWORK_GATEWAY="172.18.161.1" |
| 75 | 75 |
Q_L3_ENABLED=True |
| 76 | 76 |
PUBLIC_INTERFACE=eth0 |
| 77 |
+ |
|
| 78 |
+ # Open vSwitch provider networking configuration |
|
| 77 | 79 |
Q_USE_PROVIDERNET_FOR_PUBLIC=True |
| 78 | 80 |
OVS_PHYSICAL_BRIDGE=br-ex |
| 79 | 81 |
PUBLIC_BRIDGE=br-ex |
| ... | ... |
@@ -411,7 +415,7 @@ compute node 1. |
| 411 | 411 |
# Services that a compute node runs |
| 412 | 412 |
ENABLED_SERVICES=n-cpu,rabbit,q-agt |
| 413 | 413 |
|
| 414 |
- ## Neutron options |
|
| 414 |
+ ## Open vSwitch provider networking options |
|
| 415 | 415 |
PHYSICAL_NETWORK=default |
| 416 | 416 |
OVS_PHYSICAL_BRIDGE=br-ex |
| 417 | 417 |
PUBLIC_INTERFACE=eth1 |
| ... | ... |
@@ -474,3 +478,48 @@ Extension drivers for the ML2 plugin are set with the variable |
| 474 | 474 |
by default. If you want to remove all the extension drivers (even |
| 475 | 475 |
'port_security'), set ``Q_ML2_PLUGIN_EXT_DRIVERS`` to blank. |
| 476 | 476 |
|
| 477 |
+ |
|
| 478 |
+Using Linux Bridge instead of Open vSwitch |
|
| 479 |
+------------------------------------------ |
|
| 480 |
+ |
|
| 481 |
+The configuration for using the Linux Bridge ML2 driver is fairly |
|
| 482 |
+straight forward. The Linux Bridge configuration for DevStack is similar |
|
| 483 |
+to the :ref:`Open vSwitch based single interface <single-interface-ovs>` |
|
| 484 |
+setup, with small modifications for the interface mappings. |
|
| 485 |
+ |
|
| 486 |
+ |
|
| 487 |
+:: |
|
| 488 |
+ |
|
| 489 |
+ [[local|localrc]] |
|
| 490 |
+ HOST_IP=172.18.161.6 |
|
| 491 |
+ SERVICE_HOST=172.18.161.6 |
|
| 492 |
+ MYSQL_HOST=172.18.161.6 |
|
| 493 |
+ RABBIT_HOST=172.18.161.6 |
|
| 494 |
+ GLANCE_HOSTPORT=172.18.161.6:9292 |
|
| 495 |
+ ADMIN_PASSWORD=secrete |
|
| 496 |
+ DATABASE_PASSWORD=secrete |
|
| 497 |
+ RABBIT_PASSWORD=secrete |
|
| 498 |
+ SERVICE_PASSWORD=secrete |
|
| 499 |
+ |
|
| 500 |
+ # Do not use Nova-Network |
|
| 501 |
+ disable_service n-net |
|
| 502 |
+ # Enable Neutron |
|
| 503 |
+ ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,q-agt,q-l3 |
|
| 504 |
+ |
|
| 505 |
+ |
|
| 506 |
+ ## Neutron options |
|
| 507 |
+ Q_USE_SECGROUP=True |
|
| 508 |
+ FLOATING_RANGE="172.18.161.0/24" |
|
| 509 |
+ FIXED_RANGE="10.0.0.0/24" |
|
| 510 |
+ Q_FLOATING_ALLOCATION_POOL=start=172.18.161.250,end=172.18.161.254 |
|
| 511 |
+ PUBLIC_NETWORK_GATEWAY="172.18.161.1" |
|
| 512 |
+ Q_L3_ENABLED=True |
|
| 513 |
+ PUBLIC_INTERFACE=eth0 |
|
| 514 |
+ |
|
| 515 |
+ Q_USE_PROVIDERNET_FOR_PUBLIC=True |
|
| 516 |
+ |
|
| 517 |
+ # Linuxbridge Settings |
|
| 518 |
+ Q_AGENT=linuxbridge |
|
| 519 |
+ LB_PHYSICAL_INTERFACE=eth0 |
|
| 520 |
+ PUBLIC_PHYSICAL_NETWORK=default |
|
| 521 |
+ LB_INTERFACE_MAPPINGS=default:eth0 |