Documentation
¶
Index ¶
- Constants
- func VNIAllocationKey(vni uint32) string
- func VNIAllocationKeyPrefix() string
- func VxlanVNIKey(vxlanName string) string
- func VxlanVNIKeyPrefix() string
- type VxlanVniAllocation
- func (*VxlanVniAllocation) Descriptor() ([]byte, []int)
- func (m *VxlanVniAllocation) GetVni() uint32
- func (m *VxlanVniAllocation) GetVxlanName() string
- func (*VxlanVniAllocation) ProtoMessage()
- func (m *VxlanVniAllocation) Reset()
- func (m *VxlanVniAllocation) String() string
- func (m *VxlanVniAllocation) XXX_DiscardUnknown()
- func (m *VxlanVniAllocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *VxlanVniAllocation) XXX_Merge(src proto.Message)
- func (m *VxlanVniAllocation) XXX_Size() int
- func (m *VxlanVniAllocation) XXX_Unmarshal(b []byte) error
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 ¶
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 ¶
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
Click to show internal directories.
Click to hide internal directories.