sr

package
v3.5.0-alpha Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package sr contains generated bindings for API file sr.api.

Contents:

 2 structs
22 messages

Index

Constants

View Source
const (
	APIFile    = "sr"
	APIVersion = "2.0.0"
	VersionCrc = 0x39711e91
)

Variables

This section is empty.

Functions

func AllMessages

func AllMessages() []api.Message

Messages returns list of all messages in this module.

Types

type RPCService

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_SrPoliciesWithSlIndexDumpClient

type RPCService_SrPoliciesWithSlIndexDumpClient interface {
	Recv() (*SrPoliciesWithSlIndexDetails, error)
	api.Stream
}

type RPCService_SrSteeringPolDumpClient

type RPCService_SrSteeringPolDumpClient interface {
	Recv() (*SrSteeringPolDetails, error)
	api.Stream
}

type SrLocalsidAddDel

type SrLocalsidAddDel struct {
	IsDel     bool                           `binapi:"bool,name=is_del,default=false" json:"is_del,omitempty"`
	Localsid  ip_types.IP6Address            `binapi:"ip6_address,name=localsid" json:"localsid,omitempty"`
	EndPsp    bool                           `binapi:"bool,name=end_psp" json:"end_psp,omitempty"`
	Behavior  sr_types.SrBehavior            `binapi:"sr_behavior,name=behavior" json:"behavior,omitempty"`
	SwIfIndex interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index,default=4294967295" 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"`
	NhAddr    ip_types.Address               `binapi:"address,name=nh_addr" json:"nh_addr,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) Marshal

func (m *SrLocalsidAddDel) Marshal(b []byte) ([]byte, error)

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                    ip_types.IP6Address `binapi:"ip6_address,name=addr" json:"addr,omitempty"`
	EndPsp                  bool                `binapi:"bool,name=end_psp" json:"end_psp,omitempty"`
	Behavior                sr_types.SrBehavior `binapi:"sr_behavior,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"`
	XconnectNhAddr          ip_types.Address    `binapi:"address,name=xconnect_nh_addr" json:"xconnect_nh_addr,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) Marshal

func (m *SrLocalsidsDetails) Marshal(b []byte) ([]byte, error)

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) Marshal

func (m *SrLocalsidsDump) Marshal(b []byte) ([]byte, error)

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        ip_types.IP6Address `binapi:"ip6_address,name=bsid" json:"bsid,omitempty"`
	IsSpray     bool                `binapi:"bool,name=is_spray" json:"is_spray,omitempty"`
	IsEncap     bool                `binapi:"bool,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) Marshal

func (m *SrPoliciesDetails) Marshal(b []byte) ([]byte, error)

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) Marshal

func (m *SrPoliciesDump) Marshal(b []byte) ([]byte, error)

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 SrPoliciesWithSlIndexDetails

type SrPoliciesWithSlIndexDetails struct {
	Bsid        ip_types.IP6Address      `binapi:"ip6_address,name=bsid" json:"bsid,omitempty"`
	IsSpray     bool                     `binapi:"bool,name=is_spray" json:"is_spray,omitempty"`
	IsEncap     bool                     `binapi:"bool,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    []Srv6SidListWithSlIndex `binapi:"srv6_sid_list_with_sl_index[num_sid_lists],name=sid_lists" json:"sid_lists,omitempty"`
}

SrPoliciesWithSlIndexDetails defines message 'sr_policies_with_sl_index_details'.

func (*SrPoliciesWithSlIndexDetails) GetCrcString

func (*SrPoliciesWithSlIndexDetails) GetCrcString() string

func (*SrPoliciesWithSlIndexDetails) GetMessageName

func (*SrPoliciesWithSlIndexDetails) GetMessageName() string

func (*SrPoliciesWithSlIndexDetails) GetMessageType

func (*SrPoliciesWithSlIndexDetails) GetMessageType() api.MessageType

func (*SrPoliciesWithSlIndexDetails) Marshal

func (m *SrPoliciesWithSlIndexDetails) Marshal(b []byte) ([]byte, error)

func (*SrPoliciesWithSlIndexDetails) Reset

func (m *SrPoliciesWithSlIndexDetails) Reset()

func (*SrPoliciesWithSlIndexDetails) Size

func (m *SrPoliciesWithSlIndexDetails) Size() (size int)

func (*SrPoliciesWithSlIndexDetails) Unmarshal

func (m *SrPoliciesWithSlIndexDetails) Unmarshal(b []byte) error

type SrPoliciesWithSlIndexDump

type SrPoliciesWithSlIndexDump struct{}

SrPoliciesWithSlIndexDump defines message 'sr_policies_with_sl_index_dump'.

func (*SrPoliciesWithSlIndexDump) GetCrcString

func (*SrPoliciesWithSlIndexDump) GetCrcString() string

func (*SrPoliciesWithSlIndexDump) GetMessageName

func (*SrPoliciesWithSlIndexDump) GetMessageName() string

func (*SrPoliciesWithSlIndexDump) GetMessageType

func (*SrPoliciesWithSlIndexDump) GetMessageType() api.MessageType

func (*SrPoliciesWithSlIndexDump) Marshal

func (m *SrPoliciesWithSlIndexDump) Marshal(b []byte) ([]byte, error)

func (*SrPoliciesWithSlIndexDump) Reset

func (m *SrPoliciesWithSlIndexDump) Reset()

func (*SrPoliciesWithSlIndexDump) Size

func (m *SrPoliciesWithSlIndexDump) Size() (size int)

func (*SrPoliciesWithSlIndexDump) Unmarshal

func (m *SrPoliciesWithSlIndexDump) Unmarshal(b []byte) error

type SrPolicyAdd

type SrPolicyAdd struct {
	BsidAddr ip_types.IP6Address `binapi:"ip6_address,name=bsid_addr" json:"bsid_addr,omitempty"`
	Weight   uint32              `binapi:"u32,name=weight" json:"weight,omitempty"`
	IsEncap  bool                `binapi:"bool,name=is_encap" json:"is_encap,omitempty"`
	IsSpray  bool                `binapi:"bool,name=is_spray" json:"is_spray,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) Marshal

func (m *SrPolicyAdd) Marshal(b []byte) ([]byte, error)

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) Marshal

