vnialloc

package
v3.3.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const VNIAllocationKeyword = "vni/allocation"

VNIAllocationKeyword defines the keyword identifying VNI allocations.

View Source
const VxlanVNIKeyword = "vni/vxlan"

VxlanVNIKeyword defines the keyword identifying VNI allocation data of VXLANs.

Variables

This section is empty.

Functions

func VNIAllocationKey

func VNIAllocationKey(vni uint32) string

VNIAllocationKey returns the key under which VNI allocation data should be stored in the data-store.

func VNIAllocationKeyPrefix

func VNIAllocationKeyPrefix() string

VNIAllocationKeyPrefix return prefix where all VNI allocations are persisted.

func VxlanVNIKey

func VxlanVNIKey(vxlanName string) string

VxlanVNIKey returns the key under which VNI allocation data of a VXLAN should be stored in the data-store.

func VxlanVNIKeyPrefix

func VxlanVNIKeyPrefix() string

VxlanVNIKeyPrefix return prefix where all VNI allocation data of VXLANs are persisted.

Types

type VxlanVniAllocation

type VxlanVniAllocation struct {
	VxlanName            string   `protobuf:"bytes,1,opt,name=vxlan_name,json=vxlanName,proto3" json:"vxlan_name,omitempty"`
	Vni                  uint32   `protobuf:"varint,2,opt,name=vni,proto3" json:"vni,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

VxlanVniAllocation represents a VXLAN VNI allocation made for the specified unique VXLAN name

func (*VxlanVniAllocation) Descriptor

func (*VxlanVniAllocation) Descriptor() ([]byte, []int)

func (*VxlanVniAllocation) GetVni

func (m *VxlanVniAllocation) GetVni() uint32

func (*VxlanVniAllocation) GetVxlanName

func (m *VxlanVniAllocation) GetVxlanName() string

func (*VxlanVniAllocation) ProtoMessage

func (*VxlanVniAllocation) ProtoMessage()

func (*VxlanVniAllocation) Reset

func (m *VxlanVniAllocation) Reset()

func (*VxlanVniAllocation) String

func (m *VxlanVniAllocation) String() string

func (*VxlanVniAllocation) XXX_DiscardUnknown

func (m *VxlanVniAllocation) XXX_DiscardUnknown()

func (*VxlanVniAllocation) XXX_Marshal

func (m *VxlanVniAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*VxlanVniAllocation) XXX_Merge

func (m *VxlanVniAllocation) XXX_Merge(src proto.Message)

func (*VxlanVniAllocation) XXX_Size

func (m *VxlanVniAllocation) XXX_Size() int

func (*VxlanVniAllocation) XXX_Unmarshal

func (m *VxlanVniAllocation) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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