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...") |
|||
(5 intermediate revisions by one other user not shown) | |||
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 | + | * setup linuxbridge and make sure it is working |
− | * setup | + | * 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 | |
− | cd | ||
− | 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" | ||
+ | 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 | + | 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 |
Latest revision as of 19:54, 16 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 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