Coder Social home page Coder Social logo

maojianwei / onos_link_quality_measurement Goto Github PK

View Code? Open in Web Editor NEW
16.0 3.0 2.0 290 KB

Measure latency(delay), jitter, packet loss ratio of all network links, in ONOS

Home Page: https://gerrit.onosproject.org/c/onos/+/24081

License: Apache License 2.0

Starlark 1.36% Java 98.64%
link quality onos delay latency measurements

onos_link_quality_measurement's Introduction

ONOS_Link_Quality_Measurement

An active method to measure link quality: latency(delay) / jitter / packet loss ratio. Performed by ONOS controller.

If you like this project, please click Star at the top-right corner, thanks for your support :)

Discuss on ONOS mailing list: Is there any app/module/manager that can detect the quality of network links?

.

Update Note

2020.10.18 Support link delay measurement, based on ONOS 2.5.0-SNAPSHOT version, backed by Apache Karaf 4.2.9 & JDK 11.

.

Demo

demo-topo link-latency-show

sudo tc qdisc add dev s1-eth2 root netem delay 100ms
sudo tc qdisc add dev s2-eth3 root netem delay 300ms

.

Latest Instruction to Compile

  1. Embed me with ONOS codebase
  2. Modify the $ONOS_ROOT/tools/build/bazel/modules.bzl file, refer to modules.bzl__available_example file
  3. Build whole ONOS by bazel. (You can use my utility script for ONOS: https://github.com/MaoJianwei/SDN_Scripts/blob/master/ONOS/autoONOS_Bazel.sh)

Out-of-date: ONOS does not support to be built and imported to IDE(Intellij IDEA) by Maven(pom.xml) anymore, we should use Bazel(BUILD).

.

Backward Compatibility

You can find all milestone versions at Release page.

.

Community Support

Long term support(LTS) from 2020.10.18, by:

:) Jianwei Mao @ BUPT FNLab - ONOS China Ambassador - [email protected] / [email protected]

onos_link_quality_measurement's People

Contributors

maojianwei avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

onos_link_quality_measurement's Issues

Packet deserialization problem和NullPointerException

我运行您的代码控制器报了以下错误:
image
其中NullPointerException是出现在下面这个位置:
image
这是因为context.inPacket()得到的InboundPacket类型不是Ethernet,所以得到了一个null!
那么这些错误应该怎么修改呢?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.