Documentation ¶
Index ¶
- Constants
- func Key(poolName string) string
- func KeyPrefix() string
- type AllocationPool
- func (*AllocationPool) Descriptor() ([]byte, []int)
- func (m *AllocationPool) GetIdAllocations() map[string]*AllocationPool_Allocation
- func (m *AllocationPool) GetName() string
- func (m *AllocationPool) GetRange() *AllocationPool_Range
- func (*AllocationPool) ProtoMessage()
- func (m *AllocationPool) Reset()
- func (m *AllocationPool) String() string
- func (m *AllocationPool) XXX_DiscardUnknown()
- func (m *AllocationPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllocationPool) XXX_Merge(src proto.Message)
- func (m *AllocationPool) XXX_Size() int
- func (m *AllocationPool) XXX_Unmarshal(b []byte) error
- type AllocationPool_Allocation
- func (*AllocationPool_Allocation) Descriptor() ([]byte, []int)
- func (m *AllocationPool_Allocation) GetId() uint32
- func (m *AllocationPool_Allocation) GetOwner() string
- func (*AllocationPool_Allocation) ProtoMessage()
- func (m *AllocationPool_Allocation) Reset()
- func (m *AllocationPool_Allocation) String() string
- func (m *AllocationPool_Allocation) XXX_DiscardUnknown()
- func (m *AllocationPool_Allocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllocationPool_Allocation) XXX_Merge(src proto.Message)
- func (m *AllocationPool_Allocation) XXX_Size() int
- func (m *AllocationPool_Allocation) XXX_Unmarshal(b []byte) error
- type AllocationPool_Range
- func (*AllocationPool_Range) Descriptor() ([]byte, []int)
- func (m *AllocationPool_Range) GetMaxId() uint32
- func (m *AllocationPool_Range) GetMinId() uint32
- func (m *AllocationPool_Range) GetReserved() []uint32
- func (*AllocationPool_Range) ProtoMessage()
- func (m *AllocationPool_Range) Reset()
- func (m *AllocationPool_Range) String() string
- func (m *AllocationPool_Range) XXX_DiscardUnknown()
- func (m *AllocationPool_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AllocationPool_Range) XXX_Merge(src proto.Message)
- func (m *AllocationPool_Range) XXX_Size() int
- func (m *AllocationPool_Range) XXX_Unmarshal(b []byte) error
Constants ¶
View Source
const Keyword = "idalloc"
Keyword defines the keyword identifying ID allocation pools.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AllocationPool ¶
type AllocationPool struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Range *AllocationPool_Range `protobuf:"bytes,2,opt,name=range,proto3" json:"range,omitempty"` // map of all allocations, key is the allocation "label" // describing its purpose (e.g. network name for vrf pool, etc.) IdAllocations map[string]*AllocationPool_Allocation `` /* 188-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
IDAllocation represents a VXLAN VNI allocation made for the specified unique VXLAN name
func (*AllocationPool) Descriptor ¶
func (*AllocationPool) Descriptor() ([]byte, []int)
func (*AllocationPool) GetIdAllocations ¶
func (m *AllocationPool) GetIdAllocations() map[string]*AllocationPool_Allocation
func (*AllocationPool) GetName ¶
func (m *AllocationPool) GetName() string
func (*AllocationPool) GetRange ¶
func (m *AllocationPool) GetRange() *AllocationPool_Range
func (*AllocationPool) ProtoMessage ¶
func (*AllocationPool) ProtoMessage()
func (*AllocationPool) Reset ¶
func (m *AllocationPool) Reset()
func (*AllocationPool) String ¶
func (m *AllocationPool) String() string
func (*AllocationPool) XXX_DiscardUnknown ¶
func (m *AllocationPool) XXX_DiscardUnknown()
func (*AllocationPool) XXX_Marshal ¶
func (m *AllocationPool) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocationPool) XXX_Merge ¶
func (m *AllocationPool) XXX_Merge(src proto.Message)
func (*AllocationPool) XXX_Size ¶
func (m *AllocationPool) XXX_Size() int
func (*AllocationPool) XXX_Unmarshal ¶
func (m *AllocationPool) XXX_Unmarshal(b []byte) error
type AllocationPool_Allocation ¶
type AllocationPool_Allocation struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Owner string `protobuf:"bytes,2,opt,name=owner,proto3" json:"owner,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocationPool_Allocation) Descriptor ¶
func (*AllocationPool_Allocation) Descriptor() ([]byte, []int)
func (*AllocationPool_Allocation) GetId ¶
func (m *AllocationPool_Allocation) GetId() uint32
func (*AllocationPool_Allocation) GetOwner ¶
func (m *AllocationPool_Allocation) GetOwner() string
func (*AllocationPool_Allocation) ProtoMessage ¶
func (*AllocationPool_Allocation) ProtoMessage()
func (*AllocationPool_Allocation) Reset ¶
func (m *AllocationPool_Allocation) Reset()
func (*AllocationPool_Allocation) String ¶
func (m *AllocationPool_Allocation) String() string
func (*AllocationPool_Allocation) XXX_DiscardUnknown ¶
func (m *AllocationPool_Allocation) XXX_DiscardUnknown()
func (*AllocationPool_Allocation) XXX_Marshal ¶
func (m *AllocationPool_Allocation) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocationPool_Allocation) XXX_Merge ¶
func (m *AllocationPool_Allocation) XXX_Merge(src proto.Message)
func (*AllocationPool_Allocation) XXX_Size ¶
func (m *AllocationPool_Allocation) XXX_Size() int
func (*AllocationPool_Allocation) XXX_Unmarshal ¶
func (m *AllocationPool_Allocation) XXX_Unmarshal(b []byte) error
type AllocationPool_Range ¶
type AllocationPool_Range struct { MinId uint32 `protobuf:"varint,1,opt,name=min_id,json=minId,proto3" json:"min_id,omitempty"` MaxId uint32 `protobuf:"varint,2,opt,name=max_id,json=maxId,proto3" json:"max_id,omitempty"` Reserved []uint32 `protobuf:"varint,3,rep,packed,name=reserved,proto3" json:"reserved,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*AllocationPool_Range) Descriptor ¶
func (*AllocationPool_Range) Descriptor() ([]byte, []int)
func (*AllocationPool_Range) GetMaxId ¶
func (m *AllocationPool_Range) GetMaxId() uint32
func (*AllocationPool_Range) GetMinId ¶
func (m *AllocationPool_Range) GetMinId() uint32
func (*AllocationPool_Range) GetReserved ¶
func (m *AllocationPool_Range) GetReserved() []uint32
func (*AllocationPool_Range) ProtoMessage ¶
func (*AllocationPool_Range) ProtoMessage()
func (*AllocationPool_Range) Reset ¶
func (m *AllocationPool_Range) Reset()
func (*AllocationPool_Range) String ¶
func (m *AllocationPool_Range) String() string
func (*AllocationPool_Range) XXX_DiscardUnknown ¶
func (m *AllocationPool_Range) XXX_DiscardUnknown()
func (*AllocationPool_Range) XXX_Marshal ¶
func (m *AllocationPool_Range) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*AllocationPool_Range) XXX_Merge ¶
func (m *AllocationPool_Range) XXX_Merge(src proto.Message)
func (*AllocationPool_Range) XXX_Size ¶
func (m *AllocationPool_Range) XXX_Size() int
func (*AllocationPool_Range) XXX_Unmarshal ¶
func (m *AllocationPool_Range) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.