network

package
v0.0.0-...-3fa228a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 16, 2016 License: MIT Imports: 22 Imported by: 0

Documentation

Overview

Package network manages the network services of the application dataplane. This means ensuring that containers can find and communicate with each other in accordance with the policy specification. It achieves this by manipulating IP addresses and hostnames within the containers, Open vSwitch on each running worker, and the OVN controller.

Index

Constants

View Source
const GatewayIP = "10.0.0.1"

GatewayIP is the address of the border router in the logical network.

Variables

This section is empty.

Functions

func Run

func Run(conn db.Conn, dk docker.Client)

Run blocks implementing the network services.

Types

type OFRule

type OFRule struct {
	// contains filtered or unexported fields
}

OFRule is an OpenFlow rule for Open vSwitch's OpenFlow table.

type OFRuleSlice

type OFRuleSlice []OFRule

OFRuleSlice is an alias for []OFRule to allow for joins

func (OFRuleSlice) Get

func (ofrs OFRuleSlice) Get(ii int) interface{}

Get returns the value contained at the given index

func (OFRuleSlice) Len

func (ofrs OFRuleSlice) Len() int

Len returns the number of items in the slice

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL