network

package
v0.0.0-...-92a250d Latest Latest
Warning

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

Go to latest
Published: May 12, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FixedNetworkMapper

type FixedNetworkMapper struct {
	DefaultNetworkID string
}

func (*FixedNetworkMapper) GetNetworkID

func (m *FixedNetworkMapper) GetNetworkID(netPayload models.NetworkPayload) (string, error)

func (*FixedNetworkMapper) GetVNI

func (*FixedNetworkMapper) GetVNI(networkID string) (int, error)

type NetworkMapper

type NetworkMapper interface {
	GetVNI(networkID string) (int, error)
	GetNetworkID(netPayload models.NetworkPayload) (string, error)
}

Jump to

Keyboard shortcuts

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