ELEC5517: Software Defined Networks

n58h2r發表於2024-10-01

ELEC5517: Software Defined Networks

Project II with ONOS controller and P4 language

Background

Considering a company is developing a network topology, and we are going to simulate the

deployment. This company has three departments, and each department owns several devices.These three departments have different responsibilities and network requirements: (a)department owns one device, and only handle basic data transmit tasks (e.g., email). (b)department owns two devices and requires access streaming media. (c) department owns twodevices and handle a small amount of data transmit tasks only during certain times.

Task 1:

Design and create a topology, enabling:

  1. ONOS (or other learnt in this unit) as the controller.
  2. Network requirements are satisfied.
  3. The communication between different departments is only available underpermissions.
  1. Send HTTP amongst nodes and capture the OpenFlow packets. Analyze thecaptured packets for each department and show possible similarities and differencesof the results.

Task 2:

Based on new requirements, the company decides to divide the network into two to supportinter-communication amongst two industries. In this customized topology, two departments (a,

  1. b) are allowed to communicate with each other while the third department should not be ablecommunication with the others.Perform the following tasks based on the new sliced topology:
  1. Use ONOS flow endpoint API to achieve isolation of the third department from therest of the network.
  1. Display and analyze flow statistics at each of the edge 代 寫ELEC5517: Software Defined Networks switch (close to the device)using ONOS flow statistics end point API.Using host endpoint API please add a new host to department a.
  1. Show the flows and demonstrate the designed network is achieved. Task 3:Review this designed network, think from the functions and controller perspectives:
  1. Identify one disadvantage, this disadvantage could be some functions haveot been supported by the current network, potential missing monitoring, etc.
  1. Provide discussion about the disadvantage and potential risk,
  2. Achieve improvement.

Task 4:

Based on the requirements, we are required to achieve the following requirements through P4

language.

  1. Drop the NetFlow once the IP equals to h1(the one belongs to department a).
  2. Enable the IPV4 forwarding function.
  3. Increase the survivability in IP headers (TTL)Based on the requirements, please complete the coding block.

control MyIngress( )

{

}Please provide screenshots and descriptions to demonstrate that you have achieved theobjectives. The report should be compiled and submitted as a group, similar to Assignment 1.Ensure you include the names, SIDs, and the Group ID of all group members in your report.Good luck!ELEC5517 Teaching Team

相關文章