Code Monkey home page Code Monkey logo

aos_of_example's Introduction

AOS_OF_Example

Test Case for AOS Hybrid Mode Openflow

Code Originally from https://github.com/Broadcom-Switch/of-dpa.

We modified the file architecture and use real word case as an exmple for APP develop reference.

It all writed by statically configuration.

Each folder means a case, each file means a flow or a grouop.

On each folder, we have two example method, one through "StartScript.py", another is "app_example.py". First we want you to known how to setup a OFDPA table and group, so we use many json file to tell you what you shall do. I hope from file name, you can known what it is done.

Second, we use a ryu application code, app_example.py, for you to easy write you own application.

"working_set.json" on each folder, it is used to execuse all flow and group json file. "StartScript.py" on each folder, it is a start python file. Run this file will start the case. "app_exmple.py" on each folder, it a ryu example code.

Usage example: (on AOS_OF_Example folder)

ryu-manager 01-ping-each-other/01-2ClientInSameVLAN/StartScript.py

NOTE: If it can't find ofdpa module, please set the PYTHONPATH to the AOS_OF_Example or "source set_python_path.sh"

aos_of_example's People

Contributors

macauleycheng avatar lewis-kang avatar gord1306 avatar

Watchers

James Cloos avatar  avatar

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.