os-xenapi/devstack/dom0_functions
Huan Xie befb1601f6 Enable neutron VxLAN
1. Set ovs-agent (q-domua) configurations in ml2_conf.ini.domU
including enable iptables in dom0 for ovs native mode
2. Enable VxLAN by configuring the tunnel between dom0 and domU
and enable port 4789 in dom0
3. Install neutron dom0 plugin
4. Configure nova.conf to use the XenAPIOpenVswitchDriver

Note:
I also made a patch I8a31c81d9475387fe4ed7030b70b26098e588771
in devstack, which removed the duplicated code added in this
patch, we can also monitor that patch's CI test result

Change-Id: Ic816404c84f6a8899d01a77cb67fbfb421653e6b
2017-03-19 22:59:04 -07:00

12 lines
287 B
Bash

#!/bin/bash
function dom0_plugin_location {
for PLUGIN_DIR in "/etc/xapi.d/plugins" "/usr/lib/xcp/plugins" "/usr/lib/xapi/plugins" "/usr/lib64/xapi/plugins"; do
if [ -d $PLUGIN_DIR ]; then
echo $PLUGIN_DIR
return 0
fi
done
return 1
}