ndk

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 27, 2025 License: BSD-3-Clause Imports: 8 Imported by: 6

Documentation

Index

Constants

View Source
const (
	SdkMgrNextHopGroupService_NextHopGroupAddOrUpdate_FullMethodName = "/srlinux.sdk.SdkMgrNextHopGroupService/NextHopGroupAddOrUpdate"
	SdkMgrNextHopGroupService_NextHopGroupDelete_FullMethodName      = "/srlinux.sdk.SdkMgrNextHopGroupService/NextHopGroupDelete"
	SdkMgrNextHopGroupService_SyncStart_FullMethodName               = "/srlinux.sdk.SdkMgrNextHopGroupService/SyncStart"
	SdkMgrNextHopGroupService_SyncEnd_FullMethodName                 = "/srlinux.sdk.SdkMgrNextHopGroupService/SyncEnd"
)
View Source
const (
	SdkMgrRouteService_RouteAddOrUpdate_FullMethodName = "/srlinux.sdk.SdkMgrRouteService/RouteAddOrUpdate"
	SdkMgrRouteService_RouteDelete_FullMethodName      = "/srlinux.sdk.SdkMgrRouteService/RouteDelete"
	SdkMgrRouteService_SyncStart_FullMethodName        = "/srlinux.sdk.SdkMgrRouteService/SyncStart"
	SdkMgrRouteService_SyncEnd_FullMethodName          = "/srlinux.sdk.SdkMgrRouteService/SyncEnd"
)
View Source
const (
	SdkMgrService_AgentRegister_FullMethodName        = "/srlinux.sdk.SdkMgrService/AgentRegister"
	SdkMgrService_AgentUnRegister_FullMethodName      = "/srlinux.sdk.SdkMgrService/AgentUnRegister"
	SdkMgrService_NotificationRegister_FullMethodName = "/srlinux.sdk.SdkMgrService/NotificationRegister"
	SdkMgrService_NotificationQuery_FullMethodName    = "/srlinux.sdk.SdkMgrService/NotificationQuery"
	SdkMgrService_KeepAlive_FullMethodName            = "/srlinux.sdk.SdkMgrService/KeepAlive"
	SdkMgrService_GetAppId_FullMethodName             = "/srlinux.sdk.SdkMgrService/GetAppId"
)
View Source
const (
	SdkMgrTelemetryService_TelemetryAddOrUpdate_FullMethodName = "/srlinux.sdk.SdkMgrTelemetryService/TelemetryAddOrUpdate"
	SdkMgrTelemetryService_TelemetryDelete_FullMethodName      = "/srlinux.sdk.SdkMgrTelemetryService/TelemetryDelete"
)
View Source
const (
	SdkMgrConfigService_AcknowledgeConfig_FullMethodName = "/srlinux.sdk.SdkMgrConfigService/AcknowledgeConfig"
)
View Source
const (
	SdkNotificationService_NotificationStream_FullMethodName = "/srlinux.sdk.SdkNotificationService/NotificationStream"
)

Variables

View Source
var (
	BfdSessionStatus_name = map[int32]string{
		0: "BFD_SESSION_STATUS_INVALID",
		1: "BFD_SESSION_STATUS_ADMIN_DOWN",
		2: "BFD_SESSION_STATUS_DOWN",
		3: "BFD_SESSION_STATUS_INIT",
		4: "BFD_SESSION_STATUS_UP",
	}
	BfdSessionStatus_value = map[string]int32{
		"BFD_SESSION_STATUS_INVALID":    0,
		"BFD_SESSION_STATUS_ADMIN_DOWN": 1,
		"BFD_SESSION_STATUS_DOWN":       2,
		"BFD_SESSION_STATUS_INIT":       3,
		"BFD_SESSION_STATUS_UP":         4,
	}
)

Enum value maps for BfdSessionStatus.

View Source
var (
	BfdSessionType_name = map[int32]string{
		0: "BFD_SESSION_TYPE_UNKNOWN",
		1: "BFD_SESSION_TYPE_P2P",
		2: "BFD_SESSION_TYPE_MICROBFD",
		3: "BFD_SESSION_TYPE_SBFD_ECHO",
	}
	BfdSessionType_value = map[string]int32{
		"BFD_SESSION_TYPE_UNKNOWN":   0,
		"BFD_SESSION_TYPE_P2P":       1,
		"BFD_SESSION_TYPE_MICROBFD":  2,
		"BFD_SESSION_TYPE_SBFD_ECHO": 3,
	}
)

Enum value maps for BfdSessionType.

View Source
var (
	BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType_name = map[int32]string{
		0: "SRPOLICY_USER_TYPE_LOCAL",
		1: "SRPOLICY_USER_TYPE_TYPE_PCEP",
	}
	BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType_value = map[string]int32{
		"SRPOLICY_USER_TYPE_LOCAL":     0,
		"SRPOLICY_USER_TYPE_TYPE_PCEP": 1,
	}
)

Enum value maps for BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType.

View Source
var (
	BfdGeneralSessionData_BfdSessionSubType_name = map[int32]string{
		0: "BFD_SESSION_SUB_TYPE_UNKNOWN",
		1: "BFD_SESSION_SUB_TYPE_SINGLE_HOP",
		2: "BFD_SESSION_SUB_TYPE_MULTI_HOP",
		3: "BFD_SESSION_SUB_TYPE_MICROBFD",
		4: "BFD_SESSION_SUB_TYPE_SBFD_ECHO",
	}
	BfdGeneralSessionData_BfdSessionSubType_value = map[string]int32{
		"BFD_SESSION_SUB_TYPE_UNKNOWN":    0,
		"BFD_SESSION_SUB_TYPE_SINGLE_HOP": 1,
		"BFD_SESSION_SUB_TYPE_MULTI_HOP":  2,
		"BFD_SESSION_SUB_TYPE_MICROBFD":   3,
		"BFD_SESSION_SUB_TYPE_SBFD_ECHO":  4,
	}
)

Enum value maps for BfdGeneralSessionData_BfdSessionSubType.

View Source
var (
	LldpNeighborKey_ChassisIdType_name = map[int32]string{
		0: "CHASSIS_ID_TYPE_RESERVED",
		1: "CHASSIS_ID_TYPE_CHASSIS_COMPONENT",
		2: "CHASSIS_ID_TYPE_INTERFACE_ALIAS",
		3: "CHASSIS_ID_TYPE_PORT_COMPONENT",
		4: "CHASSIS_ID_TYPE_MAC_ADDRESS",
		5: "CHASSIS_ID_TYPE_NETWORK_ADDRESS",
		6: "CHASSIS_ID_TYPE_INTERFACE_NAME",
		7: "CHASSIS_ID_TYPE_LOCALLY_ASSIGNED",
	}
	LldpNeighborKey_ChassisIdType_value = map[string]int32{
		"CHASSIS_ID_TYPE_RESERVED":          0,
		"CHASSIS_ID_TYPE_CHASSIS_COMPONENT": 1,
		"CHASSIS_ID_TYPE_INTERFACE_ALIAS":   2,
		"CHASSIS_ID_TYPE_PORT_COMPONENT":    3,
		"CHASSIS_ID_TYPE_MAC_ADDRESS":       4,
		"CHASSIS_ID_TYPE_NETWORK_ADDRESS":   5,
		"CHASSIS_ID_TYPE_INTERFACE_NAME":    6,
		"CHASSIS_ID_TYPE_LOCALLY_ASSIGNED":  7,
	}
)

Enum value maps for LldpNeighborKey_ChassisIdType.

View Source
var (
	LldpNeighborData_PortSubType_name = map[int32]string{
		0: "PORT_SUB_TYPE_RESERVED",
		1: "PORT_SUB_TYPE_INTERFACE_ALIAS",
		2: "PORT_SUB_TYPE_PORT_COMPONENT",
		3: "PORT_SUB_TYPE_MAC_ADDRESS",
		4: "PORT_SUB_TYPE_NETWORK_ADDRESS",
		5: "PORT_SUB_TYPE_INTERFACE_NAME",
		6: "PORT_SUB_TYPE_AGENT_CIRCUIT_ID",
		7: "PORT_SUB_TYPE_LOCALLY_ASSIGNED",
	}
	LldpNeighborData_PortSubType_value = map[string]int32{
		"PORT_SUB_TYPE_RESERVED":         0,
		"PORT_SUB_TYPE_INTERFACE_ALIAS":  1,
		"PORT_SUB_TYPE_PORT_COMPONENT":   2,
		"PORT_SUB_TYPE_MAC_ADDRESS":      3,
		"PORT_SUB_TYPE_NETWORK_ADDRESS":  4,
		"PORT_SUB_TYPE_INTERFACE_NAME":   5,
		"PORT_SUB_TYPE_AGENT_CIRCUIT_ID": 6,
		"PORT_SUB_TYPE_LOCALLY_ASSIGNED": 7,
	}
)

Enum value maps for LldpNeighborData_PortSubType.

View Source
var (
	NetworkInstanceData_NetworkInstanceType_name = map[int32]string{
		0: "NETWORK_INSTANCE_TYPE_DEFAULT",
		1: "NETWORK_INSTANCE_TYPE_L3VRF",
	}
	NetworkInstanceData_NetworkInstanceType_value = map[string]int32{
		"NETWORK_INSTANCE_TYPE_DEFAULT": 0,
		"NETWORK_INSTANCE_TYPE_L3VRF":   1,
	}
)

Enum value maps for NetworkInstanceData_NetworkInstanceType.

View Source
var (
	NextHop_ResolveToType_name = map[int32]string{
		0: "RESOLVE_TO_TYPE_LOCAL",
		1: "RESOLVE_TO_TYPE_DIRECT",
		2: "RESOLVE_TO_TYPE_INDIRECT",
	}
	NextHop_ResolveToType_value = map[string]int32{
		"RESOLVE_TO_TYPE_LOCAL":    0,
		"RESOLVE_TO_TYPE_DIRECT":   1,
		"RESOLVE_TO_TYPE_INDIRECT": 2,
	}
)

Enum value maps for NextHop_ResolveToType.

View Source
var (
	NextHop_ResolutionType_name = map[int32]string{
		0: "RESOLUTION_TYPE_INVALID",
		1: "RESOLUTION_TYPE_REGULAR",
		2: "RESOLUTION_TYPE_MPLS",
	}
	NextHop_ResolutionType_value = map[string]int32{
		"RESOLUTION_TYPE_INVALID": 0,
		"RESOLUTION_TYPE_REGULAR": 1,
		"RESOLUTION_TYPE_MPLS":    2,
	}
)

Enum value maps for NextHop_ResolutionType.

View Source
var (
	IfMgrIfType_name = map[int32]string{
		0:  "ETHERNET",
		1:  "LOOPBACK",
		2:  "MANAGEMENT",
		3:  "AGGREGATE",
		4:  "IRB",
		5:  "SYSTEM",
		6:  "LIF",
		7:  "NIC",
		8:  "VHOST",
		9:  "KKLIF",
		10: "KKVHOST",
		11: "SYNC",
		12: "IF_TYPE_MAX",
	}
	IfMgrIfType_value = map[string]int32{
		"ETHERNET":    0,
		"LOOPBACK":    1,
		"MANAGEMENT":  2,
		"AGGREGATE":   3,
		"IRB":         4,
		"SYSTEM":      5,
		"LIF":         6,
		"NIC":         7,
		"VHOST":       8,
		"KKLIF":       9,
		"KKVHOST":     10,
		"SYNC":        11,
		"IF_TYPE_MAX": 12,
	}
)

Enum value maps for IfMgrIfType.

View Source
var (
	IpAddressState_name = map[int32]string{
		0: "IPADDR_STATE_UNKNOWN",
		1: "IPADDR_STATE_TENTATIVE",
		2: "IPADDR_STATE_DUPLICATED",
		3: "IPADDR_STATE_INACCESSIBLE",
		4: "IPADDR_STATE_DEPRECATED",
		5: "IPADDR_STATE_PREFERRED",
	}
	IpAddressState_value = map[string]int32{
		"IPADDR_STATE_UNKNOWN":      0,
		"IPADDR_STATE_TENTATIVE":    1,
		"IPADDR_STATE_DUPLICATED":   2,
		"IPADDR_STATE_INACCESSIBLE": 3,
		"IPADDR_STATE_DEPRECATED":   4,
		"IPADDR_STATE_PREFERRED":    5,
	}
)

Enum value maps for IpAddressState.

View Source
var (
	IfOperStateType_name = map[int32]string{
		0: "IF_OPER_STATE_UP",
		1: "IF_OPER_STATE_DOWN",
		2: "IF_OPER_STATE_TESTING",
		3: "IF_OPER_STATE_UNKNOWN",
		4: "IF_OPER_STATE_DORMANT",
		5: "IF_OPER_STATE_NOT_PRESENT",
		6: "IF_OPER_STATE_LOWER_LAYER_DOWN",
	}
	IfOperStateType_value = map[string]int32{
		"IF_OPER_STATE_UP":               0,
		"IF_OPER_STATE_DOWN":             1,
		"IF_OPER_STATE_TESTING":          2,
		"IF_OPER_STATE_UNKNOWN":          3,
		"IF_OPER_STATE_DORMANT":          4,
		"IF_OPER_STATE_NOT_PRESENT":      5,
		"IF_OPER_STATE_LOWER_LAYER_DOWN": 6,
	}
)

Enum value maps for IfOperStateType.

View Source
var (
	IfOperDownReason_name = map[int32]string{
		0:  "IF_OPER_DOWN_NONE",
		1:  "IF_OPER_DOWN_PORT_ADMIN_DISABLED",
		2:  "IF_OPER_DOWN_MDA_ADMIN_DISABLED",
		3:  "IF_OPER_DOWN_TRANS_LASER_DISABLED",
		4:  "IF_OPER_DOWN_MDA_NOT_PRESENT",
		5:  "IF_OPER_DOWN_TRANS_NOT_PRESENT",
		6:  "IF_OPER_DOWN_PHY_INIT",
		7:  "IF_OPER_DOWN_LOWER_LAYER_DOWN",
		8:  "IF_OPER_DOWN_MTU_RESOURCES",
		9:  "IF_OPER_DOWN_UNSUPPORTED_SPEED",
		10: "IF_OPER_DOWN_UNSUPPORTED_TRANS_FEC",
		11: "IF_OPER_DOWN_OTHER",
		12: "IF_OPER_DOWN_PORT_NOT_PRESENT",
		13: "IF_OPER_DOWN_FABRIC_AVAILABILITY",
		14: "IF_OPER_DOWN_NO_ACTIVE_LINKS",
		15: "IF_OPER_DOWN_MIN_LINK_THRESHOLD",
		16: "IF_OPER_DOWN_9_12_SPEED_MISMATCH",
		17: "IF_OPER_DOWN_LAG_RESOURCES",
		18: "IF_OPER_DOWN_LAG_MEMBER_RESOURCES",
		19: "IF_OPER_DOWN_STANDBY_SIGNALING",
		20: "IF_OPER_DOWN_HOLD_TIME_UP_ACTIVE",
		21: "IF_OPER_DOWN_RELOAD_TIME_ACTIVE",
		22: "IF_OPER_DOWN_CONNECTOR_DOWN",
		23: "IF_OPER_DOWN_AUTO_NEG_MISMATCH",
		24: "IF_OPER_DOWN_EVENT_HANDLER",
		25: "IF_OPER_DOWN_UNSUPPORTED_BREAKOUT",
		26: "IF_OPER_DOWN_CFM_CCM_DEFECT",
		27: "IF_OPER_DOWN_CRC_MON_FAIL_THRESH",
		28: "IF_OPER_DOWN_SYMBOL_MON_FAIL_THRESH",
		29: "IF_OPER_DOWN_LINK_LOSS_FORWARDING",
		30: "IF_OPER_DOWN_TRANS_DOWN",
		31: "IF_OPER_DOWN_STORM_CONTROL_ACTION",
		32: "IF_OPER_DOWN_UNSUPPORTED_NUM_CHANNELS_FOR_SPEED",
	}
	IfOperDownReason_value = map[string]int32{
		"IF_OPER_DOWN_NONE":                               0,
		"IF_OPER_DOWN_PORT_ADMIN_DISABLED":                1,
		"IF_OPER_DOWN_MDA_ADMIN_DISABLED":                 2,
		"IF_OPER_DOWN_TRANS_LASER_DISABLED":               3,
		"IF_OPER_DOWN_MDA_NOT_PRESENT":                    4,
		"IF_OPER_DOWN_TRANS_NOT_PRESENT":                  5,
		"IF_OPER_DOWN_PHY_INIT":                           6,
		"IF_OPER_DOWN_LOWER_LAYER_DOWN":                   7,
		"IF_OPER_DOWN_MTU_RESOURCES":                      8,
		"IF_OPER_DOWN_UNSUPPORTED_SPEED":                  9,
		"IF_OPER_DOWN_UNSUPPORTED_TRANS_FEC":              10,
		"IF_OPER_DOWN_OTHER":                              11,
		"IF_OPER_DOWN_PORT_NOT_PRESENT":                   12,
		"IF_OPER_DOWN_FABRIC_AVAILABILITY":                13,
		"IF_OPER_DOWN_NO_ACTIVE_LINKS":                    14,
		"IF_OPER_DOWN_MIN_LINK_THRESHOLD":                 15,
		"IF_OPER_DOWN_9_12_SPEED_MISMATCH":                16,
		"IF_OPER_DOWN_LAG_RESOURCES":                      17,
		"IF_OPER_DOWN_LAG_MEMBER_RESOURCES":               18,
		"IF_OPER_DOWN_STANDBY_SIGNALING":                  19,
		"IF_OPER_DOWN_HOLD_TIME_UP_ACTIVE":                20,
		"IF_OPER_DOWN_RELOAD_TIME_ACTIVE":                 21,
		"IF_OPER_DOWN_CONNECTOR_DOWN":                     22,
		"IF_OPER_DOWN_AUTO_NEG_MISMATCH":                  23,
		"IF_OPER_DOWN_EVENT_HANDLER":                      24,
		"IF_OPER_DOWN_UNSUPPORTED_BREAKOUT":               25,
		"IF_OPER_DOWN_CFM_CCM_DEFECT":                     26,
		"IF_OPER_DOWN_CRC_MON_FAIL_THRESH":                27,
		"IF_OPER_DOWN_SYMBOL_MON_FAIL_THRESH":             28,
		"IF_OPER_DOWN_LINK_LOSS_FORWARDING":               29,
		"IF_OPER_DOWN_TRANS_DOWN":                         30,
		"IF_OPER_DOWN_STORM_CONTROL_ACTION":               31,
		"IF_OPER_DOWN_UNSUPPORTED_NUM_CHANNELS_FOR_SPEED": 32,
	}
)

Enum value maps for IfOperDownReason.

View Source
var (
	IfEthernetPortSpeedType_name = map[int32]string{
		0:  "IF_ETH_PORT_SPEED_UNSET",
		1:  "IF_ETH_PORT_SPEED_10M",
		2:  "IF_ETH_PORT_SPEED_100M",
		3:  "IF_ETH_PORT_SPEED_1G",
		4:  "IF_ETH_PORT_SPEED_10G",
		5:  "IF_ETH_PORT_SPEED_25G",
		6:  "IF_ETH_PORT_SPEED_40G",
		7:  "IF_ETH_PORT_SPEED_50G",
		8:  "IF_ETH_PORT_SPEED_100G",
		9:  "IF_ETH_PORT_SPEED_200G",
		10: "IF_ETH_PORT_SPEED_400G",
		11: "IF_ETH_PORT_SPEED_1T",
		12: "IF_ETH_PORT_SPEED_800G",
	}
	IfEthernetPortSpeedType_value = map[string]int32{
		"IF_ETH_PORT_SPEED_UNSET": 0,
		"IF_ETH_PORT_SPEED_10M":   1,
		"IF_ETH_PORT_SPEED_100M":  2,
		"IF_ETH_PORT_SPEED_1G":    3,
		"IF_ETH_PORT_SPEED_10G":   4,
		"IF_ETH_PORT_SPEED_25G":   5,
		"IF_ETH_PORT_SPEED_40G":   6,
		"IF_ETH_PORT_SPEED_50G":   7,
		"IF_ETH_PORT_SPEED_100G":  8,
		"IF_ETH_PORT_SPEED_200G":  9,
		"IF_ETH_PORT_SPEED_400G":  10,
		"IF_ETH_PORT_SPEED_1T":    11,
		"IF_ETH_PORT_SPEED_800G":  12,
	}
)

Enum value maps for IfEthernetPortSpeedType.

View Source
var (
	IfEthernetDuplexModeType_name = map[int32]string{
		0: "IF_ETH_DUPLEX_MODE_UNSET",
		1: "IF_ETH_DUPLEX_MODE_FULL",
		2: "IF_ETH_DUPLEX_MODE_HALF",
	}
	IfEthernetDuplexModeType_value = map[string]int32{
		"IF_ETH_DUPLEX_MODE_UNSET": 0,
		"IF_ETH_DUPLEX_MODE_FULL":  1,
		"IF_ETH_DUPLEX_MODE_HALF":  2,
	}
)

Enum value maps for IfEthernetDuplexModeType.

View Source
var (
	IfLoopbackModeType_name = map[int32]string{
		0: "IF_LOOPBACK_MODE_UNSET",
		1: "IF_LOOPBACK_MODE_NONE",
		2: "IF_LOOPBACK_MODE_FACILITY",
		3: "IF_LOOPBACK_MODE_TERMINAL",
	}
	IfLoopbackModeType_value = map[string]int32{
		"IF_LOOPBACK_MODE_UNSET":    0,
		"IF_LOOPBACK_MODE_NONE":     1,
		"IF_LOOPBACK_MODE_FACILITY": 2,
		"IF_LOOPBACK_MODE_TERMINAL": 3,
	}
)

Enum value maps for IfLoopbackModeType.

View Source
var (
	IfTransceiverFecType_name = map[int32]string{
		0: "IF_TRANS_FEC_UNSET",
		1: "IF_TRANS_FEC_DISABLED",
		2: "IF_TRANS_FEC_CL91_RS528",
		3: "IF_TRANS_FEC_RS544",
		4: "IF_TRANS_FEC_BASER",
		5: "IF_TRANS_FEC_CL108_RS528",
		6: "IF_TRANS_FEC_CL91_RS544",
		7: "IF_TRANS_FEC_CL119_RS544",
		8: "IF_TRANS_FEC_CL134_RS544",
	}
	IfTransceiverFecType_value = map[string]int32{
		"IF_TRANS_FEC_UNSET":       0,
		"IF_TRANS_FEC_DISABLED":    1,
		"IF_TRANS_FEC_CL91_RS528":  2,
		"IF_TRANS_FEC_RS544":       3,
		"IF_TRANS_FEC_BASER":       4,
		"IF_TRANS_FEC_CL108_RS528": 5,
		"IF_TRANS_FEC_CL91_RS544":  6,
		"IF_TRANS_FEC_CL119_RS544": 7,
		"IF_TRANS_FEC_CL134_RS544": 8,
	}
)

Enum value maps for IfTransceiverFecType.

