Metaplugin
Contents
Note for setup metaplugin with OpenStack networking
- Current status of Metaplugin is experimental, so it may not be working
- Metaplugin is not tested in CI, so may be broken
Setup
- setup linuxbridge and make sure it is working
- setup openvswith and make sure it is working
Setup nova-meta-driver
git clone https://github.com/nttmcl/nova-meta-driver.git cd nova-meta-driver sudo python setup develop
Add followings to the /etc/quantum/dhcp_agent.ini
meta_flavor_driver_mappings = "openvswitch:quantum.agent.linux.interface.OVSInterfaceDriver,linuxbridge:quantum.agent.linux.interface.BridgeInterfaceDriver" interface_driver = quantum.agent.linux.interface.MetaInterfaceDriver
Add l3_agent.ini
meta_flavor_driver_mappings = "openvswitch:quantum.agent.linux.interface.OVSInterfaceDriver,linuxbridge:quantum.agent.linux.interface.BridgeInterfaceDriver" interface_driver = quantum.agent.linux.interface.MetaInterfaceDriver
Add /etc/quantum/quantum.conf
core_plugin = quantum.plugins.metaplugin.meta_quantum_plugin.MetaPluginV2
Add /etc/default/quantum-server
QUANTUM_PLUGIN_CONFIG="/etc/quantum/plugins/metaplugin/metaplugin.ini"
Add followings to the nova.conf
meta_flavor_driver_mappings=openvswitch:nova.virt.libvirt.vif.LibvirtOpenVswitchDriver,linuxbridge:nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver libvirt_vif_driver=metaplugin.vif.MetaBridgeDriver