GithubHelp home page GithubHelp logo

tencypress / cherry Goto Github PK

View Code? Open in Web Editor NEW

This project forked from superkkt/cherry

0.0 0.0 0.0 2 MB

OpenFlow Controller written in Go

License: GNU General Public License v2.0

Go 99.91% Dockerfile 0.09%

cherry's Introduction

Cherry

Cherry is an OpenFlow controller written in Go that supports OpenFlow 1.0 and 1.3 protocols. This project is not designed for general purpose, and it instead focuses on SDN (Software-Defined Networking) for an IT service provider.

Features

  • Supports OpenFlow 1.0 and 1.3 protocols
  • Focuses on compatibility with commercial OpenFlow-enabled switches
  • Supports network topology that has loops in it
  • Provides several northbound applications: ProxyARP, L2Switch, Floating-IP, etc.
  • Provides simple plugin system for northbound applications
  • RESTful API to manage the controller itself

Supported OpenFlow Switches (Fully Tested)

  • Dell Force10 S4810
  • Dell Force10 S3048-ON
  • Dell Force10 S3148
  • Open vSwitch

Tested OpenFlow Switches

  • HP 2920G
  • Pica8 P-3295
  • Quanta T1048-LB9

Requirements

  • MySQL (or MariaDB) database server

Quick Start

You can install Cherry on Docker or natively from source based on your preference.

Installing on Docker

$ git clone https://github.com/superkkt/cherry.git

  • Copy the template configuration:

$ sudo cp cherry/cherry.yaml /usr/local/etc

  • Edit the configuration file /usr/local/etc/cherry.yaml as you want.

  • Build Docker image as root:

# cd cherry; docker build -t cherry .

  • Run as root:

# docker run -d -p 6633:6633 -v /dev/log:/dev/log -v /your/config/cherry.yaml:/usr/local/etc/cherry.yaml cherry

The bind mount of /dev/log is to collect syslog messages from the container and then write to the host's syslog daemon.

  • That's it! Cherry will be started in L2 switch mode.

Installing from source

$ go get github.com/superkkt/cherry

  • Copy the compiled binary and template configuration:

$ sudo cp $GOPATH/bin/cherry /usr/local/bin

$ sudo cp $GOPATH/src/github.com/superkkt/cherry/cherry.yaml /usr/local/etc

  • Edit the configuration file /usr/local/etc/cherry.yaml as you want.

  • Run:

$ /usr/local/bin/cherry &

  • That's it! Cherry will be started in L2 switch mode.

Copyright and License

Copyright (C) 2015 Samjung Data Service, Inc. All rights reserved.
Kitae Kim <[email protected]>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

cherry's People

Contributors

ksang avatar superkkt 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.