View Source
var (
	SdkMgrOperation_name = map[int32]string{
		0: "SDK_MGR_OPERATION_CREATE",
		1: "SDK_MGR_OPERATION_UPDATE",
		2: "SDK_MGR_OPERATION_DELETE",
		3: "SDK_MGR_OPERATION_CREATE_OR_UPDATE",
	}
	SdkMgrOperation_value = map[string]int32{
		"SDK_MGR_OPERATION_CREATE":           0,
		"SDK_MGR_OPERATION_UPDATE":           1,
		"SDK_MGR_OPERATION_DELETE":           2,
		"SDK_MGR_OPERATION_CREATE_OR_UPDATE": 3,
	}
)

Enum value maps for SdkMgrOperation.

View Source
var (
	SdkMgrStatus_name = map[int32]string{
		0: "SDK_MGR_STATUS_SUCCESS",
		1: "SDK_MGR_STATUS_FAILED",
	}
	SdkMgrStatus_value = map[string]int32{
		"SDK_MGR_STATUS_SUCCESS": 0,
		"SDK_MGR_STATUS_FAILED":  1,
	}
)

Enum value maps for SdkMgrStatus.

View Source
var (
	PortOperDownReason_name = map[int32]string{
		0:  "PORT_OPER_DOWN_NONE",
		1:  "PORT_OPER_DOWN_PORT_ADMIN_DISABLED",
		2:  "PORT_OPER_DOWN_PORT_OPER_DISABLED",
		3:  "PORT_OPER_DOWN_MDA_DISABLED",
		4:  "PORT_OPER_DOWN_MDA_FAILED",
		5:  "PORT_OPER_DOWN_LINK_DOWN",
		6:  "PORT_OPER_DOWN_TRANS_NOT_PRESENT",
		7:  "PORT_OPER_DOWN_TRANS_LASER_DISABLED",
		8:  "PORT_OPER_DOWN_INCOMPATIBLE_CONNECTOR",
		9:  "PORT_OPER_DOWN_PHY_UNSUPPORTED_FEC_CFG",
		10: "PORT_OPER_DOWN_PHY_UNSUPPORTED_TRANS_FEC",
		11: "PORT_OPER_DOWN_PHY_INTERNAL_FEC_ISSUE",
		12: "PORT_OPER_DOWN_UNSUPPORTED_BREAKOUT",
	}
	PortOperDownReason_value = map[string]int32{
		"PORT_OPER_DOWN_NONE":                      0,
		"PORT_OPER_DOWN_PORT_ADMIN_DISABLED":       1,
		"PORT_OPER_DOWN_PORT_OPER_DISABLED":        2,
		"PORT_OPER_DOWN_MDA_DISABLED":              3,
		"PORT_OPER_DOWN_MDA_FAILED":                4,
		"PORT_OPER_DOWN_LINK_DOWN":                 5,
		"PORT_OPER_DOWN_TRANS_NOT_PRESENT":         6,
		"PORT_OPER_DOWN_TRANS_LASER_DISABLED":      7,
		"PORT_OPER_DOWN_INCOMPATIBLE_CONNECTOR":    8,
		"PORT_OPER_DOWN_PHY_UNSUPPORTED_FEC_CFG":   9,
		"PORT_OPER_DOWN_PHY_UNSUPPORTED_TRANS_FEC": 10,
		"PORT_OPER_DOWN_PHY_INTERNAL_FEC_ISSUE":    11,
		"PORT_OPER_DOWN_UNSUPPORTED_BREAKOUT":      12,
	}
)

Enum value maps for PortOperDownReason.

View Source
var (
	PortWarningReason_name = map[int32]string{
		0: "PORT_WARNING_NONE",
		1: "PORT_WARNING_TRANS_RX_LOS",
		2: "PORT_WARNING_TRANS_UNSUPPORTED_SYNCE_CFG",
		3: "PORT_WARNING_PHY_UNSUPPORTED_SYNCE_CFG",
		4: "PORT_WARNING_PHY_UNSUPPORTED_PTP_CFG",
	}
	PortWarningReason_value = map[string]int32{
		"PORT_WARNING_NONE":                        0,
		"PORT_WARNING_TRANS_RX_LOS":                1,
		"PORT_WARNING_TRANS_UNSUPPORTED_SYNCE_CFG": 2,
		"PORT_WARNING_PHY_UNSUPPORTED_SYNCE_CFG":   3,
		"PORT_WARNING_PHY_UNSUPPORTED_PTP_CFG":     4,
	}
)

Enum value maps for PortWarningReason.

View Source
var (
	NotificationRegisterRequest_Operation_name = map[int32]string{
		0: "OPERATION_CREATE",
		1: "OPERATION_DELETE",
		2: "OPERATION_ADD_SUBSCRIPTION",
		3: "OPERATION_DELETE_SUBSCRIPTION",
	}
	NotificationRegisterRequest_Operation_value = map[string]int32{
		"OPERATION_CREATE":              0,
		"OPERATION_DELETE":              1,
		"OPERATION_ADD_SUBSCRIPTION":    2,
		"OPERATION_DELETE_SUBSCRIPTION": 3,
	}
)

Enum value maps for NotificationRegisterRequest_Operation.

View Source
var File_ndk_appid_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_bfd_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_config_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_interface_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_lldp_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_networkinstance_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_nexthop_group_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_route_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_sdk_common_proto protoreflect.FileDescriptor
View Source
var File_ndk_sdk_service_proto protoreflect.FileDescriptor
View Source
var File_ndk_telemetry_service_proto protoreflect.FileDescriptor
View Source
var SdkMgrConfigService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "srlinux.sdk.SdkMgrConfigService",
	HandlerType: (*SdkMgrConfigServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AcknowledgeConfig",
			Handler:    _SdkMgrConfigService_AcknowledgeConfig_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ndk/config_service.proto",
}

SdkMgrConfigService_ServiceDesc is the grpc.ServiceDesc for SdkMgrConfigService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SdkMgrNextHopGroupService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "srlinux.sdk.SdkMgrNextHopGroupService",
	HandlerType: (*SdkMgrNextHopGroupServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "NextHopGroupAddOrUpdate",
			Handler:    _SdkMgrNextHopGroupService_NextHopGroupAddOrUpdate_Handler,
		},
		{
			MethodName: "NextHopGroupDelete",
			Handler:    _SdkMgrNextHopGroupService_NextHopGroupDelete_Handler,
		},
		{
			MethodName: "SyncStart",
			Handler:    _SdkMgrNextHopGroupService_SyncStart_Handler,
		},
		{
			MethodName: "SyncEnd",
			Handler:    _SdkMgrNextHopGroupService_SyncEnd_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ndk/nexthop_group_service.proto",
}

SdkMgrNextHopGroupService_ServiceDesc is the grpc.ServiceDesc for SdkMgrNextHopGroupService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SdkMgrRouteService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "srlinux.sdk.SdkMgrRouteService",
	HandlerType: (*SdkMgrRouteServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "RouteAddOrUpdate",
			Handler:    _SdkMgrRouteService_RouteAddOrUpdate_Handler,
		},
		{
			MethodName: "RouteDelete",
			Handler:    _SdkMgrRouteService_RouteDelete_Handler,
		},
		{
			MethodName: "SyncStart",
			Handler:    _SdkMgrRouteService_SyncStart_Handler,
		},
		{
			MethodName: "SyncEnd",
			Handler:    _SdkMgrRouteService_SyncEnd_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ndk/route_service.proto",
}

SdkMgrRouteService_ServiceDesc is the grpc.ServiceDesc for SdkMgrRouteService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SdkMgrService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "srlinux.sdk.SdkMgrService",
	HandlerType: (*SdkMgrServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "AgentRegister",
			Handler:    _SdkMgrService_AgentRegister_Handler,
		},
		{
			MethodName: "AgentUnRegister",
			Handler:    _SdkMgrService_AgentUnRegister_Handler,
		},
		{
			MethodName: "NotificationRegister",
			Handler:    _SdkMgrService_NotificationRegister_Handler,
		},
		{
			MethodName: "NotificationQuery",
			Handler:    _SdkMgrService_NotificationQuery_Handler,
		},
		{
			MethodName: "KeepAlive",
			Handler:    _SdkMgrService_KeepAlive_Handler,
		},
		{
			MethodName: "GetAppId",
			Handler:    _SdkMgrService_GetAppId_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ndk/sdk_service.proto",
}

SdkMgrService_ServiceDesc is the grpc.ServiceDesc for SdkMgrService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SdkMgrTelemetryService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "srlinux.sdk.SdkMgrTelemetryService",
	HandlerType: (*SdkMgrTelemetryServiceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "TelemetryAddOrUpdate",
			Handler:    _SdkMgrTelemetryService_TelemetryAddOrUpdate_Handler,
		},
		{
			MethodName: "TelemetryDelete",
			Handler:    _SdkMgrTelemetryService_TelemetryDelete_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ndk/telemetry_service.proto",
}

SdkMgrTelemetryService_ServiceDesc is the grpc.ServiceDesc for SdkMgrTelemetryService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SdkNotificationService_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "srlinux.sdk.SdkNotificationService",
	HandlerType: (*SdkNotificationServiceServer)(nil),
	Methods:     []grpc.MethodDesc{},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "NotificationStream",
			Handler:       _SdkNotificationService_NotificationStream_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "ndk/sdk_service.proto",
}

SdkNotificationService_ServiceDesc is the grpc.ServiceDesc for SdkNotificationService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterSdkMgrConfigServiceServer added in v0.3.0

func RegisterSdkMgrConfigServiceServer(s grpc.ServiceRegistrar, srv SdkMgrConfigServiceServer)

func RegisterSdkMgrNextHopGroupServiceServer

func RegisterSdkMgrNextHopGroupServiceServer(s grpc.ServiceRegistrar, srv SdkMgrNextHopGroupServiceServer)

func RegisterSdkMgrRouteServiceServer

func RegisterSdkMgrRouteServiceServer(s grpc.ServiceRegistrar, srv SdkMgrRouteServiceServer)

func RegisterSdkMgrServiceServer

func RegisterSdkMgrServiceServer(s grpc.ServiceRegistrar, srv SdkMgrServiceServer)

func RegisterSdkMgrTelemetryServiceServer

func RegisterSdkMgrTelemetryServiceServer(s grpc.ServiceRegistrar, srv SdkMgrTelemetryServiceServer)

func RegisterSdkNotificationServiceServer

func RegisterSdkNotificationServiceServer(s grpc.ServiceRegistrar, srv SdkNotificationServiceServer)

Types

type AcknowledgeConfigRequest added in v0.3.0

type AcknowledgeConfigRequest struct {
	Infos []*AcknowledgeConfigRequestInfo `protobuf:"bytes,1,rep,name=infos,proto3" json:"infos,omitempty"`
	// contains filtered or unexported fields
}

* Represents config acknowledgment request; each config notification requires its own acknowledgement.

func (*AcknowledgeConfigRequest) Descriptor deprecated added in v0.3.0

func (*AcknowledgeConfigRequest) Descriptor() ([]byte, []int)

Deprecated: Use AcknowledgeConfigRequest.ProtoReflect.Descriptor instead.

func (*AcknowledgeConfigRequest) GetInfos added in v0.3.0

func (*AcknowledgeConfigRequest) ProtoMessage added in v0.3.0

func (*AcknowledgeConfigRequest) ProtoMessage()

func (*AcknowledgeConfigRequest) ProtoReflect added in v0.3.0

func (x *AcknowledgeConfigRequest) ProtoReflect() protoreflect.Message

func (*AcknowledgeConfigRequest) Reset added in v0.3.0

func (x *AcknowledgeConfigRequest) Reset()

func (*AcknowledgeConfigRequest) String added in v0.3.0

func (x *AcknowledgeConfigRequest) String() string

type AcknowledgeConfigRequestInfo added in v0.3.0

type AcknowledgeConfigRequestInfo struct {
	JsPathWithKeys string `protobuf:"bytes,1,opt,name=js_path_with_keys,json=jsPathWithKeys,proto3" json:"js_path_with_keys,omitempty"` // JSON path formatted string from YANG; for example, interface{.name==ethernet1/1}.my_field
	// Types that are assignable to Result:
	//
	//	*AcknowledgeConfigRequestInfo_Error
	//	*AcknowledgeConfigRequestInfo_Warning
	//	*AcknowledgeConfigRequestInfo_Output
	Result isAcknowledgeConfigRequestInfo_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

* Represents configuration acknowledgment request information.

func (*AcknowledgeConfigRequestInfo) Descriptor deprecated added in v0.3.0

func (*AcknowledgeConfigRequestInfo) Descriptor() ([]byte, []int)

Deprecated: Use AcknowledgeConfigRequestInfo.ProtoReflect.Descriptor instead.

func (*AcknowledgeConfigRequestInfo) GetError added in v0.3.0

func (x *AcknowledgeConfigRequestInfo) GetError() string

func (*AcknowledgeConfigRequestInfo) GetJsPathWithKeys added in v0.3.0

func (x *AcknowledgeConfigRequestInfo) GetJsPathWithKeys() string

func (*AcknowledgeConfigRequestInfo) GetOutput added in v0.3.0

func (x *AcknowledgeConfigRequestInfo) GetOutput() string

func (*AcknowledgeConfigRequestInfo) GetResult added in v0.3.0

func (m *AcknowledgeConfigRequestInfo) GetResult() isAcknowledgeConfigRequestInfo_Result

func (*AcknowledgeConfigRequestInfo) GetWarning added in v0.3.0

func (x *AcknowledgeConfigRequestInfo) GetWarning() string

func (*AcknowledgeConfigRequestInfo) ProtoMessage added in v0.3.0

func (*AcknowledgeConfigRequestInfo) ProtoMessage()

func (*AcknowledgeConfigRequestInfo) ProtoReflect added in v0.3.0

func (*AcknowledgeConfigRequestInfo) Reset added in v0.3.0

func (x *AcknowledgeConfigRequestInfo) Reset()

func (*AcknowledgeConfigRequestInfo) String added in v0.3.0

type AcknowledgeConfigRequestInfo_Error added in v0.3.0

type AcknowledgeConfigRequestInfo_Error struct {
	Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type AcknowledgeConfigRequestInfo_Output added in v0.3.0

type AcknowledgeConfigRequestInfo_Output struct {
	Output string `protobuf:"bytes,4,opt,name=output,proto3,oneof"`
}

type AcknowledgeConfigRequestInfo_Warning added in v0.3.0

type AcknowledgeConfigRequestInfo_Warning struct {
	Warning string `protobuf:"bytes,3,opt,name=warning,proto3,oneof"`
}

type AcknowledgeConfigResponse added in v0.3.0

type AcknowledgeConfigResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of commit complete request operation
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error string
	// contains filtered or unexported fields
}

* Represents config complete response.

func (*AcknowledgeConfigResponse) Descriptor deprecated added in v0.3.0

func (*AcknowledgeConfigResponse) Descriptor() ([]byte, []int)

Deprecated: Use AcknowledgeConfigResponse.ProtoReflect.Descriptor instead.

func (*AcknowledgeConfigResponse) GetErrorStr added in v0.3.0

func (x *AcknowledgeConfigResponse) GetErrorStr() string

func (*AcknowledgeConfigResponse) GetStatus added in v0.3.0

func (x *AcknowledgeConfigResponse) GetStatus() SdkMgrStatus

func (*AcknowledgeConfigResponse) ProtoMessage added in v0.3.0

func (*AcknowledgeConfigResponse) ProtoMessage()

func (*AcknowledgeConfigResponse) ProtoReflect added in v0.3.0

func (*AcknowledgeConfigResponse) Reset added in v0.3.0

func (x *AcknowledgeConfigResponse) Reset()

func (*AcknowledgeConfigResponse) String added in v0.3.0

func (x *AcknowledgeConfigResponse) String() string

type AgentRegistrationRequest

type AgentRegistrationRequest struct {
	JsPaths            []string `protobuf:"bytes,1,rep,name=js_paths,json=jsPaths,proto3" json:"js_paths,omitempty"`
	AgentLiveliness    uint32   `protobuf:"varint,2,opt,name=agent_liveliness,json=agentLiveliness,proto3" json:"agent_liveliness,omitempty"`
	WaitConfigAck      bool     `protobuf:"varint,3,opt,name=wait_config_ack,json=waitConfigAck,proto3" json:"wait_config_ack,omitempty"` // Indicate if SRLinux should wait for explicit ack from app after delivering configuration.
	EnableCache        bool     `protobuf:"varint,4,opt,name=enable_cache,json=enableCache,proto3" json:"enable_cache,omitempty"`
	AutoTelemetryState bool     `protobuf:"varint,5,opt,name=auto_telemetry_state,json=autoTelemetryState,proto3" json:"auto_telemetry_state,omitempty"`
	// contains filtered or unexported fields
}

* Represents registration request message used in agent register and unregister.

func (*AgentRegistrationRequest) Descriptor deprecated

func (*AgentRegistrationRequest) Descriptor() ([]byte, []int)

Deprecated: Use AgentRegistrationRequest.ProtoReflect.Descriptor instead.

func (*AgentRegistrationRequest) GetAgentLiveliness

func (x *AgentRegistrationRequest) GetAgentLiveliness() uint32

func (*AgentRegistrationRequest) GetAutoTelemetryState added in v0.4.0

func (x *AgentRegistrationRequest) GetAutoTelemetryState() bool

func (*AgentRegistrationRequest) GetEnableCache added in v0.4.0

func (x *AgentRegistrationRequest) GetEnableCache() bool

func (*AgentRegistrationRequest) GetJsPaths added in v0.5.0

func (x *AgentRegistrationRequest) GetJsPaths() []string

func (*AgentRegistrationRequest) GetWaitConfigAck added in v0.3.0

func (x *AgentRegistrationRequest) GetWaitConfigAck() bool

func (*AgentRegistrationRequest) ProtoMessage

func (*AgentRegistrationRequest) ProtoMessage()

func (*AgentRegistrationRequest) ProtoReflect

func (x *AgentRegistrationRequest) ProtoReflect() protoreflect.Message

func (*AgentRegistrationRequest) Reset

func (x *AgentRegistrationRequest) Reset()

func (*AgentRegistrationRequest) String

func (x *AgentRegistrationRequest) String() string

type AgentRegistrationResponse

type AgentRegistrationResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of the register; for example: kOk, kFailed
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error text
	AppId    uint32       `protobuf:"varint,3,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"`                    // Application ID assigned by SDK manager.
	// contains filtered or unexported fields
}

* Represents registration response in reply to registration request.

func (*AgentRegistrationResponse) Descriptor deprecated

func (*AgentRegistrationResponse) Descriptor() ([]byte, []int)

Deprecated: Use AgentRegistrationResponse.ProtoReflect.Descriptor instead.

func (*AgentRegistrationResponse) GetAppId

func (x *AgentRegistrationResponse) GetAppId() uint32

func (*AgentRegistrationResponse) GetErrorStr

func (x *AgentRegistrationResponse) GetErrorStr() string

func (*AgentRegistrationResponse) GetStatus

func (x *AgentRegistrationResponse) GetStatus() SdkMgrStatus

func (*AgentRegistrationResponse) ProtoMessage

func (*AgentRegistrationResponse) ProtoMessage()

func (*AgentRegistrationResponse) ProtoReflect

func (*AgentRegistrationResponse) Reset

func (x *AgentRegistrationResponse) Reset()

func (*AgentRegistrationResponse) String

func (x *AgentRegistrationResponse) String() string

type AgentReply

type AgentReply struct {
	// contains filtered or unexported fields
}

* Empty message from agent.

func (*AgentReply) Descriptor deprecated

func (*AgentReply) Descriptor() ([]byte, []int)

Deprecated: Use AgentReply.ProtoReflect.Descriptor instead.

func (*AgentReply) ProtoMessage

func (*AgentReply) ProtoMessage()

func (*AgentReply) ProtoReflect

func (x *AgentReply) ProtoReflect() protoreflect.Message

func (*AgentReply) Reset

func (x *AgentReply) Reset()

func (*AgentReply) String

func (x *AgentReply) String() string

type AppIdRequest

type AppIdRequest struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Application name
	// contains filtered or unexported fields
}

* Represents application identifier request from agent. All applications are assigned an identifier by IDB.

func (*AppIdRequest) Descriptor deprecated

