Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

Configuring OpenStack Extension for Physical Topology

Physical Topology extension provides a dashboard for the OpenStack administrator to manage physical network connections. For example, Host NIC to Switch Port mapping. The Physical topology API exposes these physical network connections.

Juniper neutron plug-in currently manages topology information by using the jnpr_switchport_mapping command.

Plug-in Configuration

To configure the physical topology extension:

  1. On OpenStack Controller, update the ML2 configuration file etc/neutron/plugins/ml2/ml2_conf.ini as follows:
    Note:

    If the file is updated to enable EVPN driver for VXLAN, skip this step.

  2. Update the Neutron configuration file /etc/neutron/neutron.conf as follows:

    core_plugin = neutron.plugins.ml2.plugin_pt_ext.Ml2PluginPtExt

  3. Enable Physical topology dashboard as follows:
    • CentOS

      cp /usr/lib/python2.7/site-packages/juniper_horizon_physical-topology/

      openstack_dasboard/enabled/_2102_admin_topology_panel.py

      /usr/share/openstack-dashboard/openstack_dashboard/enabled/

    • Ubuntu

      cp /usr/lib/python2.7/dist-packages/juniper_horizon_physical-topology/

      openstack_dasboard/enabled/_2102_admin_topology_panel.py

      /usr/share/openstack-dashboard/openstack_dashboard/enabled/

  4. Restart Neutron and Horizon services:
    • Neutron-Server

      • Ubuntu - service neutron-server restart

      • CentOS - systemctl restart neutron-server

    • Apache (restarts Horizon)

      • Ubuntu - service apache2 restart

      • CentOS - systemctl restart httpd

  5. After the installation is complete, the physical topology dashboard is available at Admin > System > Physical Networks.

    From the Physical Networks dashboard, you can perform the following tasks:.

    Figure 1 shows how to view physical topologies.

    Figure 1: View Physical topologiesView Physical topologies

    Figure 2 shows how to add a physical topology.

    Figure 2: Add Physical TopologyAdd Physical Topology

    Figure 3 shows how to add a physical topology from LLD.

    Figure 3: Add Topology from LLDPAdd Topology from LLDP

    Figure 4 shows how to edit a physical topology.

    Figure 4: Edit Physical TopologyEdit Physical Topology

    Figure 5 shows how to delete a physical topology.

    Figure 5: Delete a Physical TopologyDelete a Physical Topology

    Figure 6 shows how to delete multiple physical topologies.

    Figure 6: Delete Multiple Physical TopologiesDelete Multiple Physical Topologies