Atom feed of this document
 

 Configuration

  • controlnode - Quantum Server

    1. Quantum configuration file /etc/quantum/quantum.conf:

      core_plugin = quantum.plugins.openvswitch.ovs_quantum_plugin.OVSQuantumPluginV2
      rabbit_host = controlnode
      notification_driver = quantum.openstack.common.notifier.rabbit_notifier
      allow_overlapping_ips = True
      host = controlnode
      
    2. Update the plugin configuration file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini:

      [DATABASE]
      sql_connection = mysql://root:root@controlnode:3306/ovs_quantum?charset=utf8
      [OVS]
      tenant_network_type = vlan
      network_vlan_ranges = physnet1:1000:2999
      
  • HostA, HostB and HostC - L2 Agent

    1. Quantum configuration file /etc/quantum/quantum.conf:

      rabbit_host = controlnode
      rabbit_password = openstack
      # host = HostB on hostb, HostC on hostc
      host = HostA
      
    2. Update the plugin configuration file /etc/quantum/plugins/openvswitch/ovs_quantum_plugin.ini:

      [OVS]
      bridge_mappings = physnet1:br-eth0
  • controlnode, HostA and HostC - nova

    1. Update the nova configuration file /etc/nova/nova.conf:

      [DEFAULT]
      # host=HostA on hosta, HostC on hostc
      host=controlnode
      network_api_class=nova.network.quantumv2.api.API
      quantum_admin_username=quantum
      quantum_admin_password=servicepassword
      quantum_admin_auth_url=http://controlnode:35357/v2.0/
      quantum_auth_strategy=keystone
      quantum_admin_tenant_name=servicetenant
      quantum_url=http://100.1.1.10:9696/
      firewall_driver=nova.virt.firewall.NoopFirewallDriver
      libvirt_vif_driver=nova.virt.libvirt.vif.LibvirtOpenVswitchDriver
  • HostA and HostC - DHCP Agent

    1. Update the DHCP configuration file /etc/quantum/dhcp_agent.ini:

      [DEFAULT]
      interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
      dhcp_driver = quantum.agent.linux.dhcp.Dnsmasq
      use_component_ext = True
  • HostA and HostB - L3 Agent

    1. Update the L3 configuration file /etc/quantum/l3_agent.ini:

      [DEFAULT]
      interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver



loading table of contents...