Versions in this module Expand all Collapse all v0 v0.8.0 Dec 28, 2023 Changes in this version + const APIFile + const APIVersion + const VersionCrc + func AllMessages() []api.Message + type RPCService interface + SrMplsPolicyAdd func(ctx context.Context, in *SrMplsPolicyAdd) (*SrMplsPolicyAddReply, error) + SrMplsPolicyAssignEndpointColor func(ctx context.Context, in *SrMplsPolicyAssignEndpointColor) (*SrMplsPolicyAssignEndpointColorReply, error) + SrMplsPolicyDel func(ctx context.Context, in *SrMplsPolicyDel) (*SrMplsPolicyDelReply, error) + SrMplsPolicyMod func(ctx context.Context, in *SrMplsPolicyMod) (*SrMplsPolicyModReply, error) + SrMplsSteeringAddDel func(ctx context.Context, in *SrMplsSteeringAddDel) (*SrMplsSteeringAddDelReply, error) + func NewServiceClient(conn api.Connection) RPCService + type SrMplsPolicyAdd struct + Bsid uint32 + IsSpray bool + NSegments uint8 + Segments []uint32 + Weight uint32 + func (*SrMplsPolicyAdd) GetCrcString() string + func (*SrMplsPolicyAdd) GetMessageName() string + func (*SrMplsPolicyAdd) GetMessageType() api.MessageType + func (m *SrMplsPolicyAdd) Marshal(b []byte) ([]byte, error) + func (m *SrMplsPolicyAdd) Reset() + func (m *SrMplsPolicyAdd) Size() (size int) + func (m *SrMplsPolicyAdd) Unmarshal(b []byte) error + type SrMplsPolicyAddReply struct + Retval int32 + func (*SrMplsPolicyAddReply) GetCrcString() string + func (*SrMplsPolicyAddReply) GetMessageName() string + func (*SrMplsPolicyAddReply) GetMessageType() api.MessageType + func (m *SrMplsPolicyAddReply) Marshal(b []byte) ([]byte, error) + func (m *SrMplsPolicyAddReply) Reset() + func (m *SrMplsPolicyAddReply) Size() (size int) + func (m *SrMplsPolicyAddReply) Unmarshal(b []byte) error + type SrMplsPolicyAssignEndpointColor struct + Bsid uint32 + Color uint32 + Endpoint ip_types.Address + func (*SrMplsPolicyAssignEndpointColor) GetCrcString() string + func (*SrMplsPolicyAssignEndpointColor) GetMessageName() string + func (*SrMplsPolicyAssignEndpointColor) GetMessageType() api.MessageType + func (m *SrMplsPolicyAssignEndpointColor) Marshal(b []byte) ([]byte, error) + func (m *SrMplsPolicyAssignEndpointColor) Reset() + func (m *SrMplsPolicyAssignEndpointColor) Size() (size int) + func (m *SrMplsPolicyAssignEndpointColor) Unmarshal(b []byte) error + type SrMplsPolicyAssignEndpointColorReply struct + Retval int32 + func (*SrMplsPolicyAssignEndpointColorReply) GetCrcString() string + func (*SrMplsPolicyAssignEndpointColorReply) GetMessageName() string + func (*SrMplsPolicyAssignEndpointColorReply) GetMessageType() api.MessageType + func (m *SrMplsPolicyAssignEndpointColorReply) Marshal(b []byte) ([]byte, error) + func (m *SrMplsPolicyAssignEndpointColorReply) Reset() + func (m *SrMplsPolicyAssignEndpointColorReply) Size() (size int) + func (m *SrMplsPolicyAssignEndpointColorReply) Unmarshal(b []byte) error + type SrMplsPolicyDel struct + Bsid uint32 + func (*SrMplsPolicyDel) GetCrcString() string + func (*SrMplsPolicyDel) GetMessageName() string + func (*SrMplsPolicyDel) GetMessageType() api.MessageType + func (m *SrMplsPolicyDel) Marshal(b []byte) ([]byte, error) + func (m *SrMplsPolicyDel) Reset() + func (m *SrMplsPolicyDel) Size() (size int) + func (m *SrMplsPolicyDel) Unmarshal(b []byte) error + type SrMplsPolicyDelReply struct + Retval int32 + func (*SrMplsPolicyDelReply) GetCrcString() string + func (*SrMplsPolicyDelReply) GetMessageName() string + func (*SrMplsPolicyDelReply) GetMessageType() api.MessageType + func (m *SrMplsPolicyDelReply) Marshal(b []byte) ([]byte, error) + func (m *SrMplsPolicyDelReply) Reset() + func (m *SrMplsPolicyDelReply) Size() (size int) + func (m *SrMplsPolicyDelReply) Unmarshal(b []byte) error + type SrMplsPolicyMod struct + Bsid uint32 + NSegments uint8 + Operation sr_types.SrPolicyOp + Segments []uint32 + SlIndex uint32 + Weight uint32 + func (*SrMplsPolicyMod) GetCrcString() string + func (*SrMplsPolicyMod) GetMessageName() string + func (*SrMplsPolicyMod) GetMessageType() api.MessageType + func (m *SrMplsPolicyMod) Marshal(b []byte) ([]byte, error) + func (m *SrMplsPolicyMod) Reset() + func (m *SrMplsPolicyMod) Size() (size int) + func (m *SrMplsPolicyMod) Unmarshal(b []byte) error + type SrMplsPolicyModReply struct + Retval int32 + func (*SrMplsPolicyModReply) GetCrcString() string + func (*SrMplsPolicyModReply) GetMessageName() string + func (*SrMplsPolicyModReply) GetMessageType() api.MessageType + func (m *SrMplsPolicyModReply) Marshal(b []byte) ([]byte, error) + func (m *SrMplsPolicyModReply) Reset() + func (m *SrMplsPolicyModReply) Size() (size int) + func (m *SrMplsPolicyModReply) Unmarshal(b []byte) error + type SrMplsSteeringAddDel struct + Bsid uint32 + CoBits uint8 + Color uint32 + IsDel bool + MaskWidth uint32 + NextHop ip_types.Address + Prefix ip_types.Prefix + TableID uint32 + VPNLabel uint32 + func (*SrMplsSteeringAddDel) GetCrcString() string + func (*SrMplsSteeringAddDel) GetMessageName() string + func (*SrMplsSteeringAddDel) GetMessageType() api.MessageType + func (m *SrMplsSteeringAddDel) Marshal(b []byte) ([]byte, error) + func (m *SrMplsSteeringAddDel) Reset() + func (m *SrMplsSteeringAddDel) Size() (size int) + func (m *SrMplsSteeringAddDel) Unmarshal(b []byte) error + type SrMplsSteeringAddDelReply struct + Retval int32 + func (*SrMplsSteeringAddDelReply) GetCrcString() string + func (*SrMplsSteeringAddDelReply) GetMessageName() string + func (*SrMplsSteeringAddDelReply) GetMessageType() api.MessageType + func (m *SrMplsSteeringAddDelReply) Marshal(b []byte) ([]byte, error) + func (m *SrMplsSteeringAddDelReply) Reset() + func (m *SrMplsSteeringAddDelReply) Size() (size int) + func (m *SrMplsSteeringAddDelReply) Unmarshal(b []byte) error