Documentation ¶
Index ¶
- Constants
- Variables
- func PolicyKey(bsid string) string
- type LocalSID
- func (*LocalSID) Descriptor() ([]byte, []int)
- func (m *LocalSID) GetBaseEndFunction() *LocalSID_End
- func (m *LocalSID) GetEndFunction() isLocalSID_EndFunction
- func (m *LocalSID) GetEndFunctionAd() *LocalSID_EndAD
- func (m *LocalSID) GetEndFunctionDt4() *LocalSID_EndDT4
- func (m *LocalSID) GetEndFunctionDt6() *LocalSID_EndDT6
- func (m *LocalSID) GetEndFunctionDx2() *LocalSID_EndDX2
- func (m *LocalSID) GetEndFunctionDx4() *LocalSID_EndDX4
- func (m *LocalSID) GetEndFunctionDx6() *LocalSID_EndDX6
- func (m *LocalSID) GetEndFunctionT() *LocalSID_EndT
- func (m *LocalSID) GetEndFunctionX() *LocalSID_EndX
- func (m *LocalSID) GetInstallationVrfId() uint32
- func (m *LocalSID) GetSid() string
- func (*LocalSID) ProtoMessage()
- func (m *LocalSID) Reset()
- func (m *LocalSID) String() string
- func (m *LocalSID) XXX_DiscardUnknown()
- func (m *LocalSID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID) XXX_Merge(src proto.Message)
- func (*LocalSID) XXX_OneofWrappers() []interface{}
- func (m *LocalSID) XXX_Size() int
- func (m *LocalSID) XXX_Unmarshal(b []byte) error
- type LocalSID_BaseEndFunction
- type LocalSID_End
- func (*LocalSID_End) Descriptor() ([]byte, []int)
- func (m *LocalSID_End) GetPsp() bool
- func (*LocalSID_End) ProtoMessage()
- func (m *LocalSID_End) Reset()
- func (m *LocalSID_End) String() string
- func (m *LocalSID_End) XXX_DiscardUnknown()
- func (m *LocalSID_End) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_End) XXX_Merge(src proto.Message)
- func (m *LocalSID_End) XXX_Size() int
- func (m *LocalSID_End) XXX_Unmarshal(b []byte) error
- type LocalSID_EndAD
- func (*LocalSID_EndAD) Descriptor() ([]byte, []int)
- func (m *LocalSID_EndAD) GetIncomingInterface() string
- func (m *LocalSID_EndAD) GetL3ServiceAddress() string
- func (m *LocalSID_EndAD) GetOutgoingInterface() string
- func (*LocalSID_EndAD) ProtoMessage()
- func (m *LocalSID_EndAD) Reset()
- func (m *LocalSID_EndAD) String() string
- func (m *LocalSID_EndAD) XXX_DiscardUnknown()
- func (m *LocalSID_EndAD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_EndAD) XXX_Merge(src proto.Message)
- func (m *LocalSID_EndAD) XXX_Size() int
- func (m *LocalSID_EndAD) XXX_Unmarshal(b []byte) error
- type LocalSID_EndDT4
- func (*LocalSID_EndDT4) Descriptor() ([]byte, []int)
- func (m *LocalSID_EndDT4) GetVrfId() uint32
- func (*LocalSID_EndDT4) ProtoMessage()
- func (m *LocalSID_EndDT4) Reset()
- func (m *LocalSID_EndDT4) String() string
- func (m *LocalSID_EndDT4) XXX_DiscardUnknown()
- func (m *LocalSID_EndDT4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_EndDT4) XXX_Merge(src proto.Message)
- func (m *LocalSID_EndDT4) XXX_Size() int
- func (m *LocalSID_EndDT4) XXX_Unmarshal(b []byte) error
- type LocalSID_EndDT6
- func (*LocalSID_EndDT6) Descriptor() ([]byte, []int)
- func (m *LocalSID_EndDT6) GetVrfId() uint32
- func (*LocalSID_EndDT6) ProtoMessage()
- func (m *LocalSID_EndDT6) Reset()
- func (m *LocalSID_EndDT6) String() string
- func (m *LocalSID_EndDT6) XXX_DiscardUnknown()
- func (m *LocalSID_EndDT6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_EndDT6) XXX_Merge(src proto.Message)
- func (m *LocalSID_EndDT6) XXX_Size() int
- func (m *LocalSID_EndDT6) XXX_Unmarshal(b []byte) error
- type LocalSID_EndDX2
- func (*LocalSID_EndDX2) Descriptor() ([]byte, []int)
- func (m *LocalSID_EndDX2) GetOutgoingInterface() string
- func (m *LocalSID_EndDX2) GetVlanTag() uint32
- func (*LocalSID_EndDX2) ProtoMessage()
- func (m *LocalSID_EndDX2) Reset()
- func (m *LocalSID_EndDX2) String() string
- func (m *LocalSID_EndDX2) XXX_DiscardUnknown()
- func (m *LocalSID_EndDX2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_EndDX2) XXX_Merge(src proto.Message)
- func (m *LocalSID_EndDX2) XXX_Size() int
- func (m *LocalSID_EndDX2) XXX_Unmarshal(b []byte) error
- type LocalSID_EndDX4
- func (*LocalSID_EndDX4) Descriptor() ([]byte, []int)
- func (m *LocalSID_EndDX4) GetNextHop() string
- func (m *LocalSID_EndDX4) GetOutgoingInterface() string
- func (*LocalSID_EndDX4) ProtoMessage()
- func (m *LocalSID_EndDX4) Reset()
- func (m *LocalSID_EndDX4) String() string
- func (m *LocalSID_EndDX4) XXX_DiscardUnknown()
- func (m *LocalSID_EndDX4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_EndDX4) XXX_Merge(src proto.Message)
- func (m *LocalSID_EndDX4) XXX_Size() int
- func (m *LocalSID_EndDX4) XXX_Unmarshal(b []byte) error
- type LocalSID_EndDX6
- func (*LocalSID_EndDX6) Descriptor() ([]byte, []int)
- func (m *LocalSID_EndDX6) GetNextHop() string
- func (m *LocalSID_EndDX6) GetOutgoingInterface() string
- func (*LocalSID_EndDX6) ProtoMessage()
- func (m *LocalSID_EndDX6) Reset()
- func (m *LocalSID_EndDX6) String() string
- func (m *LocalSID_EndDX6) XXX_DiscardUnknown()
- func (m *LocalSID_EndDX6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_EndDX6) XXX_Merge(src proto.Message)
- func (m *LocalSID_EndDX6) XXX_Size() int
- func (m *LocalSID_EndDX6) XXX_Unmarshal(b []byte) error
- type LocalSID_EndFunctionAd
- type LocalSID_EndFunctionDt4
- type LocalSID_EndFunctionDt6
- type LocalSID_EndFunctionDx2
- type LocalSID_EndFunctionDx4
- type LocalSID_EndFunctionDx6
- type LocalSID_EndFunctionT
- type LocalSID_EndFunctionX
- type LocalSID_EndT
- func (*LocalSID_EndT) Descriptor() ([]byte, []int)
- func (m *LocalSID_EndT) GetPsp() bool
- func (m *LocalSID_EndT) GetVrfId() uint32
- func (*LocalSID_EndT) ProtoMessage()
- func (m *LocalSID_EndT) Reset()
- func (m *LocalSID_EndT) String() string
- func (m *LocalSID_EndT) XXX_DiscardUnknown()
- func (m *LocalSID_EndT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_EndT) XXX_Merge(src proto.Message)
- func (m *LocalSID_EndT) XXX_Size() int
- func (m *LocalSID_EndT) XXX_Unmarshal(b []byte) error
- type LocalSID_EndX
- func (*LocalSID_EndX) Descriptor() ([]byte, []int)
- func (m *LocalSID_EndX) GetNextHop() string
- func (m *LocalSID_EndX) GetOutgoingInterface() string
- func (m *LocalSID_EndX) GetPsp() bool
- func (*LocalSID_EndX) ProtoMessage()
- func (m *LocalSID_EndX) Reset()
- func (m *LocalSID_EndX) String() string
- func (m *LocalSID_EndX) XXX_DiscardUnknown()
- func (m *LocalSID_EndX) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LocalSID_EndX) XXX_Merge(src proto.Message)
- func (m *LocalSID_EndX) XXX_Size() int
- func (m *LocalSID_EndX) XXX_Unmarshal(b []byte) error
- type Policy
- func (*Policy) Descriptor() ([]byte, []int)
- func (m *Policy) GetBsid() string
- func (m *Policy) GetInstallationVrfId() uint32
- func (m *Policy) GetSegmentLists() []*Policy_SegmentList
- func (m *Policy) GetSprayBehaviour() bool
- func (m *Policy) GetSrhEncapsulation() bool
- func (*Policy) ProtoMessage()
- func (m *Policy) Reset()
- func (m *Policy) String() string
- func (m *Policy) XXX_DiscardUnknown()
- func (m *Policy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Policy) XXX_Merge(src proto.Message)
- func (m *Policy) XXX_Size() int
- func (m *Policy) XXX_Unmarshal(b []byte) error
- type Policy_SegmentList
- func (*Policy_SegmentList) Descriptor() ([]byte, []int)
- func (m *Policy_SegmentList) GetSegments() []string
- func (m *Policy_SegmentList) GetWeight() uint32
- func (*Policy_SegmentList) ProtoMessage()
- func (m *Policy_SegmentList) Reset()
- func (m *Policy_SegmentList) String() string
- func (m *Policy_SegmentList) XXX_DiscardUnknown()
- func (m *Policy_SegmentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Policy_SegmentList) XXX_Merge(src proto.Message)
- func (m *Policy_SegmentList) XXX_Size() int
- func (m *Policy_SegmentList) XXX_Unmarshal(b []byte) error
- type SID
- type SRv6Global
- func (*SRv6Global) Descriptor() ([]byte, []int)
- func (m *SRv6Global) GetEncapSourceAddress() string
- func (*SRv6Global) ProtoMessage()
- func (m *SRv6Global) Reset()
- func (m *SRv6Global) String() string
- func (m *SRv6Global) XXX_DiscardUnknown()
- func (m *SRv6Global) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SRv6Global) XXX_Merge(src proto.Message)
- func (m *SRv6Global) XXX_Size() int
- func (m *SRv6Global) XXX_Unmarshal(b []byte) error
- type Steering
- func (*Steering) Descriptor() ([]byte, []int)
- func (m *Steering) GetL2Traffic() *Steering_L2Traffic
- func (m *Steering) GetL3Traffic() *Steering_L3Traffic
- func (m *Steering) GetName() string
- func (m *Steering) GetPolicyBsid() string
- func (m *Steering) GetPolicyIndex() uint32
- func (m *Steering) GetPolicyRef() isSteering_PolicyRef
- func (m *Steering) GetTraffic() isSteering_Traffic
- func (*Steering) ProtoMessage()
- func (m *Steering) Reset()
- func (m *Steering) String() string
- func (m *Steering) XXX_DiscardUnknown()
- func (m *Steering) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Steering) XXX_Merge(src proto.Message)
- func (*Steering) XXX_OneofWrappers() []interface{}
- func (m *Steering) XXX_Size() int
- func (m *Steering) XXX_Unmarshal(b []byte) error
- type Steering_L2Traffic
- func (*Steering_L2Traffic) Descriptor() ([]byte, []int)
- func (m *Steering_L2Traffic) GetInterfaceName() string
- func (*Steering_L2Traffic) ProtoMessage()
- func (m *Steering_L2Traffic) Reset()
- func (m *Steering_L2Traffic) String() string
- func (m *Steering_L2Traffic) XXX_DiscardUnknown()
- func (m *Steering_L2Traffic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Steering_L2Traffic) XXX_Merge(src proto.Message)
- func (m *Steering_L2Traffic) XXX_Size() int
- func (m *Steering_L2Traffic) XXX_Unmarshal(b []byte) error
- type Steering_L2Traffic_
- type Steering_L3Traffic
- func (*Steering_L3Traffic) Descriptor() ([]byte, []int)
- func (m *Steering_L3Traffic) GetInstallationVrfId() uint32
- func (m *Steering_L3Traffic) GetPrefixAddress() string
- func (*Steering_L3Traffic) ProtoMessage()
- func (m *Steering_L3Traffic) Reset()
- func (m *Steering_L3Traffic) String() string
- func (m *Steering_L3Traffic) XXX_DiscardUnknown()
- func (m *Steering_L3Traffic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Steering_L3Traffic) XXX_Merge(src proto.Message)
- func (m *Steering_L3Traffic) XXX_Size() int
- func (m *Steering_L3Traffic) XXX_Unmarshal(b []byte) error
- type Steering_L3Traffic_
- type Steering_PolicyBsid
- type Steering_PolicyIndex
Constants ¶
const (
ModuleName = "vpp.srv6"
)
ModuleName is the module name used for models.
Variables ¶
var ( // ModelLocalSID is registered NB model of LocalSID ModelLocalSID = models.Register(&LocalSID{}, models.Spec{ Module: ModuleName, Type: "localsid", Version: "v2", }, models.WithNameTemplate("{{.Sid}}")) // ModelPolicy is registered NB model of Policy ModelPolicy = models.Register(&Policy{}, models.Spec{ Module: ModuleName, Type: "policy", Version: "v2", }, models.WithNameTemplate("{{.Bsid}}")) // ModelSteering is registered NB model of Steering ModelSteering = models.Register(&Steering{}, models.Spec{ Module: ModuleName, Type: "steering", Version: "v2", }, models.WithNameTemplate("{{.Name}}")) // ModelSRv6Global is registered NB model of SRv6 global config ModelSRv6Global = models.Register(&SRv6Global{}, models.Spec{ Module: ModuleName, Type: "srv6-global", Version: "v2", }) )
Functions ¶
Types ¶
type LocalSID ¶
type LocalSID struct { Sid string `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"` InstallationVrfId uint32 `protobuf:"varint,2,opt,name=installation_vrf_id,json=installationVrfId,proto3" json:"installation_vrf_id,omitempty"` // Configuration for end functions (all end functions are mutually exclusive) // // Types that are valid to be assigned to EndFunction: // *LocalSID_BaseEndFunction // *LocalSID_EndFunctionX // *LocalSID_EndFunctionT // *LocalSID_EndFunctionDx2 // *LocalSID_EndFunctionDx4 // *LocalSID_EndFunctionDx6 // *LocalSID_EndFunctionDt4 // *LocalSID_EndFunctionDt6 // *LocalSID_EndFunctionAd EndFunction isLocalSID_EndFunction `protobuf_oneof:"end_function"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LocalSID) Descriptor ¶
func (*LocalSID) GetBaseEndFunction ¶
func (m *LocalSID) GetBaseEndFunction() *LocalSID_End
func (*LocalSID) GetEndFunction ¶
func (m *LocalSID) GetEndFunction() isLocalSID_EndFunction
func (*LocalSID) GetEndFunctionAd ¶
func (m *LocalSID) GetEndFunctionAd() *LocalSID_EndAD
func (*LocalSID) GetEndFunctionDt4 ¶
func (m *LocalSID) GetEndFunctionDt4() *LocalSID_EndDT4
func (*LocalSID) GetEndFunctionDt6 ¶
func (m *LocalSID) GetEndFunctionDt6() *LocalSID_EndDT6
func (*LocalSID) GetEndFunctionDx2 ¶
func (m *LocalSID) GetEndFunctionDx2() *LocalSID_EndDX2
func (*LocalSID) GetEndFunctionDx4 ¶
func (m *LocalSID) GetEndFunctionDx4() *LocalSID_EndDX4
func (*LocalSID) GetEndFunctionDx6 ¶
func (m *LocalSID) GetEndFunctionDx6() *LocalSID_EndDX6
func (*LocalSID) GetEndFunctionT ¶
func (m *LocalSID) GetEndFunctionT() *LocalSID_EndT
func (*LocalSID) GetEndFunctionX ¶
func (m *LocalSID) GetEndFunctionX() *LocalSID_EndX
func (*LocalSID) GetInstallationVrfId ¶
func (*LocalSID) ProtoMessage ¶
func (*LocalSID) ProtoMessage()
func (*LocalSID) XXX_DiscardUnknown ¶
func (m *LocalSID) XXX_DiscardUnknown()
func (*LocalSID) XXX_Marshal ¶
func (*LocalSID) XXX_OneofWrappers ¶
func (*LocalSID) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*LocalSID) XXX_Unmarshal ¶
type LocalSID_BaseEndFunction ¶
type LocalSID_BaseEndFunction struct {
BaseEndFunction *LocalSID_End `protobuf:"bytes,3,opt,name=base_end_function,json=baseEndFunction,proto3,oneof"`
}
type LocalSID_End ¶
type LocalSID_End struct { Psp bool `protobuf:"varint,1,opt,name=psp,proto3" json:"psp,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of simple endpoint
func (*LocalSID_End) Descriptor ¶
func (*LocalSID_End) Descriptor() ([]byte, []int)
func (*LocalSID_End) GetPsp ¶
func (m *LocalSID_End) GetPsp() bool
func (*LocalSID_End) ProtoMessage ¶
func (*LocalSID_End) ProtoMessage()
func (*LocalSID_End) Reset ¶
func (m *LocalSID_End) Reset()
func (*LocalSID_End) String ¶
func (m *LocalSID_End) String() string
func (*LocalSID_End) XXX_DiscardUnknown ¶
func (m *LocalSID_End) XXX_DiscardUnknown()
func (*LocalSID_End) XXX_Marshal ¶
func (m *LocalSID_End) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_End) XXX_Merge ¶
func (m *LocalSID_End) XXX_Merge(src proto.Message)
func (*LocalSID_End) XXX_Size ¶
func (m *LocalSID_End) XXX_Size() int
func (*LocalSID_End) XXX_Unmarshal ¶
func (m *LocalSID_End) XXX_Unmarshal(b []byte) error
type LocalSID_EndAD ¶
type LocalSID_EndAD struct { OutgoingInterface string `protobuf:"bytes,2,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_interface,omitempty"` IncomingInterface string `protobuf:"bytes,3,opt,name=incoming_interface,json=incomingInterface,proto3" json:"incoming_interface,omitempty"` L3ServiceAddress string `protobuf:"bytes,4,opt,name=l3_service_address,json=l3ServiceAddress,proto3" json:"l3_service_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of dynamic segment routing proxy endpoint
func (*LocalSID_EndAD) Descriptor ¶
func (*LocalSID_EndAD) Descriptor() ([]byte, []int)
func (*LocalSID_EndAD) GetIncomingInterface ¶
func (m *LocalSID_EndAD) GetIncomingInterface() string
func (*LocalSID_EndAD) GetL3ServiceAddress ¶
func (m *LocalSID_EndAD) GetL3ServiceAddress() string
func (*LocalSID_EndAD) GetOutgoingInterface ¶
func (m *LocalSID_EndAD) GetOutgoingInterface() string
func (*LocalSID_EndAD) ProtoMessage ¶
func (*LocalSID_EndAD) ProtoMessage()
func (*LocalSID_EndAD) Reset ¶
func (m *LocalSID_EndAD) Reset()
func (*LocalSID_EndAD) String ¶
func (m *LocalSID_EndAD) String() string
func (*LocalSID_EndAD) XXX_DiscardUnknown ¶
func (m *LocalSID_EndAD) XXX_DiscardUnknown()
func (*LocalSID_EndAD) XXX_Marshal ¶
func (m *LocalSID_EndAD) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_EndAD) XXX_Merge ¶
func (m *LocalSID_EndAD) XXX_Merge(src proto.Message)
func (*LocalSID_EndAD) XXX_Size ¶
func (m *LocalSID_EndAD) XXX_Size() int
func (*LocalSID_EndAD) XXX_Unmarshal ¶
func (m *LocalSID_EndAD) XXX_Unmarshal(b []byte) error
type LocalSID_EndDT4 ¶
type LocalSID_EndDT4 struct { VrfId uint32 `protobuf:"varint,1,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of endpoint with decapsulation and specific IPv4 table lookup
func (*LocalSID_EndDT4) Descriptor ¶
func (*LocalSID_EndDT4) Descriptor() ([]byte, []int)
func (*LocalSID_EndDT4) GetVrfId ¶
func (m *LocalSID_EndDT4) GetVrfId() uint32
func (*LocalSID_EndDT4) ProtoMessage ¶
func (*LocalSID_EndDT4) ProtoMessage()
func (*LocalSID_EndDT4) Reset ¶
func (m *LocalSID_EndDT4) Reset()
func (*LocalSID_EndDT4) String ¶
func (m *LocalSID_EndDT4) String() string
func (*LocalSID_EndDT4) XXX_DiscardUnknown ¶
func (m *LocalSID_EndDT4) XXX_DiscardUnknown()
func (*LocalSID_EndDT4) XXX_Marshal ¶
func (m *LocalSID_EndDT4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_EndDT4) XXX_Merge ¶
func (m *LocalSID_EndDT4) XXX_Merge(src proto.Message)
func (*LocalSID_EndDT4) XXX_Size ¶
func (m *LocalSID_EndDT4) XXX_Size() int
func (*LocalSID_EndDT4) XXX_Unmarshal ¶
func (m *LocalSID_EndDT4) XXX_Unmarshal(b []byte) error
type LocalSID_EndDT6 ¶
type LocalSID_EndDT6 struct { VrfId uint32 `protobuf:"varint,1,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of endpoint with decapsulation and specific IPv6 table lookup
func (*LocalSID_EndDT6) Descriptor ¶
func (*LocalSID_EndDT6) Descriptor() ([]byte, []int)
func (*LocalSID_EndDT6) GetVrfId ¶
func (m *LocalSID_EndDT6) GetVrfId() uint32
func (*LocalSID_EndDT6) ProtoMessage ¶
func (*LocalSID_EndDT6) ProtoMessage()
func (*LocalSID_EndDT6) Reset ¶
func (m *LocalSID_EndDT6) Reset()
func (*LocalSID_EndDT6) String ¶
func (m *LocalSID_EndDT6) String() string
func (*LocalSID_EndDT6) XXX_DiscardUnknown ¶
func (m *LocalSID_EndDT6) XXX_DiscardUnknown()
func (*LocalSID_EndDT6) XXX_Marshal ¶
func (m *LocalSID_EndDT6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_EndDT6) XXX_Merge ¶
func (m *LocalSID_EndDT6) XXX_Merge(src proto.Message)
func (*LocalSID_EndDT6) XXX_Size ¶
func (m *LocalSID_EndDT6) XXX_Size() int
func (*LocalSID_EndDT6) XXX_Unmarshal ¶
func (m *LocalSID_EndDT6) XXX_Unmarshal(b []byte) error
type LocalSID_EndDX2 ¶
type LocalSID_EndDX2 struct { VlanTag uint32 `protobuf:"varint,1,opt,name=vlan_tag,json=vlanTag,proto3" json:"vlan_tag,omitempty"` OutgoingInterface string `protobuf:"bytes,2,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_interface,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of endpoint with decapsulation and Layer-2 cross-connect (or DX2 with egress VLAN rewrite when VLAN notzero - not supported this variant yet)
func (*LocalSID_EndDX2) Descriptor ¶
func (*LocalSID_EndDX2) Descriptor() ([]byte, []int)
func (*LocalSID_EndDX2) GetOutgoingInterface ¶
func (m *LocalSID_EndDX2) GetOutgoingInterface() string
func (*LocalSID_EndDX2) GetVlanTag ¶
func (m *LocalSID_EndDX2) GetVlanTag() uint32
func (*LocalSID_EndDX2) ProtoMessage ¶
func (*LocalSID_EndDX2) ProtoMessage()
func (*LocalSID_EndDX2) Reset ¶
func (m *LocalSID_EndDX2) Reset()
func (*LocalSID_EndDX2) String ¶
func (m *LocalSID_EndDX2) String() string
func (*LocalSID_EndDX2) XXX_DiscardUnknown ¶
func (m *LocalSID_EndDX2) XXX_DiscardUnknown()
func (*LocalSID_EndDX2) XXX_Marshal ¶
func (m *LocalSID_EndDX2) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_EndDX2) XXX_Merge ¶
func (m *LocalSID_EndDX2) XXX_Merge(src proto.Message)
func (*LocalSID_EndDX2) XXX_Size ¶
func (m *LocalSID_EndDX2) XXX_Size() int
func (*LocalSID_EndDX2) XXX_Unmarshal ¶
func (m *LocalSID_EndDX2) XXX_Unmarshal(b []byte) error
type LocalSID_EndDX4 ¶
type LocalSID_EndDX4 struct { OutgoingInterface string `protobuf:"bytes,1,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_interface,omitempty"` NextHop string `protobuf:"bytes,2,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of endpoint with decapsulation and IPv4 cross-connect
func (*LocalSID_EndDX4) Descriptor ¶
func (*LocalSID_EndDX4) Descriptor() ([]byte, []int)
func (*LocalSID_EndDX4) GetNextHop ¶
func (m *LocalSID_EndDX4) GetNextHop() string
func (*LocalSID_EndDX4) GetOutgoingInterface ¶
func (m *LocalSID_EndDX4) GetOutgoingInterface() string
func (*LocalSID_EndDX4) ProtoMessage ¶
func (*LocalSID_EndDX4) ProtoMessage()
func (*LocalSID_EndDX4) Reset ¶
func (m *LocalSID_EndDX4) Reset()
func (*LocalSID_EndDX4) String ¶
func (m *LocalSID_EndDX4) String() string
func (*LocalSID_EndDX4) XXX_DiscardUnknown ¶
func (m *LocalSID_EndDX4) XXX_DiscardUnknown()
func (*LocalSID_EndDX4) XXX_Marshal ¶
func (m *LocalSID_EndDX4) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_EndDX4) XXX_Merge ¶
func (m *LocalSID_EndDX4) XXX_Merge(src proto.Message)
func (*LocalSID_EndDX4) XXX_Size ¶
func (m *LocalSID_EndDX4) XXX_Size() int
func (*LocalSID_EndDX4) XXX_Unmarshal ¶
func (m *LocalSID_EndDX4) XXX_Unmarshal(b []byte) error
type LocalSID_EndDX6 ¶
type LocalSID_EndDX6 struct { OutgoingInterface string `protobuf:"bytes,1,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_interface,omitempty"` NextHop string `protobuf:"bytes,2,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of endpoint with decapsulation and IPv6 cross-connect
func (*LocalSID_EndDX6) Descriptor ¶
func (*LocalSID_EndDX6) Descriptor() ([]byte, []int)
func (*LocalSID_EndDX6) GetNextHop ¶
func (m *LocalSID_EndDX6) GetNextHop() string
func (*LocalSID_EndDX6) GetOutgoingInterface ¶
func (m *LocalSID_EndDX6) GetOutgoingInterface() string
func (*LocalSID_EndDX6) ProtoMessage ¶
func (*LocalSID_EndDX6) ProtoMessage()
func (*LocalSID_EndDX6) Reset ¶
func (m *LocalSID_EndDX6) Reset()
func (*LocalSID_EndDX6) String ¶
func (m *LocalSID_EndDX6) String() string
func (*LocalSID_EndDX6) XXX_DiscardUnknown ¶
func (m *LocalSID_EndDX6) XXX_DiscardUnknown()
func (*LocalSID_EndDX6) XXX_Marshal ¶
func (m *LocalSID_EndDX6) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_EndDX6) XXX_Merge ¶
func (m *LocalSID_EndDX6) XXX_Merge(src proto.Message)
func (*LocalSID_EndDX6) XXX_Size ¶
func (m *LocalSID_EndDX6) XXX_Size() int
func (*LocalSID_EndDX6) XXX_Unmarshal ¶
func (m *LocalSID_EndDX6) XXX_Unmarshal(b []byte) error
type LocalSID_EndFunctionAd ¶
type LocalSID_EndFunctionAd struct {
EndFunctionAd *LocalSID_EndAD `protobuf:"bytes,11,opt,name=end_function_ad,json=endFunctionAd,proto3,oneof"`
}
type LocalSID_EndFunctionDt4 ¶
type LocalSID_EndFunctionDt4 struct {
EndFunctionDt4 *LocalSID_EndDT4 `protobuf:"bytes,9,opt,name=end_function_dt4,json=endFunctionDt4,proto3,oneof"`
}
type LocalSID_EndFunctionDt6 ¶
type LocalSID_EndFunctionDt6 struct {
EndFunctionDt6 *LocalSID_EndDT6 `protobuf:"bytes,10,opt,name=end_function_dt6,json=endFunctionDt6,proto3,oneof"`
}
type LocalSID_EndFunctionDx2 ¶
type LocalSID_EndFunctionDx2 struct {
EndFunctionDx2 *LocalSID_EndDX2 `protobuf:"bytes,6,opt,name=end_function_dx2,json=endFunctionDx2,proto3,oneof"`
}
type LocalSID_EndFunctionDx4 ¶
type LocalSID_EndFunctionDx4 struct {
EndFunctionDx4 *LocalSID_EndDX4 `protobuf:"bytes,7,opt,name=end_function_dx4,json=endFunctionDx4,proto3,oneof"`
}
type LocalSID_EndFunctionDx6 ¶
type LocalSID_EndFunctionDx6 struct {
EndFunctionDx6 *LocalSID_EndDX6 `protobuf:"bytes,8,opt,name=end_function_dx6,json=endFunctionDx6,proto3,oneof"`
}
type LocalSID_EndFunctionT ¶
type LocalSID_EndFunctionT struct {
EndFunctionT *LocalSID_EndT `protobuf:"bytes,5,opt,name=end_function_t,json=endFunctionT,proto3,oneof"`
}
type LocalSID_EndFunctionX ¶
type LocalSID_EndFunctionX struct {
EndFunctionX *LocalSID_EndX `protobuf:"bytes,4,opt,name=end_function_x,json=endFunctionX,proto3,oneof"`
}
type LocalSID_EndT ¶
type LocalSID_EndT struct { Psp bool `protobuf:"varint,1,opt,name=psp,proto3" json:"psp,omitempty"` VrfId uint32 `protobuf:"varint,2,opt,name=vrf_id,json=vrfId,proto3" json:"vrf_id,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of endpoint with specific IPv6 table lookup
func (*LocalSID_EndT) Descriptor ¶
func (*LocalSID_EndT) Descriptor() ([]byte, []int)
func (*LocalSID_EndT) GetPsp ¶
func (m *LocalSID_EndT) GetPsp() bool
func (*LocalSID_EndT) GetVrfId ¶
func (m *LocalSID_EndT) GetVrfId() uint32
func (*LocalSID_EndT) ProtoMessage ¶
func (*LocalSID_EndT) ProtoMessage()
func (*LocalSID_EndT) Reset ¶
func (m *LocalSID_EndT) Reset()
func (*LocalSID_EndT) String ¶
func (m *LocalSID_EndT) String() string
func (*LocalSID_EndT) XXX_DiscardUnknown ¶
func (m *LocalSID_EndT) XXX_DiscardUnknown()
func (*LocalSID_EndT) XXX_Marshal ¶
func (m *LocalSID_EndT) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_EndT) XXX_Merge ¶
func (m *LocalSID_EndT) XXX_Merge(src proto.Message)
func (*LocalSID_EndT) XXX_Size ¶
func (m *LocalSID_EndT) XXX_Size() int
func (*LocalSID_EndT) XXX_Unmarshal ¶
func (m *LocalSID_EndT) XXX_Unmarshal(b []byte) error
type LocalSID_EndX ¶
type LocalSID_EndX struct { Psp bool `protobuf:"varint,1,opt,name=psp,proto3" json:"psp,omitempty"` OutgoingInterface string `protobuf:"bytes,2,opt,name=outgoing_interface,json=outgoingInterface,proto3" json:"outgoing_interface,omitempty"` NextHop string `protobuf:"bytes,3,opt,name=next_hop,json=nextHop,proto3" json:"next_hop,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
End function behavior of endpoint with Layer-3 cross-connect (IPv6)
func (*LocalSID_EndX) Descriptor ¶
func (*LocalSID_EndX) Descriptor() ([]byte, []int)
func (*LocalSID_EndX) GetNextHop ¶
func (m *LocalSID_EndX) GetNextHop() string
func (*LocalSID_EndX) GetOutgoingInterface ¶
func (m *LocalSID_EndX) GetOutgoingInterface() string
func (*LocalSID_EndX) GetPsp ¶
func (m *LocalSID_EndX) GetPsp() bool
func (*LocalSID_EndX) ProtoMessage ¶
func (*LocalSID_EndX) ProtoMessage()
func (*LocalSID_EndX) Reset ¶
func (m *LocalSID_EndX) Reset()
func (*LocalSID_EndX) String ¶
func (m *LocalSID_EndX) String() string
func (*LocalSID_EndX) XXX_DiscardUnknown ¶
func (m *LocalSID_EndX) XXX_DiscardUnknown()
func (*LocalSID_EndX) XXX_Marshal ¶
func (m *LocalSID_EndX) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LocalSID_EndX) XXX_Merge ¶
func (m *LocalSID_EndX) XXX_Merge(src proto.Message)
func (*LocalSID_EndX) XXX_Size ¶
func (m *LocalSID_EndX) XXX_Size() int
func (*LocalSID_EndX) XXX_Unmarshal ¶
func (m *LocalSID_EndX) XXX_Unmarshal(b []byte) error
type Policy ¶
type Policy struct { Bsid string `protobuf:"bytes,1,opt,name=bsid,proto3" json:"bsid,omitempty"` InstallationVrfId uint32 `protobuf:"varint,2,opt,name=installation_vrf_id,json=installationVrfId,proto3" json:"installation_vrf_id,omitempty"` SrhEncapsulation bool `protobuf:"varint,3,opt,name=srh_encapsulation,json=srhEncapsulation,proto3" json:"srh_encapsulation,omitempty"` SprayBehaviour bool `protobuf:"varint,4,opt,name=spray_behaviour,json=sprayBehaviour,proto3" json:"spray_behaviour,omitempty"` SegmentLists []*Policy_SegmentList `protobuf:"bytes,5,rep,name=segment_lists,json=segmentLists,proto3" json:"segment_lists,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Model for SRv6 policy (policy without at least one policy segment is only cached in ligato and not written to VPP)
func (*Policy) Descriptor ¶
func (*Policy) GetInstallationVrfId ¶
func (*Policy) GetSegmentLists ¶
func (m *Policy) GetSegmentLists() []*Policy_SegmentList
func (*Policy) GetSprayBehaviour ¶
func (*Policy) GetSrhEncapsulation ¶
func (*Policy) ProtoMessage ¶
func (*Policy) ProtoMessage()
func (*Policy) XXX_DiscardUnknown ¶
func (m *Policy) XXX_DiscardUnknown()
func (*Policy) XXX_Marshal ¶
func (*Policy) XXX_Unmarshal ¶
type Policy_SegmentList ¶
type Policy_SegmentList struct { Weight uint32 `protobuf:"varint,1,opt,name=weight,proto3" json:"weight,omitempty"` Segments []string `protobuf:"bytes,2,rep,name=segments,proto3" json:"segments,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Model for SRv6 Segment List
func (*Policy_SegmentList) Descriptor ¶
func (*Policy_SegmentList) Descriptor() ([]byte, []int)
func (*Policy_SegmentList) GetSegments ¶
func (m *Policy_SegmentList) GetSegments() []string
func (*Policy_SegmentList) GetWeight ¶
func (m *Policy_SegmentList) GetWeight() uint32
func (*Policy_SegmentList) ProtoMessage ¶
func (*Policy_SegmentList) ProtoMessage()
func (*Policy_SegmentList) Reset ¶
func (m *Policy_SegmentList) Reset()
func (*Policy_SegmentList) String ¶
func (m *Policy_SegmentList) String() string
func (*Policy_SegmentList) XXX_DiscardUnknown ¶
func (m *Policy_SegmentList) XXX_DiscardUnknown()
func (*Policy_SegmentList) XXX_Marshal ¶
func (m *Policy_SegmentList) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Policy_SegmentList) XXX_Merge ¶
func (m *Policy_SegmentList) XXX_Merge(src proto.Message)
func (*Policy_SegmentList) XXX_Size ¶
func (m *Policy_SegmentList) XXX_Size() int
func (*Policy_SegmentList) XXX_Unmarshal ¶
func (m *Policy_SegmentList) XXX_Unmarshal(b []byte) error
type SRv6Global ¶
type SRv6Global struct { EncapSourceAddress string `protobuf:"bytes,1,opt,name=encap_source_address,json=encapSourceAddress,proto3" json:"encap_source_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Global SRv6 config
func (*SRv6Global) Descriptor ¶
func (*SRv6Global) Descriptor() ([]byte, []int)
func (*SRv6Global) GetEncapSourceAddress ¶
func (m *SRv6Global) GetEncapSourceAddress() string
func (*SRv6Global) ProtoMessage ¶
func (*SRv6Global) ProtoMessage()
func (*SRv6Global) Reset ¶
func (m *SRv6Global) Reset()
func (*SRv6Global) String ¶
func (m *SRv6Global) String() string
func (*SRv6Global) XXX_DiscardUnknown ¶
func (m *SRv6Global) XXX_DiscardUnknown()
func (*SRv6Global) XXX_Marshal ¶
func (m *SRv6Global) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SRv6Global) XXX_Merge ¶
func (m *SRv6Global) XXX_Merge(src proto.Message)
func (*SRv6Global) XXX_Size ¶
func (m *SRv6Global) XXX_Size() int
func (*SRv6Global) XXX_Unmarshal ¶
func (m *SRv6Global) XXX_Unmarshal(b []byte) error
type Steering ¶
type Steering struct { Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Referencing policy that should be used for steering traffic into (all policy references are mutual exclusive) // // Types that are valid to be assigned to PolicyRef: // *Steering_PolicyBsid // *Steering_PolicyIndex PolicyRef isSteering_PolicyRef `protobuf_oneof:"policy_ref"` // Traffic configuration (all traffic messages are mutual exclusive) // // Types that are valid to be assigned to Traffic: // *Steering_L2Traffic_ // *Steering_L3Traffic_ Traffic isSteering_Traffic `protobuf_oneof:"traffic"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Model for steering traffic to SRv6 policy
func (*Steering) Descriptor ¶
func (*Steering) GetL2Traffic ¶
func (m *Steering) GetL2Traffic() *Steering_L2Traffic
func (*Steering) GetL3Traffic ¶
func (m *Steering) GetL3Traffic() *Steering_L3Traffic
func (*Steering) GetPolicyBsid ¶
func (*Steering) GetPolicyIndex ¶
func (*Steering) GetPolicyRef ¶
func (m *Steering) GetPolicyRef() isSteering_PolicyRef
func (*Steering) GetTraffic ¶
func (m *Steering) GetTraffic() isSteering_Traffic
func (*Steering) ProtoMessage ¶
func (*Steering) ProtoMessage()
func (*Steering) XXX_DiscardUnknown ¶
func (m *Steering) XXX_DiscardUnknown()
func (*Steering) XXX_Marshal ¶
func (*Steering) XXX_OneofWrappers ¶
func (*Steering) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Steering) XXX_Unmarshal ¶
type Steering_L2Traffic ¶
type Steering_L2Traffic struct { InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Steering_L2Traffic) Descriptor ¶
func (*Steering_L2Traffic) Descriptor() ([]byte, []int)
func (*Steering_L2Traffic) GetInterfaceName ¶
func (m *Steering_L2Traffic) GetInterfaceName() string
func (*Steering_L2Traffic) ProtoMessage ¶
func (*Steering_L2Traffic) ProtoMessage()
func (*Steering_L2Traffic) Reset ¶
func (m *Steering_L2Traffic) Reset()
func (*Steering_L2Traffic) String ¶
func (m *Steering_L2Traffic) String() string
func (*Steering_L2Traffic) XXX_DiscardUnknown ¶
func (m *Steering_L2Traffic) XXX_DiscardUnknown()
func (*Steering_L2Traffic) XXX_Marshal ¶
func (m *Steering_L2Traffic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Steering_L2Traffic) XXX_Merge ¶
func (m *Steering_L2Traffic) XXX_Merge(src proto.Message)
func (*Steering_L2Traffic) XXX_Size ¶
func (m *Steering_L2Traffic) XXX_Size() int
func (*Steering_L2Traffic) XXX_Unmarshal ¶
func (m *Steering_L2Traffic) XXX_Unmarshal(b []byte) error
type Steering_L2Traffic_ ¶
type Steering_L2Traffic_ struct {
L2Traffic *Steering_L2Traffic `protobuf:"bytes,3,opt,name=l2_traffic,json=l2Traffic,proto3,oneof"`
}
type Steering_L3Traffic ¶
type Steering_L3Traffic struct { InstallationVrfId uint32 `protobuf:"varint,1,opt,name=installation_vrf_id,json=installationVrfId,proto3" json:"installation_vrf_id,omitempty"` PrefixAddress string `protobuf:"bytes,2,opt,name=prefix_address,json=prefixAddress,proto3" json:"prefix_address,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Steering_L3Traffic) Descriptor ¶
func (*Steering_L3Traffic) Descriptor() ([]byte, []int)
func (*Steering_L3Traffic) GetInstallationVrfId ¶
func (m *Steering_L3Traffic) GetInstallationVrfId() uint32
func (*Steering_L3Traffic) GetPrefixAddress ¶
func (m *Steering_L3Traffic) GetPrefixAddress() string
func (*Steering_L3Traffic) ProtoMessage ¶
func (*Steering_L3Traffic) ProtoMessage()
func (*Steering_L3Traffic) Reset ¶
func (m *Steering_L3Traffic) Reset()
func (*Steering_L3Traffic) String ¶
func (m *Steering_L3Traffic) String() string
func (*Steering_L3Traffic) XXX_DiscardUnknown ¶
func (m *Steering_L3Traffic) XXX_DiscardUnknown()
func (*Steering_L3Traffic) XXX_Marshal ¶
func (m *Steering_L3Traffic) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Steering_L3Traffic) XXX_Merge ¶
func (m *Steering_L3Traffic) XXX_Merge(src proto.Message)
func (*Steering_L3Traffic) XXX_Size ¶
func (m *Steering_L3Traffic) XXX_Size() int
func (*Steering_L3Traffic) XXX_Unmarshal ¶
func (m *Steering_L3Traffic) XXX_Unmarshal(b []byte) error
type Steering_L3Traffic_ ¶
type Steering_L3Traffic_ struct {
L3Traffic *Steering_L3Traffic `protobuf:"bytes,4,opt,name=l3_traffic,json=l3Traffic,proto3,oneof"`
}
type Steering_PolicyBsid ¶
type Steering_PolicyBsid struct {
PolicyBsid string `protobuf:"bytes,1,opt,name=policy_bsid,json=policyBsid,proto3,oneof"`
}
type Steering_PolicyIndex ¶
type Steering_PolicyIndex struct {
PolicyIndex uint32 `protobuf:"varint,2,opt,name=policy_index,json=policyIndex,proto3,oneof"`
}