otg

package
v0.12.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2023 License: MIT Imports: 10 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	LagProtocol_Choice_Enum_name = map[int32]string{
		0: "unspecified",
		1: "lacp",
		2: "static",
	}
	LagProtocol_Choice_Enum_value = map[string]int32{
		"unspecified": 0,
		"lacp":        1,
		"static":      2,
	}
)

Enum value maps for LagProtocol_Choice_Enum.

View Source
var (
	LagPortLacp_ActorActivity_Enum_name = map[int32]string{
		0: "unspecified",
		1: "passive",
		2: "active",
	}
	LagPortLacp_ActorActivity_Enum_value = map[string]int32{
		"unspecified": 0,
		"passive":     1,
		"active":      2,
	}
)

Enum value maps for LagPortLacp_ActorActivity_Enum.

View Source
var (
	EthernetConnection_Choice_Enum_name = map[int32]string{
		0: "unspecified",
		1: "port_name",
		2: "lag_name",
		3: "vxlan_name",
	}
	EthernetConnection_Choice_Enum_value = map[string]int32{
		"unspecified": 0,
		"port_name":   1,
		"lag_name":    2,
		"vxlan_name":  3,
	}
)

Enum value maps for EthernetConnection_Choice_Enum.

View Source
var (
	DeviceVlan_Tpid_Enum_name = map[int32]string{
		0: "unspecified",
		1: "x8100",
		2: "x88a8",
		3: "x9100",
		4: "x9200",
		5: "x9300",
	}
	DeviceVlan_Tpid_Enum_value = map[string]int32{
		"unspecified": 0,
		"x8100":       1,
		"x88a8":       2,
		"x9100":       3,
		"x9200":       4,
		"x9300":       5,
	}
)

Enum value maps for DeviceVlan_Tpid_Enum.

View Source
var (
	DeviceIpv4GatewayMAC_Choice_Enum_name = map[int32]string{
		0: "unspecified",
		1: "auto",
		2: "value",
	}
	DeviceIpv4GatewayMAC_Choice_Enum_value = map[string]int32{
		"unspecified": 0,
		"auto":        1,
		"value":       2,
	}
)

Enum value maps for DeviceIpv4GatewayMAC_Choice_Enum.

View Source
var (
	DeviceIpv6GatewayMAC_Choice_Enum_name = map[int32]string{
		0: "unspecified",
		1: "auto",
		2: "value",
	}
	DeviceIpv6GatewayMAC_Choice_Enum_value = map[string]int32{
		"unspecified": 0,
		"auto":        1,
		"value":       2,
	}
)

Enum value maps for DeviceIpv6GatewayMAC_Choice_Enum.

View Source
var (
	Layer1_Speed_Enum_name = map[int32]string{
		0:  "unspecified",
		1:  "speed_10_fd_mbps",
		2:  "speed_10_hd_mbps",
		3:  "speed_100_fd_mbps",
		4:  "speed_100_hd_mbps",
		5:  "speed_1_gbps",
		6:  "speed_10_gbps",
		7:  "speed_25_gbps",
		8:  "speed_40_gbps",
		9:  "speed_50_gbps",
		10: "speed_100_gbps",
		11: "speed_200_gbps",
		12: "speed_400_gbps",
	}
	Layer1_Speed_Enum_value = map[string]int32{
		"unspecified":       0,
		"speed_10_fd_mbps":  1,
		"speed_10_hd_mbps":  2,
		"speed_100_fd_mbps": 3,
		"speed_100_hd_mbps": 4,
		"speed_1_gbps":      5,
		"speed_10_gbps":     6,
		"speed_25_gbps":     7,
		"speed_40_gbps":     8,
		"speed_50_gbps":     9,
		"speed_100_gbps":    10,
		"speed_200_gbps":    11,
		"speed_400_gbps":    12,
	}
)

Enum value maps for Layer1_Speed_Enum.

View Source
var (
	Layer1_Media_Enum_name = map[int32]string{
		0: "unspecified",
		1: "copper",
		2: "fiber",
		3: "sgmii",
	}
	Layer1_Media_Enum_value = map[string]int32{
		"unspecified": 0,
		"copper":      1,
		"fiber":       2,
		"sgmii":       3,
	}
)

Enum value maps for Layer1_Media_Enum.

View Source
var (
	Layer1FlowControl_Choice_Enum_name = map[int32]string{
		0: "unspecified",
		1: "ieee_802_1qbb",
		2: "ieee_802_3x",
	}
	Layer1FlowControl_Choice_Enum_value = map[string]int32{
		"unspecified":   0,
		"ieee_802_1qbb": 1,
		"ieee_802_3x":   2,
	}
)

Enum value maps for Layer1FlowControl_Choice_Enum.

View Source
var (
	Capture_Format_Enum_name = map[int32]string{
		0: "unspecified",
		1: "pcap",
		2: "pcapng",
	}
	Capture_Format_Enum_value = map[string]int32{
		"unspecified": 0,
		"pcap":        1,
		"pcapng":      2,
	}
)

Enum value maps for Capture_Format_Enum.

