Install and configure for openSUSE and SUSE Linux Enterprise

Install and configure for openSUSE and SUSE Linux Enterprise

This section describes how to install and configure the Ansible Networking ML2 Driver for openSUSE Leap 42.1 and SUSE Linux Enterprise Server 12 SP1.

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:

    # zypper --quiet --non-interactive 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:

# systemctl restart neutron-server.service
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.