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 topologiesUbuntu-branded dashboard for managing physical networks, showing IP addresses, network interfaces, and topology options.

    Figure 2 shows how to add a physical topology.

    Figure 2: Add Physical TopologyForm titled Add Topology for defining connection between Host NIC and Switch Port with fields for Host Name, NIC, Switch Name, Interface, and optional Aggregate. Cancel and Add Topology buttons at bottom.

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

    Figure 3: Add Topology from LLDPUser interface for adding network topology using LLDP with fields for switch name and description, and buttons for cancel and add topology.

    Figure 4 shows how to edit a physical topology.

    Figure 4: Edit Physical TopologyUser interface for editing network topology settings with fields for host name, NIC, switch name, interface, and aggregate. Includes Cancel and Save changes buttons.

    Figure 5 shows how to delete a physical topology.

    Figure 5: Delete a Physical TopologyWeb interface for managing physical networks with details on hosts, NICs, switches, interfaces, and aggregates. Ubuntu branding visible.

    Figure 6 shows how to delete multiple physical topologies.

    Figure 6: Delete Multiple Physical TopologiesUbuntu-branded interface for managing physical networks showing a table with Host IPs, NICs, Switch IPs, and options to add or edit topologies.