func (*AppIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use AppIdRequest.ProtoReflect.Descriptor instead.

func (*AppIdRequest) GetName

func (x *AppIdRequest) GetName() string

func (*AppIdRequest) ProtoMessage

func (*AppIdRequest) ProtoMessage()

func (*AppIdRequest) ProtoReflect

func (x *AppIdRequest) ProtoReflect() protoreflect.Message

func (*AppIdRequest) Reset

func (x *AppIdRequest) Reset()

func (*AppIdRequest) String

func (x *AppIdRequest) String() string

type AppIdResponse

type AppIdResponse struct {
	Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of the call; for example, kOk, kFailed
	Id     uint32       `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`                                       // Identifier for the given application name
	// contains filtered or unexported fields
}

* Represents application identifier response to agent.

func (*AppIdResponse) Descriptor deprecated

func (*AppIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use AppIdResponse.ProtoReflect.Descriptor instead.

func (*AppIdResponse) GetId

func (x *AppIdResponse) GetId() uint32

func (*AppIdResponse) GetStatus

func (x *AppIdResponse) GetStatus() SdkMgrStatus

func (*AppIdResponse) ProtoMessage

func (*AppIdResponse) ProtoMessage()

func (*AppIdResponse) ProtoReflect

func (x *AppIdResponse) ProtoReflect() protoreflect.Message

func (*AppIdResponse) Reset

func (x *AppIdResponse) Reset()

func (*AppIdResponse) String

func (x *AppIdResponse) String() string

type AppIdentData

type AppIdentData struct {
	Name        string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                   // Application name
	Author      string `protobuf:"bytes,2,opt,name=author,proto3" json:"author,omitempty"`                               // Author name
	IsConnected bool   `protobuf:"varint,3,opt,name=is_connected,json=isConnected,proto3" json:"is_connected,omitempty"` // Connected to IDB or not
	Version     string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`                             // Version string
	// contains filtered or unexported fields
}

* Represents appid data.

func (*AppIdentData) Descriptor deprecated

func (*AppIdentData) Descriptor() ([]byte, []int)

Deprecated: Use AppIdentData.ProtoReflect.Descriptor instead.

func (*AppIdentData) GetAuthor

func (x *AppIdentData) GetAuthor() string

func (*AppIdentData) GetIsConnected

func (x *AppIdentData) GetIsConnected() bool

func (*AppIdentData) GetName

func (x *AppIdentData) GetName() string

func (*AppIdentData) GetVersion

func (x *AppIdentData) GetVersion() string

func (*AppIdentData) ProtoMessage

func (*AppIdentData) ProtoMessage()

func (*AppIdentData) ProtoReflect

func (x *AppIdentData) ProtoReflect() protoreflect.Message

func (*AppIdentData) Reset

func (x *AppIdentData) Reset()

func (*AppIdentData) String

func (x *AppIdentData) String() string

type AppIdentKey

type AppIdentKey struct {
	Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // Application id
	// contains filtered or unexported fields
}

* Represents appid key.

func (*AppIdentKey) Descriptor deprecated

func (*AppIdentKey) Descriptor() ([]byte, []int)

Deprecated: Use AppIdentKey.ProtoReflect.Descriptor instead.

func (*AppIdentKey) GetId

func (x *AppIdentKey) GetId() uint32

func (*AppIdentKey) ProtoMessage

func (*AppIdentKey) ProtoMessage()

func (*AppIdentKey) ProtoReflect

func (x *AppIdentKey) ProtoReflect() protoreflect.Message

func (*AppIdentKey) Reset

func (x *AppIdentKey) Reset()

func (*AppIdentKey) String

func (x *AppIdentKey) String() string

type AppIdentNotification

type AppIdentNotification struct {
	Op   SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update
	Key  *AppIdentKey    `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                 // AppIdent key
	Data *AppIdentData   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                               // AppIdent data
	// contains filtered or unexported fields
}

* Represents appid notification.

func (*AppIdentNotification) Descriptor deprecated

func (*AppIdentNotification) Descriptor() ([]byte, []int)

Deprecated: Use AppIdentNotification.ProtoReflect.Descriptor instead.

func (*AppIdentNotification) GetData

func (x *AppIdentNotification) GetData() *AppIdentData

func (*AppIdentNotification) GetKey

func (x *AppIdentNotification) GetKey() *AppIdentKey

func (*AppIdentNotification) GetOp

func (*AppIdentNotification) ProtoMessage

func (*AppIdentNotification) ProtoMessage()

func (*AppIdentNotification) ProtoReflect

func (x *AppIdentNotification) ProtoReflect() protoreflect.Message

func (*AppIdentNotification) Reset

func (x *AppIdentNotification) Reset()

func (*AppIdentNotification) String

func (x *AppIdentNotification) String() string

type AppIdentSubscriptionRequest

type AppIdentSubscriptionRequest struct {
	Key *AppIdentKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name
	// contains filtered or unexported fields
}

* Represents appid subscription request.

func (*AppIdentSubscriptionRequest) Descriptor deprecated

func (*AppIdentSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use AppIdentSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*AppIdentSubscriptionRequest) GetKey

func (*AppIdentSubscriptionRequest) ProtoMessage

func (*AppIdentSubscriptionRequest) ProtoMessage()

func (*AppIdentSubscriptionRequest) ProtoReflect

func (*AppIdentSubscriptionRequest) Reset

func (x *AppIdentSubscriptionRequest) Reset()

func (*AppIdentSubscriptionRequest) String

func (x *AppIdentSubscriptionRequest) String() string

type BfdGeneralSessionData added in v0.5.0

type BfdGeneralSessionData struct {
	Status           BfdSessionStatus                        `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.BfdSessionStatus" json:"status,omitempty"` // Status of the session
	SubscriptionType BfdGeneralSessionData_BfdSessionSubType ``                                                                                                     // Subtype of the session
	/* 167-byte string literal not displayed */
	// source_interface_id is only populated for P2P type
	SourceInterfaceId uint32 `protobuf:"varint,3,opt,name=source_interface_id,json=sourceInterfaceId,proto3" json:"source_interface_id,omitempty"` // Source interface ID
	// contains filtered or unexported fields
}

* Represents BFD session data.

func (*BfdGeneralSessionData) Descriptor deprecated added in v0.5.0

func (*BfdGeneralSessionData) Descriptor() ([]byte, []int)

Deprecated: Use BfdGeneralSessionData.ProtoReflect.Descriptor instead.

func (*BfdGeneralSessionData) GetSourceInterfaceId added in v0.5.0

func (x *BfdGeneralSessionData) GetSourceInterfaceId() uint32

func (*BfdGeneralSessionData) GetStatus added in v0.5.0

func (x *BfdGeneralSessionData) GetStatus() BfdSessionStatus

func (*BfdGeneralSessionData) GetSubscriptionType added in v0.5.0

func (*BfdGeneralSessionData) ProtoMessage added in v0.5.0

func (*BfdGeneralSessionData) ProtoMessage()

func (*BfdGeneralSessionData) ProtoReflect added in v0.5.0

func (x *BfdGeneralSessionData) ProtoReflect() protoreflect.Message

func (*BfdGeneralSessionData) Reset added in v0.5.0

func (x *BfdGeneralSessionData) Reset()

func (*BfdGeneralSessionData) String added in v0.5.0

func (x *BfdGeneralSessionData) String() string

type BfdGeneralSessionData_BfdSessionSubType added in v0.5.0

type BfdGeneralSessionData_BfdSessionSubType int32

Represents BFD session subtype.

const (
	BfdGeneralSessionData_BFD_SESSION_SUB_TYPE_UNKNOWN    BfdGeneralSessionData_BfdSessionSubType = 0 // Session subtype unknown
	BfdGeneralSessionData_BFD_SESSION_SUB_TYPE_SINGLE_HOP BfdGeneralSessionData_BfdSessionSubType = 1 // Single-hop session
	BfdGeneralSessionData_BFD_SESSION_SUB_TYPE_MULTI_HOP  BfdGeneralSessionData_BfdSessionSubType = 2 // Multi-hop session
	BfdGeneralSessionData_BFD_SESSION_SUB_TYPE_MICROBFD   BfdGeneralSessionData_BfdSessionSubType = 3 // microbfd session
	BfdGeneralSessionData_BFD_SESSION_SUB_TYPE_SBFD_ECHO  BfdGeneralSessionData_BfdSessionSubType = 4 // microbfd session
)

func (BfdGeneralSessionData_BfdSessionSubType) Descriptor added in v0.5.0

func (BfdGeneralSessionData_BfdSessionSubType) Enum added in v0.5.0

func (BfdGeneralSessionData_BfdSessionSubType) EnumDescriptor deprecated added in v0.5.0

func (BfdGeneralSessionData_BfdSessionSubType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BfdGeneralSessionData_BfdSessionSubType.Descriptor instead.

func (BfdGeneralSessionData_BfdSessionSubType) Number added in v0.5.0

func (BfdGeneralSessionData_BfdSessionSubType) String added in v0.5.0

func (BfdGeneralSessionData_BfdSessionSubType) Type added in v0.5.0

type BfdGeneralSessionKey added in v0.5.0

type BfdGeneralSessionKey struct {

	// type is always present, other key field presence is determined by type
	Type BfdSessionType `protobuf:"varint,10,opt,name=type,proto3,enum=srlinux.sdk.BfdSessionType" json:"type,omitempty"` // Session type
	// Types that are assignable to Key:
	//
	//	*BfdGeneralSessionKey_P2P
	//	*BfdGeneralSessionKey_Microbfd
	//	*BfdGeneralSessionKey_Sbfdecho
	Key isBfdGeneralSessionKey_Key `protobuf_oneof:"key"`
	// contains filtered or unexported fields
}

* Represents BFD session key.

func (*BfdGeneralSessionKey) Descriptor deprecated added in v0.5.0

func (*BfdGeneralSessionKey) Descriptor() ([]byte, []int)

Deprecated: Use BfdGeneralSessionKey.ProtoReflect.Descriptor instead.

func (*BfdGeneralSessionKey) GetKey added in v0.5.0

func (m *BfdGeneralSessionKey) GetKey() isBfdGeneralSessionKey_Key

func (*BfdGeneralSessionKey) GetMicrobfd added in v0.5.0

func (*BfdGeneralSessionKey) GetP2P added in v0.5.0

func (*BfdGeneralSessionKey) GetSbfdecho added in v0.5.0

func (*BfdGeneralSessionKey) GetType added in v0.5.0

func (x *BfdGeneralSessionKey) GetType() BfdSessionType

func (*BfdGeneralSessionKey) ProtoMessage added in v0.5.0

func (*BfdGeneralSessionKey) ProtoMessage()

func (*BfdGeneralSessionKey) ProtoReflect added in v0.5.0

func (x *BfdGeneralSessionKey) ProtoReflect() protoreflect.Message

func (*BfdGeneralSessionKey) Reset added in v0.5.0

func (x *BfdGeneralSessionKey) Reset()

func (*BfdGeneralSessionKey) String added in v0.5.0

func (x *BfdGeneralSessionKey) String() string

type BfdGeneralSessionKey_Microbfd added in v0.5.0

type BfdGeneralSessionKey_Microbfd struct {
	Microbfd *BfdGeneralSessionKey_MicrobfdKey `protobuf:"bytes,30,opt,name=microbfd,proto3,oneof"`
}

type BfdGeneralSessionKey_MicrobfdKey added in v0.5.0

type BfdGeneralSessionKey_MicrobfdKey struct {
	InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"`
	// contains filtered or unexported fields
}

func (*BfdGeneralSessionKey_MicrobfdKey) Descriptor deprecated added in v0.5.0

func (*BfdGeneralSessionKey_MicrobfdKey) Descriptor() ([]byte, []int)

Deprecated: Use BfdGeneralSessionKey_MicrobfdKey.ProtoReflect.Descriptor instead.

func (*BfdGeneralSessionKey_MicrobfdKey) GetInterfaceName added in v0.5.0

func (x *BfdGeneralSessionKey_MicrobfdKey) GetInterfaceName() string

func (*BfdGeneralSessionKey_MicrobfdKey) ProtoMessage added in v0.5.0

func (*BfdGeneralSessionKey_MicrobfdKey) ProtoMessage()

func (*BfdGeneralSessionKey_MicrobfdKey) ProtoReflect added in v0.5.0

func (*BfdGeneralSessionKey_MicrobfdKey) Reset added in v0.5.0

func (*BfdGeneralSessionKey_MicrobfdKey) String added in v0.5.0

type BfdGeneralSessionKey_P2P added in v0.5.0

type BfdGeneralSessionKey_P2P struct {
	P2P *BfdGeneralSessionKey_P2PKey `protobuf:"bytes,20,opt,name=p2p,proto3,oneof"`
}

type BfdGeneralSessionKey_P2PKey added in v0.5.0

type BfdGeneralSessionKey_P2PKey struct {
	SourceIpAddress                   *IpAddressPb `protobuf:"bytes,1,opt,name=source_ip_address,json=sourceIpAddress,proto3" json:"source_ip_address,omitempty"`                // Source IP address of the session
	DestinationIpAddress              *IpAddressPb `protobuf:"bytes,2,opt,name=destination_ip_address,json=destinationIpAddress,proto3" json:"destination_ip_address,omitempty"` // Destination IP address of the session
	InstanceId                        uint32       `protobuf:"varint,3,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"`                                // Network instance identifier
	Ipv4UnnumberedOrIpv6LlInterfaceId uint32       ``                                                                                                                            // Global if id for ipv4 unnumbered or ipv6 link local
	/* 171-byte string literal not displayed */
	// session, otherwise 0
	SpecifiedDiscriminator bool `` // True if discriminators are specified
	/* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*BfdGeneralSessionKey_P2PKey) Descriptor deprecated added in v0.5.0

func (*BfdGeneralSessionKey_P2PKey) Descriptor() ([]byte, []int)

Deprecated: Use BfdGeneralSessionKey_P2PKey.ProtoReflect.Descriptor instead.

func (*BfdGeneralSessionKey_P2PKey) GetDestinationIpAddress added in v0.5.0

func (x *BfdGeneralSessionKey_P2PKey) GetDestinationIpAddress() *IpAddressPb

func (*BfdGeneralSessionKey_P2PKey) GetInstanceId added in v0.5.0

func (x *BfdGeneralSessionKey_P2PKey) GetInstanceId() uint32

func (*BfdGeneralSessionKey_P2PKey) GetIpv4UnnumberedOrIpv6LlInterfaceId added in v0.5.0

func (x *BfdGeneralSessionKey_P2PKey) GetIpv4UnnumberedOrIpv6LlInterfaceId() uint32

func (*BfdGeneralSessionKey_P2PKey) GetSourceIpAddress added in v0.5.0

func (x *BfdGeneralSessionKey_P2PKey) GetSourceIpAddress() *IpAddressPb

func (*BfdGeneralSessionKey_P2PKey) GetSpecifiedDiscriminator added in v0.5.0

func (x *BfdGeneralSessionKey_P2PKey) GetSpecifiedDiscriminator() bool

func (*BfdGeneralSessionKey_P2PKey) ProtoMessage added in v0.5.0

func (*BfdGeneralSessionKey_P2PKey) ProtoMessage()

func (*BfdGeneralSessionKey_P2PKey) ProtoReflect added in v0.5.0

func (*BfdGeneralSessionKey_P2PKey) Reset added in v0.5.0

func (x *BfdGeneralSessionKey_P2PKey) Reset()

func (*BfdGeneralSessionKey_P2PKey) String added in v0.5.0

func (x *BfdGeneralSessionKey_P2PKey) String() string

type BfdGeneralSessionKey_Sbfdecho added in v0.5.0

type BfdGeneralSessionKey_Sbfdecho struct {
	Sbfdecho *BfdGeneralSessionKey_SbfdechoKey `protobuf:"bytes,40,opt,name=sbfdecho,proto3,oneof"`
}

type BfdGeneralSessionKey_SbfdechoKey added in v0.5.0

type BfdGeneralSessionKey_SbfdechoKey struct {
	InstanceId            uint32                                            `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Network instance identifier
	SrPolicySegmentListId uint32                                            ``                                                                                             /* 131-byte string literal not displayed */
	PolicyName            string                                            `protobuf:"bytes,3,opt,name=policy_name,json=policyName,proto3" json:"policy_name,omitempty"`
	UserType              BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType `` /* 153-byte string literal not displayed */
	SrPolicyEndpoint      *IpAddressPb                                      `protobuf:"bytes,5,opt,name=sr_policy_endpoint,json=srPolicyEndpoint,proto3" json:"sr_policy_endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*BfdGeneralSessionKey_SbfdechoKey) Descriptor deprecated added in v0.5.0

func (*BfdGeneralSessionKey_SbfdechoKey) Descriptor() ([]byte, []int)

Deprecated: Use BfdGeneralSessionKey_SbfdechoKey.ProtoReflect.Descriptor instead.

func (*BfdGeneralSessionKey_SbfdechoKey) GetInstanceId added in v0.5.0

func (x *BfdGeneralSessionKey_SbfdechoKey) GetInstanceId() uint32

func (*BfdGeneralSessionKey_SbfdechoKey) GetPolicyName added in v0.5.0

func (x *BfdGeneralSessionKey_SbfdechoKey) GetPolicyName() string

func (*BfdGeneralSessionKey_SbfdechoKey) GetSrPolicyEndpoint added in v0.5.0

func (x *BfdGeneralSessionKey_SbfdechoKey) GetSrPolicyEndpoint() *IpAddressPb

func (*BfdGeneralSessionKey_SbfdechoKey) GetSrPolicySegmentListId added in v0.5.0

func (x *BfdGeneralSessionKey_SbfdechoKey) GetSrPolicySegmentListId() uint32

func (*BfdGeneralSessionKey_SbfdechoKey) GetUserType added in v0.5.0

func (*BfdGeneralSessionKey_SbfdechoKey) ProtoMessage added in v0.5.0

func (*BfdGeneralSessionKey_SbfdechoKey) ProtoMessage()

func (*BfdGeneralSessionKey_SbfdechoKey) ProtoReflect added in v0.5.0

func (*BfdGeneralSessionKey_SbfdechoKey) Reset added in v0.5.0

func (*BfdGeneralSessionKey_SbfdechoKey) String added in v0.5.0

type BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType added in v0.5.0

type BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType int32
const (
	BfdGeneralSessionKey_SbfdechoKey_SRPOLICY_USER_TYPE_LOCAL     BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType = 0
	BfdGeneralSessionKey_SbfdechoKey_SRPOLICY_USER_TYPE_TYPE_PCEP BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType = 1
)

func (BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType) Descriptor added in v0.5.0

func (BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType) Enum added in v0.5.0

func (BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType) EnumDescriptor deprecated added in v0.5.0

Deprecated: Use BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType.Descriptor instead.

func (BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType) Number added in v0.5.0

func (BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType) String added in v0.5.0

func (BfdGeneralSessionKey_SbfdechoKey_SrpolicyUserType) Type added in v0.5.0

type BfdSessionNotification

type BfdSessionNotification struct {
	Op   SdkMgrOperation        `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as session create, delete, or update
	Key  *BfdGeneralSessionKey  `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                 // Session key
	Data *BfdGeneralSessionData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                               // Session data
	// contains filtered or unexported fields
}

* Represents BFD session notification.

func (*BfdSessionNotification) Descriptor deprecated

func (*BfdSessionNotification) Descriptor() ([]byte, []int)

Deprecated: Use BfdSessionNotification.ProtoReflect.Descriptor instead.

func (*BfdSessionNotification) GetData

func (*BfdSessionNotification) GetKey

func (*BfdSessionNotification) GetOp

func (*BfdSessionNotification) ProtoMessage

func (*BfdSessionNotification) ProtoMessage()

func (*BfdSessionNotification) ProtoReflect

func (x *BfdSessionNotification) ProtoReflect() protoreflect.Message

func (*BfdSessionNotification) Reset

func (x *BfdSessionNotification) Reset()

func (*BfdSessionNotification) String

func (x *BfdSessionNotification) String() string

type BfdSessionStatus added in v0.5.0

type BfdSessionStatus int32

Represents BFD session status.

const (
	BfdSessionStatus_BFD_SESSION_STATUS_INVALID    BfdSessionStatus = 0 // Session invalid/unspecified
	BfdSessionStatus_BFD_SESSION_STATUS_ADMIN_DOWN BfdSessionStatus = 1 // Admin down
	BfdSessionStatus_BFD_SESSION_STATUS_DOWN       BfdSessionStatus = 2 // Status down
	BfdSessionStatus_BFD_SESSION_STATUS_INIT       BfdSessionStatus = 3 // Status initializing
	BfdSessionStatus_BFD_SESSION_STATUS_UP         BfdSessionStatus = 4 // Status up and running
)

func (BfdSessionStatus) Descriptor added in v0.5.0

func (BfdSessionStatus) Enum added in v0.5.0

func (BfdSessionStatus) EnumDescriptor deprecated added in v0.5.0

func (BfdSessionStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use BfdSessionStatus.Descriptor instead.

func (BfdSessionStatus) Number added in v0.5.0

func (BfdSessionStatus) String added in v0.5.0

func (x BfdSessionStatus) String() string

func (BfdSessionStatus) Type added in v0.5.0

type BfdSessionSubscriptionRequest

type BfdSessionSubscriptionRequest struct {
	Key *BfdGeneralSessionKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name
	// contains filtered or unexported fields
}

* Represents BFD session subscription request.

func (*BfdSessionSubscriptionRequest) Descriptor deprecated

func (*BfdSessionSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use BfdSessionSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*BfdSessionSubscriptionRequest) GetKey

func (*BfdSessionSubscriptionRequest) ProtoMessage

func (*BfdSessionSubscriptionRequest) ProtoMessage()

func (*BfdSessionSubscriptionRequest) ProtoReflect

func (*BfdSessionSubscriptionRequest) Reset

func (x *BfdSessionSubscriptionRequest) Reset()

func (*BfdSessionSubscriptionRequest) String

type BfdSessionType added in v0.5.0

type BfdSessionType int32

Represents BFD session type.

const (
	BfdSessionType_BFD_SESSION_TYPE_UNKNOWN   BfdSessionType = 0 // Unknown session type
	BfdSessionType_BFD_SESSION_TYPE_P2P       BfdSessionType = 1 // Peer-to-peer session type
	BfdSessionType_BFD_SESSION_TYPE_MICROBFD  BfdSessionType = 2 // microbfd session type
	BfdSessionType_BFD_SESSION_TYPE_SBFD_ECHO BfdSessionType = 3 // seamless BFD session type, echo initiator
)

func (BfdSessionType) Descriptor added in v0.5.0

func (BfdSessionType) Enum added in v0.5.0

func (x BfdSessionType) Enum() *BfdSessionType

func (BfdSessionType) EnumDescriptor deprecated added in v0.5.0

func (BfdSessionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use BfdSessionType.Descriptor instead.

func (BfdSessionType) Number added in v0.5.0

func (BfdSessionType) String added in v0.5.0

func (x BfdSessionType) String() string

func (BfdSessionType) Type added in v0.5.0

type ConfigData

type ConfigData struct {

	// Types that are assignable to DataType:
	//
	//	*ConfigData_Json
	//	*ConfigData_Data
	DataType isConfigData_DataType `protobuf_oneof:"data_type"`
	// contains filtered or unexported fields
}

* Represents configuration data.

func (*ConfigData) Descriptor deprecated

func (*ConfigData) Descriptor() ([]byte, []int)

Deprecated: Use ConfigData.ProtoReflect.Descriptor instead.

func (*ConfigData) GetData added in v0.1.1

func (x *ConfigData) GetData() []byte

func (*ConfigData) GetDataType added in v0.1.1

func (m *ConfigData) GetDataType() isConfigData_DataType

func (*ConfigData) GetJson

func (x *ConfigData) GetJson() string

func (*ConfigData) ProtoMessage

func (*ConfigData) ProtoMessage()

func (*ConfigData) ProtoReflect

func (x *ConfigData) ProtoReflect() protoreflect.Message

func (*ConfigData) Reset

func (x *ConfigData) Reset()

func (*ConfigData) String

func (x *ConfigData) String() string

type ConfigData_Data added in v0.1.1

type ConfigData_Data struct {
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"` // Entire configuration fragment as binary data
}

type ConfigData_Json added in v0.1.1

type ConfigData_Json struct {
	Json string `protobuf:"bytes,1,opt,name=json,proto3,oneof"` // Entire configuration fragment as JSON string
}

type ConfigKey

type ConfigKey struct {
	JsPath         string   `protobuf:"bytes,1,opt,name=js_path,json=jsPath,proto3" json:"js_path,omitempty"`                             // JSON path formatted string from YANG; for example, interface.my_field
	Keys           []string `protobuf:"bytes,2,rep,name=keys,proto3" json:"keys,omitempty"`                                               // Value for keys
	JsPathWithKeys string   `protobuf:"bytes,3,opt,name=js_path_with_keys,json=jsPathWithKeys,proto3" json:"js_path_with_keys,omitempty"` // JSON path formatted string from YANG; for example, interface{.name==ethernet1/1}.my_field
	// contains filtered or unexported fields
}

* Represents configuration key.

func (*ConfigKey) Descriptor deprecated

func (*ConfigKey) Descriptor() ([]byte, []int)

Deprecated: Use ConfigKey.ProtoReflect.Descriptor instead.

func (*ConfigKey) GetJsPath

func (x *ConfigKey) GetJsPath() string

func (*ConfigKey) GetJsPathWithKeys added in v0.2.0

func (x *ConfigKey) GetJsPathWithKeys() string

func (*ConfigKey) GetKeys

func (x *ConfigKey) GetKeys() []string

func (*ConfigKey) ProtoMessage

func (*ConfigKey) ProtoMessage()

func (*ConfigKey) ProtoReflect

func (x *ConfigKey) ProtoReflect() protoreflect.Message

func (*ConfigKey) Reset

func (x *ConfigKey) Reset()

func (*ConfigKey) String

func (x *ConfigKey) String() string

type ConfigNotification

type ConfigNotification struct {
	Op   SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation indicating create, delete, or update
	Key  *ConfigKey      `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                 // Configuration key
	Data *ConfigData     `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                               // Configuration data
	// contains filtered or unexported fields
}

* Represents configuration notification message to subscribe to configuration events

func (*ConfigNotification) Descriptor deprecated

func (*ConfigNotification) Descriptor() ([]byte, []int)

Deprecated: Use ConfigNotification.ProtoReflect.Descriptor instead.

func (*ConfigNotification) GetData

func (x *ConfigNotification) GetData() *ConfigData

func (*ConfigNotification) GetKey

func (x *ConfigNotification) GetKey() *ConfigKey

func (*ConfigNotification) GetOp

func (*ConfigNotification) ProtoMessage

func (*ConfigNotification) ProtoMessage()

func (*ConfigNotification) ProtoReflect

func (x *ConfigNotification) ProtoReflect() protoreflect.Message

func (*ConfigNotification) Reset

func (x *ConfigNotification) Reset()

func (*ConfigNotification) String

func (x *ConfigNotification) String() string

type ConfigSubscriptionRequest

type ConfigSubscriptionRequest struct {
	Key *ConfigKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name
	// contains filtered or unexported fields
}

* Represents configuration subscription request.

func (*ConfigSubscriptionRequest) Descriptor deprecated

func (*ConfigSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ConfigSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*ConfigSubscriptionRequest) GetKey

func (x *ConfigSubscriptionRequest) GetKey() *ConfigKey

func (*ConfigSubscriptionRequest) ProtoMessage

func (*ConfigSubscriptionRequest) ProtoMessage()

func (*ConfigSubscriptionRequest) ProtoReflect

func (*ConfigSubscriptionRequest) Reset

func (x *ConfigSubscriptionRequest) Reset()

func (*ConfigSubscriptionRequest) String

func (x *ConfigSubscriptionRequest) String() string

type EvpnEthSegIdPb

type EvpnEthSegIdPb struct {
	EsId []byte `protobuf:"bytes,1,opt,name=es_id,json=esId,proto3" json:"es_id,omitempty"` //Type 0 for now. hard-coded id
	// contains filtered or unexported fields
}

func (*EvpnEthSegIdPb) Descriptor deprecated

func (*EvpnEthSegIdPb) Descriptor() ([]byte, []int)

Deprecated: Use EvpnEthSegIdPb.ProtoReflect.Descriptor instead.

func (*EvpnEthSegIdPb) GetEsId

func (x *EvpnEthSegIdPb) GetEsId() []byte

func (*EvpnEthSegIdPb) ProtoMessage

func (*EvpnEthSegIdPb) ProtoMessage()

func (*EvpnEthSegIdPb) ProtoReflect

func (x *EvpnEthSegIdPb) ProtoReflect() protoreflect.Message

func (*EvpnEthSegIdPb) Reset

func (x *EvpnEthSegIdPb) Reset()

func (*EvpnEthSegIdPb) String

func (x *EvpnEthSegIdPb) String() string

type GlobalIfId

type GlobalIfId struct {
	GlobalIfId uint32 `protobuf:"varint,1,opt,name=global_if_id,json=globalIfId,proto3" json:"global_if_id,omitempty"` // Global interface identifier
	// contains filtered or unexported fields
}

* Represents global interface identifier.

func (*GlobalIfId) Descriptor deprecated

func (*GlobalIfId) Descriptor() ([]byte, []int)

Deprecated: Use GlobalIfId.ProtoReflect.Descriptor instead.

func (*GlobalIfId) GetGlobalIfId

func (x *GlobalIfId) GetGlobalIfId() uint32

func (*GlobalIfId) ProtoMessage

func (*GlobalIfId) ProtoMessage()

func (*GlobalIfId) ProtoReflect

func (x *GlobalIfId) ProtoReflect() protoreflect.Message

func (*GlobalIfId) Reset

func (x *GlobalIfId) Reset()

func (*GlobalIfId) String

func (x *GlobalIfId) String() string

type IfEthernetDuplexModeType

type IfEthernetDuplexModeType int32

* Represents interface ethernet duplex mode. Corresponds to yang values

const (
	IfEthernetDuplexModeType_IF_ETH_DUPLEX_MODE_UNSET IfEthernetDuplexModeType = 0 // duplex mode not supported
	IfEthernetDuplexModeType_IF_ETH_DUPLEX_MODE_FULL  IfEthernetDuplexModeType = 1
	IfEthernetDuplexModeType_IF_ETH_DUPLEX_MODE_HALF  IfEthernetDuplexModeType = 2
)

func (IfEthernetDuplexModeType) Descriptor

func (IfEthernetDuplexModeType) Enum

func (IfEthernetDuplexModeType) EnumDescriptor deprecated

func (IfEthernetDuplexModeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IfEthernetDuplexModeType.Descriptor instead.

func (IfEthernetDuplexModeType) Number

func (IfEthernetDuplexModeType) String

func (x IfEthernetDuplexModeType) String() string

func (IfEthernetDuplexModeType) Type

type IfEthernetPortSpeedType

type IfEthernetPortSpeedType int32

* Represents interface ethernet port speed. Corresponds to yang values

const (
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_UNSET IfEthernetPortSpeedType = 0 // Speed unknown
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_10M   IfEthernetPortSpeedType = 1
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_100M  IfEthernetPortSpeedType = 2
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_1G    IfEthernetPortSpeedType = 3
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_10G   IfEthernetPortSpeedType = 4
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_25G   IfEthernetPortSpeedType = 5
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_40G   IfEthernetPortSpeedType = 6
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_50G   IfEthernetPortSpeedType = 7
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_100G  IfEthernetPortSpeedType = 8
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_200G  IfEthernetPortSpeedType = 9
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_400G  IfEthernetPortSpeedType = 10
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_1T    IfEthernetPortSpeedType = 11
	IfEthernetPortSpeedType_IF_ETH_PORT_SPEED_800G  IfEthernetPortSpeedType = 12
)

func (IfEthernetPortSpeedType) Descriptor

func (IfEthernetPortSpeedType) Enum

func (IfEthernetPortSpeedType) EnumDescriptor deprecated

func (IfEthernetPortSpeedType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IfEthernetPortSpeedType.Descriptor instead.

func (IfEthernetPortSpeedType) Number

func (IfEthernetPortSpeedType) String

func (x IfEthernetPortSpeedType) String() string

func (IfEthernetPortSpeedType) Type

type IfLoopbackModeType added in v0.2.0

type IfLoopbackModeType int32

* Represents interface loopback mode. Corresponds to yang values

const (
	IfLoopbackModeType_IF_LOOPBACK_MODE_UNSET    IfLoopbackModeType = 0 // loopback mode not supported
	IfLoopbackModeType_IF_LOOPBACK_MODE_NONE     IfLoopbackModeType = 1
	IfLoopbackModeType_IF_LOOPBACK_MODE_FACILITY IfLoopbackModeType = 2
	IfLoopbackModeType_IF_LOOPBACK_MODE_TERMINAL IfLoopbackModeType = 3
)

func (IfLoopbackModeType) Descriptor added in v0.2.0

func (IfLoopbackModeType) Enum added in v0.2.0

func (IfLoopbackModeType) EnumDescriptor deprecated added in v0.2.0

func (IfLoopbackModeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IfLoopbackModeType.Descriptor instead.

func (IfLoopbackModeType) Number added in v0.2.0

func (IfLoopbackModeType) String added in v0.2.0

func (x IfLoopbackModeType) String() string

func (IfLoopbackModeType) Type added in v0.2.0

type IfMgrIfType

type IfMgrIfType int32

* Represents interface type.

const (
	IfMgrIfType_ETHERNET    IfMgrIfType = 0  // Ethernet interface
	IfMgrIfType_LOOPBACK    IfMgrIfType = 1  // Loopback interface
	IfMgrIfType_MANAGEMENT  IfMgrIfType = 2  // Management interface
	IfMgrIfType_AGGREGATE   IfMgrIfType = 3  // Aggregate(LAG) interface
	IfMgrIfType_IRB         IfMgrIfType = 4  // Integrated Routing and Bridging (IRB) interface
	IfMgrIfType_SYSTEM      IfMgrIfType = 5  // System interface
	IfMgrIfType_LIF         IfMgrIfType = 6  // linux interface
	IfMgrIfType_NIC         IfMgrIfType = 7  // linux nic interface (bus/dev/fn)
	IfMgrIfType_VHOST       IfMgrIfType = 8  // vhost-net interface, vhn-<name> name for sock-path
	IfMgrIfType_KKLIF       IfMgrIfType = 9  // temp name for new style of lif interface
	IfMgrIfType_KKVHOST     IfMgrIfType = 10 // temp name for new style of vhost interface
	IfMgrIfType_SYNC        IfMgrIfType = 11 // 1588 sync interface
	IfMgrIfType_IF_TYPE_MAX IfMgrIfType = 12
)

func (IfMgrIfType) Descriptor

func (IfMgrIfType) Enum

func (x IfMgrIfType) Enum() *IfMgrIfType

func (IfMgrIfType) EnumDescriptor deprecated

func (IfMgrIfType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IfMgrIfType.Descriptor instead.

func (IfMgrIfType) Number

func (x IfMgrIfType) Number() protoreflect.EnumNumber

func (IfMgrIfType) String

func (x IfMgrIfType) String() string

func (IfMgrIfType) Type

type IfOperDownReason

type IfOperDownReason int32
const (
	IfOperDownReason_IF_OPER_DOWN_NONE                               IfOperDownReason = 0
	IfOperDownReason_IF_OPER_DOWN_PORT_ADMIN_DISABLED                IfOperDownReason = 1
	IfOperDownReason_IF_OPER_DOWN_MDA_ADMIN_DISABLED                 IfOperDownReason = 2
	IfOperDownReason_IF_OPER_DOWN_TRANS_LASER_DISABLED               IfOperDownReason = 3
	IfOperDownReason_IF_OPER_DOWN_MDA_NOT_PRESENT                    IfOperDownReason = 4
	IfOperDownReason_IF_OPER_DOWN_TRANS_NOT_PRESENT                  IfOperDownReason = 5
	IfOperDownReason_IF_OPER_DOWN_PHY_INIT                           IfOperDownReason = 6
	IfOperDownReason_IF_OPER_DOWN_LOWER_LAYER_DOWN                   IfOperDownReason = 7
	IfOperDownReason_IF_OPER_DOWN_MTU_RESOURCES                      IfOperDownReason = 8
	IfOperDownReason_IF_OPER_DOWN_UNSUPPORTED_SPEED                  IfOperDownReason = 9
	IfOperDownReason_IF_OPER_DOWN_UNSUPPORTED_TRANS_FEC              IfOperDownReason = 10
	IfOperDownReason_IF_OPER_DOWN_OTHER                              IfOperDownReason = 11
	IfOperDownReason_IF_OPER_DOWN_PORT_NOT_PRESENT                   IfOperDownReason = 12 // used internally by chassis mgr only - xdp never publish to IDB!
	IfOperDownReason_IF_OPER_DOWN_FABRIC_AVAILABILITY                IfOperDownReason = 13 // used internally by chassis mgr only - xdp never publish to IDB!
	IfOperDownReason_IF_OPER_DOWN_NO_ACTIVE_LINKS                    IfOperDownReason = 14 // lag interface only
	IfOperDownReason_IF_OPER_DOWN_MIN_LINK_THRESHOLD                 IfOperDownReason = 15 // lag interface only
	IfOperDownReason_IF_OPER_DOWN_9_12_SPEED_MISMATCH                IfOperDownReason = 16 // Vodka port 9-12 must all be same speed as port 9
	IfOperDownReason_IF_OPER_DOWN_LAG_RESOURCES                      IfOperDownReason = 17 // lag interface only
	IfOperDownReason_IF_OPER_DOWN_LAG_MEMBER_RESOURCES               IfOperDownReason = 18 // lag member interface only
	IfOperDownReason_IF_OPER_DOWN_STANDBY_SIGNALING                  IfOperDownReason = 19 // ESM multihoming
	IfOperDownReason_IF_OPER_DOWN_HOLD_TIME_UP_ACTIVE                IfOperDownReason = 20 // interface hold-time up is actively holding the interface down
	IfOperDownReason_IF_OPER_DOWN_RELOAD_TIME_ACTIVE                 IfOperDownReason = 21 // interface reload time is actively holding the interface down
	IfOperDownReason_IF_OPER_DOWN_CONNECTOR_DOWN                     IfOperDownReason = 22 // parent connector oper down forces breakout port oper down
	IfOperDownReason_IF_OPER_DOWN_AUTO_NEG_MISMATCH                  IfOperDownReason = 23
	IfOperDownReason_IF_OPER_DOWN_EVENT_HANDLER                      IfOperDownReason = 24 // used internally by chassis mgr only - xdp never publish to IDB!
	IfOperDownReason_IF_OPER_DOWN_UNSUPPORTED_BREAKOUT               IfOperDownReason = 25 // interface doesn't support breakout config
	IfOperDownReason_IF_OPER_DOWN_CFM_CCM_DEFECT                     IfOperDownReason = 26
	IfOperDownReason_IF_OPER_DOWN_CRC_MON_FAIL_THRESH                IfOperDownReason = 27 // crc-monitor signal failure threshold exceeded
	IfOperDownReason_IF_OPER_DOWN_SYMBOL_MON_FAIL_THRESH             IfOperDownReason = 28 // symbol-monitor signal failure threshold exceeded
	IfOperDownReason_IF_OPER_DOWN_LINK_LOSS_FORWARDING               IfOperDownReason = 29 // related to evpn-vpws mpls
	IfOperDownReason_IF_OPER_DOWN_TRANS_DOWN                         IfOperDownReason = 30
	IfOperDownReason_IF_OPER_DOWN_STORM_CONTROL_ACTION               IfOperDownReason = 31
	IfOperDownReason_IF_OPER_DOWN_UNSUPPORTED_NUM_CHANNELS_FOR_SPEED IfOperDownReason = 32
)

func (IfOperDownReason) Descriptor

func (IfOperDownReason) Enum

func (IfOperDownReason) EnumDescriptor deprecated

func (IfOperDownReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use IfOperDownReason.Descriptor instead.

func (IfOperDownReason) Number

func (IfOperDownReason) String

func (x IfOperDownReason) String() string

func (IfOperDownReason) Type

type IfOperStateType

type IfOperStateType int32

* Represents interface operational state.

const (
	IfOperStateType_IF_OPER_STATE_UP               IfOperStateType = 0 // Interface operational state up
	IfOperStateType_IF_OPER_STATE_DOWN             IfOperStateType = 1 // Interface operational state down
	IfOperStateType_IF_OPER_STATE_TESTING          IfOperStateType = 2 // Interface operational state testing
	IfOperStateType_IF_OPER_STATE_UNKNOWN          IfOperStateType = 3 // Interface operational state unknown
	IfOperStateType_IF_OPER_STATE_DORMANT          IfOperStateType = 4 // Interface operational state dormant
	IfOperStateType_IF_OPER_STATE_NOT_PRESENT      IfOperStateType = 5 // Interface operational state not present
	IfOperStateType_IF_OPER_STATE_LOWER_LAYER_DOWN IfOperStateType = 6 // Interface operational state lower layer down
)

func (IfOperStateType) Descriptor

func (IfOperStateType) Enum

func (x IfOperStateType) Enum() *IfOperStateType

func (IfOperStateType) EnumDescriptor deprecated

func (IfOperStateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IfOperStateType.Descriptor instead.

func (IfOperStateType) Number

func (IfOperStateType) String

func (x IfOperStateType) String() string

func (IfOperStateType) Type

type IfTransceiverFecType

type IfTransceiverFecType int32

* Represents interface transceiver fec. Corresponds to yang values

const (
	IfTransceiverFecType_IF_TRANS_FEC_UNSET       IfTransceiverFecType = 0 // Fec unknown
	IfTransceiverFecType_IF_TRANS_FEC_DISABLED    IfTransceiverFecType = 1
	IfTransceiverFecType_IF_TRANS_FEC_CL91_RS528  IfTransceiverFecType = 2
	IfTransceiverFecType_IF_TRANS_FEC_RS544       IfTransceiverFecType = 3 // Deprecated as a state value, but still used by devmgr/txr code to represent any rs544 flavor
	IfTransceiverFecType_IF_TRANS_FEC_BASER       IfTransceiverFecType = 4
	IfTransceiverFecType_IF_TRANS_FEC_CL108_RS528 IfTransceiverFecType = 5
	IfTransceiverFecType_IF_TRANS_FEC_CL91_RS544  IfTransceiverFecType = 6
	IfTransceiverFecType_IF_TRANS_FEC_CL119_RS544 IfTransceiverFecType = 7
	IfTransceiverFecType_IF_TRANS_FEC_CL134_RS544 IfTransceiverFecType = 8
)

func (IfTransceiverFecType) Descriptor

func (IfTransceiverFecType) Enum

func (IfTransceiverFecType) EnumDescriptor deprecated

func (IfTransceiverFecType) EnumDescriptor() ([]byte, []int)

Deprecated: Use IfTransceiverFecType.Descriptor instead.

func (IfTransceiverFecType) Number

func (IfTransceiverFecType) String

func (x IfTransceiverFecType) String() string

func (IfTransceiverFecType) Type

type InterfaceData

type InterfaceData struct {
	AdminIsUp     uint32      `protobuf:"varint,1,opt,name=admin_is_up,json=adminIsUp,proto3" json:"admin_is_up,omitempty"` // Admin state
	Mtu           uint32      `protobuf:"varint,2,opt,name=mtu,proto3" json:"mtu,omitempty"`                                // Maximum transmission unit
	InterfaceType IfMgrIfType ``                                                                                            // Interface type; for example, loopback, physical, or LAG
	/* 130-byte string literal not displayed */
	PortId      *PortIdPb     `protobuf:"bytes,4,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"`                // Port identifier
	Description string        `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"`                    // Interface description
	MacAddress  *MacAddressPb `protobuf:"bytes,6,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"`    // MAC address
	AggregateId string        `protobuf:"bytes,7,opt,name=aggregate_id,json=aggregateId,proto3" json:"aggregate_id,omitempty"` // associated aggregate id
	OperIsUp    uint32        `protobuf:"varint,8,opt,name=oper_is_up,json=operIsUp,proto3" json:"oper_is_up,omitempty"`       // Operational state
	// contains filtered or unexported fields
}

* Represents interface data.

func (*InterfaceData) Descriptor deprecated

func (*InterfaceData) Descriptor() ([]byte, []int)

Deprecated: Use InterfaceData.ProtoReflect.Descriptor instead.

func (*InterfaceData) GetAdminIsUp

func (x *InterfaceData) GetAdminIsUp() uint32

func (*InterfaceData) GetAggregateId

func (x *InterfaceData) GetAggregateId() string

func (*InterfaceData) GetDescription

func (x *InterfaceData) GetDescription() string

func (*InterfaceData) GetInterfaceType added in v0.5.0

func (x *InterfaceData) GetInterfaceType() IfMgrIfType

func (*InterfaceData) GetMacAddress added in v0.5.0

func (x *InterfaceData) GetMacAddress() *MacAddressPb

func (*InterfaceData) GetMtu

func (x *InterfaceData) GetMtu() uint32

func (*InterfaceData) GetOperIsUp

func (x *InterfaceData) GetOperIsUp() uint32

func (*InterfaceData) GetPortId

func (x *InterfaceData) GetPortId() *PortIdPb

func (*InterfaceData) ProtoMessage

func (*InterfaceData) ProtoMessage()

func (*InterfaceData) ProtoReflect

func (x *InterfaceData) ProtoReflect() protoreflect.Message

func (*InterfaceData) Reset

func (x *InterfaceData) Reset()

func (*InterfaceData) String

func (x *InterfaceData) String() string

type InterfaceKey

type InterfaceKey struct {
	InterfaceName string `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` // Interface name; for example, ethernet 1/1
	// contains filtered or unexported fields
}

*

Represents interface key.

func (*InterfaceKey) Descriptor deprecated

func (*InterfaceKey) Descriptor() ([]byte, []int)

Deprecated: Use InterfaceKey.ProtoReflect.Descriptor instead.

func (*InterfaceKey) GetInterfaceName added in v0.5.0

func (x *InterfaceKey) GetInterfaceName() string

func (*InterfaceKey) ProtoMessage

func (*InterfaceKey) ProtoMessage()

func (*InterfaceKey) ProtoReflect

func (x *InterfaceKey) ProtoReflect() protoreflect.Message

func (*InterfaceKey) Reset

func (x *InterfaceKey) Reset()

func (*InterfaceKey) String

func (x *InterfaceKey) String() string

type InterfaceNotification

type InterfaceNotification struct {
	Op   SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update
	Key  *InterfaceKey   `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                 // Interface key
	Data *InterfaceData  `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                               // Interface data
	// contains filtered or unexported fields
}

* Represents interface notification.

func (*InterfaceNotification) Descriptor deprecated

func (*InterfaceNotification) Descriptor() ([]byte, []int)

Deprecated: Use InterfaceNotification.ProtoReflect.Descriptor instead.

func (*InterfaceNotification) GetData

func (x *InterfaceNotification) GetData() *InterfaceData

func (*InterfaceNotification) GetKey

func (x *InterfaceNotification) GetKey() *InterfaceKey

func (*InterfaceNotification) GetOp

func (*InterfaceNotification) ProtoMessage

func (*InterfaceNotification) ProtoMessage()

func (*InterfaceNotification) ProtoReflect

func (x *InterfaceNotification) ProtoReflect() protoreflect.Message

func (*InterfaceNotification) Reset

func (x *InterfaceNotification) Reset()

func (*InterfaceNotification) String

func (x *InterfaceNotification) String() string

type InterfaceSubscriptionRequest

type InterfaceSubscriptionRequest struct {
	Key *InterfaceKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name
	// contains filtered or unexported fields
}

* Represents interface subscription request.

func (*InterfaceSubscriptionRequest) Descriptor deprecated

func (*InterfaceSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use InterfaceSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*InterfaceSubscriptionRequest) GetKey

func (*InterfaceSubscriptionRequest) ProtoMessage

func (*InterfaceSubscriptionRequest) ProtoMessage()

func (*InterfaceSubscriptionRequest) ProtoReflect

func (*InterfaceSubscriptionRequest) Reset

func (x *InterfaceSubscriptionRequest) Reset()

func (*InterfaceSubscriptionRequest) String

type IpAddrPrefLenPb

type IpAddrPrefLenPb struct {
	IpAddr       *IpAddressPb `protobuf:"bytes,1,opt,name=ip_addr,json=ipAddr,proto3" json:"ip_addr,omitempty"`                    // IP address
	PrefixLength uint32       `protobuf:"varint,2,opt,name=prefix_length,json=prefixLength,proto3" json:"prefix_length,omitempty"` // IP address prefix length
	// contains filtered or unexported fields
}

* Represents IP prefix.

func (*IpAddrPrefLenPb) Descriptor deprecated

func (*IpAddrPrefLenPb) Descriptor() ([]byte, []int)

Deprecated: Use IpAddrPrefLenPb.ProtoReflect.Descriptor instead.

func (*IpAddrPrefLenPb) GetIpAddr

func (x *IpAddrPrefLenPb) GetIpAddr() *IpAddressPb

func (*IpAddrPrefLenPb) GetPrefixLength

func (x *IpAddrPrefLenPb) GetPrefixLength() uint32

func (*IpAddrPrefLenPb) ProtoMessage

func (*IpAddrPrefLenPb) ProtoMessage()

func (*IpAddrPrefLenPb) ProtoReflect

func (x *IpAddrPrefLenPb) ProtoReflect() protoreflect.Message

func (*IpAddrPrefLenPb) Reset

func (x *IpAddrPrefLenPb) Reset()

func (*IpAddrPrefLenPb) String

func (x *IpAddrPrefLenPb) String() string

type IpAddressPb

type IpAddressPb struct {
	IpAddress []byte `protobuf:"bytes,1,opt,name=ip_address,json=ipAddress,proto3" json:"ip_address,omitempty"` // IP address
	// contains filtered or unexported fields
}

* Represents IP address.

func (*IpAddressPb) Descriptor deprecated

func (*IpAddressPb) Descriptor() ([]byte, []int)

Deprecated: Use IpAddressPb.ProtoReflect.Descriptor instead.

func (*IpAddressPb) GetIpAddress added in v0.5.0

func (x *IpAddressPb) GetIpAddress() []byte

func (*IpAddressPb) ProtoMessage

func (*IpAddressPb) ProtoMessage()

func (*IpAddressPb) ProtoReflect

func (x *IpAddressPb) ProtoReflect() protoreflect.Message

func (*IpAddressPb) Reset

func (x *IpAddressPb) Reset()

func (*IpAddressPb) String

func (x *IpAddressPb) String() string

type IpAddressState

type IpAddressState int32

* Represents IP address state.

const (
	IpAddressState_IPADDR_STATE_UNKNOWN      IpAddressState = 0 // IP address state unknown
	IpAddressState_IPADDR_STATE_TENTATIVE    IpAddressState = 1 // IP address state tentative
	IpAddressState_IPADDR_STATE_DUPLICATED   IpAddressState = 2 // IP address state duplicated
	IpAddressState_IPADDR_STATE_INACCESSIBLE IpAddressState = 3 // IP address state inaccessible
	IpAddressState_IPADDR_STATE_DEPRECATED   IpAddressState = 4 // IP address state deprecated
	IpAddressState_IPADDR_STATE_PREFERRED    IpAddressState = 5 // IP address state preferred
)

func (IpAddressState) Descriptor

func (IpAddressState) Enum

func (x IpAddressState) Enum() *IpAddressState

func (IpAddressState) EnumDescriptor deprecated

func (IpAddressState) EnumDescriptor() ([]byte, []int)

Deprecated: Use IpAddressState.Descriptor instead.

func (IpAddressState) Number

func (IpAddressState) String

func (x IpAddressState) String() string

func (IpAddressState) Type

type IpInterfaceAddrPrefixPb

type IpInterfaceAddrPrefixPb struct {
	Prefix *IpAddrPrefLenPb `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`                                // IP prefix
	State  IpAddressState   `protobuf:"varint,2,opt,name=state,proto3,enum=srlinux.sdk.IpAddressState" json:"state,omitempty"` // IP prefix state
	// contains filtered or unexported fields
}

* Represents IP prefix state.

func (*IpInterfaceAddrPrefixPb) Descriptor deprecated

func (*IpInterfaceAddrPrefixPb) Descriptor() ([]byte, []int)

Deprecated: Use IpInterfaceAddrPrefixPb.ProtoReflect.Descriptor instead.

func (*IpInterfaceAddrPrefixPb) GetPrefix

func (x *IpInterfaceAddrPrefixPb) GetPrefix() *IpAddrPrefLenPb

func (*IpInterfaceAddrPrefixPb) GetState

func (*IpInterfaceAddrPrefixPb) ProtoMessage

func (*IpInterfaceAddrPrefixPb) ProtoMessage()

func (*IpInterfaceAddrPrefixPb) ProtoReflect

func (x *IpInterfaceAddrPrefixPb) ProtoReflect() protoreflect.Message

func (*IpInterfaceAddrPrefixPb) Reset

func (x *IpInterfaceAddrPrefixPb) Reset()

func (*IpInterfaceAddrPrefixPb) String

func (x *IpInterfaceAddrPrefixPb) String() string

type IpRouteNotification

type IpRouteNotification struct {
	Op   SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update
	Key  *RouteKey       `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                 // IP route key
	Data *Route          `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                               // IP route data
	// contains filtered or unexported fields
}

* Represents IP route notification.

func (*IpRouteNotification) Descriptor deprecated

func (*IpRouteNotification) Descriptor() ([]byte, []int)

Deprecated: Use IpRouteNotification.ProtoReflect.Descriptor instead.

func (*IpRouteNotification) GetData

func (x *IpRouteNotification) GetData() *Route

func (*IpRouteNotification) GetKey

func (x *IpRouteNotification) GetKey() *RouteKey

func (*IpRouteNotification) GetOp

func (*IpRouteNotification) ProtoMessage

func (*IpRouteNotification) ProtoMessage()

func (*IpRouteNotification) ProtoReflect

func (x *IpRouteNotification) ProtoReflect() protoreflect.Message

func (*IpRouteNotification) Reset

func (x *IpRouteNotification) Reset()

func (*IpRouteNotification) String

func (x *IpRouteNotification) String() string

type IpRouteSubscriptionRequest

type IpRouteSubscriptionRequest struct {
	Key *RouteKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name
	// contains filtered or unexported fields
}

* Represents IP route subscription request.

func (*IpRouteSubscriptionRequest) Descriptor deprecated

func (*IpRouteSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use IpRouteSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*IpRouteSubscriptionRequest) GetKey

func (x *IpRouteSubscriptionRequest) GetKey() *RouteKey

func (*IpRouteSubscriptionRequest) ProtoMessage

func (*IpRouteSubscriptionRequest) ProtoMessage()

func (*IpRouteSubscriptionRequest) ProtoReflect

func (*IpRouteSubscriptionRequest) Reset

func (x *IpRouteSubscriptionRequest) Reset()

func (*IpRouteSubscriptionRequest) String

func (x *IpRouteSubscriptionRequest) String() string

type KeepAliveRequest

type KeepAliveRequest struct {
	// contains filtered or unexported fields
}

* Represents keep alive request from agent to refresh liveliness of the agent.

func (*KeepAliveRequest) Descriptor deprecated

func (*KeepAliveRequest) Descriptor() ([]byte, []int)

Deprecated: Use KeepAliveRequest.ProtoReflect.Descriptor instead.

func (*KeepAliveRequest) ProtoMessage

func (*KeepAliveRequest) ProtoMessage()

func (*KeepAliveRequest) ProtoReflect

func (x *KeepAliveRequest) ProtoReflect() protoreflect.Message

func (*KeepAliveRequest) Reset

func (x *KeepAliveRequest) Reset()

func (*KeepAliveRequest) String

func (x *KeepAliveRequest) String() string

type KeepAliveResponse

type KeepAliveResponse struct {
	Status SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of keepalive; for example, kOk or kFailed
	// contains filtered or unexported fields
}

* Represents keepalive response.

func (*KeepAliveResponse) Descriptor deprecated

func (*KeepAliveResponse) Descriptor() ([]byte, []int)

Deprecated: Use KeepAliveResponse.ProtoReflect.Descriptor instead.

func (*KeepAliveResponse) GetStatus

func (x *KeepAliveResponse) GetStatus() SdkMgrStatus

func (*KeepAliveResponse) ProtoMessage

func (*KeepAliveResponse) ProtoMessage()

func (*KeepAliveResponse) ProtoReflect

func (x *KeepAliveResponse) ProtoReflect() protoreflect.Message

func (*KeepAliveResponse) Reset

func (x *KeepAliveResponse) Reset()

func (*KeepAliveResponse) String

func (x *KeepAliveResponse) String() string

type LldpNeighborData added in v0.5.0

type LldpNeighborData struct {
	PortId   string                       `protobuf:"bytes,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // Port identifier
	PortType LldpNeighborData_PortSubType ``                                                                                // Port type
	/* 132-byte string literal not displayed */
	SourceMac         *MacAddressPb  `protobuf:"bytes,3,opt,name=source_mac,json=sourceMac,proto3" json:"source_mac,omitempty"`                         // Port MAC address
	BgpPeerAddresses  []*IpAddressPb `protobuf:"bytes,4,rep,name=bgp_peer_addresses,json=bgpPeerAddresses,proto3" json:"bgp_peer_addresses,omitempty"`  // LLDP BGP autodiscovered addresses
	BgpGroupId        uint32         `protobuf:"varint,5,opt,name=bgp_group_id,json=bgpGroupId,proto3" json:"bgp_group_id,omitempty"`                   // BGP group identifier
	SystemName        string         `protobuf:"bytes,6,opt,name=system_name,json=systemName,proto3" json:"system_name,omitempty"`                      // System name
	SystemDescription string         `protobuf:"bytes,7,opt,name=system_description,json=systemDescription,proto3" json:"system_description,omitempty"` // System description
	// contains filtered or unexported fields
}

* Represents LLDP neighbor data.

func (*LldpNeighborData) Descriptor deprecated added in v0.5.0

func (*LldpNeighborData) Descriptor() ([]byte, []int)

Deprecated: Use LldpNeighborData.ProtoReflect.Descriptor instead.

func (*LldpNeighborData) GetBgpGroupId added in v0.5.0

func (x *LldpNeighborData) GetBgpGroupId() uint32

func (*LldpNeighborData) GetBgpPeerAddresses added in v0.5.0

func (x *LldpNeighborData) GetBgpPeerAddresses() []*IpAddressPb

func (*LldpNeighborData) GetPortId added in v0.5.0

func (x *LldpNeighborData) GetPortId() string

func (*LldpNeighborData) GetPortType added in v0.5.0

func (*LldpNeighborData) GetSourceMac added in v0.5.0

func (x *LldpNeighborData) GetSourceMac() *MacAddressPb

func (*LldpNeighborData) GetSystemDescription added in v0.5.0

func (x *LldpNeighborData) GetSystemDescription() string

func (*LldpNeighborData) GetSystemName added in v0.5.0

func (x *LldpNeighborData) GetSystemName() string

func (*LldpNeighborData) ProtoMessage added in v0.5.0

func (*LldpNeighborData) ProtoMessage()

func (*LldpNeighborData) ProtoReflect added in v0.5.0

func (x *LldpNeighborData) ProtoReflect() protoreflect.Message

func (*LldpNeighborData) Reset added in v0.5.0

func (x *LldpNeighborData) Reset()

func (*LldpNeighborData) String added in v0.5.0

func (x *LldpNeighborData) String() string

type LldpNeighborData_PortSubType added in v0.5.0

type LldpNeighborData_PortSubType int32

Represents port subtype.

const (
	LldpNeighborData_PORT_SUB_TYPE_RESERVED         LldpNeighborData_PortSubType = 0 // Reserved for future use
	LldpNeighborData_PORT_SUB_TYPE_INTERFACE_ALIAS  LldpNeighborData_PortSubType = 1 // Alias of the interface
	LldpNeighborData_PORT_SUB_TYPE_PORT_COMPONENT   LldpNeighborData_PortSubType = 2 // Port identifier based on a locally defined port component
	LldpNeighborData_PORT_SUB_TYPE_MAC_ADDRESS      LldpNeighborData_PortSubType = 3 // MAC address
	LldpNeighborData_PORT_SUB_TYPE_NETWORK_ADDRESS  LldpNeighborData_PortSubType = 4 // Network address
	LldpNeighborData_PORT_SUB_TYPE_INTERFACE_NAME   LldpNeighborData_PortSubType = 5 // Name of the interface
	LldpNeighborData_PORT_SUB_TYPE_AGENT_CIRCUIT_ID LldpNeighborData_PortSubType = 6 // Port identifier based on the circuit ID in the DHCP relay agent information option
	LldpNeighborData_PORT_SUB_TYPE_LOCALLY_ASSIGNED LldpNeighborData_PortSubType = 7 // Port identifier based on a locally defined alphanumeric string
)

func (LldpNeighborData_PortSubType) Descriptor added in v0.5.0

func (LldpNeighborData_PortSubType) Enum added in v0.5.0

func (LldpNeighborData_PortSubType) EnumDescriptor deprecated added in v0.5.0

func (LldpNeighborData_PortSubType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LldpNeighborData_PortSubType.Descriptor instead.

func (LldpNeighborData_PortSubType) Number added in v0.5.0

func (LldpNeighborData_PortSubType) String added in v0.5.0

func (LldpNeighborData_PortSubType) Type added in v0.5.0

type LldpNeighborKey added in v0.5.0

type LldpNeighborKey struct {
	InterfaceName string                        `protobuf:"bytes,1,opt,name=interface_name,json=interfaceName,proto3" json:"interface_name,omitempty"` // Local interface name
	ChassisId     string                        `protobuf:"bytes,2,opt,name=chassis_id,json=chassisId,proto3" json:"chassis_id,omitempty"`             // Chassis identifier
	ChassisType   LldpNeighborKey_ChassisIdType ``                                                                                                     // Chassis type
	/* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

* Represents LLDP neighbor key.

func (*LldpNeighborKey) Descriptor deprecated added in v0.5.0

func (*LldpNeighborKey) Descriptor() ([]byte, []int)

Deprecated: Use LldpNeighborKey.ProtoReflect.Descriptor instead.

func (*LldpNeighborKey) GetChassisId added in v0.5.0

func (x *LldpNeighborKey) GetChassisId() string

func (*LldpNeighborKey) GetChassisType added in v0.5.0

func (x *LldpNeighborKey) GetChassisType() LldpNeighborKey_ChassisIdType

func (*LldpNeighborKey) GetInterfaceName added in v0.5.0

func (x *LldpNeighborKey) GetInterfaceName() string

func (*LldpNeighborKey) ProtoMessage added in v0.5.0

func (*LldpNeighborKey) ProtoMessage()

func (*LldpNeighborKey) ProtoReflect added in v0.5.0

func (x *LldpNeighborKey) ProtoReflect() protoreflect.Message

func (*LldpNeighborKey) Reset added in v0.5.0

func (x *LldpNeighborKey) Reset()

func (*LldpNeighborKey) String added in v0.5.0

func (x *LldpNeighborKey) String() string

type LldpNeighborKey_ChassisIdType added in v0.5.0

type LldpNeighborKey_ChassisIdType int32

Represents chassis type.

const (
	LldpNeighborKey_CHASSIS_ID_TYPE_RESERVED          LldpNeighborKey_ChassisIdType = 0 // Reserved for future use
	LldpNeighborKey_CHASSIS_ID_TYPE_CHASSIS_COMPONENT LldpNeighborKey_ChassisIdType = 1 // Chassis identifier based on a locally defined chassis component
	LldpNeighborKey_CHASSIS_ID_TYPE_INTERFACE_ALIAS   LldpNeighborKey_ChassisIdType = 2 // Alias of the interface
	LldpNeighborKey_CHASSIS_ID_TYPE_PORT_COMPONENT    LldpNeighborKey_ChassisIdType = 3 // Chassis identifier based on a locally defined port component
	LldpNeighborKey_CHASSIS_ID_TYPE_MAC_ADDRESS       LldpNeighborKey_ChassisIdType = 4 // MAC address
	LldpNeighborKey_CHASSIS_ID_TYPE_NETWORK_ADDRESS   LldpNeighborKey_ChassisIdType = 5 // Network address
	LldpNeighborKey_CHASSIS_ID_TYPE_INTERFACE_NAME    LldpNeighborKey_ChassisIdType = 6 // Name of the interface
	LldpNeighborKey_CHASSIS_ID_TYPE_LOCALLY_ASSIGNED  LldpNeighborKey_ChassisIdType = 7 // Chassis identifier based on a locally defined value
)

func (LldpNeighborKey_ChassisIdType) Descriptor added in v0.5.0

func (LldpNeighborKey_ChassisIdType) Enum added in v0.5.0

func (LldpNeighborKey_ChassisIdType) EnumDescriptor deprecated added in v0.5.0

func (LldpNeighborKey_ChassisIdType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LldpNeighborKey_ChassisIdType.Descriptor instead.

func (LldpNeighborKey_ChassisIdType) Number added in v0.5.0

func (LldpNeighborKey_ChassisIdType) String added in v0.5.0

func (LldpNeighborKey_ChassisIdType) Type added in v0.5.0

type LldpNeighborNotification

type LldpNeighborNotification struct {
	Op   SdkMgrOperation   `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update
	Key  *LldpNeighborKey  `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                 // LLDP neighbor key
	Data *LldpNeighborData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                               // LLDP neighbor data
	// contains filtered or unexported fields
}

* Represents LLDP neighbor notification.

func (*LldpNeighborNotification) Descriptor deprecated

func (*LldpNeighborNotification) Descriptor() ([]byte, []int)

Deprecated: Use LldpNeighborNotification.ProtoReflect.Descriptor instead.

func (*LldpNeighborNotification) GetData

func (*LldpNeighborNotification) GetKey

func (*LldpNeighborNotification) GetOp

func (*LldpNeighborNotification) ProtoMessage

func (*LldpNeighborNotification) ProtoMessage()

func (*LldpNeighborNotification) ProtoReflect

func (x *LldpNeighborNotification) ProtoReflect() protoreflect.Message

func (*LldpNeighborNotification) Reset

func (x *LldpNeighborNotification) Reset()

func (*LldpNeighborNotification) String

func (x *LldpNeighborNotification) String() string

type LldpNeighborSubscriptionRequest

type LldpNeighborSubscriptionRequest struct {
	Key *LldpNeighborKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name
	// contains filtered or unexported fields
}

* Represents LLDP neighbor subscription request.

func (*LldpNeighborSubscriptionRequest) Descriptor deprecated

func (*LldpNeighborSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use LldpNeighborSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*LldpNeighborSubscriptionRequest) GetKey

func (*LldpNeighborSubscriptionRequest) ProtoMessage

func (*LldpNeighborSubscriptionRequest) ProtoMessage()

func (*LldpNeighborSubscriptionRequest) ProtoReflect

func (*LldpNeighborSubscriptionRequest) Reset

func (*LldpNeighborSubscriptionRequest) String

type MacAddressPb

type MacAddressPb struct {
	MacAddress []byte `protobuf:"bytes,1,opt,name=mac_address,json=macAddress,proto3" json:"mac_address,omitempty"` // MAC address
	// contains filtered or unexported fields
}

* Represents MAC address.

func (*MacAddressPb) Descriptor deprecated

func (*MacAddressPb) Descriptor() ([]byte, []int)

Deprecated: Use MacAddressPb.ProtoReflect.Descriptor instead.

func (*MacAddressPb) GetMacAddress

func (x *MacAddressPb) GetMacAddress() []byte

func (*MacAddressPb) ProtoMessage

func (*MacAddressPb) ProtoMessage()

func (*MacAddressPb) ProtoReflect

func (x *MacAddressPb) ProtoReflect() protoreflect.Message

func (*MacAddressPb) Reset

func (x *MacAddressPb) Reset()

func (*MacAddressPb) String

func (x *MacAddressPb) String() string

type MplsLabel

type MplsLabel struct {
	MplsLabel uint32 `protobuf:"varint,1,opt,name=mpls_label,json=mplsLabel,proto3" json:"mpls_label,omitempty"` // MPLS label
	// contains filtered or unexported fields
}

* Represents MPLS label.

func (*MplsLabel) Descriptor deprecated

func (*MplsLabel) Descriptor() ([]byte, []int)

Deprecated: Use MplsLabel.ProtoReflect.Descriptor instead.

func (*MplsLabel) GetMplsLabel

func (x *MplsLabel) GetMplsLabel() uint32

func (*MplsLabel) ProtoMessage

func (*MplsLabel) ProtoMessage()

func (*MplsLabel) ProtoReflect

func (x *MplsLabel) ProtoReflect() protoreflect.Message

func (*MplsLabel) Reset

func (x *MplsLabel) Reset()

func (*MplsLabel) String

func (x *MplsLabel) String() string

type MplsNextHop

type MplsNextHop struct {
	IpNexthop   *IpAddressPb `protobuf:"bytes,1,opt,name=ip_nexthop,json=ipNexthop,proto3" json:"ip_nexthop,omitempty"`       // Next-hop IP address
	LabelStacks []*MplsLabel `protobuf:"bytes,2,rep,name=label_stacks,json=labelStacks,proto3" json:"label_stacks,omitempty"` // MPLS label stack
	// contains filtered or unexported fields
}

* Represents MPLS next hop.

func (*MplsNextHop) Descriptor deprecated

func (*MplsNextHop) Descriptor() ([]byte, []int)

Deprecated: Use MplsNextHop.ProtoReflect.Descriptor instead.

func (*MplsNextHop) GetIpNexthop

func (x *MplsNextHop) GetIpNexthop() *IpAddressPb

func (*MplsNextHop) GetLabelStacks added in v0.5.0

func (x *MplsNextHop) GetLabelStacks() []*MplsLabel

func (*MplsNextHop) ProtoMessage

func (*MplsNextHop) ProtoMessage()

func (*MplsNextHop) ProtoReflect

func (x *MplsNextHop) ProtoReflect() protoreflect.Message

func (*MplsNextHop) Reset

func (x *MplsNextHop) Reset()

func (*MplsNextHop) String

func (x *MplsNextHop) String() string

type NetInstanceId

type NetInstanceId struct {
	InstanceId uint32 `protobuf:"varint,1,opt,name=instance_id,json=instanceId,proto3" json:"instance_id,omitempty"` // Network instance identifier
	// contains filtered or unexported fields
}

* Represents network instance identifier.

func (*NetInstanceId) Descriptor deprecated

func (*NetInstanceId) Descriptor() ([]byte, []int)

Deprecated: Use NetInstanceId.ProtoReflect.Descriptor instead.

func (*NetInstanceId) GetInstanceId

func (x *NetInstanceId) GetInstanceId() uint32

func (*NetInstanceId) ProtoMessage

func (*NetInstanceId) ProtoMessage()

func (*NetInstanceId) ProtoReflect

func (x *NetInstanceId) ProtoReflect() protoreflect.Message

func (*NetInstanceId) Reset

func (x *NetInstanceId) Reset()

func (*NetInstanceId) String

func (x *NetInstanceId) String() string

type NetworkInstanceData

type NetworkInstanceData struct {
	NetworkInstanceId uint32                                  `protobuf:"varint,1,opt,name=network_instance_id,json=networkInstanceId,proto3" json:"network_instance_id,omitempty"` // Network instance identifier
	BaseName          string                                  `protobuf:"bytes,2,opt,name=base_name,json=baseName,proto3" json:"base_name,omitempty"`                               // Base name
	OperIsUp          bool                                    `protobuf:"varint,4,opt,name=oper_is_up,json=operIsUp,proto3" json:"oper_is_up,omitempty"`                            // Operation status
	RouterId          string                                  `protobuf:"bytes,5,opt,name=router_id,json=routerId,proto3" json:"router_id,omitempty"`                               // Router identifier
	InstanceType      NetworkInstanceData_NetworkInstanceType ``                                                                                                                    // Network instance type
	/* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

* Represents network instance data.

func (*NetworkInstanceData) Descriptor deprecated

func (*NetworkInstanceData) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInstanceData.ProtoReflect.Descriptor instead.

func (*NetworkInstanceData) GetBaseName

func (x *NetworkInstanceData) GetBaseName() string

func (*NetworkInstanceData) GetInstanceType added in v0.5.0

func (*NetworkInstanceData) GetNetworkInstanceId added in v0.5.0

func (x *NetworkInstanceData) GetNetworkInstanceId() uint32

func (*NetworkInstanceData) GetOperIsUp

func (x *NetworkInstanceData) GetOperIsUp() bool

func (*NetworkInstanceData) GetRouterId

func (x *NetworkInstanceData) GetRouterId() string

func (*NetworkInstanceData) ProtoMessage

func (*NetworkInstanceData) ProtoMessage()

func (*NetworkInstanceData) ProtoReflect

func (x *NetworkInstanceData) ProtoReflect() protoreflect.Message

func (*NetworkInstanceData) Reset

func (x *NetworkInstanceData) Reset()

func (*NetworkInstanceData) String

func (x *NetworkInstanceData) String() string

type NetworkInstanceData_NetworkInstanceType added in v0.5.0

type NetworkInstanceData_NetworkInstanceType int32

Represents network instance type.

const (
	NetworkInstanceData_NETWORK_INSTANCE_TYPE_DEFAULT NetworkInstanceData_NetworkInstanceType = 0 // Default network instance type
	NetworkInstanceData_NETWORK_INSTANCE_TYPE_L3VRF   NetworkInstanceData_NetworkInstanceType = 1 // L3VRF network instance type
)

func (NetworkInstanceData_NetworkInstanceType) Descriptor added in v0.5.0

func (NetworkInstanceData_NetworkInstanceType) Enum added in v0.5.0

func (NetworkInstanceData_NetworkInstanceType) EnumDescriptor deprecated added in v0.5.0

func (NetworkInstanceData_NetworkInstanceType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NetworkInstanceData_NetworkInstanceType.Descriptor instead.

func (NetworkInstanceData_NetworkInstanceType) Number added in v0.5.0

func (NetworkInstanceData_NetworkInstanceType) String added in v0.5.0

func (NetworkInstanceData_NetworkInstanceType) Type added in v0.5.0

type NetworkInstanceKey

type NetworkInstanceKey struct {
	InstanceName string `protobuf:"bytes,1,opt,name=instance_name,json=instanceName,proto3" json:"instance_name,omitempty"` // Network instance name
	// contains filtered or unexported fields
}

* Represents network instance key.

func (*NetworkInstanceKey) Descriptor deprecated

func (*NetworkInstanceKey) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInstanceKey.ProtoReflect.Descriptor instead.

func (*NetworkInstanceKey) GetInstanceName added in v0.5.0

func (x *NetworkInstanceKey) GetInstanceName() string

func (*NetworkInstanceKey) ProtoMessage

func (*NetworkInstanceKey) ProtoMessage()

func (*NetworkInstanceKey) ProtoReflect

func (x *NetworkInstanceKey) ProtoReflect() protoreflect.Message

func (*NetworkInstanceKey) Reset

func (x *NetworkInstanceKey) Reset()

func (*NetworkInstanceKey) String

func (x *NetworkInstanceKey) String() string

type NetworkInstanceNotification

type NetworkInstanceNotification struct {
	Op   SdkMgrOperation      `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update
	Key  *NetworkInstanceKey  `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`                                 // Network key
	Data *NetworkInstanceData `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                               // Network data
	// contains filtered or unexported fields
}

* Represents network instance notification.

func (*NetworkInstanceNotification) Descriptor deprecated

func (*NetworkInstanceNotification) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInstanceNotification.ProtoReflect.Descriptor instead.

func (*NetworkInstanceNotification) GetData

func (*NetworkInstanceNotification) GetKey

func (*NetworkInstanceNotification) GetOp

func (*NetworkInstanceNotification) ProtoMessage

func (*NetworkInstanceNotification) ProtoMessage()

func (*NetworkInstanceNotification) ProtoReflect

func (*NetworkInstanceNotification) Reset

func (x *NetworkInstanceNotification) Reset()

func (*NetworkInstanceNotification) String

func (x *NetworkInstanceNotification) String() string

type NetworkInstanceSubscriptionRequest

type NetworkInstanceSubscriptionRequest struct {
	// contains filtered or unexported fields
}

* Represents network instance subscription request.

func (*NetworkInstanceSubscriptionRequest) Descriptor deprecated

func (*NetworkInstanceSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use NetworkInstanceSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*NetworkInstanceSubscriptionRequest) ProtoMessage

func (*NetworkInstanceSubscriptionRequest) ProtoMessage()

func (*NetworkInstanceSubscriptionRequest) ProtoReflect

func (*NetworkInstanceSubscriptionRequest) Reset

func (*NetworkInstanceSubscriptionRequest) String

type NextHop

type NextHop struct {
	ResolveTo NextHop_ResolveToType `` // Resolve-to type
	/* 128-byte string literal not displayed */
	Type NextHop_ResolutionType `protobuf:"varint,2,opt,name=type,proto3,enum=srlinux.sdk.NextHop_ResolutionType" json:"type,omitempty"` // Resolution type
	// Types that are assignable to Nexthop:
	//
	//	*NextHop_IpNexthop
	//	*NextHop_MplsNexthop
	Nexthop isNextHop_Nexthop `protobuf_oneof:"nexthop"`
	// contains filtered or unexported fields
}

* Represents next-hop.

func (*NextHop) Descriptor deprecated

func (*NextHop) Descriptor() ([]byte, []int)

Deprecated: Use NextHop.ProtoReflect.Descriptor instead.

func (*NextHop) GetIpNexthop

func (x *NextHop) GetIpNexthop() *IpAddressPb

func (*NextHop) GetMplsNexthop

func (x *NextHop) GetMplsNexthop() *MplsNextHop

func (*NextHop) GetNexthop

func (m *NextHop) GetNexthop() isNextHop_Nexthop

func (*NextHop) GetResolveTo

func (x *NextHop) GetResolveTo() NextHop_ResolveToType

func (*NextHop) GetType

func (x *NextHop) GetType() NextHop_ResolutionType

func (*NextHop) ProtoMessage

func (*NextHop) ProtoMessage()

func (*NextHop) ProtoReflect

func (x *NextHop) ProtoReflect() protoreflect.Message

func (*NextHop) Reset

func (x *NextHop) Reset()

func (*NextHop) String

func (x *NextHop) String() string

type NextHopGroup

type NextHopGroup struct {
	Nexthops []*NextHop `protobuf:"bytes,1,rep,name=nexthops,proto3" json:"nexthops,omitempty"` // Next-hops
	// contains filtered or unexported fields
}

* Represents next-hop group.

func (*NextHopGroup) Descriptor deprecated

func (*NextHopGroup) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroup.ProtoReflect.Descriptor instead.

func (*NextHopGroup) GetNexthops added in v0.5.0

func (x *NextHopGroup) GetNexthops() []*NextHop

func (*NextHopGroup) ProtoMessage

func (*NextHopGroup) ProtoMessage()

func (*NextHopGroup) ProtoReflect

func (x *NextHopGroup) ProtoReflect() protoreflect.Message

func (*NextHopGroup) Reset

func (x *NextHopGroup) Reset()

func (*NextHopGroup) String

func (x *NextHopGroup) String() string

type NextHopGroupDeleteRequest

type NextHopGroupDeleteRequest struct {
	GroupKeys []*NextHopGroupKey `protobuf:"bytes,1,rep,name=group_keys,json=groupKeys,proto3" json:"group_keys,omitempty"` // Next-hop group key details
	// contains filtered or unexported fields
}

* Represents next-hop group delete request.

func (*NextHopGroupDeleteRequest) Descriptor deprecated

func (*NextHopGroupDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroupDeleteRequest.ProtoReflect.Descriptor instead.

func (*NextHopGroupDeleteRequest) GetGroupKeys added in v0.5.0

func (x *NextHopGroupDeleteRequest) GetGroupKeys() []*NextHopGroupKey

func (*NextHopGroupDeleteRequest) ProtoMessage

func (*NextHopGroupDeleteRequest) ProtoMessage()

func (*NextHopGroupDeleteRequest) ProtoReflect

func (*NextHopGroupDeleteRequest) Reset

func (x *NextHopGroupDeleteRequest) Reset()

func (*NextHopGroupDeleteRequest) String

func (x *NextHopGroupDeleteRequest) String() string

type NextHopGroupDeleteResponse

type NextHopGroupDeleteResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Response for next-hop group request
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error string
	// contains filtered or unexported fields
}

* Represents next-hop group delete response.

func (*NextHopGroupDeleteResponse) Descriptor deprecated

func (*NextHopGroupDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroupDeleteResponse.ProtoReflect.Descriptor instead.

func (*NextHopGroupDeleteResponse) GetErrorStr

func (x *NextHopGroupDeleteResponse) GetErrorStr() string

func (*NextHopGroupDeleteResponse) GetStatus

func (*NextHopGroupDeleteResponse) ProtoMessage

func (*NextHopGroupDeleteResponse) ProtoMessage()

func (*NextHopGroupDeleteResponse) ProtoReflect

func (*NextHopGroupDeleteResponse) Reset

func (x *NextHopGroupDeleteResponse) Reset()

func (*NextHopGroupDeleteResponse) String

func (x *NextHopGroupDeleteResponse) String() string

type NextHopGroupInfo

type NextHopGroupInfo struct {
	Key  *NextHopGroupKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`   // Next-hop group key
	Data *NextHopGroup    `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Next-hop group data
	// contains filtered or unexported fields
}

* Represents next-hop group information.

func (*NextHopGroupInfo) Descriptor deprecated

func (*NextHopGroupInfo) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroupInfo.ProtoReflect.Descriptor instead.

func (*NextHopGroupInfo) GetData

func (x *NextHopGroupInfo) GetData() *NextHopGroup

func (*NextHopGroupInfo) GetKey

func (x *NextHopGroupInfo) GetKey() *NextHopGroupKey

func (*NextHopGroupInfo) ProtoMessage

func (*NextHopGroupInfo) ProtoMessage()

func (*NextHopGroupInfo) ProtoReflect

func (x *NextHopGroupInfo) ProtoReflect() protoreflect.Message

func (*NextHopGroupInfo) Reset

func (x *NextHopGroupInfo) Reset()

func (*NextHopGroupInfo) String

func (x *NextHopGroupInfo) String() string

type NextHopGroupKey

type NextHopGroupKey struct {
	Name                string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`                                                            // Next-hop group name
	NetworkInstanceName string `protobuf:"bytes,2,opt,name=network_instance_name,json=networkInstanceName,proto3" json:"network_instance_name,omitempty"` // Next-hop group network instance name
	// contains filtered or unexported fields
}

* Represents next-hop group key.

func (*NextHopGroupKey) Descriptor deprecated

func (*NextHopGroupKey) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroupKey.ProtoReflect.Descriptor instead.

func (*NextHopGroupKey) GetName

func (x *NextHopGroupKey) GetName() string

func (*NextHopGroupKey) GetNetworkInstanceName

func (x *NextHopGroupKey) GetNetworkInstanceName() string

func (*NextHopGroupKey) ProtoMessage

func (*NextHopGroupKey) ProtoMessage()

func (*NextHopGroupKey) ProtoReflect

func (x *NextHopGroupKey) ProtoReflect() protoreflect.Message

func (*NextHopGroupKey) Reset

func (x *NextHopGroupKey) Reset()

func (*NextHopGroupKey) String

func (x *NextHopGroupKey) String() string

type NextHopGroupNotification

type NextHopGroupNotification struct {
	Op   SdkMgrOperation `protobuf:"varint,1,opt,name=op,proto3,enum=srlinux.sdk.SdkMgrOperation" json:"op,omitempty"` // Operation such as create, delete, or update
	Key  uint64          `protobuf:"varint,2,opt,name=key,proto3" json:"key,omitempty"`                                // Next-hop group key
	Data *NextHopGroup   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`                               // Next-hop group data
	// contains filtered or unexported fields
}

* Represents next-hop group notification.

func (*NextHopGroupNotification) Descriptor deprecated

func (*NextHopGroupNotification) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroupNotification.ProtoReflect.Descriptor instead.

func (*NextHopGroupNotification) GetData

func (x *NextHopGroupNotification) GetData() *NextHopGroup

func (*NextHopGroupNotification) GetKey

func (x *NextHopGroupNotification) GetKey() uint64

func (*NextHopGroupNotification) GetOp

func (*NextHopGroupNotification) ProtoMessage

func (*NextHopGroupNotification) ProtoMessage()

func (*NextHopGroupNotification) ProtoReflect

func (x *NextHopGroupNotification) ProtoReflect() protoreflect.Message

func (*NextHopGroupNotification) Reset

func (x *NextHopGroupNotification) Reset()

func (*NextHopGroupNotification) String

func (x *NextHopGroupNotification) String() string

type NextHopGroupRequest

type NextHopGroupRequest struct {
	GroupInfos []*NextHopGroupInfo `protobuf:"bytes,1,rep,name=group_infos,json=groupInfos,proto3" json:"group_infos,omitempty"` // Next-hop group details
	// contains filtered or unexported fields
}

* Represents next-hop group request.

func (*NextHopGroupRequest) Descriptor deprecated

func (*NextHopGroupRequest) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroupRequest.ProtoReflect.Descriptor instead.

func (*NextHopGroupRequest) GetGroupInfos added in v0.5.0

func (x *NextHopGroupRequest) GetGroupInfos() []*NextHopGroupInfo

func (*NextHopGroupRequest) ProtoMessage

func (*NextHopGroupRequest) ProtoMessage()

func (*NextHopGroupRequest) ProtoReflect

func (x *NextHopGroupRequest) ProtoReflect() protoreflect.Message

func (*NextHopGroupRequest) Reset

func (x *NextHopGroupRequest) Reset()

func (*NextHopGroupRequest) String

func (x *NextHopGroupRequest) String() string

type NextHopGroupResponse

type NextHopGroupResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Response for next-hop group request
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error string
	// contains filtered or unexported fields
}

* Represents next-hop group response.

func (*NextHopGroupResponse) Descriptor deprecated

func (*NextHopGroupResponse) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroupResponse.ProtoReflect.Descriptor instead.

func (*NextHopGroupResponse) GetErrorStr

func (x *NextHopGroupResponse) GetErrorStr() string

func (*NextHopGroupResponse) GetStatus

func (x *NextHopGroupResponse) GetStatus() SdkMgrStatus

func (*NextHopGroupResponse) ProtoMessage

func (*NextHopGroupResponse) ProtoMessage()

func (*NextHopGroupResponse) ProtoReflect

func (x *NextHopGroupResponse) ProtoReflect() protoreflect.Message

func (*NextHopGroupResponse) Reset

func (x *NextHopGroupResponse) Reset()

func (*NextHopGroupResponse) String

func (x *NextHopGroupResponse) String() string

type NextHopGroupSubscriptionRequest

type NextHopGroupSubscriptionRequest struct {
	Key *NextHopGroupKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // Optional, to filter on name
	// contains filtered or unexported fields
}

* Represents next-hop group subscription request.

func (*NextHopGroupSubscriptionRequest) Descriptor deprecated

func (*NextHopGroupSubscriptionRequest) Descriptor() ([]byte, []int)

Deprecated: Use NextHopGroupSubscriptionRequest.ProtoReflect.Descriptor instead.

func (*NextHopGroupSubscriptionRequest) GetKey

func (*NextHopGroupSubscriptionRequest) ProtoMessage

func (*NextHopGroupSubscriptionRequest) ProtoMessage()

func (*NextHopGroupSubscriptionRequest) ProtoReflect

func (*NextHopGroupSubscriptionRequest) Reset

func (*NextHopGroupSubscriptionRequest) String

type NextHop_IpNexthop

type NextHop_IpNexthop struct {
	IpNexthop *IpAddressPb `protobuf:"bytes,3,opt,name=ip_nexthop,json=ipNexthop,proto3,oneof"` // IP next-hop address
}

type NextHop_MplsNexthop

type NextHop_MplsNexthop struct {
	MplsNexthop *MplsNextHop `protobuf:"bytes,4,opt,name=mpls_nexthop,json=mplsNexthop,proto3,oneof"` // MPLS next-hop
}

type NextHop_ResolutionType

type NextHop_ResolutionType int32

Represents resolution type.

const (
	NextHop_RESOLUTION_TYPE_INVALID NextHop_ResolutionType = 0 // Invalid resolution
	NextHop_RESOLUTION_TYPE_REGULAR NextHop_ResolutionType = 1 // Regular resolution
	NextHop_RESOLUTION_TYPE_MPLS    NextHop_ResolutionType = 2 // MPLS resolution
)

func (NextHop_ResolutionType) Descriptor

func (NextHop_ResolutionType) Enum

func (NextHop_ResolutionType) EnumDescriptor deprecated

func (NextHop_ResolutionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NextHop_ResolutionType.Descriptor instead.

func (NextHop_ResolutionType) Number

func (NextHop_ResolutionType) String

func (x NextHop_ResolutionType) String() string

func (NextHop_ResolutionType) Type

type NextHop_ResolveToType

type NextHop_ResolveToType int32

Represents resolve-to type.

const (
	NextHop_RESOLVE_TO_TYPE_LOCAL    NextHop_ResolveToType = 0 // Resolve to local routes
	NextHop_RESOLVE_TO_TYPE_DIRECT   NextHop_ResolveToType = 1 // Resolve to direct routes
	NextHop_RESOLVE_TO_TYPE_INDIRECT NextHop_ResolveToType = 2 // Resolve to indirect routes
)

func (NextHop_ResolveToType) Descriptor

func (NextHop_ResolveToType) Enum

func (NextHop_ResolveToType) EnumDescriptor deprecated

func (NextHop_ResolveToType) EnumDescriptor() ([]byte, []int)

Deprecated: Use NextHop_ResolveToType.Descriptor instead.

func (NextHop_ResolveToType) Number

func (NextHop_ResolveToType) String

func (x NextHop_ResolveToType) String() string

func (NextHop_ResolveToType) Type

type Notification

type Notification struct {
	SubscriptionId uint64 `protobuf:"varint,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` // Subscription identifier
	// Types that are assignable to SubscriptionTypes:
	//
	//	*Notification_Interface
	//	*Notification_NetworkInstance
	//	*Notification_LldpNeighbor
	//	*Notification_Config
	//	*Notification_BfdSession
	//	*Notification_Route
	//	*Notification_AppId
	//	*Notification_NexthopGroup
	SubscriptionTypes isNotification_SubscriptionTypes `protobuf_oneof:"subscription_types"`
	// contains filtered or unexported fields
}

* Represents notification stream response.

func (*Notification) Descriptor deprecated

func (*Notification) Descriptor() ([]byte, []int)

Deprecated: Use Notification.ProtoReflect.Descriptor instead.

func (*Notification) GetAppId added in v0.5.0

func (x *Notification) GetAppId() *AppIdentNotification

func (*Notification) GetBfdSession

func (x *Notification) GetBfdSession() *BfdSessionNotification

func (*Notification) GetConfig

func (x *Notification) GetConfig() *ConfigNotification

func (*Notification) GetInterface added in v0.5.0

func (x *Notification) GetInterface() *InterfaceNotification

func (*Notification) GetLldpNeighbor

func (x *Notification) GetLldpNeighbor() *LldpNeighborNotification

func (*Notification) GetNetworkInstance added in v0.5.0

func (x *Notification) GetNetworkInstance() *NetworkInstanceNotification

func (*Notification) GetNexthopGroup added in v0.5.0

func (x *Notification) GetNexthopGroup() *NextHopGroupNotification

func (*Notification) GetRoute

func (x *Notification) GetRoute() *IpRouteNotification

func (*Notification) GetSubscriptionId added in v0.5.0

func (x *Notification) GetSubscriptionId() uint64

func (*Notification) GetSubscriptionTypes

func (m *Notification) GetSubscriptionTypes() isNotification_SubscriptionTypes

func (*Notification) ProtoMessage

func (*Notification) ProtoMessage()

func (*Notification) ProtoReflect

func (x *Notification) ProtoReflect() protoreflect.Message

func (*Notification) Reset

func (x *Notification) Reset()

func (*Notification) String

func (x *Notification) String() string

type NotificationQueryRequest

type NotificationQueryRequest struct {
	StreamId uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Stream identifier, in NotificationRegisterResponse
	// contains filtered or unexported fields
}

* Represents notification query to return specific subscription details.

func (*NotificationQueryRequest) Descriptor deprecated

func (*NotificationQueryRequest) Descriptor() ([]byte, []int)

Deprecated: Use NotificationQueryRequest.ProtoReflect.Descriptor instead.

func (*NotificationQueryRequest) GetStreamId

func (x *NotificationQueryRequest) GetStreamId() uint64

func (*NotificationQueryRequest) ProtoMessage

func (*NotificationQueryRequest) ProtoMessage()

func (*NotificationQueryRequest) ProtoReflect

func (x *NotificationQueryRequest) ProtoReflect() protoreflect.Message

func (*NotificationQueryRequest) Reset

func (x *NotificationQueryRequest) Reset()

func (*NotificationQueryRequest) String

func (x *NotificationQueryRequest) String() string

type NotificationQueryResponse

type NotificationQueryResponse struct {
	Subscriptions []*NotificationQuerySubscription `protobuf:"bytes,1,rep,name=subscriptions,proto3" json:"subscriptions,omitempty"`                  // List of subscription details
	Status        SdkMgrStatus                     `protobuf:"varint,2,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of the query
	// contains filtered or unexported fields
}

* Represents notification query response.

func (*NotificationQueryResponse) Descriptor deprecated

func (*NotificationQueryResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotificationQueryResponse.ProtoReflect.Descriptor instead.

func (*NotificationQueryResponse) GetStatus

func (x *NotificationQueryResponse) GetStatus() SdkMgrStatus

func (*NotificationQueryResponse) GetSubscriptions

func (*NotificationQueryResponse) ProtoMessage

func (*NotificationQueryResponse) ProtoMessage()

func (*NotificationQueryResponse) ProtoReflect

func (*NotificationQueryResponse) Reset

func (x *NotificationQueryResponse) Reset()

func (*NotificationQueryResponse) String

func (x *NotificationQueryResponse) String() string

type NotificationQuerySubscription

type NotificationQuerySubscription struct {
	SubscriptionId uint64 `protobuf:"varint,1,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` // Subscription identifier
	Description    string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`                              // Subscription description
	// contains filtered or unexported fields
}

* Represents notification subscription.

func (*NotificationQuerySubscription) Descriptor deprecated

func (*NotificationQuerySubscription) Descriptor() ([]byte, []int)

Deprecated: Use NotificationQuerySubscription.ProtoReflect.Descriptor instead.

func (*NotificationQuerySubscription) GetDescription

func (x *NotificationQuerySubscription) GetDescription() string

func (*NotificationQuerySubscription) GetSubscriptionId added in v0.5.0

func (x *NotificationQuerySubscription) GetSubscriptionId() uint64

func (*NotificationQuerySubscription) ProtoMessage

func (*NotificationQuerySubscription) ProtoMessage()

func (*NotificationQuerySubscription) ProtoReflect

func (*NotificationQuerySubscription) Reset

func (x *NotificationQuerySubscription) Reset()

func (*NotificationQuerySubscription) String

type NotificationRegisterRequest

type NotificationRegisterRequest struct {
	StreamId       uint64                                `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`                            // Unset on create, set otherwise
	Op             NotificationRegisterRequest_Operation `protobuf:"varint,2,opt,name=op,proto3,enum=srlinux.sdk.NotificationRegisterRequest_Operation" json:"op,omitempty"` // Specific operation in the notification register request
	SubscriptionId uint64                                `protobuf:"varint,3,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"`          // Set for delete subscription, unset otherwise
	// Types that are assignable to SubscriptionTypes:
	//
	//	*NotificationRegisterRequest_Interface
	//	*NotificationRegisterRequest_NetworkInstance
	//	*NotificationRegisterRequest_LldpNeighbor
	//	*NotificationRegisterRequest_Config
	//	*NotificationRegisterRequest_BfdSession
	//	*NotificationRegisterRequest_Route
	//	*NotificationRegisterRequest_AppId
	//	*NotificationRegisterRequest_NexthopGroup
	SubscriptionTypes isNotificationRegisterRequest_SubscriptionTypes `protobuf_oneof:"subscription_types"`
	// contains filtered or unexported fields
}

* Represents notification request from agent. Agent uses this message to subscribe to router events such as interface create, delete, or update, as well as LLDP neighbor create, delete, or update, and so on.

func (*NotificationRegisterRequest) Descriptor deprecated

func (*NotificationRegisterRequest) Descriptor() ([]byte, []int)

Deprecated: Use NotificationRegisterRequest.ProtoReflect.Descriptor instead.

func (*NotificationRegisterRequest) GetAppId added in v0.5.0

func (*NotificationRegisterRequest) GetBfdSession

func (*NotificationRegisterRequest) GetConfig

func (*NotificationRegisterRequest) GetInterface added in v0.5.0

func (*NotificationRegisterRequest) GetLldpNeighbor

func (*NotificationRegisterRequest) GetNetworkInstance added in v0.5.0

func (*NotificationRegisterRequest) GetNexthopGroup added in v0.5.0

func (*NotificationRegisterRequest) GetOp

func (*NotificationRegisterRequest) GetRoute

func (*NotificationRegisterRequest) GetStreamId

func (x *NotificationRegisterRequest) GetStreamId() uint64

func (*NotificationRegisterRequest) GetSubscriptionId added in v0.5.0

func (x *NotificationRegisterRequest) GetSubscriptionId() uint64

func (*NotificationRegisterRequest) GetSubscriptionTypes

func (m *NotificationRegisterRequest) GetSubscriptionTypes() isNotificationRegisterRequest_SubscriptionTypes

func (*NotificationRegisterRequest) ProtoMessage

func (*NotificationRegisterRequest) ProtoMessage()

func (*NotificationRegisterRequest) ProtoReflect

func (*NotificationRegisterRequest) Reset

func (x *NotificationRegisterRequest) Reset()

func (*NotificationRegisterRequest) String

func (x *NotificationRegisterRequest) String() string

type NotificationRegisterRequest_AppId added in v0.5.0

type NotificationRegisterRequest_AppId struct {
	AppId *AppIdentSubscriptionRequest `protobuf:"bytes,16,opt,name=app_id,json=appId,proto3,oneof"` // App identification subscription request
}

type NotificationRegisterRequest_BfdSession

type NotificationRegisterRequest_BfdSession struct {
	BfdSession *BfdSessionSubscriptionRequest `protobuf:"bytes,14,opt,name=bfd_session,json=bfdSession,proto3,oneof"` // BFD session subscription request
}

type NotificationRegisterRequest_Config

type NotificationRegisterRequest_Config struct {
	Config *ConfigSubscriptionRequest `protobuf:"bytes,13,opt,name=config,proto3,oneof"` // Configuration subscription request
}

type NotificationRegisterRequest_Interface added in v0.5.0

type NotificationRegisterRequest_Interface struct {
	Interface *InterfaceSubscriptionRequest `protobuf:"bytes,10,opt,name=interface,proto3,oneof"` // Interface subscription request
}

type NotificationRegisterRequest_LldpNeighbor

type NotificationRegisterRequest_LldpNeighbor struct {
	LldpNeighbor *LldpNeighborSubscriptionRequest `protobuf:"bytes,12,opt,name=lldp_neighbor,json=lldpNeighbor,proto3,oneof"` // LLDP neighbor subscription request
}

type NotificationRegisterRequest_NetworkInstance added in v0.5.0

type NotificationRegisterRequest_NetworkInstance struct {
	NetworkInstance *NetworkInstanceSubscriptionRequest `protobuf:"bytes,11,opt,name=network_instance,json=networkInstance,proto3,oneof"` // Network instance subscription request
}

type NotificationRegisterRequest_NexthopGroup added in v0.5.0

type NotificationRegisterRequest_NexthopGroup struct {
	NexthopGroup *NextHopGroupSubscriptionRequest `protobuf:"bytes,17,opt,name=nexthop_group,json=nexthopGroup,proto3,oneof"` // Nexthop Group subscription request
}

type NotificationRegisterRequest_Operation

type NotificationRegisterRequest_Operation int32

Represents notification stream subscription request operation.

const (
	NotificationRegisterRequest_OPERATION_CREATE              NotificationRegisterRequest_Operation = 0 // Create a subscription
	NotificationRegisterRequest_OPERATION_DELETE              NotificationRegisterRequest_Operation = 1 // Delete all subscriptions
	NotificationRegisterRequest_OPERATION_ADD_SUBSCRIPTION    NotificationRegisterRequest_Operation = 2 // Add subscription to existing subscriptions
	NotificationRegisterRequest_OPERATION_DELETE_SUBSCRIPTION NotificationRegisterRequest_Operation = 3 // Delete one subscription from existing subscriptions
)

func (NotificationRegisterRequest_Operation) Descriptor

func (NotificationRegisterRequest_Operation) Enum

func (NotificationRegisterRequest_Operation) EnumDescriptor deprecated

func (NotificationRegisterRequest_Operation) EnumDescriptor() ([]byte, []int)

Deprecated: Use NotificationRegisterRequest_Operation.Descriptor instead.

func (NotificationRegisterRequest_Operation) Number

func (NotificationRegisterRequest_Operation) String

func (NotificationRegisterRequest_Operation) Type

type NotificationRegisterRequest_Route

type NotificationRegisterRequest_Route struct {
	Route *IpRouteSubscriptionRequest `protobuf:"bytes,15,opt,name=route,proto3,oneof"` // IP route subscription request
}

type NotificationRegisterResponse

type NotificationRegisterResponse struct {
	StreamId       uint64       `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"`
	SubscriptionId uint64       `protobuf:"varint,2,opt,name=subscription_id,json=subscriptionId,proto3" json:"subscription_id,omitempty"` // Subscription identifier. Each subscription gets an identifier, which can be used to delete a subscription
	Status         SdkMgrStatus `protobuf:"varint,3,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"`         // Status of subscription
	// contains filtered or unexported fields
}

* Represents notification response.

func (*NotificationRegisterResponse) Descriptor deprecated

func (*NotificationRegisterResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotificationRegisterResponse.ProtoReflect.Descriptor instead.

func (*NotificationRegisterResponse) GetStatus

func (*NotificationRegisterResponse) GetStreamId

func (x *NotificationRegisterResponse) GetStreamId() uint64

func (*NotificationRegisterResponse) GetSubscriptionId added in v0.5.0

func (x *NotificationRegisterResponse) GetSubscriptionId() uint64

func (*NotificationRegisterResponse) ProtoMessage

func (*NotificationRegisterResponse) ProtoMessage()

func (*NotificationRegisterResponse) ProtoReflect

func (*NotificationRegisterResponse) Reset

func (x *NotificationRegisterResponse) Reset()

func (*NotificationRegisterResponse) String

type NotificationStreamRequest

type NotificationStreamRequest struct {
	StreamId uint64 `protobuf:"varint,1,opt,name=stream_id,json=streamId,proto3" json:"stream_id,omitempty"` // Stream identifier
	// contains filtered or unexported fields
}

* Represents notification stream request.

func (*NotificationStreamRequest) Descriptor deprecated

func (*NotificationStreamRequest) Descriptor() ([]byte, []int)

Deprecated: Use NotificationStreamRequest.ProtoReflect.Descriptor instead.

func (*NotificationStreamRequest) GetStreamId

func (x *NotificationStreamRequest) GetStreamId() uint64

func (*NotificationStreamRequest) ProtoMessage

func (*NotificationStreamRequest) ProtoMessage()

func (*NotificationStreamRequest) ProtoReflect

func (*NotificationStreamRequest) Reset

func (x *NotificationStreamRequest) Reset()

func (*NotificationStreamRequest) String

func (x *NotificationStreamRequest) String() string

type NotificationStreamResponse

type NotificationStreamResponse struct {
	Notifications []*Notification `protobuf:"bytes,1,rep,name=notifications,proto3" json:"notifications,omitempty"` // Notification details
	// contains filtered or unexported fields
}

* Represents notification stream response that contains one or more notification.

func (*NotificationStreamResponse) Descriptor deprecated

func (*NotificationStreamResponse) Descriptor() ([]byte, []int)

Deprecated: Use NotificationStreamResponse.ProtoReflect.Descriptor instead.

func (*NotificationStreamResponse) GetNotifications added in v0.5.0

func (x *NotificationStreamResponse) GetNotifications() []*Notification

func (*NotificationStreamResponse) ProtoMessage

func (*NotificationStreamResponse) ProtoMessage()

func (*NotificationStreamResponse) ProtoReflect

func (*NotificationStreamResponse) Reset

func (x *NotificationStreamResponse) Reset()

func (*NotificationStreamResponse) String

func (x *NotificationStreamResponse) String() string

type Notification_AppId added in v0.5.0

type Notification_AppId struct {
	AppId *AppIdentNotification `protobuf:"bytes,16,opt,name=app_id,json=appId,proto3,oneof"` // App identification details
}

type Notification_BfdSession

type Notification_BfdSession struct {
	BfdSession *BfdSessionNotification `protobuf:"bytes,14,opt,name=bfd_session,json=bfdSession,proto3,oneof"` // BFD session details
}

type Notification_Config

type Notification_Config struct {
	Config *ConfigNotification `protobuf:"bytes,13,opt,name=config,proto3,oneof"` // Configuration notification
}

type Notification_Interface added in v0.5.0

type Notification_Interface struct {
	Interface *InterfaceNotification `protobuf:"bytes,10,opt,name=interface,proto3,oneof"` // Interface details
}

type Notification_LldpNeighbor

type Notification_LldpNeighbor struct {
	LldpNeighbor *LldpNeighborNotification `protobuf:"bytes,12,opt,name=lldp_neighbor,json=lldpNeighbor,proto3,oneof"` // LLDP neighbor details
}

type Notification_NetworkInstance added in v0.5.0

type Notification_NetworkInstance struct {
	NetworkInstance *NetworkInstanceNotification `protobuf:"bytes,11,opt,name=network_instance,json=networkInstance,proto3,oneof"` // Network instance details
}

type Notification_NexthopGroup added in v0.5.0

type Notification_NexthopGroup struct {
	NexthopGroup *NextHopGroupNotification `protobuf:"bytes,17,opt,name=nexthop_group,json=nexthopGroup,proto3,oneof"` // Next-hop group details
}

type Notification_Route

type Notification_Route struct {
	Route *IpRouteNotification `protobuf:"bytes,15,opt,name=route,proto3,oneof"` // IP route details
}

type PortIdPb

type PortIdPb struct {
	PortId uint64 `protobuf:"varint,1,opt,name=port_id,json=portId,proto3" json:"port_id,omitempty"` // Port identifier
	// contains filtered or unexported fields
}

* Represents port identifier.

func (*PortIdPb) Descriptor deprecated

func (*PortIdPb) Descriptor() ([]byte, []int)

Deprecated: Use PortIdPb.ProtoReflect.Descriptor instead.

func (*PortIdPb) GetPortId

func (x *PortIdPb) GetPortId() uint64

func (*PortIdPb) ProtoMessage

func (*PortIdPb) ProtoMessage()

func (*PortIdPb) ProtoReflect

func (x *PortIdPb) ProtoReflect() protoreflect.Message

func (*PortIdPb) Reset

func (x *PortIdPb) Reset()

func (*PortIdPb) String

func (x *PortIdPb) String() string

type PortOperDownReason added in v0.4.0

type PortOperDownReason int32

* Various reasons for port being operationally down.

const (
	PortOperDownReason_PORT_OPER_DOWN_NONE                      PortOperDownReason = 0
	PortOperDownReason_PORT_OPER_DOWN_PORT_ADMIN_DISABLED       PortOperDownReason = 1  // Admin disabled (out of service). E.g lanes not created in physical layer devices
	PortOperDownReason_PORT_OPER_DOWN_PORT_OPER_DISABLED        PortOperDownReason = 2  // Admin enabled but operationally disabled. E.g lanes created but serdes are off
	PortOperDownReason_PORT_OPER_DOWN_MDA_DISABLED              PortOperDownReason = 3  // Parent MDA is disabled
	PortOperDownReason_PORT_OPER_DOWN_MDA_FAILED                PortOperDownReason = 4  // Parent MDA failed
	PortOperDownReason_PORT_OPER_DOWN_LINK_DOWN                 PortOperDownReason = 5  // Operationally enabled but link/carrier down
	PortOperDownReason_PORT_OPER_DOWN_TRANS_NOT_PRESENT         PortOperDownReason = 6  // Transceiver is not plugged in or is dead (undetected)
	PortOperDownReason_PORT_OPER_DOWN_TRANS_LASER_DISABLED      PortOperDownReason = 7  // Transceiver laser is disabled
	PortOperDownReason_PORT_OPER_DOWN_INCOMPATIBLE_CONNECTOR    PortOperDownReason = 8  // Parent connector configuration does not match with this breakout port
	PortOperDownReason_PORT_OPER_DOWN_PHY_UNSUPPORTED_FEC_CFG   PortOperDownReason = 9  // A physical layer device on the port does not support configured FEC
	PortOperDownReason_PORT_OPER_DOWN_PHY_UNSUPPORTED_TRANS_FEC PortOperDownReason = 10 // A physical layer device on the port does not support FEC configured on the transceiver
	PortOperDownReason_PORT_OPER_DOWN_PHY_INTERNAL_FEC_ISSUE    PortOperDownReason = 11 // A physical layer device has internal/hardware problem on employing FEC
	PortOperDownReason_PORT_OPER_DOWN_UNSUPPORTED_BREAKOUT      PortOperDownReason = 12 // Connector does not support the configured breakout mode.
)

func (PortOperDownReason) Descriptor added in v0.4.0

func (PortOperDownReason) Enum added in v0.4.0

func (PortOperDownReason) EnumDescriptor deprecated added in v0.4.0

func (PortOperDownReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use PortOperDownReason.Descriptor instead.

func (PortOperDownReason) Number added in v0.4.0

func (PortOperDownReason) String added in v0.4.0

func (x PortOperDownReason) String() string

func (PortOperDownReason) Type added in v0.4.0

type PortWarningReason added in v0.4.0

type PortWarningReason int32

* Various warnings on port while it stays operational.

const (
	PortWarningReason_PORT_WARNING_NONE                        PortWarningReason = 0
	PortWarningReason_PORT_WARNING_TRANS_RX_LOS                PortWarningReason = 1 // Transceiver reported RxLos
	PortWarningReason_PORT_WARNING_TRANS_UNSUPPORTED_SYNCE_CFG PortWarningReason = 2 // Transceiver does not support synce configuration (e.g cannot do clock squelching on RxLos)
	PortWarningReason_PORT_WARNING_PHY_UNSUPPORTED_SYNCE_CFG   PortWarningReason = 3 // A physical layer device does not support synce configuration
	PortWarningReason_PORT_WARNING_PHY_UNSUPPORTED_PTP_CFG     PortWarningReason = 4 // A physical layer device does not support PTP configuration
)

func (PortWarningReason) Descriptor added in v0.4.0

func (PortWarningReason) Enum added in v0.4.0

func (PortWarningReason) EnumDescriptor deprecated added in v0.4.0

func (PortWarningReason) EnumDescriptor() ([]byte, []int)

Deprecated: Use PortWarningReason.Descriptor instead.

func (PortWarningReason) Number added in v0.4.0

func (PortWarningReason) String added in v0.4.0

func (x PortWarningReason) String() string

func (PortWarningReason) Type added in v0.4.0

type Route added in v0.5.0

type Route struct {
	NexthopGroupName string     `protobuf:"bytes,1,opt,name=nexthop_group_name,json=nexthopGroupName,proto3" json:"nexthop_group_name,omitempty"` // Next hop group name
	Preference       uint32     `protobuf:"varint,2,opt,name=preference,proto3" json:"preference,omitempty"`                                      // Preference
	Metric           uint32     `protobuf:"varint,3,opt,name=metric,proto3" json:"metric,omitempty"`                                              // Metric
	Nexthops         []*NextHop `protobuf:"bytes,4,rep,name=nexthops,proto3" json:"nexthops,omitempty"`                                           // List of next hops
	OwnerId          uint32     `protobuf:"varint,5,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`                             // Next hop owner identifier returned only on notification.
	NexthopGroupId   uint64     `protobuf:"varint,6,opt,name=nexthop_group_id,json=nexthopGroupId,proto3" json:"nexthop_group_id,omitempty"`      // Next-hop group identifier returned only on notification.
	// contains filtered or unexported fields
}

* Represents route data.

func (*Route) Descriptor deprecated added in v0.5.0

func (*Route) Descriptor() ([]byte, []int)

Deprecated: Use Route.ProtoReflect.Descriptor instead.

func (*Route) GetMetric added in v0.5.0

func (x *Route) GetMetric() uint32

func (*Route) GetNexthopGroupId added in v0.5.0

func (x *Route) GetNexthopGroupId() uint64

func (*Route) GetNexthopGroupName added in v0.5.0

func (x *Route) GetNexthopGroupName() string

func (*Route) GetNexthops added in v0.5.0

func (x *Route) GetNexthops() []*NextHop

func (*Route) GetOwnerId added in v0.5.0

func (x *Route) GetOwnerId() uint32

func (*Route) GetPreference added in v0.5.0

func (x *Route) GetPreference() uint32

func (*Route) ProtoMessage added in v0.5.0

func (*Route) ProtoMessage()

func (*Route) ProtoReflect added in v0.5.0

func (x *Route) ProtoReflect() protoreflect.Message

func (*Route) Reset added in v0.5.0

func (x *Route) Reset()

func (*Route) String added in v0.5.0

func (x *Route) String() string

type RouteAddRequest

type RouteAddRequest struct {
	Routes []*RouteInfo `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // IP routes
	// contains filtered or unexported fields
}

* Represents route add request; can contain more than one route.

func (*RouteAddRequest) Descriptor deprecated

func (*RouteAddRequest) Descriptor() ([]byte, []int)

Deprecated: Use RouteAddRequest.ProtoReflect.Descriptor instead.

func (*RouteAddRequest) GetRoutes

func (x *RouteAddRequest) GetRoutes() []*RouteInfo

func (*RouteAddRequest) ProtoMessage

func (*RouteAddRequest) ProtoMessage()

func (*RouteAddRequest) ProtoReflect

func (x *RouteAddRequest) ProtoReflect() protoreflect.Message

func (*RouteAddRequest) Reset

func (x *RouteAddRequest) Reset()

func (*RouteAddRequest) String

func (x *RouteAddRequest) String() string

type RouteAddResponse

type RouteAddResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of route add operation
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error string
	// contains filtered or unexported fields
}

* Represents route add response.

func (*RouteAddResponse) Descriptor deprecated

func (*RouteAddResponse) Descriptor() ([]byte, []int)

Deprecated: Use RouteAddResponse.ProtoReflect.Descriptor instead.

func (*RouteAddResponse) GetErrorStr

func (x *RouteAddResponse) GetErrorStr() string

func (*RouteAddResponse) GetStatus

func (x *RouteAddResponse) GetStatus() SdkMgrStatus

func (*RouteAddResponse) ProtoMessage

func (*RouteAddResponse) ProtoMessage()

func (*RouteAddResponse) ProtoReflect

func (x *RouteAddResponse) ProtoReflect() protoreflect.Message

func (*RouteAddResponse) Reset

func (x *RouteAddResponse) Reset()

func (*RouteAddResponse) String

func (x *RouteAddResponse) String() string

type RouteDeleteRequest

type RouteDeleteRequest struct {
	Routes []*RouteKey `protobuf:"bytes,2,rep,name=routes,proto3" json:"routes,omitempty"` // IP routes
	// contains filtered or unexported fields
}

* Represents route delete request; can contain more than one route.

func (*RouteDeleteRequest) Descriptor deprecated

func (*RouteDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use RouteDeleteRequest.ProtoReflect.Descriptor instead.

func (*RouteDeleteRequest) GetRoutes

func (x *RouteDeleteRequest) GetRoutes() []*RouteKey

func (*RouteDeleteRequest) ProtoMessage

func (*RouteDeleteRequest) ProtoMessage()

func (*RouteDeleteRequest) ProtoReflect

func (x *RouteDeleteRequest) ProtoReflect() protoreflect.Message

func (*RouteDeleteRequest) Reset

func (x *RouteDeleteRequest) Reset()

func (*RouteDeleteRequest) String

func (x *RouteDeleteRequest) String() string

type RouteDeleteResponse

type RouteDeleteResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of route delete operation
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error string
	// contains filtered or unexported fields
}

* Represents route delete response.

func (*RouteDeleteResponse) Descriptor deprecated

func (*RouteDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use RouteDeleteResponse.ProtoReflect.Descriptor instead.

func (*RouteDeleteResponse) GetErrorStr

func (x *RouteDeleteResponse) GetErrorStr() string

func (*RouteDeleteResponse) GetStatus

func (x *RouteDeleteResponse) GetStatus() SdkMgrStatus

func (*RouteDeleteResponse) ProtoMessage

func (*RouteDeleteResponse) ProtoMessage()

func (*RouteDeleteResponse) ProtoReflect

func (x *RouteDeleteResponse) ProtoReflect() protoreflect.Message

func (*RouteDeleteResponse) Reset

func (x *RouteDeleteResponse) Reset()

func (*RouteDeleteResponse) String

func (x *RouteDeleteResponse) String() string

type RouteInfo

type RouteInfo struct {
	Key  *RouteKey `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`   // Route key
	Data *Route    `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Route data
	// contains filtered or unexported fields
}

* Represents route information.

func (*RouteInfo) Descriptor deprecated

func (*RouteInfo) Descriptor() ([]byte, []int)

Deprecated: Use RouteInfo.ProtoReflect.Descriptor instead.

func (*RouteInfo) GetData

func (x *RouteInfo) GetData() *Route

func (*RouteInfo) GetKey

func (x *RouteInfo) GetKey() *RouteKey

func (*RouteInfo) ProtoMessage

func (*RouteInfo) ProtoMessage()

func (*RouteInfo) ProtoReflect

func (x *RouteInfo) ProtoReflect() protoreflect.Message

func (*RouteInfo) Reset

func (x *RouteInfo) Reset()

func (*RouteInfo) String

func (x *RouteInfo) String() string

type RouteKey added in v0.5.0

type RouteKey struct {
	NetworkInstanceName string           `protobuf:"bytes,1,opt,name=network_instance_name,json=networkInstanceName,proto3" json:"network_instance_name,omitempty"` // Network instance name
	IpPrefix            *IpAddrPrefLenPb `protobuf:"bytes,2,opt,name=ip_prefix,json=ipPrefix,proto3" json:"ip_prefix,omitempty"`                                    // IP prefix
	// contains filtered or unexported fields
}

* Represents route key.

func (*RouteKey) Descriptor deprecated added in v0.5.0

func (*RouteKey) Descriptor() ([]byte, []int)

Deprecated: Use RouteKey.ProtoReflect.Descriptor instead.

func (*RouteKey) GetIpPrefix added in v0.5.0

func (x *RouteKey) GetIpPrefix() *IpAddrPrefLenPb

func (*RouteKey) GetNetworkInstanceName added in v0.5.0

func (x *RouteKey) GetNetworkInstanceName() string

func (*RouteKey) ProtoMessage added in v0.5.0

func (*RouteKey) ProtoMessage()

func (*RouteKey) ProtoReflect added in v0.5.0

func (x *RouteKey) ProtoReflect() protoreflect.Message

func (*RouteKey) Reset added in v0.5.0

func (x *RouteKey) Reset()

func (*RouteKey) String added in v0.5.0

func (x *RouteKey) String() string

type SdkMgrConfigServiceClient added in v0.3.0

type SdkMgrConfigServiceClient interface {
	// Acknowledge received configuration.
	// When agent is registered with `wait_config_ack` flag set to true
	// it needs to acknowledge received configuration.
	AcknowledgeConfig(ctx context.Context, in *AcknowledgeConfigRequest, opts ...grpc.CallOption) (*AcknowledgeConfigResponse, error)
}

SdkMgrConfigServiceClient is the client API for SdkMgrConfigService 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 NewSdkMgrConfigServiceClient added in v0.3.0

func NewSdkMgrConfigServiceClient(cc grpc.ClientConnInterface) SdkMgrConfigServiceClient

type SdkMgrConfigServiceServer added in v0.3.0

type SdkMgrConfigServiceServer interface {
	// Acknowledge received configuration.
	// When agent is registered with `wait_config_ack` flag set to true
	// it needs to acknowledge received configuration.
	AcknowledgeConfig(context.Context, *AcknowledgeConfigRequest) (*AcknowledgeConfigResponse, error)
}

SdkMgrConfigServiceServer is the server API for SdkMgrConfigService service. All implementations should embed UnimplementedSdkMgrConfigServiceServer for forward compatibility

type SdkMgrNextHopGroupServiceClient

type SdkMgrNextHopGroupServiceClient interface {
	// Add or update one or more next-hop groups.
	NextHopGroupAddOrUpdate(ctx context.Context, in *NextHopGroupRequest, opts ...grpc.CallOption) (*NextHopGroupResponse, error)
	// Delete next-hop group.
	NextHopGroupDelete(ctx context.Context, in *NextHopGroupDeleteRequest, opts ...grpc.CallOption) (*NextHopGroupDeleteResponse, error)
	// Synchronization start to open synchronization operation.
	SyncStart(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
	// Synchronization end to close synchronization operation.
	SyncEnd(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
}

SdkMgrNextHopGroupServiceClient is the client API for SdkMgrNextHopGroupService 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.

type SdkMgrNextHopGroupServiceServer

type SdkMgrNextHopGroupServiceServer interface {
	// Add or update one or more next-hop groups.
	NextHopGroupAddOrUpdate(context.Context, *NextHopGroupRequest) (*NextHopGroupResponse, error)
	// Delete next-hop group.
	NextHopGroupDelete(context.Context, *NextHopGroupDeleteRequest) (*NextHopGroupDeleteResponse, error)
	// Synchronization start to open synchronization operation.
	SyncStart(context.Context, *SyncRequest) (*SyncResponse, error)
	// Synchronization end to close synchronization operation.
	SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error)
}

SdkMgrNextHopGroupServiceServer is the server API for SdkMgrNextHopGroupService service. All implementations should embed UnimplementedSdkMgrNextHopGroupServiceServer for forward compatibility

type SdkMgrOperation

type SdkMgrOperation int32

* Represents enumeration value for operation in subscription.

const (
	SdkMgrOperation_SDK_MGR_OPERATION_CREATE           SdkMgrOperation = 0 // Create operation; returned if caching is enabled
	SdkMgrOperation_SDK_MGR_OPERATION_UPDATE           SdkMgrOperation = 1 // Update operation; returned if caching is enabled
	SdkMgrOperation_SDK_MGR_OPERATION_DELETE           SdkMgrOperation = 2 // Delete operation
	SdkMgrOperation_SDK_MGR_OPERATION_CREATE_OR_UPDATE SdkMgrOperation = 3 // returned if caching is disabled; App can cache streaming data, if needed.
)

func (SdkMgrOperation) Descriptor

func (SdkMgrOperation) Enum

func (x SdkMgrOperation) Enum() *SdkMgrOperation

func (SdkMgrOperation) EnumDescriptor deprecated

func (SdkMgrOperation) EnumDescriptor() ([]byte, []int)

Deprecated: Use SdkMgrOperation.Descriptor instead.

func (SdkMgrOperation) Number

func (SdkMgrOperation) String

func (x SdkMgrOperation) String() string

func (SdkMgrOperation) Type

type SdkMgrRouteServiceClient

type SdkMgrRouteServiceClient interface {
	// Add or update IP routes.
	RouteAddOrUpdate(ctx context.Context, in *RouteAddRequest, opts ...grpc.CallOption) (*RouteAddResponse, error)
	// Delete IP routes.
	RouteDelete(ctx context.Context, in *RouteDeleteRequest, opts ...grpc.CallOption) (*RouteDeleteResponse, error)
	// Synchronization start for IP routes
	SyncStart(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
	// Synchronization end for IP routes
	SyncEnd(ctx context.Context, in *SyncRequest, opts ...grpc.CallOption) (*SyncResponse, error)
}

SdkMgrRouteServiceClient is the client API for SdkMgrRouteService 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.

type SdkMgrRouteServiceServer

type SdkMgrRouteServiceServer interface {
	// Add or update IP routes.
	RouteAddOrUpdate(context.Context, *RouteAddRequest) (*RouteAddResponse, error)
	// Delete IP routes.
	RouteDelete(context.Context, *RouteDeleteRequest) (*RouteDeleteResponse, error)
	// Synchronization start for IP routes
	SyncStart(context.Context, *SyncRequest) (*SyncResponse, error)
	// Synchronization end for IP routes
	SyncEnd(context.Context, *SyncRequest) (*SyncResponse, error)
}

SdkMgrRouteServiceServer is the server API for SdkMgrRouteService service. All implementations should embed UnimplementedSdkMgrRouteServiceServer for forward compatibility

type SdkMgrServiceClient

type SdkMgrServiceClient interface {
	// Register agent
	AgentRegister(ctx context.Context, in *AgentRegistrationRequest, opts ...grpc.CallOption) (*AgentRegistrationResponse, error)
	// Unregister agent
	AgentUnRegister(ctx context.Context, in *AgentRegistrationRequest, opts ...grpc.CallOption) (*AgentRegistrationResponse, error)
	// Register for event notifications
	NotificationRegister(ctx context.Context, in *NotificationRegisterRequest, opts ...grpc.CallOption) (*NotificationRegisterResponse, error)
	// Returns current or specific notification subscription details
	NotificationQuery(ctx context.Context, in *NotificationQueryRequest, opts ...grpc.CallOption) (*NotificationQueryResponse, error)
	// Send periodic keepalive message
	KeepAlive(ctx context.Context, in *KeepAliveRequest, opts ...grpc.CallOption) (*KeepAliveResponse, error)
	// Get application name from application identifier
	GetAppId(ctx context.Context, in *AppIdRequest, opts ...grpc.CallOption) (*AppIdResponse, error)
}

SdkMgrServiceClient is the client API for SdkMgrService 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.

type SdkMgrServiceServer

type SdkMgrServiceServer interface {
	// Register agent
	AgentRegister(context.Context, *AgentRegistrationRequest) (*AgentRegistrationResponse, error)
	// Unregister agent
	AgentUnRegister(context.Context, *AgentRegistrationRequest) (*AgentRegistrationResponse, error)
	// Register for event notifications
	NotificationRegister(context.Context, *NotificationRegisterRequest) (*NotificationRegisterResponse, error)
	// Returns current or specific notification subscription details
	NotificationQuery(context.Context, *NotificationQueryRequest) (*NotificationQueryResponse, error)
	// Send periodic keepalive message
	KeepAlive(context.Context, *KeepAliveRequest) (*KeepAliveResponse, error)
	// Get application name from application identifier
	GetAppId(context.Context, *AppIdRequest) (*AppIdResponse, error)
}

SdkMgrServiceServer is the server API for SdkMgrService service. All implementations should embed UnimplementedSdkMgrServiceServer for forward compatibility

type SdkMgrStatus

type SdkMgrStatus int32

* Represents status of network programming service calls.

const (
	SdkMgrStatus_SDK_MGR_STATUS_SUCCESS SdkMgrStatus = 0 // Successful service call
	SdkMgrStatus_SDK_MGR_STATUS_FAILED  SdkMgrStatus = 1 // Failed service call
)

func (SdkMgrStatus) Descriptor

func (SdkMgrStatus) Enum

func (x SdkMgrStatus) Enum() *SdkMgrStatus

func (SdkMgrStatus) EnumDescriptor deprecated

func (SdkMgrStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use SdkMgrStatus.Descriptor instead.

func (SdkMgrStatus) Number

func (SdkMgrStatus) String

func (x SdkMgrStatus) String() string

func (SdkMgrStatus) Type

type SdkMgrTelemetryServiceClient

type SdkMgrTelemetryServiceClient interface {
	// Add or update telemetry data
	TelemetryAddOrUpdate(ctx context.Context, in *TelemetryUpdateRequest, opts ...grpc.CallOption) (*TelemetryUpdateResponse, error)
	// Delete telemetry data
	TelemetryDelete(ctx context.Context, in *TelemetryDeleteRequest, opts ...grpc.CallOption) (*TelemetryDeleteResponse, error)
}

SdkMgrTelemetryServiceClient is the client API for SdkMgrTelemetryService 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.

type SdkMgrTelemetryServiceServer

type SdkMgrTelemetryServiceServer interface {
	// Add or update telemetry data
	TelemetryAddOrUpdate(context.Context, *TelemetryUpdateRequest) (*TelemetryUpdateResponse, error)
	// Delete telemetry data
	TelemetryDelete(context.Context, *TelemetryDeleteRequest) (*TelemetryDeleteResponse, error)
}

SdkMgrTelemetryServiceServer is the server API for SdkMgrTelemetryService service. All implementations should embed UnimplementedSdkMgrTelemetryServiceServer for forward compatibility

type SdkNotificationServiceClient

type SdkNotificationServiceClient interface {
	// Send stream of event notifications based on the agent subscriptions
	NotificationStream(ctx context.Context, in *NotificationStreamRequest, opts ...grpc.CallOption) (SdkNotificationService_NotificationStreamClient, error)
}

SdkNotificationServiceClient is the client API for SdkNotificationService 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.

type SdkNotificationServiceServer

type SdkNotificationServiceServer interface {
	// Send stream of event notifications based on the agent subscriptions
	NotificationStream(*NotificationStreamRequest, SdkNotificationService_NotificationStreamServer) error
}

SdkNotificationServiceServer is the server API for SdkNotificationService service. All implementations should embed UnimplementedSdkNotificationServiceServer for forward compatibility

type SdkNotificationService_NotificationStreamClient

type SdkNotificationService_NotificationStreamClient interface {
	Recv() (*NotificationStreamResponse, error)
	grpc.ClientStream
}

type SdkNotificationService_NotificationStreamServer

type SdkNotificationService_NotificationStreamServer interface {
	Send(*NotificationStreamResponse) error
	grpc.ServerStream
}

type SyncRequest

type SyncRequest struct {
	// contains filtered or unexported fields
}

* Empty message for synchronization request.

func (*SyncRequest) Descriptor deprecated

func (*SyncRequest) Descriptor() ([]byte, []int)

Deprecated: Use SyncRequest.ProtoReflect.Descriptor instead.

func (*SyncRequest) ProtoMessage

func (*SyncRequest) ProtoMessage()

func (*SyncRequest) ProtoReflect

func (x *SyncRequest) ProtoReflect() protoreflect.Message

func (*SyncRequest) Reset

func (x *SyncRequest) Reset()

func (*SyncRequest) String

func (x *SyncRequest) String() string

type SyncResponse

type SyncResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Error code
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error string
	// contains filtered or unexported fields
}

* Empty message for synchronization end.

func (*SyncResponse) Descriptor deprecated

func (*SyncResponse) Descriptor() ([]byte, []int)

Deprecated: Use SyncResponse.ProtoReflect.Descriptor instead.

func (*SyncResponse) GetErrorStr

func (x *SyncResponse) GetErrorStr() string

func (*SyncResponse) GetStatus

func (x *SyncResponse) GetStatus() SdkMgrStatus

func (*SyncResponse) ProtoMessage

func (*SyncResponse) ProtoMessage()

func (*SyncResponse) ProtoReflect

func (x *SyncResponse) ProtoReflect() protoreflect.Message

func (*SyncResponse) Reset

func (x *SyncResponse) Reset()

func (*SyncResponse) String

func (x *SyncResponse) String() string

type TelemetryData

type TelemetryData struct {
	JsonContent string `protobuf:"bytes,1,opt,name=json_content,json=jsonContent,proto3" json:"json_content,omitempty"` // Structured JSON telemetry data
	// contains filtered or unexported fields
}

* Represents telemetry data.

func (*TelemetryData) Descriptor deprecated

func (*TelemetryData) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryData.ProtoReflect.Descriptor instead.

func (*TelemetryData) GetJsonContent

func (x *TelemetryData) GetJsonContent() string

func (*TelemetryData) ProtoMessage

func (*TelemetryData) ProtoMessage()

func (*TelemetryData) ProtoReflect

func (x *TelemetryData) ProtoReflect() protoreflect.Message

func (*TelemetryData) Reset

func (x *TelemetryData) Reset()

func (*TelemetryData) String

func (x *TelemetryData) String() string

type TelemetryDeleteRequest

type TelemetryDeleteRequest struct {
	Keys []*TelemetryKey `protobuf:"bytes,1,rep,name=keys,proto3" json:"keys,omitempty"` // Telemetry key
	// contains filtered or unexported fields
}

* Represents telemetry delete request.

func (*TelemetryDeleteRequest) Descriptor deprecated

func (*TelemetryDeleteRequest) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryDeleteRequest.ProtoReflect.Descriptor instead.

func (*TelemetryDeleteRequest) GetKeys added in v0.5.0

func (x *TelemetryDeleteRequest) GetKeys() []*TelemetryKey

func (*TelemetryDeleteRequest) ProtoMessage

func (*TelemetryDeleteRequest) ProtoMessage()

func (*TelemetryDeleteRequest) ProtoReflect

func (x *TelemetryDeleteRequest) ProtoReflect() protoreflect.Message

func (*TelemetryDeleteRequest) Reset

func (x *TelemetryDeleteRequest) Reset()

func (*TelemetryDeleteRequest) String

func (x *TelemetryDeleteRequest) String() string

type TelemetryDeleteResponse

type TelemetryDeleteResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of delete request
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error message
	// contains filtered or unexported fields
}

* Represents telemetry delete response.

func (*TelemetryDeleteResponse) Descriptor deprecated

func (*TelemetryDeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryDeleteResponse.ProtoReflect.Descriptor instead.

func (*TelemetryDeleteResponse) GetErrorStr

func (x *TelemetryDeleteResponse) GetErrorStr() string

func (*TelemetryDeleteResponse) GetStatus

func (x *TelemetryDeleteResponse) GetStatus() SdkMgrStatus

func (*TelemetryDeleteResponse) ProtoMessage

func (*TelemetryDeleteResponse) ProtoMessage()

func (*TelemetryDeleteResponse) ProtoReflect

func (x *TelemetryDeleteResponse) ProtoReflect() protoreflect.Message

func (*TelemetryDeleteResponse) Reset

func (x *TelemetryDeleteResponse) Reset()

func (*TelemetryDeleteResponse) String

func (x *TelemetryDeleteResponse) String() string

type TelemetryInfo

type TelemetryInfo struct {
	Key  *TelemetryKey  `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`   // Telemetry key
	Data *TelemetryData `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Telemetry data
	// contains filtered or unexported fields
}

* Represents telemetry information.

func (*TelemetryInfo) Descriptor deprecated

func (*TelemetryInfo) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryInfo.ProtoReflect.Descriptor instead.

func (*TelemetryInfo) GetData

func (x *TelemetryInfo) GetData() *TelemetryData

func (*TelemetryInfo) GetKey

func (x *TelemetryInfo) GetKey() *TelemetryKey

func (*TelemetryInfo) ProtoMessage

func (*TelemetryInfo) ProtoMessage()

func (*TelemetryInfo) ProtoReflect

func (x *TelemetryInfo) ProtoReflect() protoreflect.Message

func (*TelemetryInfo) Reset

func (x *TelemetryInfo) Reset()

func (*TelemetryInfo) String

func (x *TelemetryInfo) String() string

type TelemetryKey

type TelemetryKey struct {
	JsPath string `protobuf:"bytes,1,opt,name=js_path,json=jsPath,proto3" json:"js_path,omitempty"` // JSON path referencing the key for telemetry data
	// contains filtered or unexported fields
}

* Represents telemetry key.

func (*TelemetryKey) Descriptor deprecated

func (*TelemetryKey) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryKey.ProtoReflect.Descriptor instead.

func (*TelemetryKey) GetJsPath

func (x *TelemetryKey) GetJsPath() string

func (*TelemetryKey) ProtoMessage

func (*TelemetryKey) ProtoMessage()

func (*TelemetryKey) ProtoReflect

func (x *TelemetryKey) ProtoReflect() protoreflect.Message

func (*TelemetryKey) Reset

func (x *TelemetryKey) Reset()

func (*TelemetryKey) String

func (x *TelemetryKey) String() string

type TelemetryUpdateRequest

type TelemetryUpdateRequest struct {
	States []*TelemetryInfo `protobuf:"bytes,1,rep,name=states,proto3" json:"states,omitempty"` // State of application
	// contains filtered or unexported fields
}

* Represents telemetry update request.

func (*TelemetryUpdateRequest) Descriptor deprecated

func (*TelemetryUpdateRequest) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryUpdateRequest.ProtoReflect.Descriptor instead.

func (*TelemetryUpdateRequest) GetStates added in v0.5.0

func (x *TelemetryUpdateRequest) GetStates() []*TelemetryInfo

func (*TelemetryUpdateRequest) ProtoMessage

func (*TelemetryUpdateRequest) ProtoMessage()

func (*TelemetryUpdateRequest) ProtoReflect

func (x *TelemetryUpdateRequest) ProtoReflect() protoreflect.Message

func (*TelemetryUpdateRequest) Reset

func (x *TelemetryUpdateRequest) Reset()

func (*TelemetryUpdateRequest) String

func (x *TelemetryUpdateRequest) String() string

type TelemetryUpdateResponse

type TelemetryUpdateResponse struct {
	Status   SdkMgrStatus `protobuf:"varint,1,opt,name=status,proto3,enum=srlinux.sdk.SdkMgrStatus" json:"status,omitempty"` // Status of telemetry update request
	ErrorStr string       `protobuf:"bytes,2,opt,name=error_str,json=errorStr,proto3" json:"error_str,omitempty"`            // Detailed error message
	// contains filtered or unexported fields
}

* Represents telemetry update response.

func (*TelemetryUpdateResponse) Descriptor deprecated

func (*TelemetryUpdateResponse) Descriptor() ([]byte, []int)

Deprecated: Use TelemetryUpdateResponse.ProtoReflect.Descriptor instead.

func (*TelemetryUpdateResponse) GetErrorStr

func (x *TelemetryUpdateResponse) GetErrorStr() string

func (*TelemetryUpdateResponse) GetStatus

func (x *TelemetryUpdateResponse) GetStatus() SdkMgrStatus

func (*TelemetryUpdateResponse) ProtoMessage

func (*TelemetryUpdateResponse) ProtoMessage()

func (*TelemetryUpdateResponse) ProtoReflect

func (x *TelemetryUpdateResponse) ProtoReflect() protoreflect.Message

func (*TelemetryUpdateResponse) Reset

func (x *TelemetryUpdateResponse) Reset()

func (*TelemetryUpdateResponse) String

func (x *TelemetryUpdateResponse) String() string

type UnimplementedSdkMgrConfigServiceServer added in v0.3.0

type UnimplementedSdkMgrConfigServiceServer struct {
}

UnimplementedSdkMgrConfigServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSdkMgrConfigServiceServer) AcknowledgeConfig added in v0.3.0

type UnimplementedSdkMgrNextHopGroupServiceServer

type UnimplementedSdkMgrNextHopGroupServiceServer struct {
}

UnimplementedSdkMgrNextHopGroupServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSdkMgrNextHopGroupServiceServer) NextHopGroupAddOrUpdate

func (UnimplementedSdkMgrNextHopGroupServiceServer) NextHopGroupDelete

func (UnimplementedSdkMgrNextHopGroupServiceServer) SyncEnd

func (UnimplementedSdkMgrNextHopGroupServiceServer) SyncStart

type UnimplementedSdkMgrRouteServiceServer

type UnimplementedSdkMgrRouteServiceServer struct {
}

UnimplementedSdkMgrRouteServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSdkMgrRouteServiceServer) RouteAddOrUpdate

func (UnimplementedSdkMgrRouteServiceServer) RouteDelete

func (UnimplementedSdkMgrRouteServiceServer) SyncEnd

func (UnimplementedSdkMgrRouteServiceServer) SyncStart

type UnimplementedSdkMgrServiceServer

type UnimplementedSdkMgrServiceServer struct {
}

UnimplementedSdkMgrServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSdkMgrServiceServer) AgentRegister

func (UnimplementedSdkMgrServiceServer) AgentUnRegister

func (UnimplementedSdkMgrServiceServer) GetAppId

func (UnimplementedSdkMgrServiceServer) KeepAlive

func (UnimplementedSdkMgrServiceServer) NotificationQuery

type UnimplementedSdkMgrTelemetryServiceServer

type UnimplementedSdkMgrTelemetryServiceServer struct {
}

UnimplementedSdkMgrTelemetryServiceServer should be embedded to have forward compatible implementations.

func (UnimplementedSdkMgrTelemetryServiceServer) TelemetryAddOrUpdate

func (UnimplementedSdkMgrTelemetryServiceServer) TelemetryDelete

type UnimplementedSdkNotificationServiceServer

type UnimplementedSdkNotificationServiceServer struct {
}

UnimplementedSdkNotificationServiceServer should be embedded to have forward compatible implementations.

type UnsafeSdkMgrConfigServiceServer added in v0.3.0

type UnsafeSdkMgrConfigServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSdkMgrConfigServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SdkMgrConfigServiceServer will result in compilation errors.

type UnsafeSdkMgrNextHopGroupServiceServer

type UnsafeSdkMgrNextHopGroupServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSdkMgrNextHopGroupServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SdkMgrNextHopGroupServiceServer will result in compilation errors.

type UnsafeSdkMgrRouteServiceServer

type UnsafeSdkMgrRouteServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSdkMgrRouteServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SdkMgrRouteServiceServer will result in compilation errors.

type UnsafeSdkMgrServiceServer

type UnsafeSdkMgrServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSdkMgrServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SdkMgrServiceServer will result in compilation errors.

type UnsafeSdkMgrTelemetryServiceServer

type UnsafeSdkMgrTelemetryServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSdkMgrTelemetryServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SdkMgrTelemetryServiceServer will result in compilation errors.

type UnsafeSdkNotificationServiceServer

type UnsafeSdkNotificationServiceServer interface {
	// contains filtered or unexported methods
}

UnsafeSdkNotificationServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SdkNotificationServiceServer will result in compilation errors.

Jump to

Keyboard shortcuts

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