Documentation ¶
Index ¶
- Variables
- func RegisterInterfaceServiceServer(s grpc.ServiceRegistrar, srv InterfaceServiceServer)
- type Action
- func (*Action) Descriptor() ([]byte, []int)deprecated
- func (x *Action) GetSetConnectedAsns() string
- func (x *Action) GetSetConnectivityType() ConnectivityType
- func (x *Action) GetSetNetworkBoundary() NetworkBoundary
- func (x *Action) GetSetProvider() string
- func (*Action) ProtoMessage()
- func (x *Action) ProtoReflect() protoreflect.Message
- func (x *Action) Reset()
- func (x *Action) String() string
- type AutoClassifyRequest
- type AutoClassifyResponse
- func (*AutoClassifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *AutoClassifyResponse) GetDevices() []*DeviceClassifyInfo
- func (x *AutoClassifyResponse) GetNetChangedIx() int32
- func (x *AutoClassifyResponse) GetNetChangedProvider() int32
- func (x *AutoClassifyResponse) GetNetChangedTransit() int32
- func (x *AutoClassifyResponse) GetPercAutoClassified() float64
- func (x *AutoClassifyResponse) GetTotalAutoClassifyCount() int32
- func (x *AutoClassifyResponse) GetTotalAutoClassifyCounter() *ClassifyCounter
- func (x *AutoClassifyResponse) GetTotalChangedClassificationCount() int32
- func (x *AutoClassifyResponse) GetTotalInterfaces() int32
- func (x *AutoClassifyResponse) GetTotalPreviousCounter() *ClassifyCounter
- func (*AutoClassifyResponse) ProtoMessage()
- func (x *AutoClassifyResponse) ProtoReflect() protoreflect.Message
- func (x *AutoClassifyResponse) Reset()
- func (x *AutoClassifyResponse) String() string
- type ClassifyCounter
- func (*ClassifyCounter) Descriptor() ([]byte, []int)deprecated
- func (x *ClassifyCounter) GetCount() int32
- func (x *ClassifyCounter) GetExternalCount() int32
- func (x *ClassifyCounter) GetFreePniCount() int32
- func (x *ClassifyCounter) GetIxCount() int32
- func (x *ClassifyCounter) GetProviderCount() int32
- func (x *ClassifyCounter) GetTransitCount() int32
- func (*ClassifyCounter) ProtoMessage()
- func (x *ClassifyCounter) ProtoReflect() protoreflect.Message
- func (x *ClassifyCounter) Reset()
- func (x *ClassifyCounter) String() string
- type ConnectivityType
- func (ConnectivityType) Descriptor() protoreflect.EnumDescriptor
- func (x ConnectivityType) Enum() *ConnectivityType
- func (ConnectivityType) EnumDescriptor() ([]byte, []int)deprecated
- func (x ConnectivityType) Number() protoreflect.EnumNumber
- func (x ConnectivityType) String() string
- func (ConnectivityType) Type() protoreflect.EnumType
- type CreateInterfaceRequest
- func (*CreateInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInterfaceRequest) GetInterface() *Interface
- func (*CreateInterfaceRequest) ProtoMessage()
- func (x *CreateInterfaceRequest) ProtoReflect() protoreflect.Message
- func (x *CreateInterfaceRequest) Reset()
- func (x *CreateInterfaceRequest) String() string
- type CreateInterfaceResponse
- func (*CreateInterfaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateInterfaceResponse) GetInterface() *Interface
- func (*CreateInterfaceResponse) ProtoMessage()
- func (x *CreateInterfaceResponse) ProtoReflect() protoreflect.Message
- func (x *CreateInterfaceResponse) Reset()
- func (x *CreateInterfaceResponse) String() string
- type DeleteInterfaceRequest
- func (*DeleteInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteInterfaceRequest) GetId() string
- func (*DeleteInterfaceRequest) ProtoMessage()
- func (x *DeleteInterfaceRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteInterfaceRequest) Reset()
- func (x *DeleteInterfaceRequest) String() string
- type DeleteInterfaceResponse
- type DeviceClassifyInfo
- func (*DeviceClassifyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceClassifyInfo) GetAutoClassifiedCounter() *ClassifyCounter
- func (x *DeviceClassifyInfo) GetChangedClassificationCount() int32
- func (x *DeviceClassifyInfo) GetConnectivityTypeMatchedCount() int32
- func (x *DeviceClassifyInfo) GetDeviceId() string
- func (x *DeviceClassifyInfo) GetInterfaces() []*InterfaceClassifyInfo
- func (x *DeviceClassifyInfo) GetIpAsnMatchedCount() int32
- func (x *DeviceClassifyInfo) GetIxMatchedCount() int32
- func (x *DeviceClassifyInfo) GetNexthopMatchedCount() int32
- func (x *DeviceClassifyInfo) GetPreviouslyClassifiedCounter() *ClassifyCounter
- func (x *DeviceClassifyInfo) GetProviderMatchedCount() int32
- func (x *DeviceClassifyInfo) GetTotalInterfaces() int32
- func (*DeviceClassifyInfo) ProtoMessage()
- func (x *DeviceClassifyInfo) ProtoReflect() protoreflect.Message
- func (x *DeviceClassifyInfo) Reset()
- func (x *DeviceClassifyInfo) String() string
- type DeviceFilter
- func (*DeviceFilter) Descriptor() ([]byte, []int)deprecated
- func (x *DeviceFilter) GetAllDevices() bool
- func (x *DeviceFilter) GetDeviceLabels() []string
- func (x *DeviceFilter) GetDeviceName() []string
- func (x *DeviceFilter) GetDeviceRules() []string
- func (x *DeviceFilter) GetDeviceTypes() []string
- func (*DeviceFilter) ProtoMessage()
- func (x *DeviceFilter) ProtoReflect() protoreflect.Message
- func (x *DeviceFilter) Reset()
- func (x *DeviceFilter) String() string
- type GetInterfaceRequest
- func (*GetInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetInterfaceRequest) GetId() string
- func (*GetInterfaceRequest) ProtoMessage()
- func (x *GetInterfaceRequest) ProtoReflect() protoreflect.Message
- func (x *GetInterfaceRequest) Reset()
- func (x *GetInterfaceRequest) String() string
- type GetInterfaceResponse
- func (*GetInterfaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetInterfaceResponse) GetInterface() *Interface
- func (*GetInterfaceResponse) ProtoMessage()
- func (x *GetInterfaceResponse) ProtoReflect() protoreflect.Message
- func (x *GetInterfaceResponse) Reset()
- func (x *GetInterfaceResponse) String() string
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)deprecated
- func (x *Interface) GetCdate() *timestamppb.Timestamp
- func (x *Interface) GetConnectivityType() ConnectivityType
- func (x *Interface) GetDeviceId() string
- func (x *Interface) GetEdate() *timestamppb.Timestamp
- func (x *Interface) GetId() string
- func (x *Interface) GetInterfaceDescription() string
- func (x *Interface) GetInterfaceIp() string
- func (x *Interface) GetInterfaceIpNetmask() string
- func (x *Interface) GetNetworkBoundary() NetworkBoundary
- func (x *Interface) GetProvider() string
- func (x *Interface) GetSnmpAlias() string
- func (x *Interface) GetSnmpId() string
- func (x *Interface) GetSnmpSpeed() int32
- func (x *Interface) GetSnmpType() int32
- func (x *Interface) GetTopNexthopAsns() []int32
- func (*Interface) ProtoMessage()
- func (x *Interface) ProtoReflect() protoreflect.Message
- func (x *Interface) Reset()
- func (x *Interface) String() string
- type InterfaceClassification
- func (*InterfaceClassification) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceClassification) GetClassified() bool
- func (x *InterfaceClassification) GetConnectivityType() ConnectivityType
- func (x *InterfaceClassification) GetNetworkBoundary() NetworkBoundary
- func (*InterfaceClassification) ProtoMessage()
- func (x *InterfaceClassification) ProtoReflect() protoreflect.Message
- func (x *InterfaceClassification) Reset()
- func (x *InterfaceClassification) String() string
- type InterfaceClassifyInfo
- func (*InterfaceClassifyInfo) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceClassifyInfo) GetAutoClassification() *InterfaceClassification
- func (x *InterfaceClassifyInfo) GetAutoClassifiedProvider() bool
- func (x *InterfaceClassifyInfo) GetChangedClassification() bool
- func (x *InterfaceClassifyInfo) GetConnectivityTypeConfidence() int32
- func (x *InterfaceClassifyInfo) GetConnectivityTypeMatched() bool
- func (x *InterfaceClassifyInfo) GetDeviceId() string
- func (x *InterfaceClassifyInfo) GetInterfaceIp() string
- func (x *InterfaceClassifyInfo) GetInterfaceIpAsn() string
- func (x *InterfaceClassifyInfo) GetIpAsnMatched() bool
- func (x *InterfaceClassifyInfo) GetIsInternalAsn() bool
- func (x *InterfaceClassifyInfo) GetIsInternalIp() bool
- func (x *InterfaceClassifyInfo) GetIxMatched() bool
- func (x *InterfaceClassifyInfo) GetNetworkBoundaryConfidence() int32
- func (x *InterfaceClassifyInfo) GetNexthopMatched() bool
- func (x *InterfaceClassifyInfo) GetPdbGlobalName() string
- func (x *InterfaceClassifyInfo) GetPreviousClassification() *InterfaceClassification
- func (x *InterfaceClassifyInfo) GetPreviouslyClassifiedExternal() bool
- func (x *InterfaceClassifyInfo) GetPreviouslyClassifiedProvider() string
- func (x *InterfaceClassifyInfo) GetProvider() string
- func (x *InterfaceClassifyInfo) GetProviderConfidence() int32
- func (x *InterfaceClassifyInfo) GetProviderMatched() bool
- func (x *InterfaceClassifyInfo) GetSnmpAlias() string
- func (x *InterfaceClassifyInfo) GetSnmpId() string
- func (x *InterfaceClassifyInfo) GetTopNexthopAsns() []string
- func (*InterfaceClassifyInfo) ProtoMessage()
- func (x *InterfaceClassifyInfo) ProtoReflect() protoreflect.Message
- func (x *InterfaceClassifyInfo) Reset()
- func (x *InterfaceClassifyInfo) String() string
- type InterfaceFilter
- func (*InterfaceFilter) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceFilter) GetConnectivityTypes() []ConnectivityType
- func (x *InterfaceFilter) GetDeviceIds() []string
- func (x *InterfaceFilter) GetIpTypes() []IpFilter
- func (x *InterfaceFilter) GetNetworkBoundaries() []NetworkBoundary
- func (x *InterfaceFilter) GetProviders() []string
- func (x *InterfaceFilter) GetSnmpSpeeds() []int32
- func (x *InterfaceFilter) GetText() string
- func (*InterfaceFilter) ProtoMessage()
- func (x *InterfaceFilter) ProtoReflect() protoreflect.Message
- func (x *InterfaceFilter) Reset()
- func (x *InterfaceFilter) String() string
- type InterfaceServiceClient
- type InterfaceServiceServer
- type IpFilter
- type ListInterfaceRequest
- func (*ListInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListInterfaceRequest) GetFilters() *InterfaceFilter
- func (*ListInterfaceRequest) ProtoMessage()
- func (x *ListInterfaceRequest) ProtoReflect() protoreflect.Message
- func (x *ListInterfaceRequest) Reset()
- func (x *ListInterfaceRequest) String() string
- type ListInterfaceResponse
- func (*ListInterfaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListInterfaceResponse) GetInterfaces() []*Interface
- func (x *ListInterfaceResponse) GetInvalidCount() int32
- func (x *ListInterfaceResponse) GetTotalCount() int32
- func (*ListInterfaceResponse) ProtoMessage()
- func (x *ListInterfaceResponse) ProtoReflect() protoreflect.Message
- func (x *ListInterfaceResponse) Reset()
- func (x *ListInterfaceResponse) String() string
- type ManualClassifyRequest
- func (*ManualClassifyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ManualClassifyRequest) GetConnectivityType() ConnectivityType
- func (x *ManualClassifyRequest) GetInterfaceIds() []string
- func (x *ManualClassifyRequest) GetNetworkBoundary() NetworkBoundary
- func (x *ManualClassifyRequest) GetProvider() string
- func (*ManualClassifyRequest) ProtoMessage()
- func (x *ManualClassifyRequest) ProtoReflect() protoreflect.Message
- func (x *ManualClassifyRequest) Reset()
- func (x *ManualClassifyRequest) String() string
- type ManualClassifyResponse
- func (*ManualClassifyResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ManualClassifyResponse) GetDeviceIds() []string
- func (*ManualClassifyResponse) ProtoMessage()
- func (x *ManualClassifyResponse) ProtoReflect() protoreflect.Message
- func (x *ManualClassifyResponse) Reset()
- func (x *ManualClassifyResponse) String() string
- type Match
- func (*Match) Descriptor() ([]byte, []int)deprecated
- func (x *Match) GetMatchAttribute() MatchAttribute
- func (x *Match) GetMatchOperator() Operator
- func (x *Match) GetPattern() string
- func (*Match) ProtoMessage()
- func (x *Match) ProtoReflect() protoreflect.Message
- func (x *Match) Reset()
- func (x *Match) String() string
- type MatchAttribute
- func (MatchAttribute) Descriptor() protoreflect.EnumDescriptor
- func (x MatchAttribute) Enum() *MatchAttribute
- func (MatchAttribute) EnumDescriptor() ([]byte, []int)deprecated
- func (x MatchAttribute) Number() protoreflect.EnumNumber
- func (x MatchAttribute) String() string
- func (MatchAttribute) Type() protoreflect.EnumType
- type NetworkBoundary
- func (NetworkBoundary) Descriptor() protoreflect.EnumDescriptor
- func (x NetworkBoundary) Enum() *NetworkBoundary
- func (NetworkBoundary) EnumDescriptor() ([]byte, []int)deprecated
- func (x NetworkBoundary) Number() protoreflect.EnumNumber
- func (x NetworkBoundary) String() string
- func (NetworkBoundary) Type() protoreflect.EnumType
- type Operator
- type Rule
- func (*Rule) Descriptor() ([]byte, []int)deprecated
- func (x *Rule) GetActionSet() *Action
- func (x *Rule) GetCdate() *timestamppb.Timestamp
- func (x *Rule) GetEdate() *timestamppb.Timestamp
- func (x *Rule) GetEnabled() bool
- func (x *Rule) GetExcludedDevices() *DeviceFilter
- func (x *Rule) GetId() string
- func (x *Rule) GetIncludedDevices() *DeviceFilter
- func (x *Rule) GetMatchClause() *Match
- func (x *Rule) GetRank() int32
- func (*Rule) ProtoMessage()
- func (x *Rule) ProtoReflect() protoreflect.Message
- func (x *Rule) Reset()
- func (x *Rule) String() string
- type UnimplementedInterfaceServiceServer
- func (UnimplementedInterfaceServiceServer) CreateInterface(context.Context, *CreateInterfaceRequest) (*CreateInterfaceResponse, error)
- func (UnimplementedInterfaceServiceServer) DeleteInterface(context.Context, *DeleteInterfaceRequest) (*DeleteInterfaceResponse, error)
- func (UnimplementedInterfaceServiceServer) GetInterface(context.Context, *GetInterfaceRequest) (*GetInterfaceResponse, error)
- func (UnimplementedInterfaceServiceServer) ListInterface(context.Context, *ListInterfaceRequest) (*ListInterfaceResponse, error)
- func (UnimplementedInterfaceServiceServer) ManualClassify(context.Context, *ManualClassifyRequest) (*ManualClassifyResponse, error)
- func (UnimplementedInterfaceServiceServer) UpdateInterface(context.Context, *UpdateInterfaceRequest) (*UpdateInterfaceResponse, error)
- type UnsafeInterfaceServiceServer
- type UpdateInterfaceRequest
- func (*UpdateInterfaceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInterfaceRequest) GetInterface() *Interface
- func (*UpdateInterfaceRequest) ProtoMessage()
- func (x *UpdateInterfaceRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateInterfaceRequest) Reset()
- func (x *UpdateInterfaceRequest) String() string
- type UpdateInterfaceResponse
- func (*UpdateInterfaceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateInterfaceResponse) GetInterface() *Interface
- func (*UpdateInterfaceResponse) ProtoMessage()
- func (x *UpdateInterfaceResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateInterfaceResponse) Reset()
- func (x *UpdateInterfaceResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var ( ConnectivityType_name = map[int32]string{ 0: "CONNECTIVITY_TYPE_UNSPECIFIED", 1: "CONNECTIVITY_TYPE_AGGREGATION_INTERCONNECT", 2: "CONNECTIVITY_TYPE_AVAILABLE", 3: "CONNECTIVITY_TYPE_BACKBONE", 4: "CONNECTIVITY_TYPE_CLOUD_INTERCONNECT", 5: "CONNECTIVITY_TYPE_CUSTOMER", 6: "CONNECTIVITY_TYPE_DATACENTER_FABRIC", 7: "CONNECTIVITY_TYPE_DATACENTER_INTERCONNECT", 8: "CONNECTIVITY_TYPE_EMBEDDED_CACHE", 9: "CONNECTIVITY_TYPE_FREE_PNI", 10: "CONNECTIVITY_TYPE_HOST", 11: "CONNECTIVITY_TYPE_IX", 12: "CONNECTIVITY_TYPE_OTHER", 13: "CONNECTIVITY_TYPE_PAID_PNI", 14: "CONNECTIVITY_TYPE_RESERVED", 15: "CONNECTIVITY_TYPE_TRANSIT", 16: "CONNECTIVITY_TYPE_VIRTUAL_CROSS_CONNECT", 17: "CONNECTIVITY_TYPE_IPX_INTERCONNECT", 18: "CONNECTIVITY_TYPE_SIP_INTERCONNECT", } ConnectivityType_value = map[string]int32{ "CONNECTIVITY_TYPE_UNSPECIFIED": 0, "CONNECTIVITY_TYPE_AGGREGATION_INTERCONNECT": 1, "CONNECTIVITY_TYPE_AVAILABLE": 2, "CONNECTIVITY_TYPE_BACKBONE": 3, "CONNECTIVITY_TYPE_CLOUD_INTERCONNECT": 4, "CONNECTIVITY_TYPE_CUSTOMER": 5, "CONNECTIVITY_TYPE_DATACENTER_FABRIC": 6, "CONNECTIVITY_TYPE_DATACENTER_INTERCONNECT": 7, "CONNECTIVITY_TYPE_EMBEDDED_CACHE": 8, "CONNECTIVITY_TYPE_FREE_PNI": 9, "CONNECTIVITY_TYPE_HOST": 10, "CONNECTIVITY_TYPE_IX": 11, "CONNECTIVITY_TYPE_OTHER": 12, "CONNECTIVITY_TYPE_PAID_PNI": 13, "CONNECTIVITY_TYPE_RESERVED": 14, "CONNECTIVITY_TYPE_TRANSIT": 15, "CONNECTIVITY_TYPE_VIRTUAL_CROSS_CONNECT": 16, "CONNECTIVITY_TYPE_IPX_INTERCONNECT": 17, "CONNECTIVITY_TYPE_SIP_INTERCONNECT": 18, } )
Enum value maps for ConnectivityType.
var ( NetworkBoundary_name = map[int32]string{ 0: "NETWORK_BOUNDARY_UNSPECIFIED", 1: "NETWORK_BOUNDARY_AUTO", 2: "NETWORK_BOUNDARY_INTERNAL", 3: "NETWORK_BOUNDARY_EXTERNAL", 4: "NETWORK_BOUNDARY_NONE", } NetworkBoundary_value = map[string]int32{ "NETWORK_BOUNDARY_UNSPECIFIED": 0, "NETWORK_BOUNDARY_AUTO": 1, "NETWORK_BOUNDARY_INTERNAL": 2, "NETWORK_BOUNDARY_EXTERNAL": 3, "NETWORK_BOUNDARY_NONE": 4, } )
Enum value maps for NetworkBoundary.
var ( IpFilter_name = map[int32]string{ 0: "IP_FILTER_UNSPECIFIED", 1: "IP_FILTER_PRIVATE", 2: "IP_FILTER_PUBLIC", 3: "IP_FILTER_UNSET", } IpFilter_value = map[string]int32{ "IP_FILTER_UNSPECIFIED": 0, "IP_FILTER_PRIVATE": 1, "IP_FILTER_PUBLIC": 2, "IP_FILTER_UNSET": 3, } )
Enum value maps for IpFilter.
var ( MatchAttribute_name = map[int32]string{ 0: "MATCH_ATTRIBUTE_UNSPECIFIED", 1: "MATCH_ATTRIBUTE_INTERFACE_DESCRIPTION", 2: "MATCH_ATTRIBUTE_SNMP_ALIAS", 3: "MATCH_ATTRIBUTE_INTERFACE_IP", } MatchAttribute_value = map[string]int32{ "MATCH_ATTRIBUTE_UNSPECIFIED": 0, "MATCH_ATTRIBUTE_INTERFACE_DESCRIPTION": 1, "MATCH_ATTRIBUTE_SNMP_ALIAS": 2, "MATCH_ATTRIBUTE_INTERFACE_IP": 3, } )
Enum value maps for MatchAttribute.
var ( Operator_name = map[int32]string{ 0: "OPERATOR_UNSPECIFIED", 1: "OPERATOR_EQUALS", 2: "OPERATOR_CONTAINS", 3: "OPERATOR_REGEX", 4: "OPERATOR_CONTAINED_IN_SUBNET", 5: "OPERATOR_IS_PUBLIC_IP", 6: "OPERATOR_IS_PRIVATE_IP", 7: "OPERATOR_NO_IP", } Operator_value = map[string]int32{ "OPERATOR_UNSPECIFIED": 0, "OPERATOR_EQUALS": 1, "OPERATOR_CONTAINS": 2, "OPERATOR_REGEX": 3, "OPERATOR_CONTAINED_IN_SUBNET": 4, "OPERATOR_IS_PUBLIC_IP": 5, "OPERATOR_IS_PRIVATE_IP": 6, "OPERATOR_NO_IP": 7, } )
Enum value maps for Operator.
var File_kentik_interface_v202108alpha1_interface_proto protoreflect.FileDescriptor
var InterfaceService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "kentik.interface.v202108alpha1.InterfaceService", HandlerType: (*InterfaceServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "ManualClassify", Handler: _InterfaceService_ManualClassify_Handler, }, { MethodName: "ListInterface", Handler: _InterfaceService_ListInterface_Handler, }, { MethodName: "GetInterface", Handler: _InterfaceService_GetInterface_Handler, }, { MethodName: "CreateInterface", Handler: _InterfaceService_CreateInterface_Handler, }, { MethodName: "UpdateInterface", Handler: _InterfaceService_UpdateInterface_Handler, }, { MethodName: "DeleteInterface", Handler: _InterfaceService_DeleteInterface_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "kentik/interface/v202108alpha1/interface.proto", }
InterfaceService_ServiceDesc is the grpc.ServiceDesc for InterfaceService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterInterfaceServiceServer ¶
func RegisterInterfaceServiceServer(s grpc.ServiceRegistrar, srv InterfaceServiceServer)
Types ¶
type Action ¶
type Action struct { // Set type of connection. SetConnectivityType ConnectivityType `` /* 174-byte string literal not displayed */ // Set network boundary. SetNetworkBoundary NetworkBoundary `` /* 170-byte string literal not displayed */ // Set ASNs. SetConnectedAsns string `protobuf:"bytes,3,opt,name=set_connected_asns,json=setConnectedAsns,proto3" json:"set_connected_asns,omitempty"` // List of providers available. SetProvider string `protobuf:"bytes,4,opt,name=set_provider,json=setProvider,proto3" json:"set_provider,omitempty"` // contains filtered or unexported fields }
Set the values of the interface property base on match rule defintion. Requires explicit input value, empty string is allow.
func (*Action) Descriptor
deprecated
func (*Action) GetSetConnectedAsns ¶
func (*Action) GetSetConnectivityType ¶
func (x *Action) GetSetConnectivityType() ConnectivityType
func (*Action) GetSetNetworkBoundary ¶
func (x *Action) GetSetNetworkBoundary() NetworkBoundary
func (*Action) GetSetProvider ¶
func (*Action) ProtoMessage ¶
func (*Action) ProtoMessage()
func (*Action) ProtoReflect ¶
func (x *Action) ProtoReflect() protoreflect.Message
type AutoClassifyRequest ¶
type AutoClassifyRequest struct {
// contains filtered or unexported fields
}
func (*AutoClassifyRequest) Descriptor
deprecated
func (*AutoClassifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use AutoClassifyRequest.ProtoReflect.Descriptor instead.
func (*AutoClassifyRequest) ProtoMessage ¶
func (*AutoClassifyRequest) ProtoMessage()
func (*AutoClassifyRequest) ProtoReflect ¶
func (x *AutoClassifyRequest) ProtoReflect() protoreflect.Message
func (*AutoClassifyRequest) Reset ¶
func (x *AutoClassifyRequest) Reset()
func (*AutoClassifyRequest) String ¶
func (x *AutoClassifyRequest) String() string
type AutoClassifyResponse ¶
type AutoClassifyResponse struct { // Percent of all interfaces taht are auto calssified. PercAutoClassified float64 `protobuf:"fixed64,1,opt,name=perc_auto_classified,json=percAutoClassified,proto3" json:"perc_auto_classified,omitempty"` NetChangedTransit int32 `protobuf:"varint,2,opt,name=net_changed_transit,json=netChangedTransit,proto3" json:"net_changed_transit,omitempty"` NetChangedIx int32 `protobuf:"varint,3,opt,name=net_changed_ix,json=netChangedIx,proto3" json:"net_changed_ix,omitempty"` NetChangedProvider int32 `protobuf:"varint,4,opt,name=net_changed_provider,json=netChangedProvider,proto3" json:"net_changed_provider,omitempty"` TotalChangedClassificationCount int32 `` /* 159-byte string literal not displayed */ TotalAutoClassifyCount int32 `` /* 132-byte string literal not displayed */ // total_auto_classify_ counts. TotalAutoClassifyCounter *ClassifyCounter `` /* 137-byte string literal not displayed */ // total_previous_ counts. TotalPreviousCounter *ClassifyCounter `protobuf:"bytes,8,opt,name=total_previous_counter,json=totalPreviousCounter,proto3" json:"total_previous_counter,omitempty"` // Total number of interfaces. TotalInterfaces int32 `protobuf:"varint,17,opt,name=total_interfaces,json=totalInterfaces,proto3" json:"total_interfaces,omitempty"` // List of devices. Devices []*DeviceClassifyInfo `protobuf:"bytes,18,rep,name=devices,proto3" json:"devices,omitempty"` // contains filtered or unexported fields }
func (*AutoClassifyResponse) Descriptor
deprecated
func (*AutoClassifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use AutoClassifyResponse.ProtoReflect.Descriptor instead.
func (*AutoClassifyResponse) GetDevices ¶
func (x *AutoClassifyResponse) GetDevices() []*DeviceClassifyInfo
func (*AutoClassifyResponse) GetNetChangedIx ¶
func (x *AutoClassifyResponse) GetNetChangedIx() int32
func (*AutoClassifyResponse) GetNetChangedProvider ¶
func (x *AutoClassifyResponse) GetNetChangedProvider() int32
func (*AutoClassifyResponse) GetNetChangedTransit ¶
func (x *AutoClassifyResponse) GetNetChangedTransit() int32
func (*AutoClassifyResponse) GetPercAutoClassified ¶
func (x *AutoClassifyResponse) GetPercAutoClassified() float64
func (*AutoClassifyResponse) GetTotalAutoClassifyCount ¶
func (x *AutoClassifyResponse) GetTotalAutoClassifyCount() int32
func (*AutoClassifyResponse) GetTotalAutoClassifyCounter ¶
func (x *AutoClassifyResponse) GetTotalAutoClassifyCounter() *ClassifyCounter
func (*AutoClassifyResponse) GetTotalChangedClassificationCount ¶
func (x *AutoClassifyResponse) GetTotalChangedClassificationCount() int32
func (*AutoClassifyResponse) GetTotalInterfaces ¶
func (x *AutoClassifyResponse) GetTotalInterfaces() int32
func (*AutoClassifyResponse) GetTotalPreviousCounter ¶
func (x *AutoClassifyResponse) GetTotalPreviousCounter() *ClassifyCounter
func (*AutoClassifyResponse) ProtoMessage ¶
func (*AutoClassifyResponse) ProtoMessage()
func (*AutoClassifyResponse) ProtoReflect ¶
func (x *AutoClassifyResponse) ProtoReflect() protoreflect.Message
func (*AutoClassifyResponse) Reset ¶
func (x *AutoClassifyResponse) Reset()
func (*AutoClassifyResponse) String ¶
func (x *AutoClassifyResponse) String() string
type ClassifyCounter ¶
type ClassifyCounter struct { Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` ExternalCount int32 `protobuf:"varint,2,opt,name=external_count,json=externalCount,proto3" json:"external_count,omitempty"` FreePniCount int32 `protobuf:"varint,3,opt,name=free_pni_count,json=freePniCount,proto3" json:"free_pni_count,omitempty"` IxCount int32 `protobuf:"varint,4,opt,name=ix_count,json=ixCount,proto3" json:"ix_count,omitempty"` ProviderCount int32 `protobuf:"varint,5,opt,name=provider_count,json=providerCount,proto3" json:"provider_count,omitempty"` TransitCount int32 `protobuf:"varint,6,opt,name=transit_count,json=transitCount,proto3" json:"transit_count,omitempty"` // contains filtered or unexported fields }
func (*ClassifyCounter) Descriptor
deprecated
func (*ClassifyCounter) Descriptor() ([]byte, []int)
Deprecated: Use ClassifyCounter.ProtoReflect.Descriptor instead.
func (*ClassifyCounter) GetCount ¶
func (x *ClassifyCounter) GetCount() int32
func (*ClassifyCounter) GetExternalCount ¶
func (x *ClassifyCounter) GetExternalCount() int32
func (*ClassifyCounter) GetFreePniCount ¶
func (x *ClassifyCounter) GetFreePniCount() int32
func (*ClassifyCounter) GetIxCount ¶
func (x *ClassifyCounter) GetIxCount() int32
func (*ClassifyCounter) GetProviderCount ¶
func (x *ClassifyCounter) GetProviderCount() int32
func (*ClassifyCounter) GetTransitCount ¶
func (x *ClassifyCounter) GetTransitCount() int32
func (*ClassifyCounter) ProtoMessage ¶
func (*ClassifyCounter) ProtoMessage()
func (*ClassifyCounter) ProtoReflect ¶
func (x *ClassifyCounter) ProtoReflect() protoreflect.Message
func (*ClassifyCounter) Reset ¶
func (x *ClassifyCounter) Reset()
func (*ClassifyCounter) String ¶
func (x *ClassifyCounter) String() string
type ConnectivityType ¶
type ConnectivityType int32
const ( ConnectivityType_CONNECTIVITY_TYPE_UNSPECIFIED ConnectivityType = 0 ConnectivityType_CONNECTIVITY_TYPE_AGGREGATION_INTERCONNECT ConnectivityType = 1 ConnectivityType_CONNECTIVITY_TYPE_AVAILABLE ConnectivityType = 2 ConnectivityType_CONNECTIVITY_TYPE_BACKBONE ConnectivityType = 3 ConnectivityType_CONNECTIVITY_TYPE_CLOUD_INTERCONNECT ConnectivityType = 4 ConnectivityType_CONNECTIVITY_TYPE_CUSTOMER ConnectivityType = 5 ConnectivityType_CONNECTIVITY_TYPE_DATACENTER_FABRIC ConnectivityType = 6 ConnectivityType_CONNECTIVITY_TYPE_DATACENTER_INTERCONNECT ConnectivityType = 7 ConnectivityType_CONNECTIVITY_TYPE_EMBEDDED_CACHE ConnectivityType = 8 ConnectivityType_CONNECTIVITY_TYPE_FREE_PNI ConnectivityType = 9 ConnectivityType_CONNECTIVITY_TYPE_HOST ConnectivityType = 10 ConnectivityType_CONNECTIVITY_TYPE_IX ConnectivityType = 11 ConnectivityType_CONNECTIVITY_TYPE_OTHER ConnectivityType = 12 ConnectivityType_CONNECTIVITY_TYPE_PAID_PNI ConnectivityType = 13 ConnectivityType_CONNECTIVITY_TYPE_RESERVED ConnectivityType = 14 ConnectivityType_CONNECTIVITY_TYPE_TRANSIT ConnectivityType = 15 ConnectivityType_CONNECTIVITY_TYPE_VIRTUAL_CROSS_CONNECT ConnectivityType = 16 ConnectivityType_CONNECTIVITY_TYPE_IPX_INTERCONNECT ConnectivityType = 17 ConnectivityType_CONNECTIVITY_TYPE_SIP_INTERCONNECT ConnectivityType = 18 )
func (ConnectivityType) Descriptor ¶
func (ConnectivityType) Descriptor() protoreflect.EnumDescriptor
func (ConnectivityType) Enum ¶
func (x ConnectivityType) Enum() *ConnectivityType
func (ConnectivityType) EnumDescriptor
deprecated
func (ConnectivityType) EnumDescriptor() ([]byte, []int)
Deprecated: Use ConnectivityType.Descriptor instead.
func (ConnectivityType) Number ¶
func (x ConnectivityType) Number() protoreflect.EnumNumber
func (ConnectivityType) String ¶
func (x ConnectivityType) String() string
func (ConnectivityType) Type ¶
func (ConnectivityType) Type() protoreflect.EnumType
type CreateInterfaceRequest ¶
type CreateInterfaceRequest struct { Interface *Interface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*CreateInterfaceRequest) Descriptor
deprecated
func (*CreateInterfaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateInterfaceRequest.ProtoReflect.Descriptor instead.
func (*CreateInterfaceRequest) GetInterface ¶
func (x *CreateInterfaceRequest) GetInterface() *Interface
func (*CreateInterfaceRequest) ProtoMessage ¶
func (*CreateInterfaceRequest) ProtoMessage()
func (*CreateInterfaceRequest) ProtoReflect ¶
func (x *CreateInterfaceRequest) ProtoReflect() protoreflect.Message
func (*CreateInterfaceRequest) Reset ¶
func (x *CreateInterfaceRequest) Reset()
func (*CreateInterfaceRequest) String ¶
func (x *CreateInterfaceRequest) String() string
type CreateInterfaceResponse ¶
type CreateInterfaceResponse struct { Interface *Interface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*CreateInterfaceResponse) Descriptor
deprecated
func (*CreateInterfaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateInterfaceResponse.ProtoReflect.Descriptor instead.
func (*CreateInterfaceResponse) GetInterface ¶
func (x *CreateInterfaceResponse) GetInterface() *Interface
func (*CreateInterfaceResponse) ProtoMessage ¶
func (*CreateInterfaceResponse) ProtoMessage()
func (*CreateInterfaceResponse) ProtoReflect ¶
func (x *CreateInterfaceResponse) ProtoReflect() protoreflect.Message
func (*CreateInterfaceResponse) Reset ¶
func (x *CreateInterfaceResponse) Reset()
func (*CreateInterfaceResponse) String ¶
func (x *CreateInterfaceResponse) String() string
type DeleteInterfaceRequest ¶
type DeleteInterfaceRequest struct { // ID of interface. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteInterfaceRequest) Descriptor
deprecated
func (*DeleteInterfaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInterfaceRequest.ProtoReflect.Descriptor instead.
func (*DeleteInterfaceRequest) GetId ¶
func (x *DeleteInterfaceRequest) GetId() string
func (*DeleteInterfaceRequest) ProtoMessage ¶
func (*DeleteInterfaceRequest) ProtoMessage()
func (*DeleteInterfaceRequest) ProtoReflect ¶
func (x *DeleteInterfaceRequest) ProtoReflect() protoreflect.Message
func (*DeleteInterfaceRequest) Reset ¶
func (x *DeleteInterfaceRequest) Reset()
func (*DeleteInterfaceRequest) String ¶
func (x *DeleteInterfaceRequest) String() string
type DeleteInterfaceResponse ¶
type DeleteInterfaceResponse struct {
// contains filtered or unexported fields
}
func (*DeleteInterfaceResponse) Descriptor
deprecated
func (*DeleteInterfaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteInterfaceResponse.ProtoReflect.Descriptor instead.
func (*DeleteInterfaceResponse) ProtoMessage ¶
func (*DeleteInterfaceResponse) ProtoMessage()
func (*DeleteInterfaceResponse) ProtoReflect ¶
func (x *DeleteInterfaceResponse) ProtoReflect() protoreflect.Message
func (*DeleteInterfaceResponse) Reset ¶
func (x *DeleteInterfaceResponse) Reset()
func (*DeleteInterfaceResponse) String ¶
func (x *DeleteInterfaceResponse) String() string
type DeviceClassifyInfo ¶
type DeviceClassifyInfo struct { // ID of device. DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // Total number of interfaces for this device. TotalInterfaces int32 `protobuf:"varint,2,opt,name=total_interfaces,json=totalInterfaces,proto3" json:"total_interfaces,omitempty"` // previously_classified_ counts. PreviouslyClassifiedCounter *ClassifyCounter `` /* 144-byte string literal not displayed */ // auto_classified_ counts. AutoClassifiedCounter *ClassifyCounter `` /* 126-byte string literal not displayed */ ChangedClassificationCount int32 `` /* 143-byte string literal not displayed */ IpAsnMatchedCount int32 `protobuf:"varint,16,opt,name=ip_asn_matched_count,json=ipAsnMatchedCount,proto3" json:"ip_asn_matched_count,omitempty"` IxMatchedCount int32 `protobuf:"varint,17,opt,name=ix_matched_count,json=ixMatchedCount,proto3" json:"ix_matched_count,omitempty"` NexthopMatchedCount int32 `protobuf:"varint,18,opt,name=nexthop_matched_count,json=nexthopMatchedCount,proto3" json:"nexthop_matched_count,omitempty"` ConnectivityTypeMatchedCount int32 `` /* 151-byte string literal not displayed */ ProviderMatchedCount int32 `protobuf:"varint,20,opt,name=provider_matched_count,json=providerMatchedCount,proto3" json:"provider_matched_count,omitempty"` // List of interfaces. Interfaces []*InterfaceClassifyInfo `protobuf:"bytes,21,rep,name=interfaces,proto3" json:"interfaces,omitempty"` // contains filtered or unexported fields }
func (*DeviceClassifyInfo) Descriptor
deprecated
func (*DeviceClassifyInfo) Descriptor() ([]byte, []int)
Deprecated: Use DeviceClassifyInfo.ProtoReflect.Descriptor instead.
func (*DeviceClassifyInfo) GetAutoClassifiedCounter ¶
func (x *DeviceClassifyInfo) GetAutoClassifiedCounter() *ClassifyCounter
func (*DeviceClassifyInfo) GetChangedClassificationCount ¶
func (x *DeviceClassifyInfo) GetChangedClassificationCount() int32
func (*DeviceClassifyInfo) GetConnectivityTypeMatchedCount ¶
func (x *DeviceClassifyInfo) GetConnectivityTypeMatchedCount() int32
func (*DeviceClassifyInfo) GetDeviceId ¶
func (x *DeviceClassifyInfo) GetDeviceId() string
func (*DeviceClassifyInfo) GetInterfaces ¶
func (x *DeviceClassifyInfo) GetInterfaces() []*InterfaceClassifyInfo
func (*DeviceClassifyInfo) GetIpAsnMatchedCount ¶
func (x *DeviceClassifyInfo) GetIpAsnMatchedCount() int32
func (*DeviceClassifyInfo) GetIxMatchedCount ¶
func (x *DeviceClassifyInfo) GetIxMatchedCount() int32
func (*DeviceClassifyInfo) GetNexthopMatchedCount ¶
func (x *DeviceClassifyInfo) GetNexthopMatchedCount() int32
func (*DeviceClassifyInfo) GetPreviouslyClassifiedCounter ¶
func (x *DeviceClassifyInfo) GetPreviouslyClassifiedCounter() *ClassifyCounter
func (*DeviceClassifyInfo) GetProviderMatchedCount ¶
func (x *DeviceClassifyInfo) GetProviderMatchedCount() int32
func (*DeviceClassifyInfo) GetTotalInterfaces ¶
func (x *DeviceClassifyInfo) GetTotalInterfaces() int32
func (*DeviceClassifyInfo) ProtoMessage ¶
func (*DeviceClassifyInfo) ProtoMessage()
func (*DeviceClassifyInfo) ProtoReflect ¶
func (x *DeviceClassifyInfo) ProtoReflect() protoreflect.Message
func (*DeviceClassifyInfo) Reset ¶
func (x *DeviceClassifyInfo) Reset()
func (*DeviceClassifyInfo) String ¶
func (x *DeviceClassifyInfo) String() string
type DeviceFilter ¶
type DeviceFilter struct { AllDevices bool `protobuf:"varint,1,opt,name=all_devices,json=allDevices,proto3" json:"all_devices,omitempty"` DeviceName []string `protobuf:"bytes,2,rep,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` DeviceLabels []string `protobuf:"bytes,3,rep,name=device_labels,json=deviceLabels,proto3" json:"device_labels,omitempty"` DeviceRules []string `protobuf:"bytes,4,rep,name=device_rules,json=deviceRules,proto3" json:"device_rules,omitempty"` DeviceTypes []string `protobuf:"bytes,5,rep,name=device_types,json=deviceTypes,proto3" json:"device_types,omitempty"` // contains filtered or unexported fields }
func (*DeviceFilter) Descriptor
deprecated
func (*DeviceFilter) Descriptor() ([]byte, []int)
Deprecated: Use DeviceFilter.ProtoReflect.Descriptor instead.
func (*DeviceFilter) GetAllDevices ¶
func (x *DeviceFilter) GetAllDevices() bool
func (*DeviceFilter) GetDeviceLabels ¶
func (x *DeviceFilter) GetDeviceLabels() []string
func (*DeviceFilter) GetDeviceName ¶
func (x *DeviceFilter) GetDeviceName() []string
func (*DeviceFilter) GetDeviceRules ¶
func (x *DeviceFilter) GetDeviceRules() []string
func (*DeviceFilter) GetDeviceTypes ¶
func (x *DeviceFilter) GetDeviceTypes() []string
func (*DeviceFilter) ProtoMessage ¶
func (*DeviceFilter) ProtoMessage()
func (*DeviceFilter) ProtoReflect ¶
func (x *DeviceFilter) ProtoReflect() protoreflect.Message
func (*DeviceFilter) Reset ¶
func (x *DeviceFilter) Reset()
func (*DeviceFilter) String ¶
func (x *DeviceFilter) String() string
type GetInterfaceRequest ¶
type GetInterfaceRequest struct { // ID of interface. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*GetInterfaceRequest) Descriptor
deprecated
func (*GetInterfaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetInterfaceRequest.ProtoReflect.Descriptor instead.
func (*GetInterfaceRequest) GetId ¶
func (x *GetInterfaceRequest) GetId() string
func (*GetInterfaceRequest) ProtoMessage ¶
func (*GetInterfaceRequest) ProtoMessage()
func (*GetInterfaceRequest) ProtoReflect ¶
func (x *GetInterfaceRequest) ProtoReflect() protoreflect.Message
func (*GetInterfaceRequest) Reset ¶
func (x *GetInterfaceRequest) Reset()
func (*GetInterfaceRequest) String ¶
func (x *GetInterfaceRequest) String() string
type GetInterfaceResponse ¶
type GetInterfaceResponse struct { Interface *Interface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*GetInterfaceResponse) Descriptor
deprecated
func (*GetInterfaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetInterfaceResponse.ProtoReflect.Descriptor instead.
func (*GetInterfaceResponse) GetInterface ¶
func (x *GetInterfaceResponse) GetInterface() *Interface
func (*GetInterfaceResponse) ProtoMessage ¶
func (*GetInterfaceResponse) ProtoMessage()
func (*GetInterfaceResponse) ProtoReflect ¶
func (x *GetInterfaceResponse) ProtoReflect() protoreflect.Message
func (*GetInterfaceResponse) Reset ¶
func (x *GetInterfaceResponse) Reset()
func (*GetInterfaceResponse) String ¶
func (x *GetInterfaceResponse) String() string
type Interface ¶
type Interface struct { // ID of interface. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // ID of device with this interface. DeviceId string `protobuf:"bytes,2,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` // SNMP ID. SnmpId string `protobuf:"bytes,3,opt,name=snmp_id,json=snmpId,proto3" json:"snmp_id,omitempty"` // Network speed in Mbps. SnmpSpeed int32 `protobuf:"varint,4,opt,name=snmp_speed,json=snmpSpeed,proto3" json:"snmp_speed,omitempty"` // Snmp Type. SnmpType int32 `protobuf:"varint,5,opt,name=snmp_type,json=snmpType,proto3" json:"snmp_type,omitempty"` // Interface alias. SnmpAlias string `protobuf:"bytes,6,opt,name=snmp_alias,json=snmpAlias,proto3" json:"snmp_alias,omitempty"` // IP of interface. InterfaceIp string `protobuf:"bytes,7,opt,name=interface_ip,json=interfaceIp,proto3" json:"interface_ip,omitempty"` // Readable string description of interface. InterfaceDescription string `protobuf:"bytes,8,opt,name=interface_description,json=interfaceDescription,proto3" json:"interface_description,omitempty"` // Create timestamp. Cdate *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=cdate,proto3" json:"cdate,omitempty"` // Update Timestamp. Edate *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=edate,proto3" json:"edate,omitempty"` // Subnet mask. InterfaceIpNetmask string `protobuf:"bytes,11,opt,name=interface_ip_netmask,json=interfaceIpNetmask,proto3" json:"interface_ip_netmask,omitempty"` // Type of network connectivity type. ConnectivityType ConnectivityType `` /* 164-byte string literal not displayed */ // Type of network boundary. NetworkBoundary NetworkBoundary `` /* 160-byte string literal not displayed */ // Top asn hops. TopNexthopAsns []int32 `protobuf:"varint,14,rep,packed,name=top_nexthop_asns,json=topNexthopAsns,proto3" json:"top_nexthop_asns,omitempty"` // Network provider. Provider string `protobuf:"bytes,15,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
func (*Interface) Descriptor
deprecated
func (*Interface) GetCdate ¶
func (x *Interface) GetCdate() *timestamppb.Timestamp
func (*Interface) GetConnectivityType ¶
func (x *Interface) GetConnectivityType() ConnectivityType
func (*Interface) GetDeviceId ¶
func (*Interface) GetEdate ¶
func (x *Interface) GetEdate() *timestamppb.Timestamp
func (*Interface) GetInterfaceDescription ¶
func (*Interface) GetInterfaceIp ¶
func (*Interface) GetInterfaceIpNetmask ¶
func (*Interface) GetNetworkBoundary ¶
func (x *Interface) GetNetworkBoundary() NetworkBoundary
func (*Interface) GetProvider ¶
func (*Interface) GetSnmpAlias ¶
func (*Interface) GetSnmpSpeed ¶
func (*Interface) GetSnmpType ¶
func (*Interface) GetTopNexthopAsns ¶
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) ProtoReflect ¶
func (x *Interface) ProtoReflect() protoreflect.Message
type InterfaceClassification ¶
type InterfaceClassification struct { Classified bool `protobuf:"varint,1,opt,name=classified,proto3" json:"classified,omitempty"` ConnectivityType ConnectivityType `` /* 163-byte string literal not displayed */ NetworkBoundary NetworkBoundary `` /* 159-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InterfaceClassification) Descriptor
deprecated
func (*InterfaceClassification) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceClassification.ProtoReflect.Descriptor instead.
func (*InterfaceClassification) GetClassified ¶
func (x *InterfaceClassification) GetClassified() bool
func (*InterfaceClassification) GetConnectivityType ¶
func (x *InterfaceClassification) GetConnectivityType() ConnectivityType
func (*InterfaceClassification) GetNetworkBoundary ¶
func (x *InterfaceClassification) GetNetworkBoundary() NetworkBoundary
func (*InterfaceClassification) ProtoMessage ¶
func (*InterfaceClassification) ProtoMessage()
func (*InterfaceClassification) ProtoReflect ¶
func (x *InterfaceClassification) ProtoReflect() protoreflect.Message
func (*InterfaceClassification) Reset ¶
func (x *InterfaceClassification) Reset()
func (*InterfaceClassification) String ¶
func (x *InterfaceClassification) String() string
type InterfaceClassifyInfo ¶
type InterfaceClassifyInfo struct { DeviceId string `protobuf:"bytes,1,opt,name=device_id,json=deviceId,proto3" json:"device_id,omitempty"` SnmpId string `protobuf:"bytes,2,opt,name=snmp_id,json=snmpId,proto3" json:"snmp_id,omitempty"` SnmpAlias string `protobuf:"bytes,3,opt,name=snmp_alias,json=snmpAlias,proto3" json:"snmp_alias,omitempty"` InterfaceIp string `protobuf:"bytes,4,opt,name=interface_ip,json=interfaceIp,proto3" json:"interface_ip,omitempty"` InterfaceIpAsn string `protobuf:"bytes,5,opt,name=interface_ip_asn,json=interfaceIpAsn,proto3" json:"interface_ip_asn,omitempty"` IsInternalIp bool `protobuf:"varint,6,opt,name=is_internal_ip,json=isInternalIp,proto3" json:"is_internal_ip,omitempty"` IsInternalAsn bool `protobuf:"varint,7,opt,name=is_internal_asn,json=isInternalAsn,proto3" json:"is_internal_asn,omitempty"` TopNexthopAsns []string `protobuf:"bytes,8,rep,name=top_nexthop_asns,json=topNexthopAsns,proto3" json:"top_nexthop_asns,omitempty"` PdbGlobalName string `protobuf:"bytes,9,opt,name=pdb_global_name,json=pdbGlobalName,proto3" json:"pdb_global_name,omitempty"` // current classification AutoClassification *InterfaceClassification `protobuf:"bytes,10,opt,name=auto_classification,json=autoClassification,proto3" json:"auto_classification,omitempty"` // previous classification PreviousClassification *InterfaceClassification `` /* 128-byte string literal not displayed */ Provider string `protobuf:"bytes,12,opt,name=provider,proto3" json:"provider,omitempty"` NetworkBoundaryConfidence int32 `` /* 140-byte string literal not displayed */ ConnectivityTypeConfidence int32 `` /* 143-byte string literal not displayed */ ProviderConfidence int32 `protobuf:"varint,15,opt,name=provider_confidence,json=providerConfidence,proto3" json:"provider_confidence,omitempty"` AutoClassifiedProvider bool `` /* 131-byte string literal not displayed */ PreviouslyClassifiedProvider string `` /* 148-byte string literal not displayed */ PreviouslyClassifiedExternal bool `` /* 149-byte string literal not displayed */ IpAsnMatched bool `protobuf:"varint,19,opt,name=ip_asn_matched,json=ipAsnMatched,proto3" json:"ip_asn_matched,omitempty"` IxMatched bool `protobuf:"varint,20,opt,name=ix_matched,json=ixMatched,proto3" json:"ix_matched,omitempty"` NexthopMatched bool `protobuf:"varint,21,opt,name=nexthop_matched,json=nexthopMatched,proto3" json:"nexthop_matched,omitempty"` ConnectivityTypeMatched bool `` /* 134-byte string literal not displayed */ ProviderMatched bool `protobuf:"varint,23,opt,name=provider_matched,json=providerMatched,proto3" json:"provider_matched,omitempty"` ChangedClassification bool `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InterfaceClassifyInfo) Descriptor
deprecated
func (*InterfaceClassifyInfo) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceClassifyInfo.ProtoReflect.Descriptor instead.
func (*InterfaceClassifyInfo) GetAutoClassification ¶
func (x *InterfaceClassifyInfo) GetAutoClassification() *InterfaceClassification
func (*InterfaceClassifyInfo) GetAutoClassifiedProvider ¶
func (x *InterfaceClassifyInfo) GetAutoClassifiedProvider() bool
func (*InterfaceClassifyInfo) GetChangedClassification ¶
func (x *InterfaceClassifyInfo) GetChangedClassification() bool
func (*InterfaceClassifyInfo) GetConnectivityTypeConfidence ¶
func (x *InterfaceClassifyInfo) GetConnectivityTypeConfidence() int32
func (*InterfaceClassifyInfo) GetConnectivityTypeMatched ¶
func (x *InterfaceClassifyInfo) GetConnectivityTypeMatched() bool
func (*InterfaceClassifyInfo) GetDeviceId ¶
func (x *InterfaceClassifyInfo) GetDeviceId() string
func (*InterfaceClassifyInfo) GetInterfaceIp ¶
func (x *InterfaceClassifyInfo) GetInterfaceIp() string
func (*InterfaceClassifyInfo) GetInterfaceIpAsn ¶
func (x *InterfaceClassifyInfo) GetInterfaceIpAsn() string
func (*InterfaceClassifyInfo) GetIpAsnMatched ¶
func (x *InterfaceClassifyInfo) GetIpAsnMatched() bool
func (*InterfaceClassifyInfo) GetIsInternalAsn ¶
func (x *InterfaceClassifyInfo) GetIsInternalAsn() bool
func (*InterfaceClassifyInfo) GetIsInternalIp ¶
func (x *InterfaceClassifyInfo) GetIsInternalIp() bool
func (*InterfaceClassifyInfo) GetIxMatched ¶
func (x *InterfaceClassifyInfo) GetIxMatched() bool
func (*InterfaceClassifyInfo) GetNetworkBoundaryConfidence ¶
func (x *InterfaceClassifyInfo) GetNetworkBoundaryConfidence() int32
func (*InterfaceClassifyInfo) GetNexthopMatched ¶
func (x *InterfaceClassifyInfo) GetNexthopMatched() bool
func (*InterfaceClassifyInfo) GetPdbGlobalName ¶
func (x *InterfaceClassifyInfo) GetPdbGlobalName() string
func (*InterfaceClassifyInfo) GetPreviousClassification ¶
func (x *InterfaceClassifyInfo) GetPreviousClassification() *InterfaceClassification
func (*InterfaceClassifyInfo) GetPreviouslyClassifiedExternal ¶
func (x *InterfaceClassifyInfo) GetPreviouslyClassifiedExternal() bool
func (*InterfaceClassifyInfo) GetPreviouslyClassifiedProvider ¶
func (x *InterfaceClassifyInfo) GetPreviouslyClassifiedProvider() string
func (*InterfaceClassifyInfo) GetProvider ¶
func (x *InterfaceClassifyInfo) GetProvider() string
func (*InterfaceClassifyInfo) GetProviderConfidence ¶
func (x *InterfaceClassifyInfo) GetProviderConfidence() int32
func (*InterfaceClassifyInfo) GetProviderMatched ¶
func (x *InterfaceClassifyInfo) GetProviderMatched() bool
func (*InterfaceClassifyInfo) GetSnmpAlias ¶
func (x *InterfaceClassifyInfo) GetSnmpAlias() string
func (*InterfaceClassifyInfo) GetSnmpId ¶
func (x *InterfaceClassifyInfo) GetSnmpId() string
func (*InterfaceClassifyInfo) GetTopNexthopAsns ¶
func (x *InterfaceClassifyInfo) GetTopNexthopAsns() []string
func (*InterfaceClassifyInfo) ProtoMessage ¶
func (*InterfaceClassifyInfo) ProtoMessage()
func (*InterfaceClassifyInfo) ProtoReflect ¶
func (x *InterfaceClassifyInfo) ProtoReflect() protoreflect.Message
func (*InterfaceClassifyInfo) Reset ¶
func (x *InterfaceClassifyInfo) Reset()
func (*InterfaceClassifyInfo) String ¶
func (x *InterfaceClassifyInfo) String() string
type InterfaceFilter ¶
type InterfaceFilter struct { // Search text match in interface description and alias. Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"` // Search by device ID. DeviceIds []string `protobuf:"bytes,2,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"` // Search by type of interface connectivity. ConnectivityTypes []ConnectivityType `` /* 173-byte string literal not displayed */ // Search by type of network boundary. NetworkBoundaries []NetworkBoundary `` /* 172-byte string literal not displayed */ // Search by provider Providers []string `protobuf:"bytes,5,rep,name=providers,proto3" json:"providers,omitempty"` // SNMP speed in Mbps SnmpSpeeds []int32 `protobuf:"varint,6,rep,packed,name=snmp_speeds,json=snmpSpeeds,proto3" json:"snmp_speeds,omitempty"` // Search by ip address. IpTypes []IpFilter `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
Supports multiple search criteria. Fields are combined to AND statements to perform search.
func (*InterfaceFilter) Descriptor
deprecated
func (*InterfaceFilter) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceFilter.ProtoReflect.Descriptor instead.
func (*InterfaceFilter) GetConnectivityTypes ¶
func (x *InterfaceFilter) GetConnectivityTypes() []ConnectivityType
func (*InterfaceFilter) GetDeviceIds ¶
func (x *InterfaceFilter) GetDeviceIds() []string
func (*InterfaceFilter) GetIpTypes ¶
func (x *InterfaceFilter) GetIpTypes() []IpFilter
func (*InterfaceFilter) GetNetworkBoundaries ¶
func (x *InterfaceFilter) GetNetworkBoundaries() []NetworkBoundary
func (*InterfaceFilter) GetProviders ¶
func (x *InterfaceFilter) GetProviders() []string
func (*InterfaceFilter) GetSnmpSpeeds ¶
func (x *InterfaceFilter) GetSnmpSpeeds() []int32
func (*InterfaceFilter) GetText ¶
func (x *InterfaceFilter) GetText() string
func (*InterfaceFilter) ProtoMessage ¶
func (*InterfaceFilter) ProtoMessage()
func (*InterfaceFilter) ProtoReflect ¶
func (x *InterfaceFilter) ProtoReflect() protoreflect.Message
func (*InterfaceFilter) Reset ¶
func (x *InterfaceFilter) Reset()
func (*InterfaceFilter) String ¶
func (x *InterfaceFilter) String() string
type InterfaceServiceClient ¶
type InterfaceServiceClient interface { ManualClassify(ctx context.Context, in *ManualClassifyRequest, opts ...grpc.CallOption) (*ManualClassifyResponse, error) ListInterface(ctx context.Context, in *ListInterfaceRequest, opts ...grpc.CallOption) (*ListInterfaceResponse, error) GetInterface(ctx context.Context, in *GetInterfaceRequest, opts ...grpc.CallOption) (*GetInterfaceResponse, error) CreateInterface(ctx context.Context, in *CreateInterfaceRequest, opts ...grpc.CallOption) (*CreateInterfaceResponse, error) UpdateInterface(ctx context.Context, in *UpdateInterfaceRequest, opts ...grpc.CallOption) (*UpdateInterfaceResponse, error) DeleteInterface(ctx context.Context, in *DeleteInterfaceRequest, opts ...grpc.CallOption) (*DeleteInterfaceResponse, error) }
InterfaceServiceClient is the client API for InterfaceService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewInterfaceServiceClient ¶
func NewInterfaceServiceClient(cc grpc.ClientConnInterface) InterfaceServiceClient
type InterfaceServiceServer ¶
type InterfaceServiceServer interface { ManualClassify(context.Context, *ManualClassifyRequest) (*ManualClassifyResponse, error) ListInterface(context.Context, *ListInterfaceRequest) (*ListInterfaceResponse, error) GetInterface(context.Context, *GetInterfaceRequest) (*GetInterfaceResponse, error) CreateInterface(context.Context, *CreateInterfaceRequest) (*CreateInterfaceResponse, error) UpdateInterface(context.Context, *UpdateInterfaceRequest) (*UpdateInterfaceResponse, error) DeleteInterface(context.Context, *DeleteInterfaceRequest) (*DeleteInterfaceResponse, error) }
InterfaceServiceServer is the server API for InterfaceService service. All implementations should embed UnimplementedInterfaceServiceServer for forward compatibility
type IpFilter ¶
type IpFilter int32
func (IpFilter) Descriptor ¶
func (IpFilter) Descriptor() protoreflect.EnumDescriptor
func (IpFilter) EnumDescriptor
deprecated
func (IpFilter) Number ¶
func (x IpFilter) Number() protoreflect.EnumNumber
func (IpFilter) Type ¶
func (IpFilter) Type() protoreflect.EnumType
type ListInterfaceRequest ¶
type ListInterfaceRequest struct { Filters *InterfaceFilter `protobuf:"bytes,1,opt,name=filters,proto3" json:"filters,omitempty"` // contains filtered or unexported fields }
func (*ListInterfaceRequest) Descriptor
deprecated
func (*ListInterfaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListInterfaceRequest.ProtoReflect.Descriptor instead.
func (*ListInterfaceRequest) GetFilters ¶
func (x *ListInterfaceRequest) GetFilters() *InterfaceFilter
func (*ListInterfaceRequest) ProtoMessage ¶
func (*ListInterfaceRequest) ProtoMessage()
func (*ListInterfaceRequest) ProtoReflect ¶
func (x *ListInterfaceRequest) ProtoReflect() protoreflect.Message
func (*ListInterfaceRequest) Reset ¶
func (x *ListInterfaceRequest) Reset()
func (*ListInterfaceRequest) String ¶
func (x *ListInterfaceRequest) String() string
type ListInterfaceResponse ¶
type ListInterfaceResponse struct { Interfaces []*Interface `protobuf:"bytes,1,rep,name=interfaces,proto3" json:"interfaces,omitempty"` TotalCount int32 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` InvalidCount int32 `protobuf:"varint,3,opt,name=invalid_count,json=invalidCount,proto3" json:"invalid_count,omitempty"` // contains filtered or unexported fields }
func (*ListInterfaceResponse) Descriptor
deprecated
func (*ListInterfaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListInterfaceResponse.ProtoReflect.Descriptor instead.
func (*ListInterfaceResponse) GetInterfaces ¶
func (x *ListInterfaceResponse) GetInterfaces() []*Interface
func (*ListInterfaceResponse) GetInvalidCount ¶
func (x *ListInterfaceResponse) GetInvalidCount() int32
func (*ListInterfaceResponse) GetTotalCount ¶
func (x *ListInterfaceResponse) GetTotalCount() int32
func (*ListInterfaceResponse) ProtoMessage ¶
func (*ListInterfaceResponse) ProtoMessage()
func (*ListInterfaceResponse) ProtoReflect ¶
func (x *ListInterfaceResponse) ProtoReflect() protoreflect.Message
func (*ListInterfaceResponse) Reset ¶
func (x *ListInterfaceResponse) Reset()
func (*ListInterfaceResponse) String ¶
func (x *ListInterfaceResponse) String() string
type ManualClassifyRequest ¶
type ManualClassifyRequest struct { // Interface ids to set the properties. InterfaceIds []string `protobuf:"bytes,1,rep,name=interface_ids,json=interfaceIds,proto3" json:"interface_ids,omitempty"` // Connection type enum. ConnectivityType ConnectivityType `` /* 163-byte string literal not displayed */ // Network boundary enum. NetworkBoundary NetworkBoundary `` /* 159-byte string literal not displayed */ // Network provider. Provider string `protobuf:"bytes,4,opt,name=provider,proto3" json:"provider,omitempty"` // contains filtered or unexported fields }
Set connection type, network boundary, and provider of interface id(s) specified.
func (*ManualClassifyRequest) Descriptor
deprecated
func (*ManualClassifyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ManualClassifyRequest.ProtoReflect.Descriptor instead.
func (*ManualClassifyRequest) GetConnectivityType ¶
func (x *ManualClassifyRequest) GetConnectivityType() ConnectivityType
func (*ManualClassifyRequest) GetInterfaceIds ¶
func (x *ManualClassifyRequest) GetInterfaceIds() []string
func (*ManualClassifyRequest) GetNetworkBoundary ¶
func (x *ManualClassifyRequest) GetNetworkBoundary() NetworkBoundary
func (*ManualClassifyRequest) GetProvider ¶
func (x *ManualClassifyRequest) GetProvider() string
func (*ManualClassifyRequest) ProtoMessage ¶
func (*ManualClassifyRequest) ProtoMessage()
func (*ManualClassifyRequest) ProtoReflect ¶
func (x *ManualClassifyRequest) ProtoReflect() protoreflect.Message
func (*ManualClassifyRequest) Reset ¶
func (x *ManualClassifyRequest) Reset()
func (*ManualClassifyRequest) String ¶
func (x *ManualClassifyRequest) String() string
type ManualClassifyResponse ¶
type ManualClassifyResponse struct { DeviceIds []string `protobuf:"bytes,1,rep,name=device_ids,json=deviceIds,proto3" json:"device_ids,omitempty"` // contains filtered or unexported fields }
func (*ManualClassifyResponse) Descriptor
deprecated
func (*ManualClassifyResponse) Descriptor() ([]byte, []int)
Deprecated: Use ManualClassifyResponse.ProtoReflect.Descriptor instead.
func (*ManualClassifyResponse) GetDeviceIds ¶
func (x *ManualClassifyResponse) GetDeviceIds() []string
func (*ManualClassifyResponse) ProtoMessage ¶
func (*ManualClassifyResponse) ProtoMessage()
func (*ManualClassifyResponse) ProtoReflect ¶
func (x *ManualClassifyResponse) ProtoReflect() protoreflect.Message
func (*ManualClassifyResponse) Reset ¶
func (x *ManualClassifyResponse) Reset()
func (*ManualClassifyResponse) String ¶
func (x *ManualClassifyResponse) String() string
type Match ¶
type Match struct { // Attribute to match. MatchAttribute MatchAttribute `` /* 155-byte string literal not displayed */ // Match operation. MatchOperator Operator `` /* 146-byte string literal not displayed */ // Value to match by. Pattern string `protobuf:"bytes,3,opt,name=pattern,proto3" json:"pattern,omitempty"` // contains filtered or unexported fields }
func (*Match) Descriptor
deprecated
func (*Match) GetMatchAttribute ¶
func (x *Match) GetMatchAttribute() MatchAttribute
func (*Match) GetMatchOperator ¶
func (*Match) GetPattern ¶
func (*Match) ProtoMessage ¶
func (*Match) ProtoMessage()
func (*Match) ProtoReflect ¶
func (x *Match) ProtoReflect() protoreflect.Message
type MatchAttribute ¶
type MatchAttribute int32
const ( MatchAttribute_MATCH_ATTRIBUTE_UNSPECIFIED MatchAttribute = 0 MatchAttribute_MATCH_ATTRIBUTE_INTERFACE_DESCRIPTION MatchAttribute = 1 MatchAttribute_MATCH_ATTRIBUTE_SNMP_ALIAS MatchAttribute = 2 MatchAttribute_MATCH_ATTRIBUTE_INTERFACE_IP MatchAttribute = 3 )
func (MatchAttribute) Descriptor ¶
func (MatchAttribute) Descriptor() protoreflect.EnumDescriptor
func (MatchAttribute) Enum ¶
func (x MatchAttribute) Enum() *MatchAttribute
func (MatchAttribute) EnumDescriptor
deprecated
func (MatchAttribute) EnumDescriptor() ([]byte, []int)
Deprecated: Use MatchAttribute.Descriptor instead.
func (MatchAttribute) Number ¶
func (x MatchAttribute) Number() protoreflect.EnumNumber
func (MatchAttribute) String ¶
func (x MatchAttribute) String() string
func (MatchAttribute) Type ¶
func (MatchAttribute) Type() protoreflect.EnumType
type NetworkBoundary ¶
type NetworkBoundary int32
const ( NetworkBoundary_NETWORK_BOUNDARY_UNSPECIFIED NetworkBoundary = 0 NetworkBoundary_NETWORK_BOUNDARY_AUTO NetworkBoundary = 1 NetworkBoundary_NETWORK_BOUNDARY_INTERNAL NetworkBoundary = 2 NetworkBoundary_NETWORK_BOUNDARY_EXTERNAL NetworkBoundary = 3 NetworkBoundary_NETWORK_BOUNDARY_NONE NetworkBoundary = 4 )
func (NetworkBoundary) Descriptor ¶
func (NetworkBoundary) Descriptor() protoreflect.EnumDescriptor
func (NetworkBoundary) Enum ¶
func (x NetworkBoundary) Enum() *NetworkBoundary
func (NetworkBoundary) EnumDescriptor
deprecated
func (NetworkBoundary) EnumDescriptor() ([]byte, []int)
Deprecated: Use NetworkBoundary.Descriptor instead.
func (NetworkBoundary) Number ¶
func (x NetworkBoundary) Number() protoreflect.EnumNumber
func (NetworkBoundary) String ¶
func (x NetworkBoundary) String() string
func (NetworkBoundary) Type ¶
func (NetworkBoundary) Type() protoreflect.EnumType
type Operator ¶
type Operator int32
const ( Operator_OPERATOR_UNSPECIFIED Operator = 0 Operator_OPERATOR_EQUALS Operator = 1 Operator_OPERATOR_CONTAINS Operator = 2 Operator_OPERATOR_REGEX Operator = 3 Operator_OPERATOR_CONTAINED_IN_SUBNET Operator = 4 Operator_OPERATOR_IS_PUBLIC_IP Operator = 5 Operator_OPERATOR_IS_PRIVATE_IP Operator = 6 Operator_OPERATOR_NO_IP Operator = 7 )
func (Operator) Descriptor ¶
func (Operator) Descriptor() protoreflect.EnumDescriptor
func (Operator) EnumDescriptor
deprecated
func (Operator) Number ¶
func (x Operator) Number() protoreflect.EnumNumber
func (Operator) Type ¶
func (Operator) Type() protoreflect.EnumType
type Rule ¶
type Rule struct { // ID of interface rule. Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // Is this rule enable. Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"` // Rank order for apply list of rules. Rank int32 `protobuf:"varint,3,opt,name=rank,proto3" json:"rank,omitempty"` // Rule match criteria. MatchClause *Match `protobuf:"bytes,4,opt,name=match_clause,json=matchClause,proto3" json:"match_clause,omitempty"` // Action for match rule. ActionSet *Action `protobuf:"bytes,5,opt,name=action_set,json=actionSet,proto3" json:"action_set,omitempty"` // Create timestamp. Cdate *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=cdate,proto3" json:"cdate,omitempty"` // Update timestamp. Edate *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=edate,proto3" json:"edate,omitempty"` // Device inclusive filters. IncludedDevices *DeviceFilter `protobuf:"bytes,8,opt,name=included_devices,json=includedDevices,proto3" json:"included_devices,omitempty"` // Device exclusive filters. ExcludedDevices *DeviceFilter `protobuf:"bytes,9,opt,name=excluded_devices,json=excludedDevices,proto3" json:"excluded_devices,omitempty"` // contains filtered or unexported fields }
func (*Rule) Descriptor
deprecated
func (*Rule) GetActionSet ¶
func (*Rule) GetCdate ¶
func (x *Rule) GetCdate() *timestamppb.Timestamp
func (*Rule) GetEdate ¶
func (x *Rule) GetEdate() *timestamppb.Timestamp
func (*Rule) GetEnabled ¶
func (*Rule) GetExcludedDevices ¶
func (x *Rule) GetExcludedDevices() *DeviceFilter
func (*Rule) GetIncludedDevices ¶
func (x *Rule) GetIncludedDevices() *DeviceFilter
func (*Rule) GetMatchClause ¶
func (*Rule) ProtoMessage ¶
func (*Rule) ProtoMessage()
func (*Rule) ProtoReflect ¶
func (x *Rule) ProtoReflect() protoreflect.Message
type UnimplementedInterfaceServiceServer ¶
type UnimplementedInterfaceServiceServer struct { }
UnimplementedInterfaceServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedInterfaceServiceServer) CreateInterface ¶
func (UnimplementedInterfaceServiceServer) CreateInterface(context.Context, *CreateInterfaceRequest) (*CreateInterfaceResponse, error)
func (UnimplementedInterfaceServiceServer) DeleteInterface ¶
func (UnimplementedInterfaceServiceServer) DeleteInterface(context.Context, *DeleteInterfaceRequest) (*DeleteInterfaceResponse, error)
func (UnimplementedInterfaceServiceServer) GetInterface ¶
func (UnimplementedInterfaceServiceServer) GetInterface(context.Context, *GetInterfaceRequest) (*GetInterfaceResponse, error)
func (UnimplementedInterfaceServiceServer) ListInterface ¶
func (UnimplementedInterfaceServiceServer) ListInterface(context.Context, *ListInterfaceRequest) (*ListInterfaceResponse, error)
func (UnimplementedInterfaceServiceServer) ManualClassify ¶
func (UnimplementedInterfaceServiceServer) ManualClassify(context.Context, *ManualClassifyRequest) (*ManualClassifyResponse, error)
func (UnimplementedInterfaceServiceServer) UpdateInterface ¶
func (UnimplementedInterfaceServiceServer) UpdateInterface(context.Context, *UpdateInterfaceRequest) (*UpdateInterfaceResponse, error)
type UnsafeInterfaceServiceServer ¶
type UnsafeInterfaceServiceServer interface {
// contains filtered or unexported methods
}
UnsafeInterfaceServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to InterfaceServiceServer will result in compilation errors.
type UpdateInterfaceRequest ¶
type UpdateInterfaceRequest struct { Interface *Interface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*UpdateInterfaceRequest) Descriptor
deprecated
func (*UpdateInterfaceRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInterfaceRequest.ProtoReflect.Descriptor instead.
func (*UpdateInterfaceRequest) GetInterface ¶
func (x *UpdateInterfaceRequest) GetInterface() *Interface
func (*UpdateInterfaceRequest) ProtoMessage ¶
func (*UpdateInterfaceRequest) ProtoMessage()
func (*UpdateInterfaceRequest) ProtoReflect ¶
func (x *UpdateInterfaceRequest) ProtoReflect() protoreflect.Message
func (*UpdateInterfaceRequest) Reset ¶
func (x *UpdateInterfaceRequest) Reset()
func (*UpdateInterfaceRequest) String ¶
func (x *UpdateInterfaceRequest) String() string
type UpdateInterfaceResponse ¶
type UpdateInterfaceResponse struct { Interface *Interface `protobuf:"bytes,1,opt,name=interface,proto3" json:"interface,omitempty"` // contains filtered or unexported fields }
func (*UpdateInterfaceResponse) Descriptor
deprecated
func (*UpdateInterfaceResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateInterfaceResponse.ProtoReflect.Descriptor instead.
func (*UpdateInterfaceResponse) GetInterface ¶
func (x *UpdateInterfaceResponse) GetInterface() *Interface
func (*UpdateInterfaceResponse) ProtoMessage ¶
func (*UpdateInterfaceResponse) ProtoMessage()
func (*UpdateInterfaceResponse) ProtoReflect ¶
func (x *UpdateInterfaceResponse) ProtoReflect() protoreflect.Message
func (*UpdateInterfaceResponse) Reset ¶
func (x *UpdateInterfaceResponse) Reset()
func (*UpdateInterfaceResponse) String ¶
func (x *UpdateInterfaceResponse) String() string