View Source
var (
	CaptureFilter_Choice_Enum_name = map[int32]string{
		0: "unspecified",
		1: "custom",
		2: "ethernet",
		3: "vlan",
		4: "ipv4",
		5: "ipv6",
	}
	CaptureFilter_Choice_Enum_value = map[string]int32{
		"unspecified": 0,
		"custom":      1,
		"ethernet":    2,
		"vlan":        3,
		"ipv4":        4,
		"ipv6":        5,
	}
)

Enum value maps for CaptureFilter_Choice_Enum.

View Source
var (
	IsisInterface_NetworkType_Enum_name = map[int32]string{
		0: "unspecified",
		1: "broadcast",
		2: "point_to_point",
	}
	IsisInterface_NetworkType_Enum_value = map[string]int32{
		"unspecified":    0,
		"broadcast":      1,
		"point_to_point": 2,
	}
)

Enum value maps for IsisInterface_NetworkType_Enum.

View Source
var (
	IsisInterface_LevelType_Enum_name = map[int32]string{
		0: "unspecified",
		1: "level_1",
		2: "level_2",
		3: "level_1_2",
	}
	IsisInterface_LevelType_Enum_value = map[string]int32{
		"unspecified": 0,
		"level_1":     1,
		"level_2":     2,
		"level_1_2":   3,
	}
)

Enum value maps for IsisInterface_LevelType_Enum.

View Source
var (
	IsisInterfaceAuthentication_AuthType_Enum_name = map[int32]string{
		0: "unspecified",
		1: "md5",
		2: "password",
	}
	IsisInterfaceAuthentication_AuthType_Enum_value = map[string]int32{
		"unspecified": 0,
		"md5":         1,
		"password":    2,
	}
)

Enum value maps for IsisInterfaceAuthentication_AuthType_Enum.

View Source
var (
	IsisAuthenticationBase_AuthType_Enum_name = map[int32]string{
		0: "unspecified",
		1: "md5",
		2: "password",
	}
	IsisAuthenticationBase_AuthType_Enum_value = map[string]int32{
		"unspecified": 0,
		"md5":         1,
		"password":    2,
	}
)

Enum value maps for IsisAuthenticationBase_AuthType_Enum.

View Source
var (
	IsisV4RouteRange_OriginType_Enum_name = map[int32]string{
		0: "unspecified",
		1: "internal",
		2: "external",
	}
	IsisV4RouteRange_OriginType_Enum_value = map[string]int32{
		"unspecified": 0,
		"internal":    1,
		"external":    2,
	}
)

Enum value maps for IsisV4RouteRange_OriginType_Enum.

View Source
var (
	IsisV4RouteRange_RedistributionType_Enum_name = map[int32]string{
		0: "unspecified",
		1: "up",
		2: "down",
	}
	IsisV4RouteRange_RedistributionType_Enum_value = map[string]int32{
		"unspecified": 0,
		"up":          1,
		"down":        2,
	}
)

Enum value maps for IsisV4RouteRange_RedistributionType_Enum.

View Source
var (
	IsisV6RouteRange_OriginType_Enum_name = map[int32]string{
		0: "unspecified",
		1: "internal",
		2: "external",
	}
	IsisV6RouteRange_OriginType_Enum_value = map[string]int32{
		"unspecified": 0,
		"internal":    1,
		"external":    2,
	}
)

Enum value maps for IsisV6RouteRange_OriginType_Enum.

View Source
var (
	IsisV6RouteRange_RedistributionType_Enum_name = map[int32]string{
		0: "unspecified",
		1: "up",
		2: "down",
	}
	IsisV6RouteRange_RedistributionType_Enum_value = map[string]int32{
		"unspecified": 0,
		"up":          1,
		"down":        2,
	}
)

Enum value maps for IsisV6RouteRange_RedistributionType_Enum.

View Source
var (
	DeviceBgpMessageHeaderError_Subcode_Enum_name = map[int32]string{
		0: "unspecified",
		1: "connection_not_synchronized_code1_subcode1",
		2: "bad_message_length_code1_subcode2",
		3: "bad_message_type_code1_subcode3",
	}
	DeviceBgpMessageHeaderError_Subcode_Enum_value = map[string]int32{
		"unspecified": 0,
		"connection_not_synchronized_code1_subcode1": 1,
		"bad_message_length_code1_subcode2":          2,
		"bad_message_type_code1_subcode3":            3,
	}
)

Enum value maps for DeviceBgpMessageHeaderError_Subcode_Enum.

View Source
var (
	DeviceBgpOpenMessageError_Subcode_Enum_name = map[int32]string{
		0: "unspecified",
		1: "unsupported_version_number_code2_subcode1",
		2: "error_peer_as_code2_subcode2",
		3: "error_bgp_id_code2_subcode3",
		4: "unsupported_optional_parameter_code2_subcode4",
		5: "auth_failed_code2_subcode5",
		6: "unsupported_hold_time_code2_subcode6",
		7: "unsupported_capability_code2_subcode7",
	}
	DeviceBgpOpenMessageError_Subcode_Enum_value = map[string]int32{
		"unspecified": 0,
		"unsupported_version_number_code2_subcode1":     1,
		"error_peer_as_code2_subcode2":                  2,
		"error_bgp_id_code2_subcode3":                   3,
		"unsupported_optional_parameter_code2_subcode4": 4,
		"auth_failed_code2_subcode5":                    5,
		"unsupported_hold_time_code2_subcode6":          6,
		"unsupported_capability_code2_subcode7"