Difference between revisions of "Metaplugin"
Nachi Ueno (talk | contribs) (Created page with "# 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 br...") |
Nachi Ueno (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | == Note for setup metaplugin with OpenStack networking == | |
* Current status of Metaplugin is experimental, so it may not be working | * Current status of Metaplugin is experimental, so it may not be working | ||
* Metaplugin is not tested in CI, so may be broken | * Metaplugin is not tested in CI, so may be broken | ||
− | + | == Setup == | |
* setup linuxbridge with devstack and make sure it is working | * setup linuxbridge with devstack and make sure it is working | ||
* setup openvswithc 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) | DEST=/opt/stack (which devstack is installed) | ||
Line 17: | Line 17: | ||
sudo python setup develop | 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" | meta_flavor_driver_mappings = "openvswitch:quantum.agent.linux.interface.OVSInterfaceDriver,linuxbridge:quantum.agent.linux.interface.BridgeInterfaceDriver" | ||
interface_driver = quantum.agent.linux.interface.MetaInterfaceDriver | 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" | meta_flavor_driver_mappings = "openvswitch:quantum.agent.linux.interface.OVSInterfaceDriver,linuxbridge:quantum.agent.linux.interface.BridgeInterfaceDriver" | ||
interface_driver = quantum.agent.linux.interface.MetaInterfaceDriver | interface_driver = quantum.agent.linux.interface.MetaInterfaceDriver | ||
− | + | == Add /etc/quantum/quantum.conf == | |
core_plugin = quantum.plugins.metaplugin.meta_quantum_plugin.MetaPluginV2 | 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 | meta_flavor_driver_mappings=openvswitch:nova.virt.libvirt.vif.LibvirtOpenVswitchDriver,linuxbridge:nova.virt.libvirt.vif.QuantumLinuxBridgeVIFDriver | ||
libvirt_vif_driver=metaplugin.vif.MetaBridgeDriver | libvirt_vif_driver=metaplugin.vif.MetaBridgeDriver |
Revision as of 17:49, 15 May 2013
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 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