Versions in this module Expand all Collapse all v0 v0.0.1 May 10, 2024 Changes in this version + const APIFile + const APIVersion + const VersionCrc + var SrPolicyType_name = map[uint8]string + var SrPolicyType_value = map[string]uint8 + func AllMessages() []api.Message + type RPCService interface + SrLocalsidAddDel func(ctx context.Context, in *SrLocalsidAddDel) (*SrLocalsidAddDelReply, error) + SrLocalsidsDump func(ctx context.Context, in *SrLocalsidsDump) (RPCService_SrLocalsidsDumpClient, error) + SrLocalsidsWithPacketStatsDump func(ctx context.Context, in *SrLocalsidsWithPacketStatsDump) (RPCService_SrLocalsidsWithPacketStatsDumpClient, error) + SrPoliciesDump func(ctx context.Context, in *SrPoliciesDump) (RPCService_SrPoliciesDumpClient, error) + SrPoliciesV2Dump func(ctx context.Context, in *SrPoliciesV2Dump) (RPCService_SrPoliciesV2DumpClient, error) + SrPoliciesWithSlIndexDump func(ctx context.Context, in *SrPoliciesWithSlIndexDump) (RPCService_SrPoliciesWithSlIndexDumpClient, error) + SrPolicyAdd func(ctx context.Context, in *SrPolicyAdd) (*SrPolicyAddReply, error) + SrPolicyAddV2 func(ctx context.Context, in *SrPolicyAddV2) (*SrPolicyAddV2Reply, error) + SrPolicyDel func(ctx context.Context, in *SrPolicyDel) (*SrPolicyDelReply, error) + SrPolicyMod func(ctx context.Context, in *SrPolicyMod) (*SrPolicyModReply, error) + SrPolicyModV2 func(ctx context.Context, in *SrPolicyModV2) (*SrPolicyModV2Reply, error) + SrSetEncapHopLimit func(ctx context.Context, in *SrSetEncapHopLimit) (*SrSetEncapHopLimitReply, error) + SrSetEncapSource func(ctx context.Context, in *SrSetEncapSource) (*SrSetEncapSourceReply, error) + SrSteeringAddDel func(ctx context.Context, in *SrSteeringAddDel) (*SrSteeringAddDelReply, error) + SrSteeringPolDump func(ctx context.Context, in *SrSteeringPolDump) (RPCService_SrSteeringPolDumpClient, error) + func NewServiceClient(conn api.Connection) RPCService + type RPCService_SrLocalsidsDumpClient interface + Recv func() (*SrLocalsidsDetails, error) + type RPCService_SrLocalsidsWithPacketStatsDumpClient interface + Recv func() (*SrLocalsidsWithPacketStatsDetails, error) + type RPCService_SrPoliciesDumpClient interface + Recv func() (*SrPoliciesDetails, error) + type RPCService_SrPoliciesV2DumpClient interface + Recv func() (*SrPoliciesV2Details, error) + type RPCService_SrPoliciesWithSlIndexDumpClient interface + Recv func() (*SrPoliciesWithSlIndexDetails, error) + type RPCService_SrSteeringPolDumpClient interface + Recv func() (*SrSteeringPolDetails, error) + type SrLocalsidAddDel struct + Behavior sr_types.SrBehavior + EndPsp bool + FibTable uint32 + IsDel bool + Localsid ip_types.IP6Address + NhAddr ip_types.Address + SwIfIndex interface_types.InterfaceIndex + VlanIndex uint32 + 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 struct + Retval int32 + 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 struct + Addr ip_types.IP6Address + Behavior sr_types.SrBehavior + EndPsp bool + FibTable uint32 + VlanIndex uint32 + XconnectIfaceOrVrfTable uint32 + XconnectNhAddr ip_types.Address + 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 struct + 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 SrLocalsidsWithPacketStatsDetails struct + Addr ip_types.IP6Address + BadTrafficBytes uint64 + BadTrafficPktCount uint64 + Behavior sr_types.SrBehavior + EndPsp bool + FibTable uint32 + GoodTrafficBytes uint64 + GoodTrafficPktCount uint64 + VlanIndex uint32 + XconnectIfaceOrVrfTable uint32 + XconnectNhAddr ip_types.Address + func (*SrLocalsidsWithPacketStatsDetails) GetCrcString() string + func (*SrLocalsidsWithPacketStatsDetails) GetMessageName() string + func (*SrLocalsidsWithPacketStatsDetails) GetMessageType() api.MessageType + func (m *SrLocalsidsWithPacketStatsDetails) Marshal(b []byte) ([]byte, error) + func (m *SrLocalsidsWithPacketStatsDetails) Reset() + func (m *SrLocalsidsWithPacketStatsDetails) Size() (size int) + func (m *SrLocalsidsWithPacketStatsDetails) Unmarshal(b []byte) error + type SrLocalsidsWithPacketStatsDump struct + func (*SrLocalsidsWithPacketStatsDump) GetCrcString() string + func (*SrLocalsidsWithPacketStatsDump) GetMessageName() string + func (*SrLocalsidsWithPacketStatsDump) GetMessageType() api.MessageType + func (m *SrLocalsidsWithPacketStatsDump) Marshal(b []byte) ([]byte, error) + func (m *SrLocalsidsWithPacketStatsDump) Reset() + func (m *SrLocalsidsWithPacketStatsDump) Size() (size int) + func (m *SrLocalsidsWithPacketStatsDump) Unmarshal(b []byte) error + type SrPoliciesDetails struct + Bsid ip_types.IP6Address + FibTable uint32 + IsEncap bool + IsSpray bool + NumSidLists uint8 + SidLists []Srv6SidList + 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 struct + 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 SrPoliciesV2Details struct + Bsid ip_types.IP6Address + EncapSrc ip_types.IP6Address + FibTable uint32 + IsEncap bool + NumSidLists uint8 + SidLists []Srv6SidList + Type SrPolicyType + func (*SrPoliciesV2Details) GetCrcString() string + func (*SrPoliciesV2Details) GetMessageName() string + func (*SrPoliciesV2Details) GetMessageType() api.MessageType + func (m *SrPoliciesV2Details) Marshal(b []byte) ([]byte, error) + func (m *SrPoliciesV2Details) Reset() + func (m *SrPoliciesV2Details) Size() (size int) + func (m *SrPoliciesV2Details) Unmarshal(b []byte) error + type SrPoliciesV2Dump struct + func (*SrPoliciesV2Dump) GetCrcString() string + func (*SrPoliciesV2Dump) GetMessageName() string + func (*SrPoliciesV2Dump) GetMessageType() api.MessageType + func (m *SrPoliciesV2Dump) Marshal(b []byte) ([]byte, error) + func (m *SrPoliciesV2Dump) Reset() + func (m *SrPoliciesV2Dump) Size() (size int) + func (m *SrPoliciesV2Dump) Unmarshal(b []byte) error + type SrPoliciesWithSlIndexDetails struct + Bsid ip_types.IP6Address + FibTable uint32 + IsEncap bool + IsSpray bool + NumSidLists uint8 + SidLists []Srv6SidListWithSlIndex + func (*SrPoliciesWithSlIndexDetails) GetCrcString() string + func (*SrPoliciesWithSlIndexDetails) GetMessageName() string + func (*SrPoliciesWithSlIndexDetails) GetMessageType() api.MessageType + func (m *SrPoliciesWithSlIndexDetails) Marshal(b []byte) ([]byte, error) + func (m *SrPoliciesWithSlIndexDetails) Reset() + func (m *SrPoliciesWithSlIndexDetails) Size() (size int) + func (m *SrPoliciesWithSlIndexDetails) Unmarshal(b []byte) error + type SrPoliciesWithSlIndexDump struct + func (*SrPoliciesWithSlIndexDump) GetCrcString() string + func (*SrPoliciesWithSlIndexDump) GetMessageName() string + func (*SrPoliciesWithSlIndexDump) GetMessageType() api.MessageType + func (m *SrPoliciesWithSlIndexDump) Marshal(b []byte) ([]byte, error) + func (m *SrPoliciesWithSlIndexDump) Reset() + func (m *SrPoliciesWithSlIndexDump) Size() (size int) + func (m *SrPoliciesWithSlIndexDump) Unmarshal(b []byte) error + type SrPolicyAdd struct + BsidAddr ip_types.IP6Address + FibTable uint32 + IsEncap bool + IsSpray bool + Sids Srv6SidList + Weight uint32 + 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 struct + Retval int32 + 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 SrPolicyAddV2 struct + BsidAddr ip_types.IP6Address + EncapSrc ip_types.IP6Address + FibTable uint32 + IsEncap bool + Sids Srv6SidList + Type SrPolicyType + Weight uint32 + func (*SrPolicyAddV2) GetCrcString() string + func (*SrPolicyAddV2) GetMessageName() string + func (*SrPolicyAddV2) GetMessageType() api.MessageType + func (m *SrPolicyAddV2) Marshal(b []byte) ([]byte, error) + func (m *SrPolicyAddV2) Reset() + func (m *SrPolicyAddV2) Size() (size int) + func (m *SrPolicyAddV2) Unmarshal(b []byte) error + type SrPolicyAddV2Reply struct + Retval int32 + func (*SrPolicyAddV2Reply) GetCrcString() string + func (*SrPolicyAddV2Reply) GetMessageName() string + func (*SrPolicyAddV2Reply) GetMessageType() api.MessageType + func (m *SrPolicyAddV2Reply) Marshal(b []byte) ([]byte, error) + func (m *SrPolicyAddV2Reply) Reset() + func (m *SrPolicyAddV2Reply) Size() (size int) + func (m *SrPolicyAddV2Reply) Unmarshal(b []byte) error + type SrPolicyDel struct + BsidAddr ip_types.IP6Address + SrPolicyIndex uint32 + 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 struct + Retval int32 + 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 struct + BsidAddr ip_types.IP6Address + FibTable uint32 + Operation sr_types.SrPolicyOp + Sids Srv6SidList + SlIndex uint32 + SrPolicyIndex uint32 + Weight uint32 + 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 struct + Retval int32 + 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 SrPolicyModV2 struct + BsidAddr ip_types.IP6Address + EncapSrc ip_types.IP6Address + FibTable uint32 + Operation sr_types.SrPolicyOp + Sids Srv6SidList + SlIndex uint32 + SrPolicyIndex uint32 + Weight uint32 + func (*SrPolicyModV2) GetCrcString() string + func (*SrPolicyModV2) GetMessageName() string + func (*SrPolicyModV2) GetMessageType() api.MessageType + func (m *SrPolicyModV2) Marshal(b []byte) ([]byte, error) + func (m *SrPolicyModV2) Reset() + func (m *SrPolicyModV2) Size() (size int) + func (m *SrPolicyModV2) Unmarshal(b []byte) error + type SrPolicyModV2Reply struct + Retval int32 + func (*SrPolicyModV2Reply) GetCrcString() string + func (*SrPolicyModV2Reply) GetMessageName() string + func (*SrPolicyModV2Reply) GetMessageType() api.MessageType + func (m *SrPolicyModV2Reply) Marshal(b []byte) ([]byte, error) + func (m *SrPolicyModV2Reply) Reset() + func (m *SrPolicyModV2Reply) Size() (size int) + func (m *SrPolicyModV2Reply) Unmarshal(b []byte) error + type SrPolicyType uint8 + const SR_API_POLICY_TYPE_DEFAULT + const SR_API_POLICY_TYPE_SPRAY + const SR_API_POLICY_TYPE_TEF + func (x SrPolicyType) String() string + type SrSetEncapHopLimit struct + HopLimit uint8 + 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 struct + Retval int32 + 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 struct + EncapsSource ip_types.IP6Address + 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 struct + Retval int32 + 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 struct + BsidAddr ip_types.IP6Address + IsDel bool + Prefix ip_types.Prefix + SrPolicyIndex uint32 + SwIfIndex interface_types.InterfaceIndex + TableID uint32 + TrafficType sr_types.SrSteer + 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 struct + Retval int32 + 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 struct + Bsid ip_types.IP6Address + FibTable uint32 + Prefix ip_types.Prefix + SwIfIndex interface_types.InterfaceIndex + TrafficType sr_types.SrSteer + 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 struct + 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 Srv6SidList struct + NumSids uint8 + Sids [16]ip_types.IP6Address + Weight uint32 + type Srv6SidListWithSlIndex struct + NumSids uint8 + Sids [16]ip_types.IP6Address + SlIndex uint32 + Weight uint32