%BOOK_ENTITIES; %xinclude; ]>
Prerequisites In order to use the MidoNet plugin, the compute hosts must be running the MidoNet Agent, and the MidoNet API server must be available. Please consult the MidoNet User Guide for more information. The following section describes the &PRODUCT; side setup. &PRODUCT; needs to have at least one physical network with the isolation method set to "MIDO". This network should be enabled for the Guest and Public traffic types. Next, we need to set the following &PRODUCT; settings under "Global Settings" in the UI: &PRODUCT; settings Setting Name Description Example midonet.apiserver.address Specify the address at which the Midonet API server can be contacted http://192.168.1.144:8081/midolmanj-mgmt midonet.providerrouter.id Specifies the UUID of the Midonet provider router d7c5e6a3-e2f4-426b-b728-b7ce6a0448e5
We also want MidoNet to take care of public traffic, so in componentContext.xml we need to replace this line: ]]> With this: ]]>
On the compute host, MidoNet takes advantage of per-traffic type VIF driver support in &PRODUCT; KVM. In agent.properties, we set the following to make MidoNet take care of Guest and Public traffic: libvirt.vif.driver.Guest=com.cloud.network.resource.MidoNetVifDriver libvirt.vif.driver.Public=com.cloud.network.resource.MidoNetVifDriver This is explained further in MidoNet User Guide.