Install and configure for Ubuntu

Install and configure for Ubuntu

This section describes how to install and configure the Ansible Networking ML2 Driver for Ubuntu 14.04 (LTS).

Prerequisites

Before you install and configure the Ansible Networking ML2 Driver, you must configure your OpenStack installation for vlan tenant networking.

  1. TODO: Link to or create documentation to show how to do this.

Install and configure components

  1. Install the packages:

    # apt-get update
    
    # apt-get install networking-ansible
    
  1. 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

Finalize installation

Restart the neutron-server service:

# service neutron-server restart
Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.