Jump to: navigation, search

Metaplugin

Revision as of 17:49, 15 May 2013 by Nachi Ueno (talk | contribs)

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 with devstack and make sure it is working
  • setup openvswithc with devstack and make sure it is working

Setup nova-meta-driver

DEST=/opt/stack (which devstack is installed) cd $DEST git clone git@github.com:nttmcl/nova-meta-driver.git cd $DEST/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 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