Enable the networking-generic-switch driver

Enable the networking-generic-switch driver

Note

This feature is available starting from the MCP 2019.2.6 maintenance update. Before using the feature, follow the steps described in Apply maintenance updates.

Note

This feature is available as technical preview. Use such configuration for testing and evaluation purposes only.

The networking-generic-switch ML2 mechanism driver in Neutron implements the features required for multitenancy support on the Ironic bare metal nodes. This driver requires the corresponding configuration of the Neutron server service.

To enable the networking-generic-switch driver:

  1. Log in to the Salt Master node.

  2. Open the cluster level of your deployment model.

  3. In openstack/control.yml, add pillars for networking-generic-switch using the example below:

    parameters:
      ...
      neutron:
        server:
          backend:
            mechanism:
              ngs:
                driver: genericswitch
          n_g_s:
            enabled: true
            coordination: # optional
              enabled: true
              backend_url: "etcd3+http://1.2.3.4:2379"
            devices:
              s1brbm:
                options:
                  device_type:
                    value: netmiko_ovs_linux
                  ip:
                    value: 1.2.3.4
                  username:
                    value: ngs_ovs_manager
                  password:
                    value: password
    
  4. Apply the new configuration for the Neutron server:

    salt -C 'I@neutron:server' saltutil.refresh_pillar
    salt -C 'I@neutron:server' state.apply neutron.server