Jump to: navigation, search

CrossProject:Integration Group:East Test Lab

Maintainer

Li Guangpeng (liguangpeng@huawei.com)

Lab Administrator

odp-lab@huawei.com

Introduction

The framework for Continuous System Integration Test will be hosted in existing OpenDaylight servers at ODL Test Lab. In order to help more people (especially in the East) to get familiar with ODP controller, Huawei established a new test lab in China. Both labs can be used for:

  • Get familiar with controller (DUT)
  • Evaluate test tools
  • Debug system test code

This page will introduce how to use Huawei’s lab. The following is current Lab topology:

The Lab Topology.png

Details Of VMs

Following VMs are already available:

  • Test Tools image
    • Purpose: install/evaluate test tools
    • System: Ubuntu Server 12.04 (64 bits), 4 Cores, 4 GB RAM, 40 GB HDD
    • Interfaces: 172.16.54.11/24 for operation and 172.16.59.11/24 for traffic
    • Applications: Robot 2.8.3, Python 2.7.3, Firefox REST client
    • Access: SSH or VNC to 172.16.54.11 (odluser/odluser1)
  • Controller image
    • Purpose: run controller (DUT)
    • System: Ubuntu Server 12.04 (64 bits), 4 Cores, 4 GB RAM, 40 GB HDD
    • Interfaces: 172.16.54.12/24 for operation and 172.16.59.12/24 for traffic
    • Applications: OpenDaylight controller
    • Access: SSH to 172.16.54.12(odluser/odluser1)
  • Mininet image
    • Purpose: simulate OF switches
    • System: Ubuntu Server 12.04 (64 bits), 4 Cores, 4 GB RAM, 40 GB HDD
    • Interfaces: 172.16.54.13/24 for operation and 172.16.59.13/24 for traffic
    • Applications: Mininet 2.1.0 with OVS 2.0.0
    • Access: SSH to 172.16.54.13 (odluser/odluser1)
  • OFSwitch image (not used yet)
    • Purpose: simulate OF 1.3 switches
    • System: Ubuntu Server 12.04 (64 bits), 4 Cores, 4 GB RAM, 40 GB HDD
    • Interfaces: 172.16.54.14/24 for operation and 172.16.59.14/24 for traffic
    • Applications: not used yet
    • Access: SSH to 172.16.54.14 (odluser/odluser1)

Book The Lab

To use the lab, you just need send request to administrator (odp-lab@huawei.com). Before you send the email, please see a free time slot at here.

Lab Access

Lab access is provided through SSH server with username/password. Every time you book the lab, you will receive an email from odp-lab@huawei.com which writes username/password pairs. In case of authentication problems, just feel free to contact odp-lab@huawei.com. Please follow the steps bellow to access the lab. There are 2 approaches to access the SSH server. Please use the traffic subnet for test traffic and O&M subnet for operation traffic.

Access lab through SSH Client (recommended)

Execute command in prompt:

ssh username@demo-odplab.huawei.com

Then, use following commands to access VMs (172.16.54.11-14) and use ‘odluser1’ as password:

~$ssh odlsuer@172.16.54.11
~$ssh odluser@172.16.54.12
~$ssh odluser@172.16.54.13
~$ssh odluser@172.16.54.14

For SSH forwarding (SSH tunnels), execute (e.g. forwarding VNC traffic):

ssh –L 15900:172.16.54.11:5900 username@demo-odplab.huawei.com

Then just VNC to localhost:15900 to access 172.16.54.11’s desktop.

VNCViewer.png

Access lab through web gate

For users who cannot work with port 22 (maybe behind a proxy or firewall), SSH web gate is provided through http protocol. To access SSH server through https, please visit URL at https://demo-odplab.huawei.com/gateone. After start controller at <Controller VM>, visit http://demo-odplab.huawei.com:8080 for OpenDaylight web GUI.