intent

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 19, 2015 License: Apache-2.0 Imports: 0 Imported by: 55

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	InfraNetworks []ConfigInfraNetwork
	Hosts         []ConfigHost
	Tenants       []ConfigTenant
	// (optional) host bindings
	HostBindings []ConfigEP
}

Config is the top level configuration

type ConfigEP

type ConfigEP struct {
	Container  string
	Host       string
	AttachUUID string
	IPAddress  string
}

ConfigEP encapulsates an endpoint: a leg into a network

type ConfigHost

type ConfigHost struct {
	Name   string
	Intf   string
	VtepIP string
	NetID  string
}

ConfigHost keeps track of the host's properties; A host is a node where containers are deployed

type ConfigInfraNetwork

type ConfigInfraNetwork struct {
	Name       string
	PktTagType string
	PktTag     string
}

ConfigInfraNetwork holds information about the name and LAN tagging configuration.

type ConfigNetwork

type ConfigNetwork struct {
	Name string

	// overrides for various functions when auto allocation is not desired
	PktTagType string
	PktTag     string
	SubnetCIDR string
	DefaultGw  string

	// eps associated with the network
	Endpoints []ConfigEP
}

ConfigNetwork is a multi-destination isolated containment of endpoints or it is an endpoint group

type ConfigTenant

type ConfigTenant struct {
	Name           string
	DefaultNetType string
	SubnetPool     string
	AllocSubnetLen uint
	VLANs          string
	VXLANs         string

	Networks []ConfigNetwork
}

ConfigTenant keeps the global tenant specific policy and networks within

Jump to

Keyboard shortcuts

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