This section describes how to install and configure the Ansible Networking ML2 Driver for Red Hat Enterprise Linux 7 and CentOS 7.
Before you install and configure the Ansible Networking ML2 Driver, you must configure your OpenStack installation for vlan tenant networking.
Install the packages:
# yum install networking-ansible
Edit the /etc/neutron/plugins/ml2/ml2_conf.ini
file and complete the following
actions:
Create a section for each host with a section name prefixed by ansible:
:
[ansible:myhostname]
ansible_network_os=vyos
ansible_host=10.10.2.250
ansible_user=ansible
ansible_pass=password
myhostname is an internal identifier used in ironic’s link_local_information
ansible_network_os is a valid Ansible Networking value to indicate switch type
ansible_host is the IP address or hostname used to connect to the switch
ansible user and pass are credentials used to connect to the switch
Restart the neutron-server service:
# systemctl restart neutron-server.service
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.