Read-only mirror of https://github.com/swisscom/iovisor — Swisscom. Issues & pull requests at the source.
  • Go 96.5%
  • Shell 3%
  • C 0.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
dkalani 1b9e845179 Policy IO Module
* Add first iteration of policy plugin

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* update dependencies

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* add uuid for objects and retrieve endpoint by name
fix tests

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* add wire-id in db
fix tests

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* fix policy delete

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* endpoints should be referenced by ID and not Name

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* Revert "endpoints should be referenced by ID and not Name"

This reverts commit b7ba929bdef3f8f0a62836889363c37541a0373d.

Needs work

* add endpoint group model, apis and tests

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* grab wireid from EPG

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* cleanup policy lookup in dp

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* add policy client

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* add cli

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* add cli parameters

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* missing POST function

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* add endpoint group cli and fix some of the db issues

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* add policy-rule cli
fix issues with clients regarding paths

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* remove unecessary prints

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* format prints

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* prettify output

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* add test and hardcode network to which policy is bound

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>

* rename cli to policy-ctl

Signed-off-by: Deepa Kalani <dkalani@plumgrid.com>
2016-07-06 15:08:52 -07:00
dnsmon Update dnsmon and gbp to support policy handler types 2016-03-25 09:54:40 -07:00
gbp Update dnsmon and gbp to support policy handler types 2016-03-25 09:54:40 -07:00
hover Remove deprecated file hoverd/server.go 2016-05-23 08:46:03 -07:00
policy Policy IO Module 2016-07-06 15:08:52 -07:00
.gitignore REST changes for ODL GBP 2016-01-11 14:10:31 -08:00
LICENSE.txt Initial commit 2015-11-24 17:44:16 -08:00
README.md updated the installation guide 2016-05-25 00:43:33 +05:00

iomodules

This repo contains IOModule manager (Hover Framework) and plugins

Hover Framework

Hover framework is a userspace deamon for managing IO/Policy Modules. It exposes REST front-end for dynamically loading, configuring, linking different IO/Policy modules to make a network topology.

Requirements

  • google go version 1.4 or greater
  • docker for some of the tests
  • BCC

Installing Hover Framework

# prereqs
# make sure you have exported $GOPATH to your workspace directory.
go get github.com/vishvananda/netns
go get github.com/willf/bitset
go get github.com/gorilla/mux
# to pull customized fork of netlink
go get github.com/vishvananda/netlink
cd $GOPATH/src/github.com/vishvananda/netlink
git remote add drzaeus77 https://github.com/drzaeus77/netlink
git fetch drzaeus77
git reset --hard drzaeus77/master

go get github.com/iovisor/iomodules/hover
go install github.com/iovisor/iomodules/hover/hoverd
sudo -E go test -v github.com/iovisor/iomodules/hover/daemon

# run the hoverd binary in standalone mode
sudo $GOPATH/bin/hoverd

Installing gbp

# prereqs
# make sure you have already installed hover framework
go get github.com/iovisor/iomodules/gbp
sudo -E go test github.com/iovisor/iomodules/gbp
go install github.com/iovisor/iomodules/gbp/gbp

# run the hoverd binary in standalone mode
$GOPATH/bin/gbp -upstream $ODL_SOUTHBOUND_URL