Ansible role for midolman, the MidoNet Agent This is the Openvswitch datapath controller and must run in all the Hypervisor hosts.
Ubuntu or RedHat/CentOS
- Required:
zookeeper_hosts
should be a dictionary or group in hosts inventory with all zookeeper members.
cluster_password
is the administration password needed for midonet cluster API.
- Not Required:
agent_template
is one of the agent predefined profiles, agent-compute-medium by default:
agent-compute-large agent-compute-medium agent-gateway-large agent-gateway-medium default
If tz_name
is defined, host will be added to the specified tunnel zone.
The rest of midonet variables should be configured in midonet-cluster role.
Use zk_iface variable if zookeeper is listening in other interface than ansible_default_ipv4. For example:
zk_iface: "eth1"
Midonet repositories ( abelboldu.midonet-repos )
- hosts: compute
roles:
- role: abelboldu.midonet-agent
zookeeper_hosts: '{{ groups["zookeeper"] }}'
midonet_password: 'midonet'
Apache 2.0