Documentation
¶
Overview ¶
Package sr contains generated bindings for API file sr.api.
Contents:
3 structs 20 messages
Index ¶
- Constants
- func AllMessages() []api.Message
- type RPCService
- type RPCService_SrLocalsidsDumpClient
- type RPCService_SrPoliciesDumpClient
- type RPCService_SrSteeringPolDumpClient
- type SrIP6Address
- type SrLocalsidAddDel
- func (*SrLocalsidAddDel) GetCrcString() string
- func (*SrLocalsidAddDel) GetMessageName() string
- func (*SrLocalsidAddDel) GetMessageType() api.MessageType
- func (m *SrLocalsidAddDel) Marshal(b []byte) ([]byte, error)
- func (m *SrLocalsidAddDel) Reset()
- func (m *SrLocalsidAddDel) Size() (size int)
- func (m *SrLocalsidAddDel) Unmarshal(b []byte) error
- type SrLocalsidAddDelReply
- func (*SrLocalsidAddDelReply) GetCrcString() string
- func (*SrLocalsidAddDelReply) GetMessageName() string
- func (*SrLocalsidAddDelReply) GetMessageType() api.MessageType
- func (m *SrLocalsidAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *SrLocalsidAddDelReply) Reset()
- func (m *SrLocalsidAddDelReply) Size() (size int)
- func (m *SrLocalsidAddDelReply) Unmarshal(b []byte) error
- type SrLocalsidsDetails
- func (*SrLocalsidsDetails) GetCrcString() string
- func (*SrLocalsidsDetails) GetMessageName() string
- func (*SrLocalsidsDetails) GetMessageType() api.MessageType
- func (m *SrLocalsidsDetails) Marshal(b []byte) ([]byte, error)
- func (m *SrLocalsidsDetails) Reset()
- func (m *SrLocalsidsDetails) Size() (size int)
- func (m *SrLocalsidsDetails) Unmarshal(b []byte) error
- type SrLocalsidsDump
- func (*SrLocalsidsDump) GetCrcString() string
- func (*SrLocalsidsDump) GetMessageName() string
- func (*SrLocalsidsDump) GetMessageType() api.MessageType
- func (m *SrLocalsidsDump) Marshal(b []byte) ([]byte, error)
- func (m *SrLocalsidsDump) Reset()
- func (m *SrLocalsidsDump) Size() (size int)
- func (m *SrLocalsidsDump) Unmarshal(b []byte) error
- type SrPoliciesDetails
- func (*SrPoliciesDetails) GetCrcString() string
- func (*SrPoliciesDetails) GetMessageName() string
- func (*SrPoliciesDetails) GetMessageType() api.MessageType
- func (m *SrPoliciesDetails) Marshal(b []byte) ([]byte, error)
- func (m *SrPoliciesDetails) Reset()
- func (m *SrPoliciesDetails) Size() (size int)
- func (m *SrPoliciesDetails) Unmarshal(b []byte) error
- type SrPoliciesDump
- func (*SrPoliciesDump) GetCrcString() string
- func (*SrPoliciesDump) GetMessageName() string
- func (*SrPoliciesDump) GetMessageType() api.MessageType
- func (m *SrPoliciesDump) Marshal(b []byte) ([]byte, error)
- func (m *SrPoliciesDump) Reset()
- func (m *SrPoliciesDump) Size() (size int)
- func (m *SrPoliciesDump) Unmarshal(b []byte) error
- type SrPolicyAdd
- func (*SrPolicyAdd) GetCrcString() string
- func (*SrPolicyAdd) GetMessageName() string
- func (*SrPolicyAdd) GetMessageType() api.MessageType
- func (m *SrPolicyAdd) Marshal(b []byte) ([]byte, error)
- func (m *SrPolicyAdd) Reset()
- func (m *SrPolicyAdd) Size() (size int)
- func (m *SrPolicyAdd) Unmarshal(b []byte) error
- type SrPolicyAddReply
- func (*SrPolicyAddReply) GetCrcString() string
- func (*SrPolicyAddReply) GetMessageName() string
- func (*SrPolicyAddReply) GetMessageType() api.MessageType
- func (m *SrPolicyAddReply) Marshal(b []byte) ([]byte, error)
- func (m *SrPolicyAddReply) Reset()
- func (m *SrPolicyAddReply) Size() (size int)
- func (m *SrPolicyAddReply) Unmarshal(b []byte) error
- type SrPolicyDel
- func (*SrPolicyDel) GetCrcString() string
- func (*SrPolicyDel) GetMessageName() string
- func (*SrPolicyDel) GetMessageType() api.MessageType
- func (m *SrPolicyDel) Marshal(b []byte) ([]byte, error)
- func (m *SrPolicyDel) Reset()
- func (m *SrPolicyDel) Size() (size int)
- func (m *SrPolicyDel) Unmarshal(b []byte) error
- type SrPolicyDelReply
- func (*SrPolicyDelReply) GetCrcString() string
- func (*SrPolicyDelReply) GetMessageName() string
- func (*SrPolicyDelReply) GetMessageType() api.MessageType
- func (m *SrPolicyDelReply) Marshal(b []byte) ([]byte, error)
- func (m *SrPolicyDelReply) Reset()
- func (m *SrPolicyDelReply) Size() (size int)
- func (m *SrPolicyDelReply) Unmarshal(b []byte) error
- type SrPolicyMod
- func (*SrPolicyMod) GetCrcString() string
- func (*SrPolicyMod) GetMessageName() string
- func (*SrPolicyMod) GetMessageType() api.MessageType
- func (m *SrPolicyMod) Marshal(b []byte) ([]byte, error)
- func (m *SrPolicyMod) Reset()
- func (m *SrPolicyMod) Size() (size int)
- func (m *SrPolicyMod) Unmarshal(b []byte) error
- type SrPolicyModReply
- func (*SrPolicyModReply) GetCrcString() string
- func (*SrPolicyModReply) GetMessageName() string
- func (*SrPolicyModReply) GetMessageType() api.MessageType
- func (m *SrPolicyModReply) Marshal(b []byte) ([]byte, error)
- func (m *SrPolicyModReply) Reset()
- func (m *SrPolicyModReply) Size() (size int)
- func (m *SrPolicyModReply) Unmarshal(b []byte) error
- type SrSetEncapHopLimit
- func (*SrSetEncapHopLimit) GetCrcString() string
- func (*SrSetEncapHopLimit) GetMessageName() string
- func (*SrSetEncapHopLimit) GetMessageType() api.MessageType
- func (m *SrSetEncapHopLimit) Marshal(b []byte) ([]byte, error)
- func (m *SrSetEncapHopLimit) Reset()
- func (m *SrSetEncapHopLimit) Size() (size int)
- func (m *SrSetEncapHopLimit) Unmarshal(b []byte) error
- type SrSetEncapHopLimitReply
- func (*SrSetEncapHopLimitReply) GetCrcString() string
- func (*SrSetEncapHopLimitReply) GetMessageName() string
- func (*SrSetEncapHopLimitReply) GetMessageType() api.MessageType
- func (m *SrSetEncapHopLimitReply) Marshal(b []byte) ([]byte, error)
- func (m *SrSetEncapHopLimitReply) Reset()
- func (m *SrSetEncapHopLimitReply) Size() (size int)
- func (m *SrSetEncapHopLimitReply) Unmarshal(b []byte) error
- type SrSetEncapSource
- func (*SrSetEncapSource) GetCrcString() string
- func (*SrSetEncapSource) GetMessageName() string
- func (*SrSetEncapSource) GetMessageType() api.MessageType
- func (m *SrSetEncapSource) Marshal(b []byte) ([]byte, error)
- func (m *SrSetEncapSource) Reset()
- func (m *SrSetEncapSource) Size() (size int)
- func (m *SrSetEncapSource) Unmarshal(b []byte) error
- type SrSetEncapSourceReply
- func (*SrSetEncapSourceReply) GetCrcString() string
- func (*SrSetEncapSourceReply) GetMessageName() string
- func (*SrSetEncapSourceReply) GetMessageType() api.MessageType
- func (m *SrSetEncapSourceReply) Marshal(b []byte) ([]byte, error)
- func (m *SrSetEncapSourceReply) Reset()
- func (m *SrSetEncapSourceReply) Size() (size int)
- func (m *SrSetEncapSourceReply) Unmarshal(b []byte) error
- type SrSteeringAddDel
- func (*SrSteeringAddDel) GetCrcString() string
- func (*SrSteeringAddDel) GetMessageName() string
- func (*SrSteeringAddDel) GetMessageType() api.MessageType
- func (m *SrSteeringAddDel) Marshal(b []byte) ([]byte, error)
- func (m *SrSteeringAddDel) Reset()
- func (m *SrSteeringAddDel) Size() (size int)
- func (m *SrSteeringAddDel) Unmarshal(b []byte) error
- type SrSteeringAddDelReply
- func (*SrSteeringAddDelReply) GetCrcString() string
- func (*SrSteeringAddDelReply) GetMessageName() string
- func (*SrSteeringAddDelReply) GetMessageType() api.MessageType
- func (m *SrSteeringAddDelReply) Marshal(b []byte) ([]byte, error)
- func (m *SrSteeringAddDelReply) Reset()
- func (m *SrSteeringAddDelReply) Size() (size int)
- func (m *SrSteeringAddDelReply) Unmarshal(b []byte) error
- type SrSteeringPolDetails
- func (*SrSteeringPolDetails) GetCrcString() string
- func (*SrSteeringPolDetails) GetMessageName() string
- func (*SrSteeringPolDetails) GetMessageType() api.MessageType
- func (m *SrSteeringPolDetails) Marshal(b []byte) ([]byte, error)
- func (m *SrSteeringPolDetails) Reset()
- func (m *SrSteeringPolDetails) Size() (size int)
- func (m *SrSteeringPolDetails) Unmarshal(b []byte) error
- type SrSteeringPolDump
- func (*SrSteeringPolDump) GetCrcString() string
- func (*SrSteeringPolDump) GetMessageName() string
- func (*SrSteeringPolDump) GetMessageType() api.MessageType
- func (m *SrSteeringPolDump) Marshal(b []byte) ([]byte, error)
- func (m *SrSteeringPolDump) Reset()
- func (m *SrSteeringPolDump) Size() (size int)
- func (m *SrSteeringPolDump) Unmarshal(b []byte) error
- type Srv6Sid
- type Srv6SidList
Constants ¶
const ( APIFile = "sr" APIVersion = "1.2.0" VersionCrc = 0xbf277f96 )
Variables ¶
This section is empty.
Functions ¶
func AllMessages ¶
Messages returns list of all messages in this module.
Types ¶
type RPCService ¶
type RPCService interface {
SrLocalsidAddDel(ctx context.Context, in *SrLocalsidAddDel) (*SrLocalsidAddDelReply, error)
SrLocalsidsDump(ctx context.Context, in *SrLocalsidsDump) (RPCService_SrLocalsidsDumpClient, error)
SrPoliciesDump(ctx context.Context, in *SrPoliciesDump) (RPCService_SrPoliciesDumpClient, error)
SrPolicyAdd(ctx context.Context, in *SrPolicyAdd) (*SrPolicyAddReply, error)
SrPolicyDel(ctx context.Context, in *SrPolicyDel) (*SrPolicyDelReply, error)
SrPolicyMod(ctx context.Context, in *SrPolicyMod) (*SrPolicyModReply, error)
SrSetEncapHopLimit(ctx context.Context, in *SrSetEncapHopLimit) (*SrSetEncapHopLimitReply, error)
SrSetEncapSource(ctx context.Context, in *SrSetEncapSource) (*SrSetEncapSourceReply, error)
SrSteeringAddDel(ctx context.Context, in *SrSteeringAddDel) (*SrSteeringAddDelReply, error)
SrSteeringPolDump(ctx context.Context, in *SrSteeringPolDump) (RPCService_SrSteeringPolDumpClient, error)
}
RPCService defines RPC service sr.
func NewServiceClient ¶
func NewServiceClient(conn api.Connection) RPCService
type RPCService_SrLocalsidsDumpClient ¶
type RPCService_SrLocalsidsDumpClient interface {
Recv() (*SrLocalsidsDetails, error)
api.Stream
}
type RPCService_SrPoliciesDumpClient ¶
type RPCService_SrPoliciesDumpClient interface {
Recv() (*SrPoliciesDetails, error)
api.Stream
}
type RPCService_SrSteeringPolDumpClient ¶
type RPCService_SrSteeringPolDumpClient interface {
Recv() (*SrSteeringPolDetails, error)
api.Stream
}
type SrIP6Address ¶
type SrIP6Address struct {
Data []byte `binapi:"u8[16],name=data" json:"data,omitempty"`
}
SrIP6Address defines type 'sr_ip6_address'.
type SrLocalsidAddDel ¶
type SrLocalsidAddDel struct {
IsDel uint8 `binapi:"u8,name=is_del" json:"is_del,omitempty"`
Localsid Srv6Sid `binapi:"srv6_sid,name=localsid" json:"localsid,omitempty"`
EndPsp uint8 `binapi:"u8,name=end_psp" json:"end_psp,omitempty"`
Behavior uint8 `binapi:"u8,name=behavior" json:"behavior,omitempty"`
SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
VlanIndex uint32 `binapi:"u32,name=vlan_index" json:"vlan_index,omitempty"`
FibTable uint32 `binapi:"u32,name=fib_table" json:"fib_table,omitempty"`
NhAddr6 []byte `binapi:"u8[16],name=nh_addr6" json:"nh_addr6,omitempty"`
NhAddr4 []byte `binapi:"u8[4],name=nh_addr4" json:"nh_addr4,omitempty"`
}
SrLocalsidAddDel defines message 'sr_localsid_add_del'.
func (*SrLocalsidAddDel) GetCrcString ¶
func (*SrLocalsidAddDel) GetCrcString() string
func (*SrLocalsidAddDel) GetMessageName ¶
func (*SrLocalsidAddDel) GetMessageName() string
func (*SrLocalsidAddDel) GetMessageType ¶
func (*SrLocalsidAddDel) GetMessageType() api.MessageType
func (*SrLocalsidAddDel) Reset ¶
func (m *SrLocalsidAddDel) Reset()
func (*SrLocalsidAddDel) Size ¶
func (m *SrLocalsidAddDel) Size() (size int)
func (*SrLocalsidAddDel) Unmarshal ¶
func (m *SrLocalsidAddDel) Unmarshal(b []byte) error
type SrLocalsidAddDelReply ¶
type SrLocalsidAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SrLocalsidAddDelReply defines message 'sr_localsid_add_del_reply'.
func (*SrLocalsidAddDelReply) GetCrcString ¶
func (*SrLocalsidAddDelReply) GetCrcString() string
func (*SrLocalsidAddDelReply) GetMessageName ¶
func (*SrLocalsidAddDelReply) GetMessageName() string
func (*SrLocalsidAddDelReply) GetMessageType ¶
func (*SrLocalsidAddDelReply) GetMessageType() api.MessageType
func (*SrLocalsidAddDelReply) Marshal ¶
func (m *SrLocalsidAddDelReply) Marshal(b []byte) ([]byte, error)
func (*SrLocalsidAddDelReply) Reset ¶
func (m *SrLocalsidAddDelReply) Reset()
func (*SrLocalsidAddDelReply) Size ¶
func (m *SrLocalsidAddDelReply) Size() (size int)
func (*SrLocalsidAddDelReply) Unmarshal ¶
func (m *SrLocalsidAddDelReply) Unmarshal(b []byte) error
type SrLocalsidsDetails ¶
type SrLocalsidsDetails struct {
Addr Srv6Sid `binapi:"srv6_sid,name=addr" json:"addr,omitempty"`
EndPsp uint8 `binapi:"u8,name=end_psp" json:"end_psp,omitempty"`
Behavior uint16 `binapi:"u16,name=behavior" json:"behavior,omitempty"`
FibTable uint32 `binapi:"u32,name=fib_table" json:"fib_table,omitempty"`
VlanIndex uint32 `binapi:"u32,name=vlan_index" json:"vlan_index,omitempty"`
XconnectNhAddr6 []byte `binapi:"u8[16],name=xconnect_nh_addr6" json:"xconnect_nh_addr6,omitempty"`
XconnectNhAddr4 []byte `binapi:"u8[4],name=xconnect_nh_addr4" json:"xconnect_nh_addr4,omitempty"`
XconnectIfaceOrVrfTable uint32 `binapi:"u32,name=xconnect_iface_or_vrf_table" json:"xconnect_iface_or_vrf_table,omitempty"`
}
SrLocalsidsDetails defines message 'sr_localsids_details'.
func (*SrLocalsidsDetails) GetCrcString ¶
func (*SrLocalsidsDetails) GetCrcString() string
func (*SrLocalsidsDetails) GetMessageName ¶
func (*SrLocalsidsDetails) GetMessageName() string
func (*SrLocalsidsDetails) GetMessageType ¶
func (*SrLocalsidsDetails) GetMessageType() api.MessageType
func (*SrLocalsidsDetails) Reset ¶
func (m *SrLocalsidsDetails) Reset()
func (*SrLocalsidsDetails) Size ¶
func (m *SrLocalsidsDetails) Size() (size int)
func (*SrLocalsidsDetails) Unmarshal ¶
func (m *SrLocalsidsDetails) Unmarshal(b []byte) error
type SrLocalsidsDump ¶
type SrLocalsidsDump struct{}
SrLocalsidsDump defines message 'sr_localsids_dump'.
func (*SrLocalsidsDump) GetCrcString ¶
func (*SrLocalsidsDump) GetCrcString() string
func (*SrLocalsidsDump) GetMessageName ¶
func (*SrLocalsidsDump) GetMessageName() string
func (*SrLocalsidsDump) GetMessageType ¶
func (*SrLocalsidsDump) GetMessageType() api.MessageType
func (*SrLocalsidsDump) Reset ¶
func (m *SrLocalsidsDump) Reset()
func (*SrLocalsidsDump) Size ¶
func (m *SrLocalsidsDump) Size() (size int)
func (*SrLocalsidsDump) Unmarshal ¶
func (m *SrLocalsidsDump) Unmarshal(b []byte) error
type SrPoliciesDetails ¶
type SrPoliciesDetails struct {
Bsid Srv6Sid `binapi:"srv6_sid,name=bsid" json:"bsid,omitempty"`
Type uint8 `binapi:"u8,name=type" json:"type,omitempty"`
IsEncap uint8 `binapi:"u8,name=is_encap" json:"is_encap,omitempty"`
FibTable uint32 `binapi:"u32,name=fib_table" json:"fib_table,omitempty"`
NumSidLists uint8 `binapi:"u8,name=num_sid_lists" json:"-"`
SidLists []Srv6SidList `binapi:"srv6_sid_list[num_sid_lists],name=sid_lists" json:"sid_lists,omitempty"`
}
SrPoliciesDetails defines message 'sr_policies_details'.
func (*SrPoliciesDetails) GetCrcString ¶
func (*SrPoliciesDetails) GetCrcString() string
func (*SrPoliciesDetails) GetMessageName ¶
func (*SrPoliciesDetails) GetMessageName() string
func (*SrPoliciesDetails) GetMessageType ¶
func (*SrPoliciesDetails) GetMessageType() api.MessageType
func (*SrPoliciesDetails) Reset ¶
func (m *SrPoliciesDetails) Reset()
func (*SrPoliciesDetails) Size ¶
func (m *SrPoliciesDetails) Size() (size int)
func (*SrPoliciesDetails) Unmarshal ¶
func (m *SrPoliciesDetails) Unmarshal(b []byte) error
type SrPoliciesDump ¶
type SrPoliciesDump struct{}
SrPoliciesDump defines message 'sr_policies_dump'.
func (*SrPoliciesDump) GetCrcString ¶
func (*SrPoliciesDump) GetCrcString() string
func (*SrPoliciesDump) GetMessageName ¶
func (*SrPoliciesDump) GetMessageName() string
func (*SrPoliciesDump) GetMessageType ¶
func (*SrPoliciesDump) GetMessageType() api.MessageType
func (*SrPoliciesDump) Reset ¶
func (m *SrPoliciesDump) Reset()
func (*SrPoliciesDump) Size ¶
func (m *SrPoliciesDump) Size() (size int)
func (*SrPoliciesDump) Unmarshal ¶
func (m *SrPoliciesDump) Unmarshal(b []byte) error
type SrPolicyAdd ¶
type SrPolicyAdd struct {
BsidAddr []byte `binapi:"u8[16],name=bsid_addr" json:"bsid_addr,omitempty"`
Weight uint32 `binapi:"u32,name=weight" json:"weight,omitempty"`
IsEncap uint8 `binapi:"u8,name=is_encap" json:"is_encap,omitempty"`
Type uint8 `binapi:"u8,name=type" json:"type,omitempty"`
FibTable uint32 `binapi:"u32,name=fib_table" json:"fib_table,omitempty"`
Sids Srv6SidList `binapi:"srv6_sid_list,name=sids" json:"sids,omitempty"`
}
SrPolicyAdd defines message 'sr_policy_add'.
func (*SrPolicyAdd) GetCrcString ¶
func (*SrPolicyAdd) GetCrcString() string
func (*SrPolicyAdd) GetMessageName ¶
func (*SrPolicyAdd) GetMessageName() string
func (*SrPolicyAdd) GetMessageType ¶
func (*SrPolicyAdd) GetMessageType() api.MessageType
func (*SrPolicyAdd) Reset ¶
func (m *SrPolicyAdd) Reset()
func (*SrPolicyAdd) Size ¶
func (m *SrPolicyAdd) Size() (size int)
func (*SrPolicyAdd) Unmarshal ¶
func (m *SrPolicyAdd) Unmarshal(b []byte) error
type SrPolicyAddReply ¶
type SrPolicyAddReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SrPolicyAddReply defines message 'sr_policy_add_reply'.
func (*SrPolicyAddReply) GetCrcString ¶
func (*SrPolicyAddReply) GetCrcString() string
func (*SrPolicyAddReply) GetMessageName ¶
func (*SrPolicyAddReply) GetMessageName() string
func (*SrPolicyAddReply) GetMessageType ¶
func (*SrPolicyAddReply) GetMessageType() api.MessageType
func (*SrPolicyAddReply) Reset ¶
func (m *SrPolicyAddReply) Reset()
func (*SrPolicyAddReply) Size ¶
func (m *SrPolicyAddReply) Size() (size int)
func (*SrPolicyAddReply) Unmarshal ¶
func (m *SrPolicyAddReply) Unmarshal(b []byte) error
type SrPolicyDel ¶
type SrPolicyDel struct {
BsidAddr Srv6Sid `binapi:"srv6_sid,name=bsid_addr" json:"bsid_addr,omitempty"`
SrPolicyIndex uint32 `binapi:"u32,name=sr_policy_index" json:"sr_policy_index,omitempty"`
}
SrPolicyDel defines message 'sr_policy_del'.
func (*SrPolicyDel) GetCrcString ¶
func (*SrPolicyDel) GetCrcString() string
func (*SrPolicyDel) GetMessageName ¶
func (*SrPolicyDel) GetMessageName() string
func (*SrPolicyDel) GetMessageType ¶
func (*SrPolicyDel) GetMessageType() api.MessageType
func (*SrPolicyDel) Reset ¶
func (m *SrPolicyDel) Reset()
func (*SrPolicyDel) Size ¶
func (m *SrPolicyDel) Size() (size int)
func (*SrPolicyDel) Unmarshal ¶
func (m *SrPolicyDel) Unmarshal(b []byte) error
type SrPolicyDelReply ¶
type SrPolicyDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SrPolicyDelReply defines message 'sr_policy_del_reply'.
func (*SrPolicyDelReply) GetCrcString ¶
func (*SrPolicyDelReply) GetCrcString() string
func (*SrPolicyDelReply) GetMessageName ¶
func (*SrPolicyDelReply) GetMessageName() string
func (*SrPolicyDelReply) GetMessageType ¶
func (*SrPolicyDelReply) GetMessageType() api.MessageType
func (*SrPolicyDelReply) Reset ¶
func (m *SrPolicyDelReply) Reset()
func (*SrPolicyDelReply) Size ¶
func (m *SrPolicyDelReply) Size() (size int)
func (*SrPolicyDelReply) Unmarshal ¶
func (m *SrPolicyDelReply) Unmarshal(b []byte) error
type SrPolicyMod ¶
type SrPolicyMod struct {
BsidAddr []byte `binapi:"u8[16],name=bsid_addr" json:"bsid_addr,omitempty"`
SrPolicyIndex uint32 `binapi:"u32,name=sr_policy_index" json:"sr_policy_index,omitempty"`
FibTable uint32 `binapi:"u32,name=fib_table" json:"fib_table,omitempty"`
Operation uint8 `binapi:"u8,name=operation" json:"operation,omitempty"`
SlIndex uint32 `binapi:"u32,name=sl_index" json:"sl_index,omitempty"`
Weight uint32 `binapi:"u32,name=weight" json:"weight,omitempty"`
Sids Srv6SidList `binapi:"srv6_sid_list,name=sids" json:"sids,omitempty"`
}
SrPolicyMod defines message 'sr_policy_mod'.
func (*SrPolicyMod) GetCrcString ¶
func (*SrPolicyMod) GetCrcString() string
func (*SrPolicyMod) GetMessageName ¶
func (*SrPolicyMod) GetMessageName() string
func (*SrPolicyMod) GetMessageType ¶
func (*SrPolicyMod) GetMessageType() api.MessageType
func (*SrPolicyMod) Reset ¶
func (m *SrPolicyMod) Reset()
func (*SrPolicyMod) Size ¶
func (m *SrPolicyMod) Size() (size int)
func (*SrPolicyMod) Unmarshal ¶
func (m *SrPolicyMod) Unmarshal(b []byte) error
type SrPolicyModReply ¶
type SrPolicyModReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SrPolicyModReply defines message 'sr_policy_mod_reply'.
func (*SrPolicyModReply) GetCrcString ¶
func (*SrPolicyModReply) GetCrcString() string
func (*SrPolicyModReply) GetMessageName ¶
func (*SrPolicyModReply) GetMessageName() string
func (*SrPolicyModReply) GetMessageType ¶
func (*SrPolicyModReply) GetMessageType() api.MessageType
func (*SrPolicyModReply) Reset ¶
func (m *SrPolicyModReply) Reset()
func (*SrPolicyModReply) Size ¶
func (m *SrPolicyModReply) Size() (size int)
func (*SrPolicyModReply) Unmarshal ¶
func (m *SrPolicyModReply) Unmarshal(b []byte) error
type SrSetEncapHopLimit ¶
type SrSetEncapHopLimit struct {
HopLimit uint8 `binapi:"u8,name=hop_limit" json:"hop_limit,omitempty"`
}
SrSetEncapHopLimit defines message 'sr_set_encap_hop_limit'.
func (*SrSetEncapHopLimit) GetCrcString ¶
func (*SrSetEncapHopLimit) GetCrcString() string
func (*SrSetEncapHopLimit) GetMessageName ¶
func (*SrSetEncapHopLimit) GetMessageName() string
func (*SrSetEncapHopLimit) GetMessageType ¶
func (*SrSetEncapHopLimit) GetMessageType() api.MessageType
func (*SrSetEncapHopLimit) Reset ¶
func (m *SrSetEncapHopLimit) Reset()
func (*SrSetEncapHopLimit) Size ¶
func (m *SrSetEncapHopLimit) Size() (size int)
func (*SrSetEncapHopLimit) Unmarshal ¶
func (m *SrSetEncapHopLimit) Unmarshal(b []byte) error
type SrSetEncapHopLimitReply ¶
type SrSetEncapHopLimitReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SrSetEncapHopLimitReply defines message 'sr_set_encap_hop_limit_reply'.
func (*SrSetEncapHopLimitReply) GetCrcString ¶
func (*SrSetEncapHopLimitReply) GetCrcString() string
func (*SrSetEncapHopLimitReply) GetMessageName ¶
func (*SrSetEncapHopLimitReply) GetMessageName() string
func (*SrSetEncapHopLimitReply) GetMessageType ¶
func (*SrSetEncapHopLimitReply) GetMessageType() api.MessageType
func (*SrSetEncapHopLimitReply) Marshal ¶
func (m *SrSetEncapHopLimitReply) Marshal(b []byte) ([]byte, error)
func (*SrSetEncapHopLimitReply) Reset ¶
func (m *SrSetEncapHopLimitReply) Reset()
func (*SrSetEncapHopLimitReply) Size ¶
func (m *SrSetEncapHopLimitReply) Size() (size int)
func (*SrSetEncapHopLimitReply) Unmarshal ¶
func (m *SrSetEncapHopLimitReply) Unmarshal(b []byte) error
type SrSetEncapSource ¶
type SrSetEncapSource struct {
EncapsSource []byte `binapi:"u8[16],name=encaps_source" json:"encaps_source,omitempty"`
}
SrSetEncapSource defines message 'sr_set_encap_source'.
func (*SrSetEncapSource) GetCrcString ¶
func (*SrSetEncapSource) GetCrcString() string
func (*SrSetEncapSource) GetMessageName ¶
func (*SrSetEncapSource) GetMessageName() string
func (*SrSetEncapSource) GetMessageType ¶
func (*SrSetEncapSource) GetMessageType() api.MessageType
func (*SrSetEncapSource) Reset ¶
func (m *SrSetEncapSource) Reset()
func (*SrSetEncapSource) Size ¶
func (m *SrSetEncapSource) Size() (size int)
func (*SrSetEncapSource) Unmarshal ¶
func (m *SrSetEncapSource) Unmarshal(b []byte) error
type SrSetEncapSourceReply ¶
type SrSetEncapSourceReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SrSetEncapSourceReply defines message 'sr_set_encap_source_reply'.
func (*SrSetEncapSourceReply) GetCrcString ¶
func (*SrSetEncapSourceReply) GetCrcString() string
func (*SrSetEncapSourceReply) GetMessageName ¶
func (*SrSetEncapSourceReply) GetMessageName() string
func (*SrSetEncapSourceReply) GetMessageType ¶
func (*SrSetEncapSourceReply) GetMessageType() api.MessageType
func (*SrSetEncapSourceReply) Marshal ¶
func (m *SrSetEncapSourceReply) Marshal(b []byte) ([]byte, error)
func (*SrSetEncapSourceReply) Reset ¶
func (m *SrSetEncapSourceReply) Reset()
func (*SrSetEncapSourceReply) Size ¶
func (m *SrSetEncapSourceReply) Size() (size int)
func (*SrSetEncapSourceReply) Unmarshal ¶
func (m *SrSetEncapSourceReply) Unmarshal(b []byte) error
type SrSteeringAddDel ¶
type SrSteeringAddDel struct {
IsDel uint8 `binapi:"u8,name=is_del" json:"is_del,omitempty"`
BsidAddr []byte `binapi:"u8[16],name=bsid_addr" json:"bsid_addr,omitempty"`
SrPolicyIndex uint32 `binapi:"u32,name=sr_policy_index" json:"sr_policy_index,omitempty"`
TableID uint32 `binapi:"u32,name=table_id" json:"table_id,omitempty"`
PrefixAddr []byte `binapi:"u8[16],name=prefix_addr" json:"prefix_addr,omitempty"`
MaskWidth uint32 `binapi:"u32,name=mask_width" json:"mask_width,omitempty"`
SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
TrafficType uint8 `binapi:"u8,name=traffic_type" json:"traffic_type,omitempty"`
}
SrSteeringAddDel defines message 'sr_steering_add_del'.
func (*SrSteeringAddDel) GetCrcString ¶
func (*SrSteeringAddDel) GetCrcString() string
func (*SrSteeringAddDel) GetMessageName ¶
func (*SrSteeringAddDel) GetMessageName() string
func (*SrSteeringAddDel) GetMessageType ¶
func (*SrSteeringAddDel) GetMessageType() api.MessageType
func (*SrSteeringAddDel) Reset ¶
func (m *SrSteeringAddDel) Reset()
func (*SrSteeringAddDel) Size ¶
func (m *SrSteeringAddDel) Size() (size int)
func (*SrSteeringAddDel) Unmarshal ¶
func (m *SrSteeringAddDel) Unmarshal(b []byte) error
type SrSteeringAddDelReply ¶
type SrSteeringAddDelReply struct {
Retval int32 `binapi:"i32,name=retval" json:"retval,omitempty"`
}
SrSteeringAddDelReply defines message 'sr_steering_add_del_reply'.
func (*SrSteeringAddDelReply) GetCrcString ¶
func (*SrSteeringAddDelReply) GetCrcString() string
func (*SrSteeringAddDelReply) GetMessageName ¶
func (*SrSteeringAddDelReply) GetMessageName() string
func (*SrSteeringAddDelReply) GetMessageType ¶
func (*SrSteeringAddDelReply) GetMessageType() api.MessageType
func (*SrSteeringAddDelReply) Marshal ¶
func (m *SrSteeringAddDelReply) Marshal(b []byte) ([]byte, error)
func (*SrSteeringAddDelReply) Reset ¶
func (m *SrSteeringAddDelReply) Reset()
func (*SrSteeringAddDelReply) Size ¶
func (m *SrSteeringAddDelReply) Size() (size int)
func (*SrSteeringAddDelReply) Unmarshal ¶
func (m *SrSteeringAddDelReply) Unmarshal(b []byte) error
type SrSteeringPolDetails ¶
type SrSteeringPolDetails struct {
TrafficType uint8 `binapi:"u8,name=traffic_type" json:"traffic_type,omitempty"`
FibTable uint32 `binapi:"u32,name=fib_table" json:"fib_table,omitempty"`
PrefixAddr []byte `binapi:"u8[16],name=prefix_addr" json:"prefix_addr,omitempty"`
MaskWidth uint32 `binapi:"u32,name=mask_width" json:"mask_width,omitempty"`
SwIfIndex uint32 `binapi:"u32,name=sw_if_index" json:"sw_if_index,omitempty"`
Bsid Srv6Sid `binapi:"srv6_sid,name=bsid" json:"bsid,omitempty"`
}
SrSteeringPolDetails defines message 'sr_steering_pol_details'.
func (*SrSteeringPolDetails) GetCrcString ¶
func (*SrSteeringPolDetails) GetCrcString() string
func (*SrSteeringPolDetails) GetMessageName ¶
func (*SrSteeringPolDetails) GetMessageName() string
func (*SrSteeringPolDetails) GetMessageType ¶
func (*SrSteeringPolDetails) GetMessageType() api.MessageType
func (*SrSteeringPolDetails) Marshal ¶
func (m *SrSteeringPolDetails) Marshal(b []byte) ([]byte, error)
func (*SrSteeringPolDetails) Reset ¶
func (m *SrSteeringPolDetails) Reset()
func (*SrSteeringPolDetails) Size ¶
func (m *SrSteeringPolDetails) Size() (size int)
func (*SrSteeringPolDetails) Unmarshal ¶
func (m *SrSteeringPolDetails) Unmarshal(b []byte) error
type SrSteeringPolDump ¶
type SrSteeringPolDump struct{}
SrSteeringPolDump defines message 'sr_steering_pol_dump'.
func (*SrSteeringPolDump) GetCrcString ¶
func (*SrSteeringPolDump) GetCrcString() string
func (*SrSteeringPolDump) GetMessageName ¶
func (*SrSteeringPolDump) GetMessageName() string
func (*SrSteeringPolDump) GetMessageType ¶
func (*SrSteeringPolDump) GetMessageType() api.MessageType
func (*SrSteeringPolDump) Reset ¶
func (m *SrSteeringPolDump) Reset()
func (*SrSteeringPolDump) Size ¶
func (m *SrSteeringPolDump) Size() (size int)
func (*SrSteeringPolDump) Unmarshal ¶
func (m *SrSteeringPolDump) Unmarshal(b []byte) error
type Srv6Sid ¶
type Srv6Sid struct {
Addr []byte `binapi:"u8[16],name=addr" json:"addr,omitempty"`
}
Srv6Sid defines type 'srv6_sid'.
type Srv6SidList ¶
type Srv6SidList struct {
NumSids uint8 `binapi:"u8,name=num_sids" json:"num_sids,omitempty"`
Weight uint32 `binapi:"u32,name=weight" json:"weight,omitempty"`
Sids [16]Srv6Sid `binapi:"srv6_sid[16],name=sids" json:"sids,omitempty"`
}
Srv6SidList defines type 'srv6_sid_list'.