Oracle® Ethernet Switch ML2 Mechanism Driver for OpenStack Neutron Installation Guide

Exit Print View

Updated: June 2015
 
 

Install and Configure the Oracle Ethernet Switch ML2 Mechanism Driver

  1. On the controller, get and install the ES2 ML2 Mechanism Driver package. Unzip package and install the rpm.
    yum localinstall openstack-neutron-es2-2014.1-1.0.0.el6.noarch.rpm
    
  2. Point the plugin.ini configuration at the ml2_conf_oracle_es2.ini for the oracle_es2 mechanism driver.
    unlink /etc/neutron/plugin.ini
    ln -s /etc/neutron/plugins/ml2/ml2_conf_oracle_es2.ini /etc/neutron/plugin.ini
    
  3. Update [ml2_oracle_ofm] section/etc/neutron/plugins/ml2/ml2_conf_oracle_es2.ini with your OFM hostname, port and login credentials:
    ofm_hostname = localhost
    ofm_port = 8443
    ofm_username = user
    ofm_password= password
    ofm_verify_certificate = True
    
  4. For each switch managed by OpenStack and OFM, create a new section [ml2_type_vlan] in /etc/neutron/plugins/ml2/ml2_conf_oracle_es2.ini with the range of VLANs (for example, 1000-2999) that are available on the physical network (for example, default):
    openstack-config --set /etc/neutron/plugin.ini ml2_type_vlan network_vlan_ranges "default:1000:2999"
    
  5. For each switch managed by OpenStack and OFM, create a new section [ml2_oracle_es2:switch_ip] and specify the mapping of switch ports to hosts.

    For example:

    [ml2_oracle_es2:10.129.86.24]
    extreme-ethernet 0/36 = host1
    extreme-ethernet 0/38 = host2
    
  6. Configure the OpenvSwitch agent to start at boot.
    chkconfig neutron-openvswitch-agent on
    
  7. Restart neutron services on the controller and restart OpenvSwitch agent on all nodes after changes to the configuration file:
    openstack-service restart neutron
    service neutron-openvswitch-agent restart