Difference between revisions of "Ml2-huawei-switch-mech-driver"
(→Directory Structure) |
(→Directory Structure) |
||
Line 14: | Line 14: | ||
https://github.com/huaweiswitch/neutron/plugins/ml2/drivers/huawei | https://github.com/huaweiswitch/neutron/plugins/ml2/drivers/huawei | ||
{| class="wikitable" | {| class="wikitable" | ||
− | |||
− | |||
|- | |- | ||
| Example | | Example |
Revision as of 12:44, 18 November 2014
Contents
Overview
Huawei ML2 Mechanism Driver implement ML2 Plugin Mechanism Driver API. This driver can manage all types of Huawei switches.
Prerequisites
RDO install OpenStack Icehouse for CentOS6.5 Install the ncclient Python library for NETCONF client (see https://github.com/leopoul/ncclient) on the Neutron server.
Directory Structure
The Huawei Neutron ML2 Driver can be downloaded from the repository located at:
- Https://github.com/huaweiswitch/neutron/plugins/ml2/drivers/huawei
https://github.com/huaweiswitch/neutron/plugins/ml2/drivers/huawei
Example |
Configuration
Step 1:
Edit /etc/neutron/neutron.conf
- Core plugin = ml2
Step 2:
Edit /etc/neutron/plugins/ml2/ml2_conf.ini:
- Type drivers = vlan
- Tenant network types = vlan
- Mechanism drivers = openvswitch,huawei
Step 3:
Edit /etc/neutron/plugins/ml2/ml2_conf_huawei.ini:
- Hostaddr = Switch IP address
- Username = admin
- Password = password
- Portname = Switch port name
Step 4:
Start the neutron service by providing the relevant configuration files
Step 5:
Finally, restart neutron-server:
- Service neutron-server restart