GithubHelp home page GithubHelp logo

cocoon's Introduction

Cocoon: Correct by Construction Networking

Cocoon (for Correct by Construction Networking), is an SDN programming language designed around the idea of iterative refinement. The network programmer starts with a high-level description of the desired network behavior, focusing on the service the network should provide to each packet, as opposed to how this service is implemented within the network fabric. The programmer then iteratively refines the top-level specification, adding details of the topology, routing, fault recovery, etc., until reaching a level of detail sufficient for the Cocoon compiler to generate an SDN application that manages network switches via the southbound interface (we currently support P4).

For more information about Cocoon, see the NSDI'17 paper.

Installation

Install the Haskell Platform. Note: on Ubuntu 15.10 or older, use generic Linux instructions instead of Ubuntu-specific instructions to get an up-to-date version of Haskell compiler and packages.

Update Haskell package list:

cabal update

Download and compile Cocoon:

git clone [email protected]:ryzhyk/cocoon.git
cd cocoon/cocoon
cabal install --only-dependencies 
cabal configure
cabal build

Install Z3

Download and compile Corral. (This requires mono on Linux; install it, e.g., with sudo apt-get install mono-complete)

Add corral.exe to your $PATH.

To test the Cocoon verifier, run test_verification.sh script in the top directory.

cocoon's People

Contributors

mcanini avatar ryzhyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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