Versions in this module Expand all Collapse all v0 v0.1.0 Jul 3, 2019 Changes in this version + const APIVersion + const ModuleName + const VersionCrc + func AllMessages() []api.Message + type CollectDetailedInterfaceStats struct + EnableDisable uint8 + SwIfIndex uint32 + func (*CollectDetailedInterfaceStats) GetCrcString() string + func (*CollectDetailedInterfaceStats) GetMessageName() string + func (*CollectDetailedInterfaceStats) GetMessageType() api.MessageType + type CollectDetailedInterfaceStatsReply struct + Retval int32 + func (*CollectDetailedInterfaceStatsReply) GetCrcString() string + func (*CollectDetailedInterfaceStatsReply) GetMessageName() string + func (*CollectDetailedInterfaceStatsReply) GetMessageType() api.MessageType + type CreateLoopback struct + MacAddress []byte + func (*CreateLoopback) GetCrcString() string + func (*CreateLoopback) GetMessageName() string + func (*CreateLoopback) GetMessageType() api.MessageType + type CreateLoopbackInstance struct + IsSpecified uint8 + MacAddress []byte + UserInstance uint32 + func (*CreateLoopbackInstance) GetCrcString() string + func (*CreateLoopbackInstance) GetMessageName() string + func (*CreateLoopbackInstance) GetMessageType() api.MessageType + type CreateLoopbackInstanceReply struct + Retval int32 + SwIfIndex uint32 + func (*CreateLoopbackInstanceReply) GetCrcString() string + func (*CreateLoopbackInstanceReply) GetMessageName() string + func (*CreateLoopbackInstanceReply) GetMessageType() api.MessageType + type CreateLoopbackReply struct + Retval int32 + SwIfIndex uint32 + func (*CreateLoopbackReply) GetCrcString() string + func (*CreateLoopbackReply) GetMessageName() string + func (*CreateLoopbackReply) GetMessageType() api.MessageType + type CreateSubif struct + DefaultSub uint8 + Dot1ad uint8 + ExactMatch uint8 + InnerVlanID uint16 + InnerVlanIDAny uint8 + NoTags uint8 + OneTag uint8 + OuterVlanID uint16 + OuterVlanIDAny uint8 + SubID uint32 + SwIfIndex uint32 + TwoTags uint8 + func (*CreateSubif) GetCrcString() string + func (*CreateSubif) GetMessageName() string + func (*CreateSubif) GetMessageType() api.MessageType + type CreateSubifReply struct + Retval int32 + SwIfIndex uint32 + func (*CreateSubifReply) GetCrcString() string + func (*CreateSubifReply) GetMessageName() string + func (*CreateSubifReply) GetMessageType() api.MessageType + type CreateVlanSubif struct + SwIfIndex uint32 + VlanID uint32 + func (*CreateVlanSubif) GetCrcString() string + func (*CreateVlanSubif) GetMessageName() string + func (*CreateVlanSubif) GetMessageType() api.MessageType + type CreateVlanSubifReply struct + Retval int32 + SwIfIndex uint32 + func (*CreateVlanSubifReply) GetCrcString() string + func (*CreateVlanSubifReply) GetMessageName() string + func (*CreateVlanSubifReply) GetMessageType() api.MessageType + type DeleteLoopback struct + SwIfIndex uint32 + func (*DeleteLoopback) GetCrcString() string + func (*DeleteLoopback) GetMessageName() string + func (*DeleteLoopback) GetMessageType() api.MessageType + type DeleteLoopbackReply struct + Retval int32 + func (*DeleteLoopbackReply) GetCrcString() string + func (*DeleteLoopbackReply) GetMessageName() string + func (*DeleteLoopbackReply) GetMessageType() api.MessageType + type DeleteSubif struct + SwIfIndex uint32 + func (*DeleteSubif) GetCrcString() string + func (*DeleteSubif) GetMessageName() string + func (*DeleteSubif) GetMessageType() api.MessageType + type DeleteSubifReply struct + Retval int32 + func (*DeleteSubifReply) GetCrcString() string + func (*DeleteSubifReply) GetMessageName() string + func (*DeleteSubifReply) GetMessageType() api.MessageType + type HwInterfaceSetMtu struct + Mtu uint16 + SwIfIndex uint32 + func (*HwInterfaceSetMtu) GetCrcString() string + func (*HwInterfaceSetMtu) GetMessageName() string + func (*HwInterfaceSetMtu) GetMessageType() api.MessageType + type HwInterfaceSetMtuReply struct + Retval int32 + func (*HwInterfaceSetMtuReply) GetCrcString() string + func (*HwInterfaceSetMtuReply) GetMessageName() string + func (*HwInterfaceSetMtuReply) GetMessageType() api.MessageType + type InterfaceIndex uint32 + type InterfaceNameRenumber struct + NewShowDevInstance uint32 + SwIfIndex uint32 + func (*InterfaceNameRenumber) GetCrcString() string + func (*InterfaceNameRenumber) GetMessageName() string + func (*InterfaceNameRenumber) GetMessageType() api.MessageType + type InterfaceNameRenumberReply struct + Retval int32 + func (*InterfaceNameRenumberReply) GetCrcString() string + func (*InterfaceNameRenumberReply) GetMessageName() string + func (*InterfaceNameRenumberReply) GetMessageType() api.MessageType + type RPCService interface + CollectDetailedInterfaceStats func(ctx context.Context, in *CollectDetailedInterfaceStats) (*CollectDetailedInterfaceStatsReply, error) + CreateLoopback func(ctx context.Context, in *CreateLoopback) (*CreateLoopbackReply, error) + CreateLoopbackInstance func(ctx context.Context, in *CreateLoopbackInstance) (*CreateLoopbackInstanceReply, error) + CreateSubif func(ctx context.Context, in *CreateSubif) (*CreateSubifReply, error) + CreateVlanSubif func(ctx context.Context, in *CreateVlanSubif) (*CreateVlanSubifReply, error) + DeleteLoopback func(ctx context.Context, in *DeleteLoopback) (*DeleteLoopbackReply, error) + DeleteSubif func(ctx context.Context, in *DeleteSubif) (*DeleteSubifReply, error) + DumpSwInterface func(ctx context.Context, in *SwInterfaceDump) (RPCService_DumpSwInterfaceClient, error) + DumpSwInterfaceRxPlacement func(ctx context.Context, in *SwInterfaceRxPlacementDump) (RPCService_DumpSwInterfaceRxPlacementClient, error) + HwInterfaceSetMtu func(ctx context.Context, in *HwInterfaceSetMtu) (*HwInterfaceSetMtuReply, error) + InterfaceNameRenumber func(ctx context.Context, in *InterfaceNameRenumber) (*InterfaceNameRenumberReply, error) + SwInterfaceAddDelAddress func(ctx context.Context, in *SwInterfaceAddDelAddress) (*SwInterfaceAddDelAddressReply, error) + SwInterfaceClearStats func(ctx context.Context, in *SwInterfaceClearStats) (*SwInterfaceClearStatsReply, error) + SwInterfaceGetMacAddress func(ctx context.Context, in *SwInterfaceGetMacAddress) (*SwInterfaceGetMacAddressReply, error) + SwInterfaceGetTable func(ctx context.Context, in *SwInterfaceGetTable) (*SwInterfaceGetTableReply, error) + SwInterfaceSetFlags func(ctx context.Context, in *SwInterfaceSetFlags) (*SwInterfaceSetFlagsReply, error) + SwInterfaceSetIPDirectedBroadcast func(ctx context.Context, in *SwInterfaceSetIPDirectedBroadcast) (*SwInterfaceSetIPDirectedBroadcastReply, error) + SwInterfaceSetMacAddress func(ctx context.Context, in *SwInterfaceSetMacAddress) (*SwInterfaceSetMacAddressReply, error) + SwInterfaceSetMtu func(ctx context.Context, in *SwInterfaceSetMtu) (*SwInterfaceSetMtuReply, error) + SwInterfaceSetRxMode func(ctx context.Context, in *SwInterfaceSetRxMode) (*SwInterfaceSetRxModeReply, error) + SwInterfaceSetRxPlacement func(ctx context.Context, in *SwInterfaceSetRxPlacement) (*SwInterfaceSetRxPlacementReply, error) + SwInterfaceSetTable func(ctx context.Context, in *SwInterfaceSetTable) (*SwInterfaceSetTableReply, error) + SwInterfaceSetUnnumbered func(ctx context.Context, in *SwInterfaceSetUnnumbered) (*SwInterfaceSetUnnumberedReply, error) + SwInterfaceTagAddDel func(ctx context.Context, in *SwInterfaceTagAddDel) (*SwInterfaceTagAddDelReply, error) + WantInterfaceEvents func(ctx context.Context, in *WantInterfaceEvents) (*WantInterfaceEventsReply, error) + func NewServiceClient(ch api.Channel) RPCService + type RPCService_DumpSwInterfaceClient interface + Recv func() (*SwInterfaceDetails, error) + type RPCService_DumpSwInterfaceRxPlacementClient interface + Recv func() (*SwInterfaceRxPlacementDetails, error) + type SwInterfaceAddDelAddress struct + Address []byte + AddressLength uint8 + DelAll uint8 + IsAdd uint8 + IsIPv6 uint8 + SwIfIndex uint32 + func (*SwInterfaceAddDelAddress) GetCrcString() string + func (*SwInterfaceAddDelAddress) GetMessageName() string + func (*SwInterfaceAddDelAddress) GetMessageType() api.MessageType + type SwInterfaceAddDelAddressReply struct + Retval int32 + func (*SwInterfaceAddDelAddressReply) GetCrcString() string + func (*SwInterfaceAddDelAddressReply) GetMessageName() string + func (*SwInterfaceAddDelAddressReply) GetMessageType() api.MessageType + type SwInterfaceClearStats struct + SwIfIndex uint32 + func (*SwInterfaceClearStats) GetCrcString() string + func (*SwInterfaceClearStats) GetMessageName() string + func (*SwInterfaceClearStats) GetMessageType() api.MessageType + type SwInterfaceClearStatsReply struct + Retval int32 + func (*SwInterfaceClearStatsReply) GetCrcString() string + func (*SwInterfaceClearStatsReply) GetMessageName() string + func (*SwInterfaceClearStatsReply) GetMessageType() api.MessageType + type SwInterfaceDetails struct + AdminUpDown uint8 + BDmac []byte + BSmac []byte + BVlanid uint16 + ISid uint32 + InterfaceName []byte + L2Address []byte + L2AddressLength uint32 + LinkDuplex uint8 + LinkMtu uint16 + LinkSpeed uint32 + LinkUpDown uint8 + Mtu []uint32 + OuterTag uint16 + SubDefault uint8 + SubDot1ad uint8 + SubDot1ah uint8 + SubExactMatch uint8 + SubID uint32 + SubInnerVlanID uint16 + SubInnerVlanIDAny uint8 + SubNumberOfTags uint8 + SubOuterVlanID uint16 + SubOuterVlanIDAny uint8 + SupSwIfIndex uint32 + SwIfIndex uint32 + Tag []byte + VtrOp uint32 + VtrPushDot1q uint32 + VtrTag1 uint32 + VtrTag2 uint32 + func (*SwInterfaceDetails) GetCrcString() string + func (*SwInterfaceDetails) GetMessageName() string + func (*SwInterfaceDetails) GetMessageType() api.MessageType + type SwInterfaceDump struct + NameFilter []byte + NameFilterValid uint8 + func (*SwInterfaceDump) GetCrcString() string + func (*SwInterfaceDump) GetMessageName() string + func (*SwInterfaceDump) GetMessageType() api.MessageType + type SwInterfaceEvent struct + AdminUpDown uint8 + Deleted uint8 + LinkUpDown uint8 + PID uint32 + SwIfIndex uint32 + func (*SwInterfaceEvent) GetCrcString() string + func (*SwInterfaceEvent) GetMessageName() string + func (*SwInterfaceEvent) GetMessageType() api.MessageType + type SwInterfaceGetMacAddress struct + SwIfIndex uint32 + func (*SwInterfaceGetMacAddress) GetCrcString() string + func (*SwInterfaceGetMacAddress) GetMessageName() string + func (*SwInterfaceGetMacAddress) GetMessageType() api.MessageType + type SwInterfaceGetMacAddressReply struct + MacAddress []byte + Retval int32 + func (*SwInterfaceGetMacAddressReply) GetCrcString() string + func (*SwInterfaceGetMacAddressReply) GetMessageName() string + func (*SwInterfaceGetMacAddressReply) GetMessageType() api.MessageType + type SwInterfaceGetTable struct + IsIPv6 uint8 + SwIfIndex uint32 + func (*SwInterfaceGetTable) GetCrcString() string + func (*SwInterfaceGetTable) GetMessageName() string + func (*SwInterfaceGetTable) GetMessageType() api.MessageType + type SwInterfaceGetTableReply struct + Retval int32 + VrfID uint32 + func (*SwInterfaceGetTableReply) GetCrcString() string + func (*SwInterfaceGetTableReply) GetMessageName() string + func (*SwInterfaceGetTableReply) GetMessageType() api.MessageType + type SwInterfaceRxPlacementDetails struct + Mode uint8 + QueueID uint32 + SwIfIndex uint32 + WorkerID uint32 + func (*SwInterfaceRxPlacementDetails) GetCrcString() string + func (*SwInterfaceRxPlacementDetails) GetMessageName() string + func (*SwInterfaceRxPlacementDetails) GetMessageType() api.MessageType + type SwInterfaceRxPlacementDump struct + SwIfIndex uint32 + func (*SwInterfaceRxPlacementDump) GetCrcString() string + func (*SwInterfaceRxPlacementDump) GetMessageName() string + func (*SwInterfaceRxPlacementDump) GetMessageType() api.MessageType + type SwInterfaceSetFlags struct + AdminUpDown uint8 + SwIfIndex uint32 + func (*SwInterfaceSetFlags) GetCrcString() string + func (*SwInterfaceSetFlags) GetMessageName() string + func (*SwInterfaceSetFlags) GetMessageType() api.MessageType + type SwInterfaceSetFlagsReply struct + Retval int32 + func (*SwInterfaceSetFlagsReply) GetCrcString() string + func (*SwInterfaceSetFlagsReply) GetMessageName() string + func (*SwInterfaceSetFlagsReply) GetMessageType() api.MessageType + type SwInterfaceSetIPDirectedBroadcast struct + Enable uint8 + SwIfIndex uint32 + func (*SwInterfaceSetIPDirectedBroadcast) GetCrcString() string + func (*SwInterfaceSetIPDirectedBroadcast) GetMessageName() string + func (*SwInterfaceSetIPDirectedBroadcast) GetMessageType() api.MessageType + type SwInterfaceSetIPDirectedBroadcastReply struct + Retval int32 + func (*SwInterfaceSetIPDirectedBroadcastReply) GetCrcString() string + func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageName() string + func (*SwInterfaceSetIPDirectedBroadcastReply) GetMessageType() api.MessageType + type SwInterfaceSetMacAddress struct + MacAddress []byte + SwIfIndex uint32 + func (*SwInterfaceSetMacAddress) GetCrcString() string + func (*SwInterfaceSetMacAddress) GetMessageName() string + func (*SwInterfaceSetMacAddress) GetMessageType() api.MessageType + type SwInterfaceSetMacAddressReply struct + Retval int32 + func (*SwInterfaceSetMacAddressReply) GetCrcString() string + func (*SwInterfaceSetMacAddressReply) GetMessageName() string + func (*SwInterfaceSetMacAddressReply) GetMessageType() api.MessageType + type SwInterfaceSetMtu struct + Mtu []uint32 + SwIfIndex uint32 + func (*SwInterfaceSetMtu) GetCrcString() string + func (*SwInterfaceSetMtu) GetMessageName() string + func (*SwInterfaceSetMtu) GetMessageType() api.MessageType + type SwInterfaceSetMtuReply struct + Retval int32 + func (*SwInterfaceSetMtuReply) GetCrcString() string + func (*SwInterfaceSetMtuReply) GetMessageName() string + func (*SwInterfaceSetMtuReply) GetMessageType() api.MessageType + type SwInterfaceSetRxMode struct + Mode uint8 + QueueID uint32 + QueueIDValid uint8 + SwIfIndex uint32 + func (*SwInterfaceSetRxMode) GetCrcString() string + func (*SwInterfaceSetRxMode) GetMessageName() string + func (*SwInterfaceSetRxMode) GetMessageType() api.MessageType + type SwInterfaceSetRxModeReply struct + Retval int32 + func (*SwInterfaceSetRxModeReply) GetCrcString() string + func (*SwInterfaceSetRxModeReply) GetMessageName() string + func (*SwInterfaceSetRxModeReply) GetMessageType() api.MessageType + type SwInterfaceSetRxPlacement struct + IsMain uint8 + QueueID uint32 + SwIfIndex uint32 + WorkerID uint32 + func (*SwInterfaceSetRxPlacement) GetCrcString() string + func (*SwInterfaceSetRxPlacement) GetMessageName() string + func (*SwInterfaceSetRxPlacement) GetMessageType() api.MessageType + type SwInterfaceSetRxPlacementReply struct + Retval int32 + func (*SwInterfaceSetRxPlacementReply) GetCrcString() string + func (*SwInterfaceSetRxPlacementReply) GetMessageName() string + func (*SwInterfaceSetRxPlacementReply) GetMessageType() api.MessageType + type SwInterfaceSetTable struct + IsIPv6 uint8 + SwIfIndex uint32 + VrfID uint32 + func (*SwInterfaceSetTable) GetCrcString() string + func (*SwInterfaceSetTable) GetMessageName() string + func (*SwInterfaceSetTable) GetMessageType() api.MessageType + type SwInterfaceSetTableReply struct + Retval int32 + func (*SwInterfaceSetTableReply) GetCrcString() string + func (*SwInterfaceSetTableReply) GetMessageName() string + func (*SwInterfaceSetTableReply) GetMessageType() api.MessageType + type SwInterfaceSetUnnumbered struct + IsAdd uint8 + SwIfIndex uint32 + UnnumberedSwIfIndex uint32 + func (*SwInterfaceSetUnnumbered) GetCrcString() string + func (*SwInterfaceSetUnnumbered) GetMessageName() string + func (*SwInterfaceSetUnnumbered) GetMessageType() api.MessageType + type SwInterfaceSetUnnumberedReply struct + Retval int32 + func (*SwInterfaceSetUnnumberedReply) GetCrcString() string + func (*SwInterfaceSetUnnumberedReply) GetMessageName() string + func (*SwInterfaceSetUnnumberedReply) GetMessageType() api.MessageType + type SwInterfaceTagAddDel struct + IsAdd uint8 + SwIfIndex uint32 + Tag []byte + func (*SwInterfaceTagAddDel) GetCrcString() string + func (*SwInterfaceTagAddDel) GetMessageName() string + func (*SwInterfaceTagAddDel) GetMessageType() api.MessageType + type SwInterfaceTagAddDelReply struct + Retval int32 + func (*SwInterfaceTagAddDelReply) GetCrcString() string + func (*SwInterfaceTagAddDelReply) GetMessageName() string + func (*SwInterfaceTagAddDelReply) GetMessageType() api.MessageType + type WantInterfaceEvents struct + EnableDisable uint32 + PID uint32 + func (*WantInterfaceEvents) GetCrcString() string + func (*WantInterfaceEvents) GetMessageName() string + func (*WantInterfaceEvents) GetMessageType() api.MessageType + type WantInterfaceEventsReply struct + Retval int32 + func (*WantInterfaceEventsReply) GetCrcString() string + func (*WantInterfaceEventsReply) GetMessageName() string + func (*WantInterfaceEventsReply) GetMessageType() api.MessageType