Browse code

Merge "docs: Linux Bridge configuration for Neutron"

Jenkins authored on 2016/01/28 09:22:10
Showing 1 changed files
... ...
@@ -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
 
... ...
@@ -76,6 +78,8 @@ serving as a hypervisor for guest instances.
76 76
         PUBLIC_NETWORK_GATEWAY="172.18.161.1"
77 77
         Q_L3_ENABLED=True
78 78
         PUBLIC_INTERFACE=eth0
79
+
80
+        # Open vSwitch provider networking configuration
79 81
         Q_USE_PROVIDERNET_FOR_PUBLIC=True
80 82
         OVS_PHYSICAL_BRIDGE=br-ex
81 83
         PUBLIC_BRIDGE=br-ex
... ...
@@ -413,7 +417,7 @@ compute node 1.
413 413
         # Services that a compute node runs
414 414
         ENABLED_SERVICES=n-cpu,rabbit,q-agt
415 415
 
416
-        ## Neutron options
416
+        ## Open vSwitch provider networking options
417 417
         PHYSICAL_NETWORK=default
418 418
         OVS_PHYSICAL_BRIDGE=br-ex
419 419
         PUBLIC_INTERFACE=eth1
... ...
@@ -486,3 +490,48 @@ Extension drivers for the ML2 plugin are set with the variable
486 486
 by default. If you want to remove all the extension drivers (even
487 487
 'port_security'), set ``Q_ML2_PLUGIN_EXT_DRIVERS`` to blank.
488 488
 
489
+
490
+Using Linux Bridge instead of Open vSwitch
491
+------------------------------------------
492
+
493
+The configuration for using the Linux Bridge ML2 driver is fairly
494
+straight forward. The Linux Bridge configuration for DevStack is similar
495
+to the :ref:`Open vSwitch based single interface <single-interface-ovs>`
496
+setup, with small modifications for the interface mappings.
497
+
498
+
499
+::
500
+
501
+    [[local|localrc]]
502
+    HOST_IP=172.18.161.6
503
+    SERVICE_HOST=172.18.161.6
504
+    MYSQL_HOST=172.18.161.6
505
+    RABBIT_HOST=172.18.161.6
506
+    GLANCE_HOSTPORT=172.18.161.6:9292
507
+    ADMIN_PASSWORD=secrete
508
+    DATABASE_PASSWORD=secrete
509
+    RABBIT_PASSWORD=secrete
510
+    SERVICE_PASSWORD=secrete
511
+
512
+    # Do not use Nova-Network
513
+    disable_service n-net
514
+    # Enable Neutron
515
+    ENABLED_SERVICES+=,q-svc,q-dhcp,q-meta,q-agt,q-l3
516
+
517
+
518
+    ## Neutron options
519
+    Q_USE_SECGROUP=True
520
+    FLOATING_RANGE="172.18.161.0/24"
521
+    FIXED_RANGE="10.0.0.0/24"
522
+    Q_FLOATING_ALLOCATION_POOL=start=172.18.161.250,end=172.18.161.254
523
+    PUBLIC_NETWORK_GATEWAY="172.18.161.1"
524
+    Q_L3_ENABLED=True
525
+    PUBLIC_INTERFACE=eth0
526
+
527
+    Q_USE_PROVIDERNET_FOR_PUBLIC=True
528
+
529
+    # Linuxbridge Settings
530
+    Q_AGENT=linuxbridge
531
+    LB_PHYSICAL_INTERFACE=eth0
532
+    PUBLIC_PHYSICAL_NETWORK=default
533
+    LB_INTERFACE_MAPPINGS=default:eth0