func (m *SrPolicyAddReply) Marshal(b []byte) ([]byte, error)

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      ip_types.IP6Address `binapi:"ip6_address,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) Marshal

func (m *SrPolicyDel) Marshal(b []byte) ([]byte, error)

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) Marshal

func (m *SrPolicyDelReply) Marshal(b []byte) ([]byte, error)

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      ip_types.IP6Address `binapi:"ip6_address,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     sr_types.SrPolicyOp `binapi:"sr_policy_op,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) Marshal

func (m *SrPolicyMod) Marshal(b []byte) ([]byte, error)

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) Marshal

func (m *SrPolicyModReply) Marshal(b []byte) ([]byte, error)

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) Marshal

func (m *SrSetEncapHopLimit) Marshal(b []byte) ([]byte, error)

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 ip_types.IP6Address `binapi:"ip6_address,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) Marshal

func (m *SrSetEncapSource) Marshal(b []byte) ([]byte, error)

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         bool                           `binapi:"bool,name=is_del,default=false" json:"is_del,omitempty"`
	BsidAddr      ip_types.IP6Address            `binapi:"ip6_address,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"`
	Prefix        ip_types.Prefix                `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
	SwIfIndex     interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	TrafficType   sr_types.SrSteer               `binapi:"sr_steer,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) Marshal

func (m *SrSteeringAddDel) Marshal(b []byte) ([]byte, error)

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 sr_types.SrSteer               `binapi:"sr_steer,name=traffic_type" json:"traffic_type,omitempty"`
	FibTable    uint32                         `binapi:"u32,name=fib_table" json:"fib_table,omitempty"`
	Prefix      ip_types.Prefix                `binapi:"prefix,name=prefix" json:"prefix,omitempty"`
	SwIfIndex   interface_types.InterfaceIndex `binapi:"interface_index,name=sw_if_index" json:"sw_if_index,omitempty"`
	Bsid        ip_types.IP6Address            `binapi:"ip6_address,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) Marshal

func (m *SrSteeringPolDump) Marshal(b []byte) ([]byte, error)

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 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]ip_types.IP6Address `binapi:"ip6_address[16],name=sids" json:"sids,omitempty"`
}

Srv6SidList defines type 'srv6_sid_list'.

type Srv6SidListWithSlIndex

type Srv6SidListWithSlIndex struct {
	NumSids uint8                   `binapi:"u8,name=num_sids" json:"num_sids,omitempty"`
	Weight  uint32                  `binapi:"u32,name=weight" json:"weight,omitempty"`
	SlIndex uint32                  `binapi:"u32,name=sl_index" json:"sl_index,omitempty"`
	Sids    [16]ip_types.IP6Address `binapi:"ip6_address[16],name=sids" json:"sids,omitempty"`
}

Srv6SidListWithSlIndex defines type 'srv6_sid_list_with_sl_index'.

Jump to

Keyboard shortcuts

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