As an alternative to the default SDN, OpenShift Origin also provides Ansible
playbooks for installing flannel-based networking. This is useful if running
OpenShift Origin within a cloud provider platform that also relies on SDN,
such as OpenStack, and you want to avoid encapsulating packets twice through
To enable flannel within your OpenShift Origin cluster, set the following
variables in your Ansible inventory file before running the installation.
openshift_use_openshift_sdn variable to false disables the
default SDN and setting the
openshift_use_flannel variable to true enables
flannel in place.
You can optionally specify the interface to use for inter-host communication
flannel_interface variable. Without this variable, the
OpenShift Origin installation uses the default interface.