Metro-Haul/Net2Plan Hackathon Report
By Miquel Garrich Alabarce, UPC
Net2Plan  is a free and open-source Java tool initiated in 2011, devoted to planning, optimization, and evaluation of communication networks, with the following major characteristics:
- Multilayer technology-agnostic network representation that permits adaptation of Net2Plan to multiple network technologies (e.g., WDM, IP, IP over WDM, wireless ad-hoc, and wireless cellular).
- Open API for developing and plugging in self-made or already-available optimization algorithms.
- Open source and accessible in usual repositories .
- Command line interface (CLI) and graphical user interface (GUI) for network visualization and manipulation of the data as shown in Figure 1.
Net2Plan includes an extensive built-in repository of offline planning and online provisioning algorithms, as well as reports, documented in a Javadoc format , with mathematical details described via links to . Some of these resources are of direct application to SDN/NFV scenarios relevant to the Metro-Haul project.
Figure 1 Net2Plan’s network visualization in the graphical user interface (GUI) and network design table
Metro-Haul/Net2Plan Hackathon Motivation
Net2Plan has been chosen by the Metro-Haul consortium as the planning tool and common framework for collaboration among partners, exploiting its multiple functionalities for algorithm development, capacity planning, resource provisioning and automatic report generation. Net2Plan will also help in disseminating the results in public repositories, for public validation and inspection. In the Metro-Haul context, Net2Plan is in charge of executing algorithms that perform two distinct roles:
- On-line resource provisioning exploits the interfacing capabilities (i.e., APIs) of Net2Plan to indicate the suitable network/IT resources that can be provisioned and configured during operation. This is performed by algorithms for traffic-based dynamic metro resource activation, in correlation with service traffic monitoring, resource availability, and service requirements. These algorithms compute virtual network function (VNF) placement and network resource allocation suitable for metro network scenarios where operators’ central offices are equipped with both networking functionalities and computing and storage facilities. Consequently, Net2Plan is able to perform on-line resource provisioning to provide appropriate indications to Metro-Haul’s Control Orchestration and Management (COM) architecture on how to jointly allocate / provision network and IT resources. These functionalities have been preliminarily reported in  and  and apply specifically to work packages 4 and 5.
- Off-line network design algorithms are mainly devoted to capacity planning and network design. The input to the algorithms is the current network design characterized by topological and technological information as generated consistent with work package 3, as well as user-defined input parameters. The algorithms generate a new design as output. This role clearly fits for the techno-economic analyses to be performed in work package 2 of the Metro-Haul project. In particular, a systematic approach for metro network evaluation is implemented following 4 steps:
- Definition of reference architectures: Leveraging the Net2Plan extension presented in  a number of maps can be imported that permit estimating population densities in the city, as well as city layouts aiming to couple node positions with population densities.
- Definition of reference user demands for identified 5G services: This step will produce Net2Plan traffic generation algorithms and traffic traces in readable formats, characterized by being time-dependent reflecting variations, and multidimensional considering bandwidth between nodes. Access to services that consume IT resources (CPU, RAM, HD) in metro nodes is also in scope.
- Joint IT and transport resource allocation algorithms.
- Network dimensioning and techno-economic analyses.
Additionally, key service requirements and key performance indicators (KPIs) of the different use cases expressed in Metro-Haul work package 2 (Deliverable 2.1) are taken into account in the algorithm execution.
The NFV, IP over WDM (NIW) library, available in the current Net2Plan version 0.6 , is proposed as a common framework for the 4-step systematic metro network evaluation and motivated the Metro-Haul/Net2Plan hackathon.
Hackathon Content and Participation
The two-day Metro-Haul/Net2Plan hackathon was held on 28th and 29th June 2018 in the Telecommunications Engineering School facilities at the Technical University of Cartagena (Spain). The hackathon followed a course-like structure covering:
(i) Net2Plan introduction that included its features, graphical interface, tools (offline design, reports, what-ifs, online design), and the development of algorithms.
(ii) Description of the NIW library, i.e., the Metro-Haul IP over WDM model over Net2Plan network model, which allows importing data to Net2Plan via Excel spreadsheets.
(iii) Hands-on practical exercises on use-cases, adding some restrictions or new features to the algorithms and executing those algorithms in different scenarios (modifying the spreadsheet) to obtain data.
The Metro-Haul/Net2Plan hackathon assistance was: Sebastian Troia (Polimi), Leila Askari (Polimi), Albert Rafel (BT), and Nacho Martín (UC3M).
In addition to the instructors from UPCT: José Juan Pedreño Manresa, José Luis Romero Gázquez, Francisco Javier Moreno Muro, Miquel Garrich, Mª Victoria Bueno Delgado, and Pablo Pavón Mariño.
The practical exercises focused on different scenarios in the SDN/NFV context and were addressed with the hands-on live development of 100 lines of code to, among other targets:
- Create lightpath (LP) requests between every pair of nodes
- Add LPs considering available paths and wavelengths
- Create IP links and couple them to the LP requests
- Instantiate VNFs on each node
- Deploy Service Chains: IP links and VNFs
- Address/explore scalability, capacity, and consumption of VNFs
- Import data to Net2Plan via Excel spreadsheets
- Exploit interaction with the GUI for parameter selection and configuration
More information about the code produced is available in .
The Metro-Haul/Net2Plan hackathon achievements were:
- The proposal of a common framework implemented in a specific library that was exercised in the Metro-Haul community.
- Foster collaborative work (i.e., collaborations) toward the correlation of Metro-Haul partners’ efforts in their actions and content on network design and evaluation.
- Bridge the gap between topology information and traffic measures supplied by operators, and algorithmic proposals and studies generated by the academic partners in Metro-Haul.
Impact on Metro-Haul and Partners’ Interests
Net2plan has a role in Metro-Haul given its ability to address on-line resource provisioning and off-line network design algorithmic challenges. The NIW library eases the planning, provisioning, optimization and evaluation of NFV performance on top of IP-over-WDM topologies. This paves the way toward a common evaluation framework among Metro-Haul partners so that different topologies and the traffic conditions of WDM technologies (e.g., filterless, broadband or filtered) can be easily analysed.
This is certainly of interest of project partners given the role of Net2Plan and the NIW library in Metro-Haul.
Interest Remarks for Metro-Haul Followers
The hackathon demonstrated successful collaboration between Metro-Haul partners.
Metro-Haul partners and followers may consider the hackathon content ( and ) as available material to get introduced to Net2Plan capabilities to perform analysis and evaluation of NFV on top of IP-over-WDM scenarios.
 P. Pavón-Mariño, “Optimization of Computer Networks: Modeling and Algorithms: a Hands-on Approach,” John Wiley & Sons, 2016.
 F.J. Moreno-Muro, et al., “Joint Optimal Service Chain Allocation, VNF instantiation and Metro Network Resource Management Demonstration”, in proc. OFC, San Diego, CA, USA, 2018.
 F.J. Moreno-Muro, et al., “Latency-aware Optimization of Service Chain Allocation with joint VNF instantiation and SDN metro network control,” in proc. ECOC, pp. TuDS.12, Rome, Italy, 2018.
 J. L. Romero-Gázquez, M. V. Bueno-Delgado, F. J. Moreno-Muro and P. Pavon-Marino, “Net2plan-GIS: An open-source Net2Plan extension integrating GIS data for 5G network planning”, in proc. ICTON, Bucharest, Romania, 2018.