openflow_13

package
v0.0.0-...-8f485f0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package openflow_13 is a generated protocol buffer package.

It is generated from these files:

openflow_13.proto

It has these top-level messages:

OfpHeader
OfpHelloElemHeader
OfpHelloElemVersionbitmap
OfpHello
OfpSwitchConfig
OfpTableMod
OfpPort
OfpSwitchFeatures
OfpPortStatus
OfpPortMod
OfpMatch
OfpOxmField
OfpOxmOfbField
OfpOxmExperimenterField
OfpAction
OfpActionOutput
OfpActionMplsTtl
OfpActionPush
OfpActionPopMpls
OfpActionGroup
OfpActionNwTtl
OfpActionSetField
OfpActionExperimenter
OfpInstruction
OfpInstructionGotoTable
OfpInstructionWriteMetadata
OfpInstructionActions
OfpInstructionMeter
OfpInstructionExperimenter
OfpFlowMod
OfpBucket
OfpGroupMod
OfpPacketOut
OfpPacketIn
OfpFlowRemoved
OfpMeterBandHeader
OfpMeterBandDrop
OfpMeterBandDscpRemark
OfpMeterBandExperimenter
OfpMeterMod
OfpErrorMsg
OfpErrorExperimenterMsg
OfpMultipartRequest
OfpMultipartReply
OfpDesc
OfpFlowStatsRequest
OfpFlowStats
OfpAggregateStatsRequest
OfpAggregateStatsReply
OfpTableFeatureProperty
OfpTableFeaturePropInstructions
OfpTableFeaturePropNextTables
OfpTableFeaturePropActions
OfpTableFeaturePropOxm
OfpTableFeaturePropExperimenter
OfpTableFeatures
OfpTableStats
OfpPortStatsRequest
OfpPortStats
OfpGroupStatsRequest
OfpBucketCounter
OfpGroupStats
OfpGroupDesc
OfpGroupEntry
OfpGroupFeatures
OfpMeterMultipartRequest
OfpMeterBandStats
OfpMeterStats
OfpMeterConfig
OfpMeterFeatures
OfpExperimenterMultipartHeader
OfpExperimenterHeader
OfpQueuePropHeader
OfpQueuePropMinRate
OfpQueuePropMaxRate
OfpQueuePropExperimenter
OfpPacketQueue
OfpQueueGetConfigRequest
OfpQueueGetConfigReply
OfpActionSetQueue
OfpQueueStatsRequest
OfpQueueStats
OfpRoleRequest
OfpAsyncConfig
FlowTableUpdate
FlowGroupTableUpdate
Flows
FlowGroups
PacketIn
PacketOut
ChangeEvent

Index

Constants

View Source
const MessageParserOption_CREATE_BOTH_GROUPING_AND_CONTAINER = MessageParserOption(voltha.MessageParserOption_CREATE_BOTH_GROUPING_AND_CONTAINER)
View Source
const MessageParserOption_MOVE_TO_PARENT_LEVEL = MessageParserOption(voltha.MessageParserOption_MOVE_TO_PARENT_LEVEL)

Variables

View Source
var E_YangChildRule = voltha.E_YangChildRule

yang_child_rule from public import yang_options.proto

View Source
var E_YangInlineNode = voltha.E_YangInlineNode

yang_inline_node from public import yang_options.proto

View Source
var E_YangMessageRule = voltha.E_YangMessageRule

yang_message_rule from public import yang_options.proto

View Source
var E_YangXmlTag = voltha.E_YangXmlTag

yang_xml_tag from public import yang_options.proto

View Source
var MessageParserOption_name = voltha.MessageParserOption_name
View Source
var MessageParserOption_value = voltha.MessageParserOption_value
View Source
var OfpActionType_name = map[int32]string{
	0:     "OFPAT_OUTPUT",
	11:    "OFPAT_COPY_TTL_OUT",
	12:    "OFPAT_COPY_TTL_IN",
	15:    "OFPAT_SET_MPLS_TTL",
	16:    "OFPAT_DEC_MPLS_TTL",
	17:    "OFPAT_PUSH_VLAN",
	18:    "OFPAT_POP_VLAN",
	19:    "OFPAT_PUSH_MPLS",
	20:    "OFPAT_POP_MPLS",
	21:    "OFPAT_SET_QUEUE",
	22:    "OFPAT_GROUP",
	23:    "OFPAT_SET_NW_TTL",
	24:    "OFPAT_DEC_NW_TTL",
	25:    "OFPAT_SET_FIELD",
	26:    "OFPAT_PUSH_PBB",
	27:    "OFPAT_POP_PBB",
	65535: "OFPAT_EXPERIMENTER",
}
View Source
var OfpActionType_value = map[string]int32{
	"OFPAT_OUTPUT":       0,
	"OFPAT_COPY_TTL_OUT": 11,
	"OFPAT_COPY_TTL_IN":  12,
	"OFPAT_SET_MPLS_TTL": 15,
	"OFPAT_DEC_MPLS_TTL": 16,
	"OFPAT_PUSH_VLAN":    17,
	"OFPAT_POP_VLAN":     18,
	"OFPAT_PUSH_MPLS":    19,
	"OFPAT_POP_MPLS":     20,
	"OFPAT_SET_QUEUE":    21,
	"OFPAT_GROUP":        22,
	"OFPAT_SET_NW_TTL":   23,
	"OFPAT_DEC_NW_TTL":   24,
	"OFPAT_SET_FIELD":    25,
	"OFPAT_PUSH_PBB":     26,
	"OFPAT_POP_PBB":      27,
	"OFPAT_EXPERIMENTER": 65535,
}
View Source
var OfpBadActionCode_name = map[int32]string{
	0:  "OFPBAC_BAD_TYPE",
	1:  "OFPBAC_BAD_LEN",
	2:  "OFPBAC_BAD_EXPERIMENTER",
	3:  "OFPBAC_BAD_EXP_TYPE",
	4:  "OFPBAC_BAD_OUT_PORT",
	5:  "OFPBAC_BAD_ARGUMENT",
	6:  "OFPBAC_EPERM",
	7:  "OFPBAC_TOO_MANY",
	8:  "OFPBAC_BAD_QUEUE",
	9:  "OFPBAC_BAD_OUT_GROUP",
	10: "OFPBAC_MATCH_INCONSISTENT",
	11: "OFPBAC_UNSUPPORTED_ORDER",
	12: "OFPBAC_BAD_TAG",
	13: "OFPBAC_BAD_SET_TYPE",
	14: "OFPBAC_BAD_SET_LEN",
	15: "OFPBAC_BAD_SET_ARGUMENT",
}
View Source
var OfpBadActionCode_value = map[string]int32{
	"OFPBAC_BAD_TYPE":           0,
	"OFPBAC_BAD_LEN":            1,
	"OFPBAC_BAD_EXPERIMENTER":   2,
	"OFPBAC_BAD_EXP_TYPE":       3,
	"OFPBAC_BAD_OUT_PORT":       4,
	"OFPBAC_BAD_ARGUMENT":       5,
	"OFPBAC_EPERM":              6,
	"OFPBAC_TOO_MANY":           7,
	"OFPBAC_BAD_QUEUE":          8,
	"OFPBAC_BAD_OUT_GROUP":      9,
	"OFPBAC_MATCH_INCONSISTENT": 10,
	"OFPBAC_UNSUPPORTED_ORDER":  11,
	"OFPBAC_BAD_TAG":            12,
	"OFPBAC_BAD_SET_TYPE":       13,
	"OFPBAC_BAD_SET_LEN":        14,
	"OFPBAC_BAD_SET_ARGUMENT":   15,
}
View Source
var OfpBadInstructionCode_name = map[int32]string{
	0: "OFPBIC_UNKNOWN_INST",
	1: "OFPBIC_UNSUP_INST",
	2: "OFPBIC_BAD_TABLE_ID",
	3: "OFPBIC_UNSUP_METADATA",
	4: "OFPBIC_UNSUP_METADATA_MASK",
	5: "OFPBIC_BAD_EXPERIMENTER",
	6: "OFPBIC_BAD_EXP_TYPE",
	7: "OFPBIC_BAD_LEN",
	8: "OFPBIC_EPERM",
}
View Source
var OfpBadInstructionCode_value = map[string]int32{
	"OFPBIC_UNKNOWN_INST":        0,
	"OFPBIC_UNSUP_INST":          1,
	"OFPBIC_BAD_TABLE_ID":        2,
	"OFPBIC_UNSUP_METADATA":      3,
	"OFPBIC_UNSUP_METADATA_MASK": 4,
	"OFPBIC_BAD_EXPERIMENTER":    5,
	"OFPBIC_BAD_EXP_TYPE":        6,
	"OFPBIC_BAD_LEN":             7,
	"OFPBIC_EPERM":               8,
}
View Source
var OfpBadMatchCode_name = map[int32]string{
	0:  "OFPBMC_BAD_TYPE",
	1:  "OFPBMC_BAD_LEN",
	2:  "OFPBMC_BAD_TAG",
	3:  "OFPBMC_BAD_DL_ADDR_MASK",
	4:  "OFPBMC_BAD_NW_ADDR_MASK",
	5:  "OFPBMC_BAD_WILDCARDS",
	6:  "OFPBMC_BAD_FIELD",
	7:  "OFPBMC_BAD_VALUE",
	8:  "OFPBMC_BAD_MASK",
	9:  "OFPBMC_BAD_PREREQ",
	10: "OFPBMC_DUP_FIELD",
	11: "OFPBMC_EPERM",
}
View Source
var OfpBadMatchCode_value = map[string]int32{
	"OFPBMC_BAD_TYPE":         0,
	"OFPBMC_BAD_LEN":          1,
	"OFPBMC_BAD_TAG":          2,
	"OFPBMC_BAD_DL_ADDR_MASK": 3,
	"OFPBMC_BAD_NW_ADDR_MASK": 4,
	"OFPBMC_BAD_WILDCARDS":    5,
	"OFPBMC_BAD_FIELD":        6,
	"OFPBMC_BAD_VALUE":        7,
	"OFPBMC_BAD_MASK":         8,
	"OFPBMC_BAD_PREREQ":       9,
	"OFPBMC_DUP_FIELD":        10,
	"OFPBMC_EPERM":            11,
}
View Source
var OfpBadRequestCode_name = map[int32]string{
	0:  "OFPBRC_BAD_VERSION",
	1:  "OFPBRC_BAD_TYPE",
	2:  "OFPBRC_BAD_MULTIPART",
	3:  "OFPBRC_BAD_EXPERIMENTER",
	4:  "OFPBRC_BAD_EXP_TYPE",
	5:  "OFPBRC_EPERM",
	6:  "OFPBRC_BAD_LEN",
	7:  "OFPBRC_BUFFER_EMPTY",
	8:  "OFPBRC_BUFFER_UNKNOWN",
	9:  "OFPBRC_BAD_TABLE_ID",
	10: "OFPBRC_IS_SLAVE",
	11: "OFPBRC_BAD_PORT",
	12: "OFPBRC_BAD_PACKET",
	13: "OFPBRC_MULTIPART_BUFFER_OVERFLOW",
}
View Source
var OfpBadRequestCode_value = map[string]int32{
	"OFPBRC_BAD_VERSION":               0,
	"OFPBRC_BAD_TYPE":                  1,
	"OFPBRC_BAD_MULTIPART":             2,
	"OFPBRC_BAD_EXPERIMENTER":          3,
	"OFPBRC_BAD_EXP_TYPE":              4,
	"OFPBRC_EPERM":                     5,
	"OFPBRC_BAD_LEN":                   6,
	"OFPBRC_BUFFER_EMPTY":              7,
	"OFPBRC_BUFFER_UNKNOWN":            8,
	"OFPBRC_BAD_TABLE_ID":              9,
	"OFPBRC_IS_SLAVE":                  10,
	"OFPBRC_BAD_PORT":                  11,
	"OFPBRC_BAD_PACKET":                12,
	"OFPBRC_MULTIPART_BUFFER_OVERFLOW": 13,
}
View Source
var OfpCapabilities_name = map[int32]string{
	0:   "OFPC_INVALID",
	1:   "OFPC_FLOW_STATS",
	2:   "OFPC_TABLE_STATS",
	4:   "OFPC_PORT_STATS",
	8:   "OFPC_GROUP_STATS",
	32:  "OFPC_IP_REASM",
	64:  "OFPC_QUEUE_STATS",
	256: "OFPC_PORT_BLOCKED",
}
View Source
var OfpCapabilities_value = map[string]int32{
	"OFPC_INVALID":      0,
	"OFPC_FLOW_STATS":   1,
	"OFPC_TABLE_STATS":  2,
	"OFPC_PORT_STATS":   4,
	"OFPC_GROUP_STATS":  8,
	"OFPC_IP_REASM":     32,
	"OFPC_QUEUE_STATS":  64,
	"OFPC_PORT_BLOCKED": 256,
}
View Source
var OfpConfigFlags_name = map[int32]string{
	0: "OFPC_FRAG_NORMAL",
	1: "OFPC_FRAG_DROP",
	2: "OFPC_FRAG_REASM",
	3: "OFPC_FRAG_MASK",
}
View Source
var OfpConfigFlags_value = map[string]int32{
	"OFPC_FRAG_NORMAL": 0,
	"OFPC_FRAG_DROP":   1,
	"OFPC_FRAG_REASM":  2,
	"OFPC_FRAG_MASK":   3,
}
View Source
var OfpControllerMaxLen_name = map[int32]string{
	0:     "OFPCML_INVALID",
	65509: "OFPCML_MAX",
	65535: "OFPCML_NO_BUFFER",
}
View Source
var OfpControllerMaxLen_value = map[string]int32{
	"OFPCML_INVALID":   0,
	"OFPCML_MAX":       65509,
	"OFPCML_NO_BUFFER": 65535,
}
View Source
var OfpControllerRole_name = map[int32]string{
	0: "OFPCR_ROLE_NOCHANGE",
	1: "OFPCR_ROLE_EQUAL",
	2: "OFPCR_ROLE_MASTER",
	3: "OFPCR_ROLE_SLAVE",
}
View Source
var OfpControllerRole_value = map[string]int32{
	"OFPCR_ROLE_NOCHANGE": 0,
	"OFPCR_ROLE_EQUAL":    1,
	"OFPCR_ROLE_MASTER":   2,
	"OFPCR_ROLE_SLAVE":    3,
}
View Source
var OfpErrorType_name = map[int32]string{
	0:     "OFPET_HELLO_FAILED",
	1:     "OFPET_BAD_REQUEST",
	2:     "OFPET_BAD_ACTION",
	3:     "OFPET_BAD_INSTRUCTION",
	4:     "OFPET_BAD_MATCH",
	5:     "OFPET_FLOW_MOD_FAILED",
	6:     "OFPET_GROUP_MOD_FAILED",
	7:     "OFPET_PORT_MOD_FAILED",
	8:     "OFPET_TABLE_MOD_FAILED",
	9:     "OFPET_QUEUE_OP_FAILED",
	10:    "OFPET_SWITCH_CONFIG_FAILED",
	11:    "OFPET_ROLE_REQUEST_FAILED",
	12:    "OFPET_METER_MOD_FAILED",
	13:    "OFPET_TABLE_FEATURES_FAILED",
	65535: "OFPET_EXPERIMENTER",
}
View Source
var OfpErrorType_value = map[string]int32{
	"OFPET_HELLO_FAILED":          0,
	"OFPET_BAD_REQUEST":           1,
	"OFPET_BAD_ACTION":            2,
	"OFPET_BAD_INSTRUCTION":       3,
	"OFPET_BAD_MATCH":             4,
	"OFPET_FLOW_MOD_FAILED":       5,
	"OFPET_GROUP_MOD_FAILED":      6,
	"OFPET_PORT_MOD_FAILED":       7,
	"OFPET_TABLE_MOD_FAILED":      8,
	"OFPET_QUEUE_OP_FAILED":       9,
	"OFPET_SWITCH_CONFIG_FAILED":  10,
	"OFPET_ROLE_REQUEST_FAILED":   11,
	"OFPET_METER_MOD_FAILED":      12,
	"OFPET_TABLE_FEATURES_FAILED": 13,
	"OFPET_EXPERIMENTER":          65535,
}
View Source
var OfpFlowModCommand_name = map[int32]string{
	0: "OFPFC_ADD",
	1: "OFPFC_MODIFY",
	2: "OFPFC_MODIFY_STRICT",
	3: "OFPFC_DELETE",
	4: "OFPFC_DELETE_STRICT",
}
View Source
var OfpFlowModCommand_value = map[string]int32{
	"OFPFC_ADD":           0,
	"OFPFC_MODIFY":        1,
	"OFPFC_MODIFY_STRICT": 2,
	"OFPFC_DELETE":        3,
	"OFPFC_DELETE_STRICT": 4,
}
View Source
var OfpFlowModFailedCode_name = map[int32]string{
	0: "OFPFMFC_UNKNOWN",
	1: "OFPFMFC_TABLE_FULL",
	2: "OFPFMFC_BAD_TABLE_ID",
	3: "OFPFMFC_OVERLAP",
	4: "OFPFMFC_EPERM",
	5: "OFPFMFC_BAD_TIMEOUT",
	6: "OFPFMFC_BAD_COMMAND",
	7: "OFPFMFC_BAD_FLAGS",
}
View Source
var OfpFlowModFailedCode_value = map[string]int32{
	"OFPFMFC_UNKNOWN":      0,
	"OFPFMFC_TABLE_FULL":   1,
	"OFPFMFC_BAD_TABLE_ID": 2,
	"OFPFMFC_OVERLAP":      3,
	"OFPFMFC_EPERM":        4,
	"OFPFMFC_BAD_TIMEOUT":  5,
	"OFPFMFC_BAD_COMMAND":  6,
	"OFPFMFC_BAD_FLAGS":    7,
}
View Source
var OfpFlowModFlags_name = map[int32]string{
	0:  "OFPFF_INVALID",
	1:  "OFPFF_SEND_FLOW_REM",
	2:  "OFPFF_CHECK_OVERLAP",
	4:  "OFPFF_RESET_COUNTS",
	8:  "OFPFF_NO_PKT_COUNTS",
	16: "OFPFF_NO_BYT_COUNTS",
}
View Source
var OfpFlowModFlags_value = map[string]int32{
	"OFPFF_INVALID":       0,
	"OFPFF_SEND_FLOW_REM": 1,
	"OFPFF_CHECK_OVERLAP": 2,
	"OFPFF_RESET_COUNTS":  4,
	"OFPFF_NO_PKT_COUNTS": 8,
	"OFPFF_NO_BYT_COUNTS": 16,
}
View Source
var OfpFlowRemovedReason_name = map[int32]string{
	0: "OFPRR_IDLE_TIMEOUT",
	1: "OFPRR_HARD_TIMEOUT",
	2: "OFPRR_DELETE",
	3: "OFPRR_GROUP_DELETE",
	4: "OFPRR_METER_DELETE",
}
View Source
var OfpFlowRemovedReason_value = map[string]int32{
	"OFPRR_IDLE_TIMEOUT": 0,
	"OFPRR_HARD_TIMEOUT": 1,
	"OFPRR_DELETE":       2,
	"OFPRR_GROUP_DELETE": 3,
	"OFPRR_METER_DELETE": 4,
}
View Source
var OfpGroupCapabilities_name = map[int32]string{
	0: "OFPGFC_INVALID",
	1: "OFPGFC_SELECT_WEIGHT",
	2: "OFPGFC_SELECT_LIVENESS",
	4: "OFPGFC_CHAINING",
	8: "OFPGFC_CHAINING_CHECKS",
}
View Source
var OfpGroupCapabilities_value = map[string]int32{
	"OFPGFC_INVALID":         0,
	"OFPGFC_SELECT_WEIGHT":   1,
	"OFPGFC_SELECT_LIVENESS": 2,
	"OFPGFC_CHAINING":        4,
	"OFPGFC_CHAINING_CHECKS": 8,
}
View Source
var OfpGroupModCommand_name = map[int32]string{
	0: "OFPGC_ADD",
	1: "OFPGC_MODIFY",
	2: "OFPGC_DELETE",
}
View Source
var OfpGroupModCommand_value = map[string]int32{
	"OFPGC_ADD":    0,
	"OFPGC_MODIFY": 1,
	"OFPGC_DELETE": 2,
}
View Source
var OfpGroupModFailedCode_name = map[int32]string{
	0:  "OFPGMFC_GROUP_EXISTS",
	1:  "OFPGMFC_INVALID_GROUP",
	2:  "OFPGMFC_WEIGHT_UNSUPPORTED",
	3:  "OFPGMFC_OUT_OF_GROUPS",
	4:  "OFPGMFC_OUT_OF_BUCKETS",
	5:  "OFPGMFC_CHAINING_UNSUPPORTED",
	6:  "OFPGMFC_WATCH_UNSUPPORTED",
	7:  "OFPGMFC_LOOP",
	8:  "OFPGMFC_UNKNOWN_GROUP",
	9:  "OFPGMFC_CHAINED_GROUP",
	10: "OFPGMFC_BAD_TYPE",
	11: "OFPGMFC_BAD_COMMAND",
	12: "OFPGMFC_BAD_BUCKET",
	13: "OFPGMFC_BAD_WATCH",
	14: "OFPGMFC_EPERM",
}
View Source
var OfpGroupModFailedCode_value = map[string]int32{
	"OFPGMFC_GROUP_EXISTS":         0,
	"OFPGMFC_INVALID_GROUP":        1,
	"OFPGMFC_WEIGHT_UNSUPPORTED":   2,
	"OFPGMFC_OUT_OF_GROUPS":        3,
	"OFPGMFC_OUT_OF_BUCKETS":       4,
	"OFPGMFC_CHAINING_UNSUPPORTED": 5,
	"OFPGMFC_WATCH_UNSUPPORTED":    6,
	"OFPGMFC_LOOP":                 7,
	"OFPGMFC_UNKNOWN_GROUP":        8,
	"OFPGMFC_CHAINED_GROUP":        9,
	"OFPGMFC_BAD_TYPE":             10,
	"OFPGMFC_BAD_COMMAND":          11,
	"OFPGMFC_BAD_BUCKET":           12,
	"OFPGMFC_BAD_WATCH":            13,
	"OFPGMFC_EPERM":                14,
}
View Source
var OfpGroupType_name = map[int32]string{
	0: "OFPGT_ALL",
	1: "OFPGT_SELECT",
	2: "OFPGT_INDIRECT",
	3: "OFPGT_FF",
}
View Source
var OfpGroupType_value = map[string]int32{
	"OFPGT_ALL":      0,
	"OFPGT_SELECT":   1,
	"OFPGT_INDIRECT": 2,
	"OFPGT_FF":       3,
}
View Source
var OfpGroup_name = map[int32]string{
	0:          "OFPG_INVALID",
	2147483392: "OFPG_MAX",
	2147483644: "OFPG_ALL",
	2147483647: "OFPG_ANY",
}
View Source
var OfpGroup_value = map[string]int32{
	"OFPG_INVALID": 0,
	"OFPG_MAX":     2147483392,
	"OFPG_ALL":     2147483644,
	"OFPG_ANY":     2147483647,
}
View Source
var OfpHelloElemType_name = map[int32]string{
	0: "OFPHET_INVALID",
	1: "OFPHET_VERSIONBITMAP",
}
View Source
var OfpHelloElemType_value = map[string]int32{
	"OFPHET_INVALID":       0,
	"OFPHET_VERSIONBITMAP": 1,
}
View Source
var OfpHelloFailedCode_name = map[int32]string{
	0: "OFPHFC_INCOMPATIBLE",
	1: "OFPHFC_EPERM",
}
View Source
var OfpHelloFailedCode_value = map[string]int32{
	"OFPHFC_INCOMPATIBLE": 0,
	"OFPHFC_EPERM":        1,
}
View Source
var OfpInstructionType_name = map[int32]string{
	0:     "OFPIT_INVALID",
	1:     "OFPIT_GOTO_TABLE",
	2:     "OFPIT_WRITE_METADATA",
	3:     "OFPIT_WRITE_ACTIONS",
	4:     "OFPIT_APPLY_ACTIONS",
	5:     "OFPIT_CLEAR_ACTIONS",
	6:     "OFPIT_METER",
	65535: "OFPIT_EXPERIMENTER",
}
View Source
var OfpInstructionType_value = map[string]int32{
	"OFPIT_INVALID":        0,
	"OFPIT_GOTO_TABLE":     1,
	"OFPIT_WRITE_METADATA": 2,
	"OFPIT_WRITE_ACTIONS":  3,
	"OFPIT_APPLY_ACTIONS":  4,
	"OFPIT_CLEAR_ACTIONS":  5,
	"OFPIT_METER":          6,
	"OFPIT_EXPERIMENTER":   65535,
}
View Source
var OfpIpv6ExthdrFlags_name = map[int32]string{
	0:   "OFPIEH_INVALID",
	1:   "OFPIEH_NONEXT",
	2:   "OFPIEH_ESP",
	4:   "OFPIEH_AUTH",
	8:   "OFPIEH_DEST",
	16:  "OFPIEH_FRAG",
	32:  "OFPIEH_ROUTER",
	64:  "OFPIEH_HOP",
	128: "OFPIEH_UNREP",
	256: "OFPIEH_UNSEQ",
}
View Source
var OfpIpv6ExthdrFlags_value = map[string]int32{
	"OFPIEH_INVALID": 0,
	"OFPIEH_NONEXT":  1,
	"OFPIEH_ESP":     2,
	"OFPIEH_AUTH":    4,
	"OFPIEH_DEST":    8,
	"OFPIEH_FRAG":    16,
	"OFPIEH_ROUTER":  32,
	"OFPIEH_HOP":     64,
	"OFPIEH_UNREP":   128,
	"OFPIEH_UNSEQ":   256,
}
View Source
var OfpMatchType_name = map[int32]string{
	0: "OFPMT_STANDARD",
	1: "OFPMT_OXM",
}
View Source
var OfpMatchType_value = map[string]int32{
	"OFPMT_STANDARD": 0,
	"OFPMT_OXM":      1,
}
View Source
var OfpMeterBandType_name = map[int32]string{
	0:     "OFPMBT_INVALID",
	1:     "OFPMBT_DROP",
	2:     "OFPMBT_DSCP_REMARK",
	65535: "OFPMBT_EXPERIMENTER",
}
View Source
var OfpMeterBandType_value = map[string]int32{
	"OFPMBT_INVALID":      0,
	"OFPMBT_DROP":         1,
	"OFPMBT_DSCP_REMARK":  2,
	"OFPMBT_EXPERIMENTER": 65535,
}
View Source
var OfpMeterFlags_name = map[int32]string{
	0: "OFPMF_INVALID",
	1: "OFPMF_KBPS",
	2: "OFPMF_PKTPS",
	4: "OFPMF_BURST",
	8: "OFPMF_STATS",
}
View Source
var OfpMeterFlags_value = map[string]int32{
	"OFPMF_INVALID": 0,
	"OFPMF_KBPS":    1,
	"OFPMF_PKTPS":   2,
	"OFPMF_BURST":   4,
	"OFPMF_STATS":   8,
}
View Source
var OfpMeterModCommand_name = map[int32]string{
	0: "OFPMC_ADD",
	1: "OFPMC_MODIFY",
	2: "OFPMC_DELETE",
}
View Source
var OfpMeterModCommand_value = map[string]int32{
	"OFPMC_ADD":    0,
	"OFPMC_MODIFY": 1,
	"OFPMC_DELETE": 2,
}
View Source
var OfpMeterModFailedCode_name = map[int32]string{
	0:  "OFPMMFC_UNKNOWN",
	1:  "OFPMMFC_METER_EXISTS",
	2:  "OFPMMFC_INVALID_METER",
	3:  "OFPMMFC_UNKNOWN_METER",
	4:  "OFPMMFC_BAD_COMMAND",
	5:  "OFPMMFC_BAD_FLAGS",
	6:  "OFPMMFC_BAD_RATE",
	7:  "OFPMMFC_BAD_BURST",
	8:  "OFPMMFC_BAD_BAND",
	9:  "OFPMMFC_BAD_BAND_VALUE",
	10: "OFPMMFC_OUT_OF_METERS",
	11: "OFPMMFC_OUT_OF_BANDS",
}
View Source
var OfpMeterModFailedCode_value = map[string]int32{
	"OFPMMFC_UNKNOWN":        0,
	"OFPMMFC_METER_EXISTS":   1,
	"OFPMMFC_INVALID_METER":  2,
	"OFPMMFC_UNKNOWN_METER":  3,
	"OFPMMFC_BAD_COMMAND":    4,
	"OFPMMFC_BAD_FLAGS":      5,
	"OFPMMFC_BAD_RATE":       6,
	"OFPMMFC_BAD_BURST":      7,
	"OFPMMFC_BAD_BAND":       8,
	"OFPMMFC_BAD_BAND_VALUE": 9,
	"OFPMMFC_OUT_OF_METERS":  10,
	"OFPMMFC_OUT_OF_BANDS":   11,
}
View Source
var OfpMeter_name = map[int32]string{
	0:          "OFPM_ZERO",
	2147418112: "OFPM_MAX",
	2147483645: "OFPM_SLOWPATH",
	2147483646: "OFPM_CONTROLLER",
	2147483647: "OFPM_ALL",
}
View Source
var OfpMeter_value = map[string]int32{
	"OFPM_ZERO":       0,
	"OFPM_MAX":        2147418112,
	"OFPM_SLOWPATH":   2147483645,
	"OFPM_CONTROLLER": 2147483646,
	"OFPM_ALL":        2147483647,
}
View Source
var OfpMultipartReplyFlags_name = map[int32]string{
	0: "OFPMPF_REPLY_INVALID",
	1: "OFPMPF_REPLY_MORE",
}
View Source
var OfpMultipartReplyFlags_value = map[string]int32{
	"OFPMPF_REPLY_INVALID": 0,
	"OFPMPF_REPLY_MORE":    1,
}
View Source
var OfpMultipartRequestFlags_name = map[int32]string{
	0: "OFPMPF_REQ_INVALID",
	1: "OFPMPF_REQ_MORE",
}
View Source
var OfpMultipartRequestFlags_value = map[string]int32{
	"OFPMPF_REQ_INVALID": 0,
	"OFPMPF_REQ_MORE":    1,
}
View Source
var OfpMultipartType_name = map[int32]string{
	0:     "OFPMP_DESC",
	1:     "OFPMP_FLOW",
	2:     "OFPMP_AGGREGATE",
	3:     "OFPMP_TABLE",
	4:     "OFPMP_PORT_STATS",
	5:     "OFPMP_QUEUE",
	6:     "OFPMP_GROUP",
	7:     "OFPMP_GROUP_DESC",
	8:     "OFPMP_GROUP_FEATURES",
	9:     "OFPMP_METER",
	10:    "OFPMP_METER_CONFIG",
	11:    "OFPMP_METER_FEATURES",
	12:    "OFPMP_TABLE_FEATURES",
	13:    "OFPMP_PORT_DESC",
	65535: "OFPMP_EXPERIMENTER",
}
View Source
var OfpMultipartType_value = map[string]int32{
	"OFPMP_DESC":           0,
	"OFPMP_FLOW":           1,
	"OFPMP_AGGREGATE":      2,
	"OFPMP_TABLE":          3,
	"OFPMP_PORT_STATS":     4,
	"OFPMP_QUEUE":          5,
	"OFPMP_GROUP":          6,
	"OFPMP_GROUP_DESC":     7,
	"OFPMP_GROUP_FEATURES": 8,
	"OFPMP_METER":          9,
	"OFPMP_METER_CONFIG":   10,
	"OFPMP_METER_FEATURES": 11,
	"OFPMP_TABLE_FEATURES": 12,
	"OFPMP_PORT_DESC":      13,
	"OFPMP_EXPERIMENTER":   65535,
}
View Source
var OfpOxmClass_name = map[int32]string{
	0:     "OFPXMC_NXM_0",
	1:     "OFPXMC_NXM_1",
	32768: "OFPXMC_OPENFLOW_BASIC",
	65535: "OFPXMC_EXPERIMENTER",
}
View Source
var OfpOxmClass_value = map[string]int32{
	"OFPXMC_NXM_0":          0,
	"OFPXMC_NXM_1":          1,
	"OFPXMC_OPENFLOW_BASIC": 32768,
	"OFPXMC_EXPERIMENTER":   65535,
}
View Source
var OfpPacketInReason_name = map[int32]string{
	0: "OFPR_NO_MATCH",
	1: "OFPR_ACTION",
	2: "OFPR_INVALID_TTL",
}
View Source
var OfpPacketInReason_value = map[string]int32{
	"OFPR_NO_MATCH":    0,
	"OFPR_ACTION":      1,
	"OFPR_INVALID_TTL": 2,
}
View Source
var OfpPortConfig_name = map[int32]string{
	0:  "OFPPC_INVALID",
	1:  "OFPPC_PORT_DOWN",
	4:  "OFPPC_NO_RECV",
	32: "OFPPC_NO_FWD",
	64: "OFPPC_NO_PACKET_IN",
}
View Source
var OfpPortConfig_value = map[string]int32{
	"OFPPC_INVALID":      0,
	"OFPPC_PORT_DOWN":    1,
	"OFPPC_NO_RECV":      4,
	"OFPPC_NO_FWD":       32,
	"OFPPC_NO_PACKET_IN": 64,
}
View Source
var OfpPortFeatures_name = map[int32]string{
	0:     "OFPPF_INVALID",
	1:     "OFPPF_10MB_HD",
	2:     "OFPPF_10MB_FD",
	4:     "OFPPF_100MB_HD",
	8:     "OFPPF_100MB_FD",
	16:    "OFPPF_1GB_HD",
	32:    "OFPPF_1GB_FD",
	64:    "OFPPF_10GB_FD",
	128:   "OFPPF_40GB_FD",
	256:   "OFPPF_100GB_FD",
	512:   "OFPPF_1TB_FD",
	1024:  "OFPPF_OTHER",
	2048:  "OFPPF_COPPER",
	4096:  "OFPPF_FIBER",
	8192:  "OFPPF_AUTONEG",
	16384: "OFPPF_PAUSE",
	32768: "OFPPF_PAUSE_ASYM",
}
View Source
var OfpPortFeatures_value = map[string]int32{
	"OFPPF_INVALID":    0,
	"OFPPF_10MB_HD":    1,
	"OFPPF_10MB_FD":    2,
	"OFPPF_100MB_HD":   4,
	"OFPPF_100MB_FD":   8,
	"OFPPF_1GB_HD":     16,
	"OFPPF_1GB_FD":     32,
	"OFPPF_10GB_FD":    64,
	"OFPPF_40GB_FD":    128,
	"OFPPF_100GB_FD":   256,
	"OFPPF_1TB_FD":     512,
	"OFPPF_OTHER":      1024,
	"OFPPF_COPPER":     2048,
	"OFPPF_FIBER":      4096,
	"OFPPF_AUTONEG":    8192,
	"OFPPF_PAUSE":      16384,
	"OFPPF_PAUSE_ASYM": 32768,
}
View Source
var OfpPortModFailedCode_name = map[int32]string{
	0: "OFPPMFC_BAD_PORT",
	1: "OFPPMFC_BAD_HW_ADDR",
	2: "OFPPMFC_BAD_CONFIG",
	3: "OFPPMFC_BAD_ADVERTISE",
	4: "OFPPMFC_EPERM",
}
View Source
var OfpPortModFailedCode_value = map[string]int32{
	"OFPPMFC_BAD_PORT":      0,
	"OFPPMFC_BAD_HW_ADDR":   1,
	"OFPPMFC_BAD_CONFIG":    2,
	"OFPPMFC_BAD_ADVERTISE": 3,
	"OFPPMFC_EPERM":         4,
}
View Source
var OfpPortNo_name = map[int32]string{
	0:          "OFPP_INVALID",
	2147483392: "OFPP_MAX",
	2147483640: "OFPP_IN_PORT",
	2147483641: "OFPP_TABLE",
	2147483642: "OFPP_NORMAL",
	2147483643: "OFPP_FLOOD",
	2147483644: "OFPP_ALL",
	2147483645: "OFPP_CONTROLLER",
	2147483646: "OFPP_LOCAL",
	2147483647: "OFPP_ANY",
}
View Source
var OfpPortNo_value = map[string]int32{
	"OFPP_INVALID":    0,
	"OFPP_MAX":        2147483392,
	"OFPP_IN_PORT":    2147483640,
	"OFPP_TABLE":      2147483641,
	"OFPP_NORMAL":     2147483642,
	"OFPP_FLOOD":      2147483643,
	"OFPP_ALL":        2147483644,
	"OFPP_CONTROLLER": 2147483645,
	"OFPP_LOCAL":      2147483646,
	"OFPP_ANY":        2147483647,
}
View Source
var OfpPortReason_name = map[int32]string{
	0: "OFPPR_ADD",
	1: "OFPPR_DELETE",
	2: "OFPPR_MODIFY",
}
View Source
var OfpPortReason_value = map[string]int32{
	"OFPPR_ADD":    0,
	"OFPPR_DELETE": 1,
	"OFPPR_MODIFY": 2,
}
View Source
var OfpPortState_name = map[int32]string{
	0: "OFPPS_INVALID",
	1: "OFPPS_LINK_DOWN",
	2: "OFPPS_BLOCKED",
	4: "OFPPS_LIVE",
}
View Source
var OfpPortState_value = map[string]int32{
	"OFPPS_INVALID":   0,
	"OFPPS_LINK_DOWN": 1,
	"OFPPS_BLOCKED":   2,
	"OFPPS_LIVE":      4,
}
View Source
var OfpQueueOpFailedCode_name = map[int32]string{
	0: "OFPQOFC_BAD_PORT",
	1: "OFPQOFC_BAD_QUEUE",
	2: "OFPQOFC_EPERM",
}
View Source
var OfpQueueOpFailedCode_value = map[string]int32{
	"OFPQOFC_BAD_PORT":  0,
	"OFPQOFC_BAD_QUEUE": 1,
	"OFPQOFC_EPERM":     2,
}
View Source
var OfpQueueProperties_name = map[int32]string{
	0:     "OFPQT_INVALID",
	1:     "OFPQT_MIN_RATE",
	2:     "OFPQT_MAX_RATE",
	65535: "OFPQT_EXPERIMENTER",
}
View Source
var OfpQueueProperties_value = map[string]int32{
	"OFPQT_INVALID":      0,
	"OFPQT_MIN_RATE":     1,
	"OFPQT_MAX_RATE":     2,
	"OFPQT_EXPERIMENTER": 65535,
}
View Source
var OfpRoleRequestFailedCode_name = map[int32]string{
	0: "OFPRRFC_STALE",
	1: "OFPRRFC_UNSUP",
	2: "OFPRRFC_BAD_ROLE",
}
View Source
var OfpRoleRequestFailedCode_value = map[string]int32{
	"OFPRRFC_STALE":    0,
	"OFPRRFC_UNSUP":    1,
	"OFPRRFC_BAD_ROLE": 2,
}
View Source
var OfpSwitchConfigFailedCode_name = map[int32]string{
	0: "OFPSCFC_BAD_FLAGS",
	1: "OFPSCFC_BAD_LEN",
	2: "OFPSCFC_EPERM",
}
View Source
var OfpSwitchConfigFailedCode_value = map[string]int32{
	"OFPSCFC_BAD_FLAGS": 0,
	"OFPSCFC_BAD_LEN":   1,
	"OFPSCFC_EPERM":     2,
}
View Source
var OfpTableConfig_name = map[int32]string{
	0: "OFPTC_INVALID",
	3: "OFPTC_DEPRECATED_MASK",
}
View Source
var OfpTableConfig_value = map[string]int32{
	"OFPTC_INVALID":         0,
	"OFPTC_DEPRECATED_MASK": 3,
}
View Source
var OfpTableFeaturePropType_name = map[int32]string{
	0:     "OFPTFPT_INSTRUCTIONS",
	1:     "OFPTFPT_INSTRUCTIONS_MISS",
	2:     "OFPTFPT_NEXT_TABLES",
	3:     "OFPTFPT_NEXT_TABLES_MISS",
	4:     "OFPTFPT_WRITE_ACTIONS",
	5:     "OFPTFPT_WRITE_ACTIONS_MISS",
	6:     "OFPTFPT_APPLY_ACTIONS",
	7:     "OFPTFPT_APPLY_ACTIONS_MISS",
	8:     "OFPTFPT_MATCH",
	10:    "OFPTFPT_WILDCARDS",
	12:    "OFPTFPT_WRITE_SETFIELD",
	13:    "OFPTFPT_WRITE_SETFIELD_MISS",
	14:    "OFPTFPT_APPLY_SETFIELD",
	15:    "OFPTFPT_APPLY_SETFIELD_MISS",
	65534: "OFPTFPT_EXPERIMENTER",
	65535: "OFPTFPT_EXPERIMENTER_MISS",
}
View Source
var OfpTableFeaturePropType_value = map[string]int32{
	"OFPTFPT_INSTRUCTIONS":        0,
	"OFPTFPT_INSTRUCTIONS_MISS":   1,
	"OFPTFPT_NEXT_TABLES":         2,
	"OFPTFPT_NEXT_TABLES_MISS":    3,
	"OFPTFPT_WRITE_ACTIONS":       4,
	"OFPTFPT_WRITE_ACTIONS_MISS":  5,
	"OFPTFPT_APPLY_ACTIONS":       6,
	"OFPTFPT_APPLY_ACTIONS_MISS":  7,
	"OFPTFPT_MATCH":               8,
	"OFPTFPT_WILDCARDS":           10,
	"OFPTFPT_WRITE_SETFIELD":      12,
	"OFPTFPT_WRITE_SETFIELD_MISS": 13,
	"OFPTFPT_APPLY_SETFIELD":      14,
	"OFPTFPT_APPLY_SETFIELD_MISS": 15,
	"OFPTFPT_EXPERIMENTER":        65534,
	"OFPTFPT_EXPERIMENTER_MISS":   65535,
}
View Source
var OfpTableFeaturesFailedCode_name = map[int32]string{
	0: "OFPTFFC_BAD_TABLE",
	1: "OFPTFFC_BAD_METADATA",
	2: "OFPTFFC_BAD_TYPE",
	3: "OFPTFFC_BAD_LEN",
	4: "OFPTFFC_BAD_ARGUMENT",
	5: "OFPTFFC_EPERM",
}
View Source
var OfpTableFeaturesFailedCode_value = map[string]int32{
	"OFPTFFC_BAD_TABLE":    0,
	"OFPTFFC_BAD_METADATA": 1,
	"OFPTFFC_BAD_TYPE":     2,
	"OFPTFFC_BAD_LEN":      3,
	"OFPTFFC_BAD_ARGUMENT": 4,
	"OFPTFFC_EPERM":        5,
}
View Source
var OfpTableModFailedCode_name = map[int32]string{
	0: "OFPTMFC_BAD_TABLE",
	1: "OFPTMFC_BAD_CONFIG",
	2: "OFPTMFC_EPERM",
}
View Source
var OfpTableModFailedCode_value = map[string]int32{
	"OFPTMFC_BAD_TABLE":  0,
	"OFPTMFC_BAD_CONFIG": 1,
	"OFPTMFC_EPERM":      2,
}
View Source
var OfpTable_name = map[int32]string{
	0:   "OFPTT_INVALID",
	254: "OFPTT_MAX",
	255: "OFPTT_ALL",
}
View Source
var OfpTable_value = map[string]int32{
	"OFPTT_INVALID": 0,
	"OFPTT_MAX":     254,
	"OFPTT_ALL":     255,
}
View Source
var OfpType_name = map[int32]string{
	0:  "OFPT_HELLO",
	1:  "OFPT_ERROR",
	2:  "OFPT_ECHO_REQUEST",
	3:  "OFPT_ECHO_REPLY",
	4:  "OFPT_EXPERIMENTER",
	5:  "OFPT_FEATURES_REQUEST",
	6:  "OFPT_FEATURES_REPLY",
	7:  "OFPT_GET_CONFIG_REQUEST",
	8:  "OFPT_GET_CONFIG_REPLY",
	9:  "OFPT_SET_CONFIG",
	10: "OFPT_PACKET_IN",
	11: "OFPT_FLOW_REMOVED",
	12: "OFPT_PORT_STATUS",
	13: "OFPT_PACKET_OUT",
	14: "OFPT_FLOW_MOD",
	15: "OFPT_GROUP_MOD",
	16: "OFPT_PORT_MOD",
	17: "OFPT_TABLE_MOD",
	18: "OFPT_MULTIPART_REQUEST",
	19: "OFPT_MULTIPART_REPLY",
	20: "OFPT_BARRIER_REQUEST",
	21: "OFPT_BARRIER_REPLY",
	22: "OFPT_QUEUE_GET_CONFIG_REQUEST",
	23: "OFPT_QUEUE_GET_CONFIG_REPLY",
	24: "OFPT_ROLE_REQUEST",
	25: "OFPT_ROLE_REPLY",
	26: "OFPT_GET_ASYNC_REQUEST",
	27: "OFPT_GET_ASYNC_REPLY",
	28: "OFPT_SET_ASYNC",
	29: "OFPT_METER_MOD",
}
View Source
var OfpType_value = map[string]int32{
	"OFPT_HELLO":                    0,
	"OFPT_ERROR":                    1,
	"OFPT_ECHO_REQUEST":             2,
	"OFPT_ECHO_REPLY":               3,
	"OFPT_EXPERIMENTER":             4,
	"OFPT_FEATURES_REQUEST":         5,
	"OFPT_FEATURES_REPLY":           6,
	"OFPT_GET_CONFIG_REQUEST":       7,
	"OFPT_GET_CONFIG_REPLY":         8,
	"OFPT_SET_CONFIG":               9,
	"OFPT_PACKET_IN":                10,
	"OFPT_FLOW_REMOVED":             11,
	"OFPT_PORT_STATUS":              12,
	"OFPT_PACKET_OUT":               13,
	"OFPT_FLOW_MOD":                 14,
	"OFPT_GROUP_MOD":                15,
	"OFPT_PORT_MOD":                 16,
	"OFPT_TABLE_MOD":                17,
	"OFPT_MULTIPART_REQUEST":        18,
	"OFPT_MULTIPART_REPLY":          19,
	"OFPT_BARRIER_REQUEST":          20,
	"OFPT_BARRIER_REPLY":            21,
	"OFPT_QUEUE_GET_CONFIG_REQUEST": 22,
	"OFPT_QUEUE_GET_CONFIG_REPLY":   23,
	"OFPT_ROLE_REQUEST":             24,
	"OFPT_ROLE_REPLY":               25,
	"OFPT_GET_ASYNC_REQUEST":        26,
	"OFPT_GET_ASYNC_REPLY":          27,
	"OFPT_SET_ASYNC":                28,
	"OFPT_METER_MOD":                29,
}
View Source
var OfpVlanId_name = map[int32]string{
	0:    "OFPVID_NONE",
	4096: "OFPVID_PRESENT",
}
View Source
var OfpVlanId_value = map[string]int32{
	"OFPVID_NONE":    0,
	"OFPVID_PRESENT": 4096,
}
View Source
var OxmOfbFieldTypes_name = map[int32]string{
	0:  "OFPXMT_OFB_IN_PORT",
	1:  "OFPXMT_OFB_IN_PHY_PORT",
	2:  "OFPXMT_OFB_METADATA",
	3:  "OFPXMT_OFB_ETH_DST",
	4:  "OFPXMT_OFB_ETH_SRC",
	5:  "OFPXMT_OFB_ETH_TYPE",
	6:  "OFPXMT_OFB_VLAN_VID",
	7:  "OFPXMT_OFB_VLAN_PCP",
	8:  "OFPXMT_OFB_IP_DSCP",
	9:  "OFPXMT_OFB_IP_ECN",
	10: "OFPXMT_OFB_IP_PROTO",
	11: "OFPXMT_OFB_IPV4_SRC",
	12: "OFPXMT_OFB_IPV4_DST",
	13: "OFPXMT_OFB_TCP_SRC",
	14: "OFPXMT_OFB_TCP_DST",
	15: "OFPXMT_OFB_UDP_SRC",
	16: "OFPXMT_OFB_UDP_DST",
	17: "OFPXMT_OFB_SCTP_SRC",
	18: "OFPXMT_OFB_SCTP_DST",
	19: "OFPXMT_OFB_ICMPV4_TYPE",
	20: "OFPXMT_OFB_ICMPV4_CODE",
	21: "OFPXMT_OFB_ARP_OP",
	22: "OFPXMT_OFB_ARP_SPA",
	23: "OFPXMT_OFB_ARP_TPA",
	24: "OFPXMT_OFB_ARP_SHA",
	25: "OFPXMT_OFB_ARP_THA",
	26: "OFPXMT_OFB_IPV6_SRC",
	27: "OFPXMT_OFB_IPV6_DST",
	28: "OFPXMT_OFB_IPV6_FLABEL",
	29: "OFPXMT_OFB_ICMPV6_TYPE",
	30: "OFPXMT_OFB_ICMPV6_CODE",
	31: "OFPXMT_OFB_IPV6_ND_TARGET",
	32: "OFPXMT_OFB_IPV6_ND_SLL",
	33: "OFPXMT_OFB_IPV6_ND_TLL",
	34: "OFPXMT_OFB_MPLS_LABEL",
	35: "OFPXMT_OFB_MPLS_TC",
	36: "OFPXMT_OFB_MPLS_BOS",
	37: "OFPXMT_OFB_PBB_ISID",
	38: "OFPXMT_OFB_TUNNEL_ID",
	39: "OFPXMT_OFB_IPV6_EXTHDR",
}
View Source
var OxmOfbFieldTypes_value = map[string]int32{
	"OFPXMT_OFB_IN_PORT":        0,
	"OFPXMT_OFB_IN_PHY_PORT":    1,
	"OFPXMT_OFB_METADATA":       2,
	"OFPXMT_OFB_ETH_DST":        3,
	"OFPXMT_OFB_ETH_SRC":        4,
	"OFPXMT_OFB_ETH_TYPE":       5,
	"OFPXMT_OFB_VLAN_VID":       6,
	"OFPXMT_OFB_VLAN_PCP":       7,
	"OFPXMT_OFB_IP_DSCP":        8,
	"OFPXMT_OFB_IP_ECN":         9,
	"OFPXMT_OFB_IP_PROTO":       10,
	"OFPXMT_OFB_IPV4_SRC":       11,
	"OFPXMT_OFB_IPV4_DST":       12,
	"OFPXMT_OFB_TCP_SRC":        13,
	"OFPXMT_OFB_TCP_DST":        14,
	"OFPXMT_OFB_UDP_SRC":        15,
	"OFPXMT_OFB_UDP_DST":        16,
	"OFPXMT_OFB_SCTP_SRC":       17,
	"OFPXMT_OFB_SCTP_DST":       18,
	"OFPXMT_OFB_ICMPV4_TYPE":    19,
	"OFPXMT_OFB_ICMPV4_CODE":    20,
	"OFPXMT_OFB_ARP_OP":         21,
	"OFPXMT_OFB_ARP_SPA":        22,
	"OFPXMT_OFB_ARP_TPA":        23,
	"OFPXMT_OFB_ARP_SHA":        24,
	"OFPXMT_OFB_ARP_THA":        25,
	"OFPXMT_OFB_IPV6_SRC":       26,
	"OFPXMT_OFB_IPV6_DST":       27,
	"OFPXMT_OFB_IPV6_FLABEL":    28,
	"OFPXMT_OFB_ICMPV6_TYPE":    29,
	"OFPXMT_OFB_ICMPV6_CODE":    30,
	"OFPXMT_OFB_IPV6_ND_TARGET": 31,
	"OFPXMT_OFB_IPV6_ND_SLL":    32,
	"OFPXMT_OFB_IPV6_ND_TLL":    33,
	"OFPXMT_OFB_MPLS_LABEL":     34,
	"OFPXMT_OFB_MPLS_TC":        35,
	"OFPXMT_OFB_MPLS_BOS":       36,
	"OFPXMT_OFB_PBB_ISID":       37,
	"OFPXMT_OFB_TUNNEL_ID":      38,
	"OFPXMT_OFB_IPV6_EXTHDR":    39,
}

Functions

This section is empty.

Types

type ChangeEvent

type ChangeEvent struct {
	Id string `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	// Types that are valid to be assigned to Event:
	//	*ChangeEvent_PortStatus
	Event isChangeEvent_Event `protobuf_oneof:"event"`
}

func (*ChangeEvent) Descriptor

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

func (*ChangeEvent) GetEvent

func (m *ChangeEvent) GetEvent() isChangeEvent_Event

func (*ChangeEvent) GetId

func (m *ChangeEvent) GetId() string

func (*ChangeEvent) GetPortStatus

func (m *ChangeEvent) GetPortStatus() *OfpPortStatus

func (*ChangeEvent) ProtoMessage

func (*ChangeEvent) ProtoMessage()

func (*ChangeEvent) Reset

func (m *ChangeEvent) Reset()

func (*ChangeEvent) String

func (m *ChangeEvent) String() string

func (*ChangeEvent) XXX_OneofFuncs

func (*ChangeEvent) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type ChangeEvent_PortStatus

type ChangeEvent_PortStatus struct {
	PortStatus *OfpPortStatus `protobuf:"bytes,2,opt,name=port_status,json=portStatus,oneof"`
}

type FlowGroupTableUpdate

type FlowGroupTableUpdate struct {
	Id       string       `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	GroupMod *OfpGroupMod `protobuf:"bytes,2,opt,name=group_mod,json=groupMod" json:"group_mod,omitempty"`
}

func (*FlowGroupTableUpdate) Descriptor

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

func (*FlowGroupTableUpdate) GetGroupMod

func (m *FlowGroupTableUpdate) GetGroupMod() *OfpGroupMod

func (*FlowGroupTableUpdate) GetId

func (m *FlowGroupTableUpdate) GetId() string

func (*FlowGroupTableUpdate) ProtoMessage

func (*FlowGroupTableUpdate) ProtoMessage()

func (*FlowGroupTableUpdate) Reset

func (m *FlowGroupTableUpdate) Reset()

func (*FlowGroupTableUpdate) String

func (m *FlowGroupTableUpdate) String() string

type FlowGroups

type FlowGroups struct {
	Items []*OfpGroupEntry `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}

func (*FlowGroups) Descriptor

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

func (*FlowGroups) GetItems

func (m *FlowGroups) GetItems() []*OfpGroupEntry

func (*FlowGroups) ProtoMessage

func (*FlowGroups) ProtoMessage()

func (*FlowGroups) Reset

func (m *FlowGroups) Reset()

func (*FlowGroups) String

func (m *FlowGroups) String() string

type FlowTableUpdate

type FlowTableUpdate struct {
	Id      string      `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	FlowMod *OfpFlowMod `protobuf:"bytes,2,opt,name=flow_mod,json=flowMod" json:"flow_mod,omitempty"`
}

func (*FlowTableUpdate) Descriptor

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

func (*FlowTableUpdate) GetFlowMod

func (m *FlowTableUpdate) GetFlowMod() *OfpFlowMod

func (*FlowTableUpdate) GetId

func (m *FlowTableUpdate) GetId() string

func (*FlowTableUpdate) ProtoMessage

func (*FlowTableUpdate) ProtoMessage()

func (*FlowTableUpdate) Reset

func (m *FlowTableUpdate) Reset()

func (*FlowTableUpdate) String

func (m *FlowTableUpdate) String() string

type Flows

type Flows struct {
	Items []*OfpFlowStats `protobuf:"bytes,1,rep,name=items" json:"items,omitempty"`
}

func (*Flows) Descriptor

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

func (*Flows) GetItems

func (m *Flows) GetItems() []*OfpFlowStats

func (*Flows) ProtoMessage

func (*Flows) ProtoMessage()

func (*Flows) Reset

func (m *Flows) Reset()

func (*Flows) String

func (m *Flows) String() string

type InlineNode

type InlineNode voltha.InlineNode

InlineNode from public import yang_options.proto

func (*InlineNode) GetId

func (m *InlineNode) GetId() string

func (*InlineNode) GetType

func (m *InlineNode) GetType() string

func (*InlineNode) ProtoMessage

func (*InlineNode) ProtoMessage()

func (*InlineNode) Reset

func (m *InlineNode) Reset()

func (*InlineNode) String

func (m *InlineNode) String() string

type MessageParserOption

type MessageParserOption voltha.MessageParserOption

MessageParserOption from public import yang_options.proto

func (MessageParserOption) String

func (x MessageParserOption) String() string

type OfpAction

type OfpAction struct {
	Type OfpActionType `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpActionType" json:"type,omitempty"`
	// Types that are valid to be assigned to Action:
	//	*OfpAction_Output
	//	*OfpAction_MplsTtl
	//	*OfpAction_Push
	//	*OfpAction_PopMpls
	//	*OfpAction_Group
	//	*OfpAction_NwTtl
	//	*OfpAction_SetField
	//	*OfpAction_Experimenter
	Action isOfpAction_Action `protobuf_oneof:"action"`
}

Action header that is common to all actions. The length includes the header and any padding used to make the action 64-bit aligned. NB: The length of an action *must* always be a multiple of eight.

func (*OfpAction) Descriptor

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

func (*OfpAction) GetAction

func (m *OfpAction) GetAction() isOfpAction_Action

func (*OfpAction) GetExperimenter

func (m *OfpAction) GetExperimenter() *OfpActionExperimenter

func (*OfpAction) GetGroup

func (m *OfpAction) GetGroup() *OfpActionGroup

func (*OfpAction) GetMplsTtl

func (m *OfpAction) GetMplsTtl() *OfpActionMplsTtl

func (*OfpAction) GetNwTtl

func (m *OfpAction) GetNwTtl() *OfpActionNwTtl

func (*OfpAction) GetOutput

func (m *OfpAction) GetOutput() *OfpActionOutput

func (*OfpAction) GetPopMpls

func (m *OfpAction) GetPopMpls() *OfpActionPopMpls

func (*OfpAction) GetPush

func (m *OfpAction) GetPush() *OfpActionPush

func (*OfpAction) GetSetField

func (m *OfpAction) GetSetField() *OfpActionSetField

func (*OfpAction) GetType

func (m *OfpAction) GetType() OfpActionType

func (*OfpAction) ProtoMessage

func (*OfpAction) ProtoMessage()

func (*OfpAction) Reset

func (m *OfpAction) Reset()

func (*OfpAction) String

func (m *OfpAction) String() string

func (*OfpAction) XXX_OneofFuncs

func (*OfpAction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type OfpActionExperimenter

type OfpActionExperimenter struct {
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter" json:"experimenter,omitempty"`
	Data         []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

Action header for OFPAT_EXPERIMENTER. The rest of the body is experimenter-defined.

func (*OfpActionExperimenter) Descriptor

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

func (*OfpActionExperimenter) GetData

func (m *OfpActionExperimenter) GetData() []byte

func (*OfpActionExperimenter) GetExperimenter

func (m *OfpActionExperimenter) GetExperimenter() uint32

func (*OfpActionExperimenter) ProtoMessage

func (*OfpActionExperimenter) ProtoMessage()

func (*OfpActionExperimenter) Reset

func (m *OfpActionExperimenter) Reset()

func (*OfpActionExperimenter) String

func (m *OfpActionExperimenter) String() string

type OfpActionGroup

type OfpActionGroup struct {
	GroupId uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
}

Action structure for OFPAT_GROUP.

func (*OfpActionGroup) Descriptor

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

func (*OfpActionGroup) GetGroupId

func (m *OfpActionGroup) GetGroupId() uint32

func (*OfpActionGroup) ProtoMessage

func (*OfpActionGroup) ProtoMessage()

func (*OfpActionGroup) Reset

func (m *OfpActionGroup) Reset()

func (*OfpActionGroup) String

func (m *OfpActionGroup) String() string

type OfpActionMplsTtl

type OfpActionMplsTtl struct {
	MplsTtl uint32 `protobuf:"varint,1,opt,name=mpls_ttl,json=mplsTtl" json:"mpls_ttl,omitempty"`
}

Action structure for OFPAT_SET_MPLS_TTL.

func (*OfpActionMplsTtl) Descriptor

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

func (*OfpActionMplsTtl) GetMplsTtl

func (m *OfpActionMplsTtl) GetMplsTtl() uint32

func (*OfpActionMplsTtl) ProtoMessage

func (*OfpActionMplsTtl) ProtoMessage()

func (*OfpActionMplsTtl) Reset

func (m *OfpActionMplsTtl) Reset()

func (*OfpActionMplsTtl) String

func (m *OfpActionMplsTtl) String() string

type OfpActionNwTtl

type OfpActionNwTtl struct {
	NwTtl uint32 `protobuf:"varint,1,opt,name=nw_ttl,json=nwTtl" json:"nw_ttl,omitempty"`
}

Action structure for OFPAT_SET_NW_TTL.

func (*OfpActionNwTtl) Descriptor

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

func (*OfpActionNwTtl) GetNwTtl

func (m *OfpActionNwTtl) GetNwTtl() uint32

func (*OfpActionNwTtl) ProtoMessage

func (*OfpActionNwTtl) ProtoMessage()

func (*OfpActionNwTtl) Reset

func (m *OfpActionNwTtl) Reset()

func (*OfpActionNwTtl) String

func (m *OfpActionNwTtl) String() string

type OfpActionOutput

type OfpActionOutput struct {
	Port   uint32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"`
	MaxLen uint32 `protobuf:"varint,2,opt,name=max_len,json=maxLen" json:"max_len,omitempty"`
}

Action structure for OFPAT_OUTPUT, which sends packets out 'port'. When the 'port' is the OFPP_CONTROLLER, 'max_len' indicates the max number of bytes to send. A 'max_len' of zero means no bytes of the packet should be sent. A 'max_len' of OFPCML_NO_BUFFER means that the packet is not buffered and the complete packet is to be sent to the controller.

func (*OfpActionOutput) Descriptor

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

func (*OfpActionOutput) GetMaxLen

func (m *OfpActionOutput) GetMaxLen() uint32

func (*OfpActionOutput) GetPort

func (m *OfpActionOutput) GetPort() uint32

func (*OfpActionOutput) ProtoMessage

func (*OfpActionOutput) ProtoMessage()

func (*OfpActionOutput) Reset

func (m *OfpActionOutput) Reset()

func (*OfpActionOutput) String

func (m *OfpActionOutput) String() string

type OfpActionPopMpls

type OfpActionPopMpls struct {
	Ethertype uint32 `protobuf:"varint,1,opt,name=ethertype" json:"ethertype,omitempty"`
}

Action structure for OFPAT_POP_MPLS.

func (*OfpActionPopMpls) Descriptor

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

func (*OfpActionPopMpls) GetEthertype

func (m *OfpActionPopMpls) GetEthertype() uint32

func (*OfpActionPopMpls) ProtoMessage

func (*OfpActionPopMpls) ProtoMessage()

func (*OfpActionPopMpls) Reset

func (m *OfpActionPopMpls) Reset()

func (*OfpActionPopMpls) String

func (m *OfpActionPopMpls) String() string

type OfpActionPush

type OfpActionPush struct {
	Ethertype uint32 `protobuf:"varint,1,opt,name=ethertype" json:"ethertype,omitempty"`
}

Action structure for OFPAT_PUSH_VLAN/MPLS/PBB.

func (*OfpActionPush) Descriptor

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

func (*OfpActionPush) GetEthertype

func (m *OfpActionPush) GetEthertype() uint32

func (*OfpActionPush) ProtoMessage

func (*OfpActionPush) ProtoMessage()

func (*OfpActionPush) Reset

func (m *OfpActionPush) Reset()

func (*OfpActionPush) String

func (m *OfpActionPush) String() string

type OfpActionSetField

type OfpActionSetField struct {
	Field *OfpOxmField `protobuf:"bytes,1,opt,name=field" json:"field,omitempty"`
}

Action structure for OFPAT_SET_FIELD.

func (*OfpActionSetField) Descriptor

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

func (*OfpActionSetField) GetField

func (m *OfpActionSetField) GetField() *OfpOxmField

func (*OfpActionSetField) ProtoMessage

func (*OfpActionSetField) ProtoMessage()

func (*OfpActionSetField) Reset

func (m *OfpActionSetField) Reset()

func (*OfpActionSetField) String

func (m *OfpActionSetField) String() string

type OfpActionSetQueue

type OfpActionSetQueue struct {
	Type    uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	QueueId uint32 `protobuf:"varint,3,opt,name=queue_id,json=queueId" json:"queue_id,omitempty"`
}

OFPAT_SET_QUEUE action struct: send packets to given queue on port.

func (*OfpActionSetQueue) Descriptor

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

func (*OfpActionSetQueue) GetQueueId

func (m *OfpActionSetQueue) GetQueueId() uint32

func (*OfpActionSetQueue) GetType

func (m *OfpActionSetQueue) GetType() uint32

func (*OfpActionSetQueue) ProtoMessage

func (*OfpActionSetQueue) ProtoMessage()

func (*OfpActionSetQueue) Reset

func (m *OfpActionSetQueue) Reset()

func (*OfpActionSetQueue) String

func (m *OfpActionSetQueue) String() string

type OfpActionType

type OfpActionType int32
const (
	OfpActionType_OFPAT_OUTPUT       OfpActionType = 0
	OfpActionType_OFPAT_COPY_TTL_OUT OfpActionType = 11
	OfpActionType_OFPAT_COPY_TTL_IN  OfpActionType = 12
	OfpActionType_OFPAT_SET_MPLS_TTL OfpActionType = 15
	OfpActionType_OFPAT_DEC_MPLS_TTL OfpActionType = 16
	OfpActionType_OFPAT_PUSH_VLAN    OfpActionType = 17
	OfpActionType_OFPAT_POP_VLAN     OfpActionType = 18
	OfpActionType_OFPAT_PUSH_MPLS    OfpActionType = 19
	OfpActionType_OFPAT_POP_MPLS     OfpActionType = 20
	OfpActionType_OFPAT_SET_QUEUE    OfpActionType = 21
	OfpActionType_OFPAT_GROUP        OfpActionType = 22
	OfpActionType_OFPAT_SET_NW_TTL   OfpActionType = 23
	OfpActionType_OFPAT_DEC_NW_TTL   OfpActionType = 24
	OfpActionType_OFPAT_SET_FIELD    OfpActionType = 25
	OfpActionType_OFPAT_PUSH_PBB     OfpActionType = 26
	OfpActionType_OFPAT_POP_PBB      OfpActionType = 27
	OfpActionType_OFPAT_EXPERIMENTER OfpActionType = 65535
)

func (OfpActionType) EnumDescriptor

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

func (OfpActionType) String

func (x OfpActionType) String() string

type OfpAction_Experimenter

type OfpAction_Experimenter struct {
	Experimenter *OfpActionExperimenter `protobuf:"bytes,9,opt,name=experimenter,oneof"`
}

type OfpAction_Group

type OfpAction_Group struct {
	Group *OfpActionGroup `protobuf:"bytes,6,opt,name=group,oneof"`
}

type OfpAction_MplsTtl

type OfpAction_MplsTtl struct {
	MplsTtl *OfpActionMplsTtl `protobuf:"bytes,3,opt,name=mpls_ttl,json=mplsTtl,oneof"`
}

type OfpAction_NwTtl

type OfpAction_NwTtl struct {
	NwTtl *OfpActionNwTtl `protobuf:"bytes,7,opt,name=nw_ttl,json=nwTtl,oneof"`
}

type OfpAction_Output

type OfpAction_Output struct {
	Output *OfpActionOutput `protobuf:"bytes,2,opt,name=output,oneof"`
}

type OfpAction_PopMpls

type OfpAction_PopMpls struct {
	PopMpls *OfpActionPopMpls `protobuf:"bytes,5,opt,name=pop_mpls,json=popMpls,oneof"`
}

type OfpAction_Push

type OfpAction_Push struct {
	Push *OfpActionPush `protobuf:"bytes,4,opt,name=push,oneof"`
}

type OfpAction_SetField

type OfpAction_SetField struct {
	SetField *OfpActionSetField `protobuf:"bytes,8,opt,name=set_field,json=setField,oneof"`
}

type OfpAggregateStatsReply

type OfpAggregateStatsReply struct {
	PacketCount uint64 `protobuf:"varint,1,opt,name=packet_count,json=packetCount" json:"packet_count,omitempty"`
	ByteCount   uint64 `protobuf:"varint,2,opt,name=byte_count,json=byteCount" json:"byte_count,omitempty"`
	FlowCount   uint32 `protobuf:"varint,3,opt,name=flow_count,json=flowCount" json:"flow_count,omitempty"`
}

Body of reply to OFPMP_AGGREGATE request.

func (*OfpAggregateStatsReply) Descriptor

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

func (*OfpAggregateStatsReply) GetByteCount

func (m *OfpAggregateStatsReply) GetByteCount() uint64

func (*OfpAggregateStatsReply) GetFlowCount

func (m *OfpAggregateStatsReply) GetFlowCount() uint32

func (*OfpAggregateStatsReply) GetPacketCount

func (m *OfpAggregateStatsReply) GetPacketCount() uint64

func (*OfpAggregateStatsReply) ProtoMessage

func (*OfpAggregateStatsReply) ProtoMessage()

func (*OfpAggregateStatsReply) Reset

func (m *OfpAggregateStatsReply) Reset()

func (*OfpAggregateStatsReply) String

func (m *OfpAggregateStatsReply) String() string

type OfpAggregateStatsRequest

type OfpAggregateStatsRequest struct {
	TableId    uint32    `protobuf:"varint,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	OutPort    uint32    `protobuf:"varint,2,opt,name=out_port,json=outPort" json:"out_port,omitempty"`
	OutGroup   uint32    `protobuf:"varint,3,opt,name=out_group,json=outGroup" json:"out_group,omitempty"`
	Cookie     uint64    `protobuf:"varint,4,opt,name=cookie" json:"cookie,omitempty"`
	CookieMask uint64    `protobuf:"varint,5,opt,name=cookie_mask,json=cookieMask" json:"cookie_mask,omitempty"`
	Match      *OfpMatch `protobuf:"bytes,6,opt,name=match" json:"match,omitempty"`
}

Body for ofp_multipart_request of type OFPMP_AGGREGATE.

func (*OfpAggregateStatsRequest) Descriptor

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

func (*OfpAggregateStatsRequest) GetCookie

func (m *OfpAggregateStatsRequest) GetCookie() uint64

func (*OfpAggregateStatsRequest) GetCookieMask

func (m *OfpAggregateStatsRequest) GetCookieMask() uint64

func (*OfpAggregateStatsRequest) GetMatch

func (m *OfpAggregateStatsRequest) GetMatch() *OfpMatch

func (*OfpAggregateStatsRequest) GetOutGroup

func (m *OfpAggregateStatsRequest) GetOutGroup() uint32

func (*OfpAggregateStatsRequest) GetOutPort

func (m *OfpAggregateStatsRequest) GetOutPort() uint32

func (*OfpAggregateStatsRequest) GetTableId

func (m *OfpAggregateStatsRequest) GetTableId() uint32

func (*OfpAggregateStatsRequest) ProtoMessage

func (*OfpAggregateStatsRequest) ProtoMessage()

func (*OfpAggregateStatsRequest) Reset

func (m *OfpAggregateStatsRequest) Reset()

func (*OfpAggregateStatsRequest) String

func (m *OfpAggregateStatsRequest) String() string

type OfpAsyncConfig

type OfpAsyncConfig struct {
	// ofp_header header;    /* OFPT_GET_ASYNC_REPLY or OFPT_SET_ASYNC. */
	PacketInMask    []uint32 `protobuf:"varint,1,rep,packed,name=packet_in_mask,json=packetInMask" json:"packet_in_mask,omitempty"`
	PortStatusMask  []uint32 `protobuf:"varint,2,rep,packed,name=port_status_mask,json=portStatusMask" json:"port_status_mask,omitempty"`
	FlowRemovedMask []uint32 `protobuf:"varint,3,rep,packed,name=flow_removed_mask,json=flowRemovedMask" json:"flow_removed_mask,omitempty"`
}

Asynchronous message configuration.

func (*OfpAsyncConfig) Descriptor

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

func (*OfpAsyncConfig) GetFlowRemovedMask

func (m *OfpAsyncConfig) GetFlowRemovedMask() []uint32

func (*OfpAsyncConfig) GetPacketInMask

func (m *OfpAsyncConfig) GetPacketInMask() []uint32

func (*OfpAsyncConfig) GetPortStatusMask

func (m *OfpAsyncConfig) GetPortStatusMask() []uint32

func (*OfpAsyncConfig) ProtoMessage

func (*OfpAsyncConfig) ProtoMessage()

func (*OfpAsyncConfig) Reset

func (m *OfpAsyncConfig) Reset()

func (*OfpAsyncConfig) String

func (m *OfpAsyncConfig) String() string

type OfpBadActionCode

type OfpBadActionCode int32

ofp_error_msg 'code' values for OFPET_BAD_ACTION. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpBadActionCode_OFPBAC_BAD_TYPE           OfpBadActionCode = 0
	OfpBadActionCode_OFPBAC_BAD_LEN            OfpBadActionCode = 1
	OfpBadActionCode_OFPBAC_BAD_EXPERIMENTER   OfpBadActionCode = 2
	OfpBadActionCode_OFPBAC_BAD_EXP_TYPE       OfpBadActionCode = 3
	OfpBadActionCode_OFPBAC_BAD_OUT_PORT       OfpBadActionCode = 4
	OfpBadActionCode_OFPBAC_BAD_ARGUMENT       OfpBadActionCode = 5
	OfpBadActionCode_OFPBAC_EPERM              OfpBadActionCode = 6
	OfpBadActionCode_OFPBAC_TOO_MANY           OfpBadActionCode = 7
	OfpBadActionCode_OFPBAC_BAD_QUEUE          OfpBadActionCode = 8
	OfpBadActionCode_OFPBAC_BAD_OUT_GROUP      OfpBadActionCode = 9
	OfpBadActionCode_OFPBAC_MATCH_INCONSISTENT OfpBadActionCode = 10
	OfpBadActionCode_OFPBAC_UNSUPPORTED_ORDER  OfpBadActionCode = 11
	OfpBadActionCode_OFPBAC_BAD_TAG            OfpBadActionCode = 12
	OfpBadActionCode_OFPBAC_BAD_SET_TYPE       OfpBadActionCode = 13
	OfpBadActionCode_OFPBAC_BAD_SET_LEN        OfpBadActionCode = 14
	OfpBadActionCode_OFPBAC_BAD_SET_ARGUMENT   OfpBadActionCode = 15
)

func (OfpBadActionCode) EnumDescriptor

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

func (OfpBadActionCode) String

func (x OfpBadActionCode) String() string

type OfpBadInstructionCode

type OfpBadInstructionCode int32

ofp_error_msg 'code' values for OFPET_BAD_INSTRUCTION. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpBadInstructionCode_OFPBIC_UNKNOWN_INST        OfpBadInstructionCode = 0
	OfpBadInstructionCode_OFPBIC_UNSUP_INST          OfpBadInstructionCode = 1
	OfpBadInstructionCode_OFPBIC_BAD_TABLE_ID        OfpBadInstructionCode = 2
	OfpBadInstructionCode_OFPBIC_UNSUP_METADATA      OfpBadInstructionCode = 3
	OfpBadInstructionCode_OFPBIC_UNSUP_METADATA_MASK OfpBadInstructionCode = 4
	OfpBadInstructionCode_OFPBIC_BAD_EXPERIMENTER    OfpBadInstructionCode = 5
	OfpBadInstructionCode_OFPBIC_BAD_EXP_TYPE        OfpBadInstructionCode = 6
	OfpBadInstructionCode_OFPBIC_BAD_LEN             OfpBadInstructionCode = 7
	OfpBadInstructionCode_OFPBIC_EPERM               OfpBadInstructionCode = 8
)

func (OfpBadInstructionCode) EnumDescriptor

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

func (OfpBadInstructionCode) String

func (x OfpBadInstructionCode) String() string

type OfpBadMatchCode

type OfpBadMatchCode int32

ofp_error_msg 'code' values for OFPET_BAD_MATCH. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpBadMatchCode_OFPBMC_BAD_TYPE         OfpBadMatchCode = 0
	OfpBadMatchCode_OFPBMC_BAD_LEN          OfpBadMatchCode = 1
	OfpBadMatchCode_OFPBMC_BAD_TAG          OfpBadMatchCode = 2
	OfpBadMatchCode_OFPBMC_BAD_DL_ADDR_MASK OfpBadMatchCode = 3
	OfpBadMatchCode_OFPBMC_BAD_NW_ADDR_MASK OfpBadMatchCode = 4
	OfpBadMatchCode_OFPBMC_BAD_WILDCARDS    OfpBadMatchCode = 5
	OfpBadMatchCode_OFPBMC_BAD_FIELD        OfpBadMatchCode = 6
	OfpBadMatchCode_OFPBMC_BAD_VALUE        OfpBadMatchCode = 7
	OfpBadMatchCode_OFPBMC_BAD_MASK         OfpBadMatchCode = 8
	OfpBadMatchCode_OFPBMC_BAD_PREREQ       OfpBadMatchCode = 9
	OfpBadMatchCode_OFPBMC_DUP_FIELD        OfpBadMatchCode = 10
	OfpBadMatchCode_OFPBMC_EPERM            OfpBadMatchCode = 11
)

func (OfpBadMatchCode) EnumDescriptor

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

func (OfpBadMatchCode) String

func (x OfpBadMatchCode) String() string

type OfpBadRequestCode

type OfpBadRequestCode int32

ofp_error_msg 'code' values for OFPET_BAD_REQUEST. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpBadRequestCode_OFPBRC_BAD_VERSION               OfpBadRequestCode = 0
	OfpBadRequestCode_OFPBRC_BAD_TYPE                  OfpBadRequestCode = 1
	OfpBadRequestCode_OFPBRC_BAD_MULTIPART             OfpBadRequestCode = 2
	OfpBadRequestCode_OFPBRC_BAD_EXPERIMENTER          OfpBadRequestCode = 3
	OfpBadRequestCode_OFPBRC_BAD_EXP_TYPE              OfpBadRequestCode = 4
	OfpBadRequestCode_OFPBRC_EPERM                     OfpBadRequestCode = 5
	OfpBadRequestCode_OFPBRC_BAD_LEN                   OfpBadRequestCode = 6
	OfpBadRequestCode_OFPBRC_BUFFER_EMPTY              OfpBadRequestCode = 7
	OfpBadRequestCode_OFPBRC_BUFFER_UNKNOWN            OfpBadRequestCode = 8
	OfpBadRequestCode_OFPBRC_BAD_TABLE_ID              OfpBadRequestCode = 9
	OfpBadRequestCode_OFPBRC_IS_SLAVE                  OfpBadRequestCode = 10
	OfpBadRequestCode_OFPBRC_BAD_PORT                  OfpBadRequestCode = 11
	OfpBadRequestCode_OFPBRC_BAD_PACKET                OfpBadRequestCode = 12
	OfpBadRequestCode_OFPBRC_MULTIPART_BUFFER_OVERFLOW OfpBadRequestCode = 13
)

func (OfpBadRequestCode) EnumDescriptor

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

func (OfpBadRequestCode) String

func (x OfpBadRequestCode) String() string

type OfpBucket

type OfpBucket struct {
	Weight     uint32       `protobuf:"varint,1,opt,name=weight" json:"weight,omitempty"`
	WatchPort  uint32       `protobuf:"varint,2,opt,name=watch_port,json=watchPort" json:"watch_port,omitempty"`
	WatchGroup uint32       `protobuf:"varint,3,opt,name=watch_group,json=watchGroup" json:"watch_group,omitempty"`
	Actions    []*OfpAction `protobuf:"bytes,4,rep,name=actions" json:"actions,omitempty"`
}

Bucket for use in groups.

func (*OfpBucket) Descriptor

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

func (*OfpBucket) GetActions

func (m *OfpBucket) GetActions() []*OfpAction

func (*OfpBucket) GetWatchGroup

func (m *OfpBucket) GetWatchGroup() uint32

func (*OfpBucket) GetWatchPort

func (m *OfpBucket) GetWatchPort() uint32

func (*OfpBucket) GetWeight

func (m *OfpBucket) GetWeight() uint32

func (*OfpBucket) ProtoMessage

func (*OfpBucket) ProtoMessage()

func (*OfpBucket) Reset

func (m *OfpBucket) Reset()

func (*OfpBucket) String

func (m *OfpBucket) String() string

type OfpBucketCounter

type OfpBucketCounter struct {
	PacketCount uint64 `protobuf:"varint,1,opt,name=packet_count,json=packetCount" json:"packet_count,omitempty"`
	ByteCount   uint64 `protobuf:"varint,2,opt,name=byte_count,json=byteCount" json:"byte_count,omitempty"`
}

Used in group stats replies.

func (*OfpBucketCounter) Descriptor

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

func (*OfpBucketCounter) GetByteCount

func (m *OfpBucketCounter) GetByteCount() uint64

func (*OfpBucketCounter) GetPacketCount

func (m *OfpBucketCounter) GetPacketCount() uint64

func (*OfpBucketCounter) ProtoMessage

func (*OfpBucketCounter) ProtoMessage()

func (*OfpBucketCounter) Reset

func (m *OfpBucketCounter) Reset()

func (*OfpBucketCounter) String

func (m *OfpBucketCounter) String() string

type OfpCapabilities

type OfpCapabilities int32

Capabilities supported by the datapath.

const (
	OfpCapabilities_OFPC_INVALID      OfpCapabilities = 0
	OfpCapabilities_OFPC_FLOW_STATS   OfpCapabilities = 1
	OfpCapabilities_OFPC_TABLE_STATS  OfpCapabilities = 2
	OfpCapabilities_OFPC_PORT_STATS   OfpCapabilities = 4
	OfpCapabilities_OFPC_GROUP_STATS  OfpCapabilities = 8
	OfpCapabilities_OFPC_IP_REASM     OfpCapabilities = 32
	OfpCapabilities_OFPC_QUEUE_STATS  OfpCapabilities = 64
	OfpCapabilities_OFPC_PORT_BLOCKED OfpCapabilities = 256
)

func (OfpCapabilities) EnumDescriptor

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

func (OfpCapabilities) String

func (x OfpCapabilities) String() string

type OfpConfigFlags

type OfpConfigFlags int32
const (
	// Handling of IP fragments.
	OfpConfigFlags_OFPC_FRAG_NORMAL OfpConfigFlags = 0
	OfpConfigFlags_OFPC_FRAG_DROP   OfpConfigFlags = 1
	OfpConfigFlags_OFPC_FRAG_REASM  OfpConfigFlags = 2
	OfpConfigFlags_OFPC_FRAG_MASK   OfpConfigFlags = 3
)

func (OfpConfigFlags) EnumDescriptor

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

func (OfpConfigFlags) String

func (x OfpConfigFlags) String() string

type OfpControllerMaxLen

type OfpControllerMaxLen int32
const (
	OfpControllerMaxLen_OFPCML_INVALID   OfpControllerMaxLen = 0
	OfpControllerMaxLen_OFPCML_MAX       OfpControllerMaxLen = 65509
	OfpControllerMaxLen_OFPCML_NO_BUFFER OfpControllerMaxLen = 65535
)

func (OfpControllerMaxLen) EnumDescriptor

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

func (OfpControllerMaxLen) String

func (x OfpControllerMaxLen) String() string

type OfpControllerRole

type OfpControllerRole int32

Controller roles.

const (
	OfpControllerRole_OFPCR_ROLE_NOCHANGE OfpControllerRole = 0
	OfpControllerRole_OFPCR_ROLE_EQUAL    OfpControllerRole = 1
	OfpControllerRole_OFPCR_ROLE_MASTER   OfpControllerRole = 2
	OfpControllerRole_OFPCR_ROLE_SLAVE    OfpControllerRole = 3
)

func (OfpControllerRole) EnumDescriptor

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

func (OfpControllerRole) String

func (x OfpControllerRole) String() string

type OfpDesc

type OfpDesc struct {
	MfrDesc   string `protobuf:"bytes,1,opt,name=mfr_desc,json=mfrDesc" json:"mfr_desc,omitempty"`
	HwDesc    string `protobuf:"bytes,2,opt,name=hw_desc,json=hwDesc" json:"hw_desc,omitempty"`
	SwDesc    string `protobuf:"bytes,3,opt,name=sw_desc,json=swDesc" json:"sw_desc,omitempty"`
	SerialNum string `protobuf:"bytes,4,opt,name=serial_num,json=serialNum" json:"serial_num,omitempty"`
	DpDesc    string `protobuf:"bytes,5,opt,name=dp_desc,json=dpDesc" json:"dp_desc,omitempty"`
}

Body of reply to OFPMP_DESC request. Each entry is a NULL-terminated ASCII string.

func (*OfpDesc) Descriptor

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

func (*OfpDesc) GetDpDesc

func (m *OfpDesc) GetDpDesc() string

func (*OfpDesc) GetHwDesc

func (m *OfpDesc) GetHwDesc() string

func (*OfpDesc) GetMfrDesc

func (m *OfpDesc) GetMfrDesc() string

func (*OfpDesc) GetSerialNum

func (m *OfpDesc) GetSerialNum() string

func (*OfpDesc) GetSwDesc

func (m *OfpDesc) GetSwDesc() string

func (*OfpDesc) ProtoMessage

func (*OfpDesc) ProtoMessage()

func (*OfpDesc) Reset

func (m *OfpDesc) Reset()

func (*OfpDesc) String

func (m *OfpDesc) String() string

type OfpErrorExperimenterMsg

type OfpErrorExperimenterMsg struct {
	Type         uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	ExpType      uint32 `protobuf:"varint,2,opt,name=exp_type,json=expType" json:"exp_type,omitempty"`
	Experimenter uint32 `protobuf:"varint,3,opt,name=experimenter" json:"experimenter,omitempty"`
	Data         []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
}

OFPET_EXPERIMENTER: Error message (datapath -> controller).

func (*OfpErrorExperimenterMsg) Descriptor

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

func (*OfpErrorExperimenterMsg) GetData

func (m *OfpErrorExperimenterMsg) GetData() []byte

func (*OfpErrorExperimenterMsg) GetExpType

func (m *OfpErrorExperimenterMsg) GetExpType() uint32

func (*OfpErrorExperimenterMsg) GetExperimenter

func (m *OfpErrorExperimenterMsg) GetExperimenter() uint32

func (*OfpErrorExperimenterMsg) GetType

func (m *OfpErrorExperimenterMsg) GetType() uint32

func (*OfpErrorExperimenterMsg) ProtoMessage

func (*OfpErrorExperimenterMsg) ProtoMessage()

func (*OfpErrorExperimenterMsg) Reset

func (m *OfpErrorExperimenterMsg) Reset()

func (*OfpErrorExperimenterMsg) String

func (m *OfpErrorExperimenterMsg) String() string

type OfpErrorMsg

type OfpErrorMsg struct {
	// ofp_header header;
	Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Code uint32 `protobuf:"varint,2,opt,name=code" json:"code,omitempty"`
	Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

OFPT_ERROR: Error message (datapath -> controller).

func (*OfpErrorMsg) Descriptor

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

func (*OfpErrorMsg) GetCode

func (m *OfpErrorMsg) GetCode() uint32

func (*OfpErrorMsg) GetData

func (m *OfpErrorMsg) GetData() []byte

func (*OfpErrorMsg) GetType

func (m *OfpErrorMsg) GetType() uint32

func (*OfpErrorMsg) ProtoMessage

func (*OfpErrorMsg) ProtoMessage()

func (*OfpErrorMsg) Reset

func (m *OfpErrorMsg) Reset()

func (*OfpErrorMsg) String

func (m *OfpErrorMsg) String() string

type OfpErrorType

type OfpErrorType int32

Values for 'type' in ofp_error_message. These values are immutable: they will not change in future versions of the protocol (although new values may be added).

const (
	OfpErrorType_OFPET_HELLO_FAILED          OfpErrorType = 0
	OfpErrorType_OFPET_BAD_REQUEST           OfpErrorType = 1
	OfpErrorType_OFPET_BAD_ACTION            OfpErrorType = 2
	OfpErrorType_OFPET_BAD_INSTRUCTION       OfpErrorType = 3
	OfpErrorType_OFPET_BAD_MATCH             OfpErrorType = 4
	OfpErrorType_OFPET_FLOW_MOD_FAILED       OfpErrorType = 5
	OfpErrorType_OFPET_GROUP_MOD_FAILED      OfpErrorType = 6
	OfpErrorType_OFPET_PORT_MOD_FAILED       OfpErrorType = 7
	OfpErrorType_OFPET_TABLE_MOD_FAILED      OfpErrorType = 8
	OfpErrorType_OFPET_QUEUE_OP_FAILED       OfpErrorType = 9
	OfpErrorType_OFPET_SWITCH_CONFIG_FAILED  OfpErrorType = 10
	OfpErrorType_OFPET_ROLE_REQUEST_FAILED   OfpErrorType = 11
	OfpErrorType_OFPET_METER_MOD_FAILED      OfpErrorType = 12
	OfpErrorType_OFPET_TABLE_FEATURES_FAILED OfpErrorType = 13
	OfpErrorType_OFPET_EXPERIMENTER          OfpErrorType = 65535
)

func (OfpErrorType) EnumDescriptor

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

func (OfpErrorType) String

func (x OfpErrorType) String() string

type OfpExperimenterHeader

type OfpExperimenterHeader struct {
	// ofp_header header;  /* Type OFPT_EXPERIMENTER. */
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter" json:"experimenter,omitempty"`
	ExpType      uint32 `protobuf:"varint,2,opt,name=exp_type,json=expType" json:"exp_type,omitempty"`
	Data         []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

Experimenter extension.

func (*OfpExperimenterHeader) Descriptor

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

func (*OfpExperimenterHeader) GetData

func (m *OfpExperimenterHeader) GetData() []byte

func (*OfpExperimenterHeader) GetExpType

func (m *OfpExperimenterHeader) GetExpType() uint32

func (*OfpExperimenterHeader) GetExperimenter

func (m *OfpExperimenterHeader) GetExperimenter() uint32

func (*OfpExperimenterHeader) ProtoMessage

func (*OfpExperimenterHeader) ProtoMessage()

func (*OfpExperimenterHeader) Reset

func (m *OfpExperimenterHeader) Reset()

func (*OfpExperimenterHeader) String

func (m *OfpExperimenterHeader) String() string

type OfpExperimenterMultipartHeader

type OfpExperimenterMultipartHeader struct {
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter" json:"experimenter,omitempty"`
	ExpType      uint32 `protobuf:"varint,2,opt,name=exp_type,json=expType" json:"exp_type,omitempty"`
	Data         []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

Body for ofp_multipart_request/reply of type OFPMP_EXPERIMENTER.

func (*OfpExperimenterMultipartHeader) Descriptor

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

func (*OfpExperimenterMultipartHeader) GetData

func (m *OfpExperimenterMultipartHeader) GetData() []byte

func (*OfpExperimenterMultipartHeader) GetExpType

func (m *OfpExperimenterMultipartHeader) GetExpType() uint32

func (*OfpExperimenterMultipartHeader) GetExperimenter

func (m *OfpExperimenterMultipartHeader) GetExperimenter() uint32

func (*OfpExperimenterMultipartHeader) ProtoMessage

func (*OfpExperimenterMultipartHeader) ProtoMessage()

func (*OfpExperimenterMultipartHeader) Reset

func (m *OfpExperimenterMultipartHeader) Reset()

func (*OfpExperimenterMultipartHeader) String

type OfpFlowMod

type OfpFlowMod struct {
	// ofp_header header;
	Cookie       uint64            `protobuf:"varint,1,opt,name=cookie" json:"cookie,omitempty"`
	CookieMask   uint64            `protobuf:"varint,2,opt,name=cookie_mask,json=cookieMask" json:"cookie_mask,omitempty"`
	TableId      uint32            `protobuf:"varint,3,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	Command      OfpFlowModCommand `protobuf:"varint,4,opt,name=command,enum=openflow_13.OfpFlowModCommand" json:"command,omitempty"`
	IdleTimeout  uint32            `protobuf:"varint,5,opt,name=idle_timeout,json=idleTimeout" json:"idle_timeout,omitempty"`
	HardTimeout  uint32            `protobuf:"varint,6,opt,name=hard_timeout,json=hardTimeout" json:"hard_timeout,omitempty"`
	Priority     uint32            `protobuf:"varint,7,opt,name=priority" json:"priority,omitempty"`
	BufferId     uint32            `protobuf:"varint,8,opt,name=buffer_id,json=bufferId" json:"buffer_id,omitempty"`
	OutPort      uint32            `protobuf:"varint,9,opt,name=out_port,json=outPort" json:"out_port,omitempty"`
	OutGroup     uint32            `protobuf:"varint,10,opt,name=out_group,json=outGroup" json:"out_group,omitempty"`
	Flags        uint32            `protobuf:"varint,11,opt,name=flags" json:"flags,omitempty"`
	Match        *OfpMatch         `protobuf:"bytes,12,opt,name=match" json:"match,omitempty"`
	Instructions []*OfpInstruction `protobuf:"bytes,13,rep,name=instructions" json:"instructions,omitempty"`
}

Flow setup and teardown (controller -> datapath).

func (*OfpFlowMod) Descriptor

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

func (*OfpFlowMod) GetBufferId

func (m *OfpFlowMod) GetBufferId() uint32

func (*OfpFlowMod) GetCommand

func (m *OfpFlowMod) GetCommand() OfpFlowModCommand

func (*OfpFlowMod) GetCookie

func (m *OfpFlowMod) GetCookie() uint64

func (*OfpFlowMod) GetCookieMask

func (m *OfpFlowMod) GetCookieMask() uint64

func (*OfpFlowMod) GetFlags

func (m *OfpFlowMod) GetFlags() uint32

func (*OfpFlowMod) GetHardTimeout

func (m *OfpFlowMod) GetHardTimeout() uint32

func (*OfpFlowMod) GetIdleTimeout

func (m *OfpFlowMod) GetIdleTimeout() uint32

func (*OfpFlowMod) GetInstructions

func (m *OfpFlowMod) GetInstructions() []*OfpInstruction

func (*OfpFlowMod) GetMatch

func (m *OfpFlowMod) GetMatch() *OfpMatch

func (*OfpFlowMod) GetOutGroup

func (m *OfpFlowMod) GetOutGroup() uint32

func (*OfpFlowMod) GetOutPort

func (m *OfpFlowMod) GetOutPort() uint32

func (*OfpFlowMod) GetPriority

func (m *OfpFlowMod) GetPriority() uint32

func (*OfpFlowMod) GetTableId

func (m *OfpFlowMod) GetTableId() uint32

func (*OfpFlowMod) ProtoMessage

func (*OfpFlowMod) ProtoMessage()

func (*OfpFlowMod) Reset

func (m *OfpFlowMod) Reset()

func (*OfpFlowMod) String

func (m *OfpFlowMod) String() string

type OfpFlowModCommand

type OfpFlowModCommand int32
const (
	OfpFlowModCommand_OFPFC_ADD           OfpFlowModCommand = 0
	OfpFlowModCommand_OFPFC_MODIFY        OfpFlowModCommand = 1
	OfpFlowModCommand_OFPFC_MODIFY_STRICT OfpFlowModCommand = 2
	OfpFlowModCommand_OFPFC_DELETE        OfpFlowModCommand = 3
	OfpFlowModCommand_OFPFC_DELETE_STRICT OfpFlowModCommand = 4
)

func (OfpFlowModCommand) EnumDescriptor

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

func (OfpFlowModCommand) String

func (x OfpFlowModCommand) String() string

type OfpFlowModFailedCode

type OfpFlowModFailedCode int32

ofp_error_msg 'code' values for OFPET_FLOW_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpFlowModFailedCode_OFPFMFC_UNKNOWN      OfpFlowModFailedCode = 0
	OfpFlowModFailedCode_OFPFMFC_TABLE_FULL   OfpFlowModFailedCode = 1
	OfpFlowModFailedCode_OFPFMFC_BAD_TABLE_ID OfpFlowModFailedCode = 2
	OfpFlowModFailedCode_OFPFMFC_OVERLAP      OfpFlowModFailedCode = 3
	OfpFlowModFailedCode_OFPFMFC_EPERM        OfpFlowModFailedCode = 4
	OfpFlowModFailedCode_OFPFMFC_BAD_TIMEOUT  OfpFlowModFailedCode = 5
	OfpFlowModFailedCode_OFPFMFC_BAD_COMMAND  OfpFlowModFailedCode = 6
	OfpFlowModFailedCode_OFPFMFC_BAD_FLAGS    OfpFlowModFailedCode = 7
)

func (OfpFlowModFailedCode) EnumDescriptor

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

func (OfpFlowModFailedCode) String

func (x OfpFlowModFailedCode) String() string

type OfpFlowModFlags

type OfpFlowModFlags int32
const (
	OfpFlowModFlags_OFPFF_INVALID       OfpFlowModFlags = 0
	OfpFlowModFlags_OFPFF_SEND_FLOW_REM OfpFlowModFlags = 1
	OfpFlowModFlags_OFPFF_CHECK_OVERLAP OfpFlowModFlags = 2
	OfpFlowModFlags_OFPFF_RESET_COUNTS  OfpFlowModFlags = 4
	OfpFlowModFlags_OFPFF_NO_PKT_COUNTS OfpFlowModFlags = 8
	OfpFlowModFlags_OFPFF_NO_BYT_COUNTS OfpFlowModFlags = 16
)

func (OfpFlowModFlags) EnumDescriptor

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

func (OfpFlowModFlags) String

func (x OfpFlowModFlags) String() string

type OfpFlowRemoved

type OfpFlowRemoved struct {
	// ofp_header header;
	Cookie       uint64               `protobuf:"varint,1,opt,name=cookie" json:"cookie,omitempty"`
	Priority     uint32               `protobuf:"varint,2,opt,name=priority" json:"priority,omitempty"`
	Reason       OfpFlowRemovedReason `protobuf:"varint,3,opt,name=reason,enum=openflow_13.OfpFlowRemovedReason" json:"reason,omitempty"`
	TableId      uint32               `protobuf:"varint,4,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	DurationSec  uint32               `protobuf:"varint,5,opt,name=duration_sec,json=durationSec" json:"duration_sec,omitempty"`
	DurationNsec uint32               `protobuf:"varint,6,opt,name=duration_nsec,json=durationNsec" json:"duration_nsec,omitempty"`
	IdleTimeout  uint32               `protobuf:"varint,7,opt,name=idle_timeout,json=idleTimeout" json:"idle_timeout,omitempty"`
	HardTimeout  uint32               `protobuf:"varint,8,opt,name=hard_timeout,json=hardTimeout" json:"hard_timeout,omitempty"`
	PacketCount  uint64               `protobuf:"varint,9,opt,name=packet_count,json=packetCount" json:"packet_count,omitempty"`
	ByteCount    uint64               `protobuf:"varint,10,opt,name=byte_count,json=byteCount" json:"byte_count,omitempty"`
	Match        *OfpMatch            `protobuf:"bytes,121,opt,name=match" json:"match,omitempty"`
}

Flow removed (datapath -> controller).

func (*OfpFlowRemoved) Descriptor

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

func (*OfpFlowRemoved) GetByteCount

func (m *OfpFlowRemoved) GetByteCount() uint64

func (*OfpFlowRemoved) GetCookie

func (m *OfpFlowRemoved) GetCookie() uint64

func (*OfpFlowRemoved) GetDurationNsec

func (m *OfpFlowRemoved) GetDurationNsec() uint32

func (*OfpFlowRemoved) GetDurationSec

func (m *OfpFlowRemoved) GetDurationSec() uint32

func (*OfpFlowRemoved) GetHardTimeout

func (m *OfpFlowRemoved) GetHardTimeout() uint32

func (*OfpFlowRemoved) GetIdleTimeout

func (m *OfpFlowRemoved) GetIdleTimeout() uint32

func (*OfpFlowRemoved) GetMatch

func (m *OfpFlowRemoved) GetMatch() *OfpMatch

func (*OfpFlowRemoved) GetPacketCount

func (m *OfpFlowRemoved) GetPacketCount() uint64

func (*OfpFlowRemoved) GetPriority

func (m *OfpFlowRemoved) GetPriority() uint32

func (*OfpFlowRemoved) GetReason

func (m *OfpFlowRemoved) GetReason() OfpFlowRemovedReason

func (*OfpFlowRemoved) GetTableId

func (m *OfpFlowRemoved) GetTableId() uint32

func (*OfpFlowRemoved) ProtoMessage

func (*OfpFlowRemoved) ProtoMessage()

func (*OfpFlowRemoved) Reset

func (m *OfpFlowRemoved) Reset()

func (*OfpFlowRemoved) String

func (m *OfpFlowRemoved) String() string

type OfpFlowRemovedReason

type OfpFlowRemovedReason int32

Why was this flow removed?

const (
	OfpFlowRemovedReason_OFPRR_IDLE_TIMEOUT OfpFlowRemovedReason = 0
	OfpFlowRemovedReason_OFPRR_HARD_TIMEOUT OfpFlowRemovedReason = 1
	OfpFlowRemovedReason_OFPRR_DELETE       OfpFlowRemovedReason = 2
	OfpFlowRemovedReason_OFPRR_GROUP_DELETE OfpFlowRemovedReason = 3
	OfpFlowRemovedReason_OFPRR_METER_DELETE OfpFlowRemovedReason = 4
)

func (OfpFlowRemovedReason) EnumDescriptor

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

func (OfpFlowRemovedReason) String

func (x OfpFlowRemovedReason) String() string

type OfpFlowStats

type OfpFlowStats struct {
	Id           uint64            `protobuf:"varint,14,opt,name=id" json:"id,omitempty"`
	TableId      uint32            `protobuf:"varint,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	DurationSec  uint32            `protobuf:"varint,2,opt,name=duration_sec,json=durationSec" json:"duration_sec,omitempty"`
	DurationNsec uint32            `protobuf:"varint,3,opt,name=duration_nsec,json=durationNsec" json:"duration_nsec,omitempty"`
	Priority     uint32            `protobuf:"varint,4,opt,name=priority" json:"priority,omitempty"`
	IdleTimeout  uint32            `protobuf:"varint,5,opt,name=idle_timeout,json=idleTimeout" json:"idle_timeout,omitempty"`
	HardTimeout  uint32            `protobuf:"varint,6,opt,name=hard_timeout,json=hardTimeout" json:"hard_timeout,omitempty"`
	Flags        uint32            `protobuf:"varint,7,opt,name=flags" json:"flags,omitempty"`
	Cookie       uint64            `protobuf:"varint,8,opt,name=cookie" json:"cookie,omitempty"`
	PacketCount  uint64            `protobuf:"varint,9,opt,name=packet_count,json=packetCount" json:"packet_count,omitempty"`
	ByteCount    uint64            `protobuf:"varint,10,opt,name=byte_count,json=byteCount" json:"byte_count,omitempty"`
	Match        *OfpMatch         `protobuf:"bytes,12,opt,name=match" json:"match,omitempty"`
	Instructions []*OfpInstruction `protobuf:"bytes,13,rep,name=instructions" json:"instructions,omitempty"`
}

Body of reply to OFPMP_FLOW request.

func (*OfpFlowStats) Descriptor

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

func (*OfpFlowStats) GetByteCount

func (m *OfpFlowStats) GetByteCount() uint64

func (*OfpFlowStats) GetCookie

func (m *OfpFlowStats) GetCookie() uint64

func (*OfpFlowStats) GetDurationNsec

func (m *OfpFlowStats) GetDurationNsec() uint32

func (*OfpFlowStats) GetDurationSec

func (m *OfpFlowStats) GetDurationSec() uint32

func (*OfpFlowStats) GetFlags

func (m *OfpFlowStats) GetFlags() uint32

func (*OfpFlowStats) GetHardTimeout

func (m *OfpFlowStats) GetHardTimeout() uint32

func (*OfpFlowStats) GetId

func (m *OfpFlowStats) GetId() uint64

func (*OfpFlowStats) GetIdleTimeout

func (m *OfpFlowStats) GetIdleTimeout() uint32

func (*OfpFlowStats) GetInstructions

func (m *OfpFlowStats) GetInstructions() []*OfpInstruction

func (*OfpFlowStats) GetMatch

func (m *OfpFlowStats) GetMatch() *OfpMatch

func (*OfpFlowStats) GetPacketCount

func (m *OfpFlowStats) GetPacketCount() uint64

func (*OfpFlowStats) GetPriority

func (m *OfpFlowStats) GetPriority() uint32

func (*OfpFlowStats) GetTableId

func (m *OfpFlowStats) GetTableId() uint32

func (*OfpFlowStats) ProtoMessage

func (*OfpFlowStats) ProtoMessage()

func (*OfpFlowStats) Reset

func (m *OfpFlowStats) Reset()

func (*OfpFlowStats) String

func (m *OfpFlowStats) String() string

type OfpFlowStatsRequest

type OfpFlowStatsRequest struct {
	TableId    uint32    `protobuf:"varint,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	OutPort    uint32    `protobuf:"varint,2,opt,name=out_port,json=outPort" json:"out_port,omitempty"`
	OutGroup   uint32    `protobuf:"varint,3,opt,name=out_group,json=outGroup" json:"out_group,omitempty"`
	Cookie     uint64    `protobuf:"varint,4,opt,name=cookie" json:"cookie,omitempty"`
	CookieMask uint64    `protobuf:"varint,5,opt,name=cookie_mask,json=cookieMask" json:"cookie_mask,omitempty"`
	Match      *OfpMatch `protobuf:"bytes,6,opt,name=match" json:"match,omitempty"`
}

Body for ofp_multipart_request of type OFPMP_FLOW.

func (*OfpFlowStatsRequest) Descriptor

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

func (*OfpFlowStatsRequest) GetCookie

func (m *OfpFlowStatsRequest) GetCookie() uint64

func (*OfpFlowStatsRequest) GetCookieMask

func (m *OfpFlowStatsRequest) GetCookieMask() uint64

func (*OfpFlowStatsRequest) GetMatch

func (m *OfpFlowStatsRequest) GetMatch() *OfpMatch

func (*OfpFlowStatsRequest) GetOutGroup

func (m *OfpFlowStatsRequest) GetOutGroup() uint32

func (*OfpFlowStatsRequest) GetOutPort

func (m *OfpFlowStatsRequest) GetOutPort() uint32

func (*OfpFlowStatsRequest) GetTableId

func (m *OfpFlowStatsRequest) GetTableId() uint32

func (*OfpFlowStatsRequest) ProtoMessage

func (*OfpFlowStatsRequest) ProtoMessage()

func (*OfpFlowStatsRequest) Reset

func (m *OfpFlowStatsRequest) Reset()

func (*OfpFlowStatsRequest) String

func (m *OfpFlowStatsRequest) String() string

type OfpGroup

type OfpGroup int32

Group numbering. Groups can use any number up to OFPG_MAX.

const (
	OfpGroup_OFPG_INVALID OfpGroup = 0
	// Last usable group number.
	OfpGroup_OFPG_MAX OfpGroup = 2147483392
	// Fake groups.
	OfpGroup_OFPG_ALL OfpGroup = 2147483644
	OfpGroup_OFPG_ANY OfpGroup = 2147483647
)

func (OfpGroup) EnumDescriptor

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

func (OfpGroup) String

func (x OfpGroup) String() string

type OfpGroupCapabilities

type OfpGroupCapabilities int32

Group configuration flags

const (
	OfpGroupCapabilities_OFPGFC_INVALID         OfpGroupCapabilities = 0
	OfpGroupCapabilities_OFPGFC_SELECT_WEIGHT   OfpGroupCapabilities = 1
	OfpGroupCapabilities_OFPGFC_SELECT_LIVENESS OfpGroupCapabilities = 2
	OfpGroupCapabilities_OFPGFC_CHAINING        OfpGroupCapabilities = 4
	OfpGroupCapabilities_OFPGFC_CHAINING_CHECKS OfpGroupCapabilities = 8
)

func (OfpGroupCapabilities) EnumDescriptor

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

func (OfpGroupCapabilities) String

func (x OfpGroupCapabilities) String() string

type OfpGroupDesc

type OfpGroupDesc struct {
	Type    OfpGroupType `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpGroupType" json:"type,omitempty"`
	GroupId uint32       `protobuf:"varint,2,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
	Buckets []*OfpBucket `protobuf:"bytes,3,rep,name=buckets" json:"buckets,omitempty"`
}

Body of reply to OFPMP_GROUP_DESC request.

func (*OfpGroupDesc) Descriptor

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

func (*OfpGroupDesc) GetBuckets

func (m *OfpGroupDesc) GetBuckets() []*OfpBucket

func (*OfpGroupDesc) GetGroupId

func (m *OfpGroupDesc) GetGroupId() uint32

func (*OfpGroupDesc) GetType

func (m *OfpGroupDesc) GetType() OfpGroupType

func (*OfpGroupDesc) ProtoMessage

func (*OfpGroupDesc) ProtoMessage()

func (*OfpGroupDesc) Reset

func (m *OfpGroupDesc) Reset()

func (*OfpGroupDesc) String

func (m *OfpGroupDesc) String() string

type OfpGroupEntry

type OfpGroupEntry struct {
	Desc  *OfpGroupDesc  `protobuf:"bytes,1,opt,name=desc" json:"desc,omitempty"`
	Stats *OfpGroupStats `protobuf:"bytes,2,opt,name=stats" json:"stats,omitempty"`
}

func (*OfpGroupEntry) Descriptor

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

func (*OfpGroupEntry) GetDesc

func (m *OfpGroupEntry) GetDesc() *OfpGroupDesc

func (*OfpGroupEntry) GetStats

func (m *OfpGroupEntry) GetStats() *OfpGroupStats

func (*OfpGroupEntry) ProtoMessage

func (*OfpGroupEntry) ProtoMessage()

func (*OfpGroupEntry) Reset

func (m *OfpGroupEntry) Reset()

func (*OfpGroupEntry) String

func (m *OfpGroupEntry) String() string

type OfpGroupFeatures

type OfpGroupFeatures struct {
	Types        uint32   `protobuf:"varint,1,opt,name=types" json:"types,omitempty"`
	Capabilities uint32   `protobuf:"varint,2,opt,name=capabilities" json:"capabilities,omitempty"`
	MaxGroups    []uint32 `protobuf:"varint,3,rep,packed,name=max_groups,json=maxGroups" json:"max_groups,omitempty"`
	Actions      []uint32 `protobuf:"varint,4,rep,packed,name=actions" json:"actions,omitempty"`
}

Body of reply to OFPMP_GROUP_FEATURES request. Group features.

func (*OfpGroupFeatures) Descriptor

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

func (*OfpGroupFeatures) GetActions

func (m *OfpGroupFeatures) GetActions() []uint32

func (*OfpGroupFeatures) GetCapabilities

func (m *OfpGroupFeatures) GetCapabilities() uint32

func (*OfpGroupFeatures) GetMaxGroups

func (m *OfpGroupFeatures) GetMaxGroups() []uint32

func (*OfpGroupFeatures) GetTypes

func (m *OfpGroupFeatures) GetTypes() uint32

func (*OfpGroupFeatures) ProtoMessage

func (*OfpGroupFeatures) ProtoMessage()

func (*OfpGroupFeatures) Reset

func (m *OfpGroupFeatures) Reset()

func (*OfpGroupFeatures) String

func (m *OfpGroupFeatures) String() string

type OfpGroupMod

type OfpGroupMod struct {
	// ofp_header header;
	Command OfpGroupModCommand `protobuf:"varint,1,opt,name=command,enum=openflow_13.OfpGroupModCommand" json:"command,omitempty"`
	Type    OfpGroupType       `protobuf:"varint,2,opt,name=type,enum=openflow_13.OfpGroupType" json:"type,omitempty"`
	GroupId uint32             `protobuf:"varint,3,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
	Buckets []*OfpBucket       `protobuf:"bytes,4,rep,name=buckets" json:"buckets,omitempty"`
}

Group setup and teardown (controller -> datapath).

func (*OfpGroupMod) Descriptor

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

func (*OfpGroupMod) GetBuckets

func (m *OfpGroupMod) GetBuckets() []*OfpBucket

func (*OfpGroupMod) GetCommand

func (m *OfpGroupMod) GetCommand() OfpGroupModCommand

func (*OfpGroupMod) GetGroupId

func (m *OfpGroupMod) GetGroupId() uint32

func (*OfpGroupMod) GetType

func (m *OfpGroupMod) GetType() OfpGroupType

func (*OfpGroupMod) ProtoMessage

func (*OfpGroupMod) ProtoMessage()

func (*OfpGroupMod) Reset

func (m *OfpGroupMod) Reset()

func (*OfpGroupMod) String

func (m *OfpGroupMod) String() string

type OfpGroupModCommand

type OfpGroupModCommand int32

Group commands

const (
	OfpGroupModCommand_OFPGC_ADD    OfpGroupModCommand = 0
	OfpGroupModCommand_OFPGC_MODIFY OfpGroupModCommand = 1
	OfpGroupModCommand_OFPGC_DELETE OfpGroupModCommand = 2
)

func (OfpGroupModCommand) EnumDescriptor

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

func (OfpGroupModCommand) String

func (x OfpGroupModCommand) String() string

type OfpGroupModFailedCode

type OfpGroupModFailedCode int32

ofp_error_msg 'code' values for OFPET_GROUP_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpGroupModFailedCode_OFPGMFC_GROUP_EXISTS         OfpGroupModFailedCode = 0
	OfpGroupModFailedCode_OFPGMFC_INVALID_GROUP        OfpGroupModFailedCode = 1
	OfpGroupModFailedCode_OFPGMFC_WEIGHT_UNSUPPORTED   OfpGroupModFailedCode = 2
	OfpGroupModFailedCode_OFPGMFC_OUT_OF_GROUPS        OfpGroupModFailedCode = 3
	OfpGroupModFailedCode_OFPGMFC_OUT_OF_BUCKETS       OfpGroupModFailedCode = 4
	OfpGroupModFailedCode_OFPGMFC_CHAINING_UNSUPPORTED OfpGroupModFailedCode = 5
	OfpGroupModFailedCode_OFPGMFC_WATCH_UNSUPPORTED    OfpGroupModFailedCode = 6
	OfpGroupModFailedCode_OFPGMFC_LOOP                 OfpGroupModFailedCode = 7
	OfpGroupModFailedCode_OFPGMFC_UNKNOWN_GROUP        OfpGroupModFailedCode = 8
	OfpGroupModFailedCode_OFPGMFC_CHAINED_GROUP        OfpGroupModFailedCode = 9
	OfpGroupModFailedCode_OFPGMFC_BAD_TYPE             OfpGroupModFailedCode = 10
	OfpGroupModFailedCode_OFPGMFC_BAD_COMMAND          OfpGroupModFailedCode = 11
	OfpGroupModFailedCode_OFPGMFC_BAD_BUCKET           OfpGroupModFailedCode = 12
	OfpGroupModFailedCode_OFPGMFC_BAD_WATCH            OfpGroupModFailedCode = 13
	OfpGroupModFailedCode_OFPGMFC_EPERM                OfpGroupModFailedCode = 14
)

func (OfpGroupModFailedCode) EnumDescriptor

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

func (OfpGroupModFailedCode) String

func (x OfpGroupModFailedCode) String() string

type OfpGroupStats

type OfpGroupStats struct {
	GroupId      uint32              `protobuf:"varint,1,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
	RefCount     uint32              `protobuf:"varint,2,opt,name=ref_count,json=refCount" json:"ref_count,omitempty"`
	PacketCount  uint64              `protobuf:"varint,3,opt,name=packet_count,json=packetCount" json:"packet_count,omitempty"`
	ByteCount    uint64              `protobuf:"varint,4,opt,name=byte_count,json=byteCount" json:"byte_count,omitempty"`
	DurationSec  uint32              `protobuf:"varint,5,opt,name=duration_sec,json=durationSec" json:"duration_sec,omitempty"`
	DurationNsec uint32              `protobuf:"varint,6,opt,name=duration_nsec,json=durationNsec" json:"duration_nsec,omitempty"`
	BucketStats  []*OfpBucketCounter `protobuf:"bytes,7,rep,name=bucket_stats,json=bucketStats" json:"bucket_stats,omitempty"`
}

Body of reply to OFPMP_GROUP request.

func (*OfpGroupStats) Descriptor

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

func (*OfpGroupStats) GetBucketStats

func (m *OfpGroupStats) GetBucketStats() []*OfpBucketCounter

func (*OfpGroupStats) GetByteCount

func (m *OfpGroupStats) GetByteCount() uint64

func (*OfpGroupStats) GetDurationNsec

func (m *OfpGroupStats) GetDurationNsec() uint32

func (*OfpGroupStats) GetDurationSec

func (m *OfpGroupStats) GetDurationSec() uint32

func (*OfpGroupStats) GetGroupId

func (m *OfpGroupStats) GetGroupId() uint32

func (*OfpGroupStats) GetPacketCount

func (m *OfpGroupStats) GetPacketCount() uint64

func (*OfpGroupStats) GetRefCount

func (m *OfpGroupStats) GetRefCount() uint32

func (*OfpGroupStats) ProtoMessage

func (*OfpGroupStats) ProtoMessage()

func (*OfpGroupStats) Reset

func (m *OfpGroupStats) Reset()

func (*OfpGroupStats) String

func (m *OfpGroupStats) String() string

type OfpGroupStatsRequest

type OfpGroupStatsRequest struct {
	GroupId uint32 `protobuf:"varint,1,opt,name=group_id,json=groupId" json:"group_id,omitempty"`
}

Body of OFPMP_GROUP request.

func (*OfpGroupStatsRequest) Descriptor

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

func (*OfpGroupStatsRequest) GetGroupId

func (m *OfpGroupStatsRequest) GetGroupId() uint32

func (*OfpGroupStatsRequest) ProtoMessage

func (*OfpGroupStatsRequest) ProtoMessage()

func (*OfpGroupStatsRequest) Reset

func (m *OfpGroupStatsRequest) Reset()

func (*OfpGroupStatsRequest) String

func (m *OfpGroupStatsRequest) String() string

type OfpGroupType

type OfpGroupType int32

Group types. Values in the range [128; 255] are reserved for experimental use.

const (
	OfpGroupType_OFPGT_ALL      OfpGroupType = 0
	OfpGroupType_OFPGT_SELECT   OfpGroupType = 1
	OfpGroupType_OFPGT_INDIRECT OfpGroupType = 2
	OfpGroupType_OFPGT_FF       OfpGroupType = 3
)

func (OfpGroupType) EnumDescriptor

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

func (OfpGroupType) String

func (x OfpGroupType) String() string

type OfpHeader

type OfpHeader struct {
	Version uint32  `protobuf:"varint,1,opt,name=version" json:"version,omitempty"`
	Type    OfpType `protobuf:"varint,2,opt,name=type,enum=openflow_13.OfpType" json:"type,omitempty"`
	Xid     uint32  `protobuf:"varint,3,opt,name=xid" json:"xid,omitempty"`
}

Header on all OpenFlow packets.

func (*OfpHeader) Descriptor

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

func (*OfpHeader) GetType

func (m *OfpHeader) GetType() OfpType

func (*OfpHeader) GetVersion

func (m *OfpHeader) GetVersion() uint32

func (*OfpHeader) GetXid

func (m *OfpHeader) GetXid() uint32

func (*OfpHeader) ProtoMessage

func (*OfpHeader) ProtoMessage()

func (*OfpHeader) Reset

func (m *OfpHeader) Reset()

func (*OfpHeader) String

func (m *OfpHeader) String() string

type OfpHello

type OfpHello struct {
	// Hello element list
	Elements []*OfpHelloElemHeader `protobuf:"bytes,1,rep,name=elements" json:"elements,omitempty"`
}

OFPT_HELLO. This message includes zero or more hello elements having variable size. Unknown elements types must be ignored/skipped, to allow for future extensions.

func (*OfpHello) Descriptor

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

func (*OfpHello) GetElements

func (m *OfpHello) GetElements() []*OfpHelloElemHeader

func (*OfpHello) ProtoMessage

func (*OfpHello) ProtoMessage()

func (*OfpHello) Reset

func (m *OfpHello) Reset()

func (*OfpHello) String

func (m *OfpHello) String() string

type OfpHelloElemHeader

type OfpHelloElemHeader struct {
	Type OfpHelloElemType `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpHelloElemType" json:"type,omitempty"`
	// Types that are valid to be assigned to Element:
	//	*OfpHelloElemHeader_Versionbitmap
	Element isOfpHelloElemHeader_Element `protobuf_oneof:"element"`
}

Common header for all Hello Elements

func (*OfpHelloElemHeader) Descriptor

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

func (*OfpHelloElemHeader) GetElement

func (m *OfpHelloElemHeader) GetElement() isOfpHelloElemHeader_Element

func (*OfpHelloElemHeader) GetType

func (m *OfpHelloElemHeader) GetType() OfpHelloElemType

func (*OfpHelloElemHeader) GetVersionbitmap

func (m *OfpHelloElemHeader) GetVersionbitmap() *OfpHelloElemVersionbitmap

func (*OfpHelloElemHeader) ProtoMessage

func (*OfpHelloElemHeader) ProtoMessage()

func (*OfpHelloElemHeader) Reset

func (m *OfpHelloElemHeader) Reset()

func (*OfpHelloElemHeader) String

func (m *OfpHelloElemHeader) String() string

func (*OfpHelloElemHeader) XXX_OneofFuncs

func (*OfpHelloElemHeader) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type OfpHelloElemHeader_Versionbitmap

type OfpHelloElemHeader_Versionbitmap struct {
	Versionbitmap *OfpHelloElemVersionbitmap `protobuf:"bytes,2,opt,name=versionbitmap,oneof"`
}

type OfpHelloElemType

type OfpHelloElemType int32

Hello elements types.

const (
	OfpHelloElemType_OFPHET_INVALID       OfpHelloElemType = 0
	OfpHelloElemType_OFPHET_VERSIONBITMAP OfpHelloElemType = 1
)

func (OfpHelloElemType) EnumDescriptor

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

func (OfpHelloElemType) String

func (x OfpHelloElemType) String() string

type OfpHelloElemVersionbitmap

type OfpHelloElemVersionbitmap struct {
	Bitmaps []uint32 `protobuf:"varint,2,rep,packed,name=bitmaps" json:"bitmaps,omitempty"`
}

Version bitmap Hello Element

func (*OfpHelloElemVersionbitmap) Descriptor

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

func (*OfpHelloElemVersionbitmap) GetBitmaps

func (m *OfpHelloElemVersionbitmap) GetBitmaps() []uint32

func (*OfpHelloElemVersionbitmap) ProtoMessage

func (*OfpHelloElemVersionbitmap) ProtoMessage()

func (*OfpHelloElemVersionbitmap) Reset

func (m *OfpHelloElemVersionbitmap) Reset()

func (*OfpHelloElemVersionbitmap) String

func (m *OfpHelloElemVersionbitmap) String() string

type OfpHelloFailedCode

type OfpHelloFailedCode int32

ofp_error_msg 'code' values for OFPET_HELLO_FAILED. 'data' contains an ASCII text string that may give failure details.

const (
	OfpHelloFailedCode_OFPHFC_INCOMPATIBLE OfpHelloFailedCode = 0
	OfpHelloFailedCode_OFPHFC_EPERM        OfpHelloFailedCode = 1
)

func (OfpHelloFailedCode) EnumDescriptor

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

func (OfpHelloFailedCode) String

func (x OfpHelloFailedCode) String() string

type OfpInstruction

type OfpInstruction struct {
	Type uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	// Types that are valid to be assigned to Data:
	//	*OfpInstruction_GotoTable
	//	*OfpInstruction_WriteMetadata
	//	*OfpInstruction_Actions
	//	*OfpInstruction_Meter
	//	*OfpInstruction_Experimenter
	Data isOfpInstruction_Data `protobuf_oneof:"data"`
}

Instruction header that is common to all instructions. The length includes the header and any padding used to make the instruction 64-bit aligned. NB: The length of an instruction *must* always be a multiple of eight.

func (*OfpInstruction) Descriptor

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

func (*OfpInstruction) GetActions

func (m *OfpInstruction) GetActions() *OfpInstructionActions

func (*OfpInstruction) GetData

func (m *OfpInstruction) GetData() isOfpInstruction_Data

func (*OfpInstruction) GetExperimenter

func (m *OfpInstruction) GetExperimenter() *OfpInstructionExperimenter

func (*OfpInstruction) GetGotoTable

func (m *OfpInstruction) GetGotoTable() *OfpInstructionGotoTable

func (*OfpInstruction) GetMeter

func (m *OfpInstruction) GetMeter() *OfpInstructionMeter

func (*OfpInstruction) GetType

func (m *OfpInstruction) GetType() uint32

func (*OfpInstruction) GetWriteMetadata

func (m *OfpInstruction) GetWriteMetadata() *OfpInstructionWriteMetadata

func (*OfpInstruction) ProtoMessage

func (*OfpInstruction) ProtoMessage()

func (*OfpInstruction) Reset

func (m *OfpInstruction) Reset()

func (*OfpInstruction) String

func (m *OfpInstruction) String() string

func (*OfpInstruction) XXX_OneofFuncs

func (*OfpInstruction) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type OfpInstructionActions

type OfpInstructionActions struct {
	Actions []*OfpAction `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"`
}

Instruction structure for OFPIT_WRITE/APPLY/CLEAR_ACTIONS

func (*OfpInstructionActions) Descriptor

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

func (*OfpInstructionActions) GetActions

func (m *OfpInstructionActions) GetActions() []*OfpAction

func (*OfpInstructionActions) ProtoMessage

func (*OfpInstructionActions) ProtoMessage()

func (*OfpInstructionActions) Reset

func (m *OfpInstructionActions) Reset()

func (*OfpInstructionActions) String

func (m *OfpInstructionActions) String() string

type OfpInstructionExperimenter

type OfpInstructionExperimenter struct {
	Experimenter uint32 `protobuf:"varint,1,opt,name=experimenter" json:"experimenter,omitempty"`
	// Experimenter-defined arbitrary additional data.
	Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
}

Instruction structure for experimental instructions

func (*OfpInstructionExperimenter) Descriptor

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

func (*OfpInstructionExperimenter) GetData

func (m *OfpInstructionExperimenter) GetData() []byte

func (*OfpInstructionExperimenter) GetExperimenter

func (m *OfpInstructionExperimenter) GetExperimenter() uint32

func (*OfpInstructionExperimenter) ProtoMessage

func (*OfpInstructionExperimenter) ProtoMessage()

func (*OfpInstructionExperimenter) Reset

func (m *OfpInstructionExperimenter) Reset()

func (*OfpInstructionExperimenter) String

func (m *OfpInstructionExperimenter) String() string

type OfpInstructionGotoTable

type OfpInstructionGotoTable struct {
	TableId uint32 `protobuf:"varint,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
}

Instruction structure for OFPIT_GOTO_TABLE

func (*OfpInstructionGotoTable) Descriptor

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

func (*OfpInstructionGotoTable) GetTableId

func (m *OfpInstructionGotoTable) GetTableId() uint32

func (*OfpInstructionGotoTable) ProtoMessage

func (*OfpInstructionGotoTable) ProtoMessage()

func (*OfpInstructionGotoTable) Reset

func (m *OfpInstructionGotoTable) Reset()

func (*OfpInstructionGotoTable) String

func (m *OfpInstructionGotoTable) String() string

type OfpInstructionMeter

type OfpInstructionMeter struct {
	MeterId uint32 `protobuf:"varint,1,opt,name=meter_id,json=meterId" json:"meter_id,omitempty"`
}

Instruction structure for OFPIT_METER

func (*OfpInstructionMeter) Descriptor

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

func (*OfpInstructionMeter) GetMeterId

func (m *OfpInstructionMeter) GetMeterId() uint32

func (*OfpInstructionMeter) ProtoMessage

func (*OfpInstructionMeter) ProtoMessage()

func (*OfpInstructionMeter) Reset

func (m *OfpInstructionMeter) Reset()

func (*OfpInstructionMeter) String

func (m *OfpInstructionMeter) String() string

type OfpInstructionType

type OfpInstructionType int32
const (
	OfpInstructionType_OFPIT_INVALID        OfpInstructionType = 0
	OfpInstructionType_OFPIT_GOTO_TABLE     OfpInstructionType = 1
	OfpInstructionType_OFPIT_WRITE_METADATA OfpInstructionType = 2
	OfpInstructionType_OFPIT_WRITE_ACTIONS  OfpInstructionType = 3
	OfpInstructionType_OFPIT_APPLY_ACTIONS  OfpInstructionType = 4
	OfpInstructionType_OFPIT_CLEAR_ACTIONS  OfpInstructionType = 5
	OfpInstructionType_OFPIT_METER          OfpInstructionType = 6
	OfpInstructionType_OFPIT_EXPERIMENTER   OfpInstructionType = 65535
)

func (OfpInstructionType) EnumDescriptor

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

func (OfpInstructionType) String

func (x OfpInstructionType) String() string

type OfpInstructionWriteMetadata

type OfpInstructionWriteMetadata struct {
	Metadata     uint64 `protobuf:"varint,1,opt,name=metadata" json:"metadata,omitempty"`
	MetadataMask uint64 `protobuf:"varint,2,opt,name=metadata_mask,json=metadataMask" json:"metadata_mask,omitempty"`
}

Instruction structure for OFPIT_WRITE_METADATA

func (*OfpInstructionWriteMetadata) Descriptor

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

func (*OfpInstructionWriteMetadata) GetMetadata

func (m *OfpInstructionWriteMetadata) GetMetadata() uint64

func (*OfpInstructionWriteMetadata) GetMetadataMask

func (m *OfpInstructionWriteMetadata) GetMetadataMask() uint64

func (*OfpInstructionWriteMetadata) ProtoMessage

func (*OfpInstructionWriteMetadata) ProtoMessage()

func (*OfpInstructionWriteMetadata) Reset

func (m *OfpInstructionWriteMetadata) Reset()

func (*OfpInstructionWriteMetadata) String

func (m *OfpInstructionWriteMetadata) String() string

type OfpInstruction_Actions

type OfpInstruction_Actions struct {
	Actions *OfpInstructionActions `protobuf:"bytes,4,opt,name=actions,oneof"`
}

type OfpInstruction_Experimenter

type OfpInstruction_Experimenter struct {
	Experimenter *OfpInstructionExperimenter `protobuf:"bytes,6,opt,name=experimenter,oneof"`
}

type OfpInstruction_GotoTable

type OfpInstruction_GotoTable struct {
	GotoTable *OfpInstructionGotoTable `protobuf:"bytes,2,opt,name=goto_table,json=gotoTable,oneof"`
}

type OfpInstruction_Meter

type OfpInstruction_Meter struct {
	Meter *OfpInstructionMeter `protobuf:"bytes,5,opt,name=meter,oneof"`
}

type OfpInstruction_WriteMetadata

type OfpInstruction_WriteMetadata struct {
	WriteMetadata *OfpInstructionWriteMetadata `protobuf:"bytes,3,opt,name=write_metadata,json=writeMetadata,oneof"`
}

type OfpIpv6ExthdrFlags

type OfpIpv6ExthdrFlags int32

Bit definitions for IPv6 Extension Header pseudo-field.

const (
	OfpIpv6ExthdrFlags_OFPIEH_INVALID OfpIpv6ExthdrFlags = 0
	OfpIpv6ExthdrFlags_OFPIEH_NONEXT  OfpIpv6ExthdrFlags = 1
	OfpIpv6ExthdrFlags_OFPIEH_ESP     OfpIpv6ExthdrFlags = 2
	OfpIpv6ExthdrFlags_OFPIEH_AUTH    OfpIpv6ExthdrFlags = 4
	OfpIpv6ExthdrFlags_OFPIEH_DEST    OfpIpv6ExthdrFlags = 8
	OfpIpv6ExthdrFlags_OFPIEH_FRAG    OfpIpv6ExthdrFlags = 16
	OfpIpv6ExthdrFlags_OFPIEH_ROUTER  OfpIpv6ExthdrFlags = 32
	OfpIpv6ExthdrFlags_OFPIEH_HOP     OfpIpv6ExthdrFlags = 64
	OfpIpv6ExthdrFlags_OFPIEH_UNREP   OfpIpv6ExthdrFlags = 128
	OfpIpv6ExthdrFlags_OFPIEH_UNSEQ   OfpIpv6ExthdrFlags = 256
)

func (OfpIpv6ExthdrFlags) EnumDescriptor

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

func (OfpIpv6ExthdrFlags) String

func (x OfpIpv6ExthdrFlags) String() string

type OfpMatch

type OfpMatch struct {
	Type      OfpMatchType   `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpMatchType" json:"type,omitempty"`
	OxmFields []*OfpOxmField `protobuf:"bytes,2,rep,name=oxm_fields,json=oxmFields" json:"oxm_fields,omitempty"`
}

Fields to match against flows

func (*OfpMatch) Descriptor

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

func (*OfpMatch) GetOxmFields

func (m *OfpMatch) GetOxmFields() []*OfpOxmField

func (*OfpMatch) GetType

func (m *OfpMatch) GetType() OfpMatchType

func (*OfpMatch) ProtoMessage

func (*OfpMatch) ProtoMessage()

func (*OfpMatch) Reset

func (m *OfpMatch) Reset()

func (*OfpMatch) String

func (m *OfpMatch) String() string

type OfpMatchType

type OfpMatchType int32

The match type indicates the match structure (set of fields that compose the match) in use. The match type is placed in the type field at the beginning of all match structures. The "OpenFlow Extensible Match" type corresponds to OXM TLV format described below and must be supported by all OpenFlow switches. Extensions that define other match types may be published on the ONF wiki. Support for extensions is optional.

const (
	OfpMatchType_OFPMT_STANDARD OfpMatchType = 0
	OfpMatchType_OFPMT_OXM      OfpMatchType = 1
)

func (OfpMatchType) EnumDescriptor

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

func (OfpMatchType) String

func (x OfpMatchType) String() string

type OfpMeter

type OfpMeter int32

Meter numbering. Flow meters can use any number up to OFPM_MAX.

const (
	OfpMeter_OFPM_ZERO OfpMeter = 0
	// Last usable meter.
	OfpMeter_OFPM_MAX OfpMeter = 2147418112
	// Virtual meters.
	OfpMeter_OFPM_SLOWPATH   OfpMeter = 2147483645
	OfpMeter_OFPM_CONTROLLER OfpMeter = 2147483646
	OfpMeter_OFPM_ALL        OfpMeter = 2147483647
)

func (OfpMeter) EnumDescriptor

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

func (OfpMeter) String

func (x OfpMeter) String() string

type OfpMeterBandDrop

type OfpMeterBandDrop struct {
	Type      uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Len       uint32 `protobuf:"varint,2,opt,name=len" json:"len,omitempty"`
	Rate      uint32 `protobuf:"varint,3,opt,name=rate" json:"rate,omitempty"`
	BurstSize uint32 `protobuf:"varint,4,opt,name=burst_size,json=burstSize" json:"burst_size,omitempty"`
}

OFPMBT_DROP band - drop packets

func (*OfpMeterBandDrop) Descriptor

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

func (*OfpMeterBandDrop) GetBurstSize

func (m *OfpMeterBandDrop) GetBurstSize() uint32

func (*OfpMeterBandDrop) GetLen

func (m *OfpMeterBandDrop) GetLen() uint32

func (*OfpMeterBandDrop) GetRate

func (m *OfpMeterBandDrop) GetRate() uint32

func (*OfpMeterBandDrop) GetType

func (m *OfpMeterBandDrop) GetType() uint32

func (*OfpMeterBandDrop) ProtoMessage

func (*OfpMeterBandDrop) ProtoMessage()

func (*OfpMeterBandDrop) Reset

func (m *OfpMeterBandDrop) Reset()

func (*OfpMeterBandDrop) String

func (m *OfpMeterBandDrop) String() string

type OfpMeterBandDscpRemark

type OfpMeterBandDscpRemark struct {
	Type      uint32 `protobuf:"varint,1,opt,name=type" json:"type,omitempty"`
	Len       uint32 `protobuf:"varint,2,opt,name=len" json:"len,omitempty"`
	Rate      uint32 `protobuf:"varint,3,opt,name=rate" json:"rate,omitempty"`
	BurstSize uint32 `protobuf:"varint,4,opt,name=burst_size,json=burstSize" json:"burst_size,omitempty"`
	PrecLevel uint32 `protobuf:"varint,5,opt,name=prec_level,json=precLevel" json:"prec_level,omitempty"`
}

OFPMBT_DSCP_REMARK band - Remark DSCP in the IP header

func (*OfpMeterBandDscpRemark) Descriptor

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

func (*OfpMeterBandDscpRemark) GetBurstSize

func (m *OfpMeterBandDscpRemark) GetBurstSize() uint32

func (*OfpMeterBandDscpRemark) GetLen

func (m *OfpMeterBandDscpRemark) GetLen() uint32

func (*OfpMeterBandDscpRemark) GetPrecLevel

func (m *OfpMeterBandDscpRemark) GetPrecLevel() uint32

func (*OfpMeterBandDscpRemark) GetRate

func (m *OfpMeterBandDscpRemark) GetRate() uint32

func (*OfpMeterBandDscpRemark) GetType

func (m *OfpMeterBandDscpRemark) GetType() uint32

func (*OfpMeterBandDscpRemark) ProtoMessage

func (*OfpMeterBandDscpRemark) ProtoMessage()

func (*OfpMeterBandDscpRemark) Reset

func (m *OfpMeterBandDscpRemark) Reset()

func (*OfpMeterBandDscpRemark) String

func (m *OfpMeterBandDscpRemark) String() string

type OfpMeterBandExperimenter

type OfpMeterBandExperimenter struct {
	Type         OfpMeterBandType `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpMeterBandType" json:"type,omitempty"`
	Len          uint32           `protobuf:"varint,2,opt,name=len" json:"len,omitempty"`
	Rate         uint32           `protobuf:"varint,3,opt,name=rate" json:"rate,omitempty"`
	BurstSize    uint32           `protobuf:"varint,4,opt,name=burst_size,json=burstSize" json:"burst_size,omitempty"`
	Experimenter uint32           `protobuf:"varint,5,opt,name=experimenter" json:"experimenter,omitempty"`
}

OFPMBT_EXPERIMENTER band - Experimenter type. The rest of the band is experimenter-defined.

func (*OfpMeterBandExperimenter) Descriptor

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

func (*OfpMeterBandExperimenter) GetBurstSize

func (m *OfpMeterBandExperimenter) GetBurstSize() uint32

func (*OfpMeterBandExperimenter) GetExperimenter

func (m *OfpMeterBandExperimenter) GetExperimenter() uint32

func (*OfpMeterBandExperimenter) GetLen

func (m *OfpMeterBandExperimenter) GetLen() uint32

func (*OfpMeterBandExperimenter) GetRate

func (m *OfpMeterBandExperimenter) GetRate() uint32

func (*OfpMeterBandExperimenter) GetType

func (*OfpMeterBandExperimenter) ProtoMessage

func (*OfpMeterBandExperimenter) ProtoMessage()

func (*OfpMeterBandExperimenter) Reset

func (m *OfpMeterBandExperimenter) Reset()

func (*OfpMeterBandExperimenter) String

func (m *OfpMeterBandExperimenter) String() string

type OfpMeterBandHeader

type OfpMeterBandHeader struct {
	Type      OfpMeterBandType `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpMeterBandType" json:"type,omitempty"`
	Len       uint32           `protobuf:"varint,2,opt,name=len" json:"len,omitempty"`
	Rate      uint32           `protobuf:"varint,3,opt,name=rate" json:"rate,omitempty"`
	BurstSize uint32           `protobuf:"varint,4,opt,name=burst_size,json=burstSize" json:"burst_size,omitempty"`
}

Common header for all meter bands

func (*OfpMeterBandHeader) Descriptor

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

func (*OfpMeterBandHeader) GetBurstSize

func (m *OfpMeterBandHeader) GetBurstSize() uint32

func (*OfpMeterBandHeader) GetLen

func (m *OfpMeterBandHeader) GetLen() uint32

func (*OfpMeterBandHeader) GetRate

func (m *OfpMeterBandHeader) GetRate() uint32

func (*OfpMeterBandHeader) GetType

func (m *OfpMeterBandHeader) GetType() OfpMeterBandType

func (*OfpMeterBandHeader) ProtoMessage

func (*OfpMeterBandHeader) ProtoMessage()

func (*OfpMeterBandHeader) Reset

func (m *OfpMeterBandHeader) Reset()

func (*OfpMeterBandHeader) String

func (m *OfpMeterBandHeader) String() string

type OfpMeterBandStats

type OfpMeterBandStats struct {
	PacketBandCount uint64 `protobuf:"varint,1,opt,name=packet_band_count,json=packetBandCount" json:"packet_band_count,omitempty"`
	ByteBandCount   uint64 `protobuf:"varint,2,opt,name=byte_band_count,json=byteBandCount" json:"byte_band_count,omitempty"`
}

Statistics for each meter band

func (*OfpMeterBandStats) Descriptor

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

func (*OfpMeterBandStats) GetByteBandCount

func (m *OfpMeterBandStats) GetByteBandCount() uint64

func (*OfpMeterBandStats) GetPacketBandCount

func (m *OfpMeterBandStats) GetPacketBandCount() uint64

func (*OfpMeterBandStats) ProtoMessage

func (*OfpMeterBandStats) ProtoMessage()

func (*OfpMeterBandStats) Reset

func (m *OfpMeterBandStats) Reset()

func (*OfpMeterBandStats) String

func (m *OfpMeterBandStats) String() string

type OfpMeterBandType

type OfpMeterBandType int32

Meter band types

const (
	OfpMeterBandType_OFPMBT_INVALID      OfpMeterBandType = 0
	OfpMeterBandType_OFPMBT_DROP         OfpMeterBandType = 1
	OfpMeterBandType_OFPMBT_DSCP_REMARK  OfpMeterBandType = 2
	OfpMeterBandType_OFPMBT_EXPERIMENTER OfpMeterBandType = 65535
)

func (OfpMeterBandType) EnumDescriptor

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

func (OfpMeterBandType) String

func (x OfpMeterBandType) String() string

type OfpMeterConfig

type OfpMeterConfig struct {
	Flags   uint32                `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"`
	MeterId uint32                `protobuf:"varint,2,opt,name=meter_id,json=meterId" json:"meter_id,omitempty"`
	Bands   []*OfpMeterBandHeader `protobuf:"bytes,3,rep,name=bands" json:"bands,omitempty"`
}

Body of reply to OFPMP_METER_CONFIG request. Meter configuration.

func (*OfpMeterConfig) Descriptor

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

func (*OfpMeterConfig) GetBands

func (m *OfpMeterConfig) GetBands() []*OfpMeterBandHeader

func (*OfpMeterConfig) GetFlags

func (m *OfpMeterConfig) GetFlags() uint32

func (*OfpMeterConfig) GetMeterId

func (m *OfpMeterConfig) GetMeterId() uint32

func (*OfpMeterConfig) ProtoMessage

func (*OfpMeterConfig) ProtoMessage()

func (*OfpMeterConfig) Reset

func (m *OfpMeterConfig) Reset()

func (*OfpMeterConfig) String

func (m *OfpMeterConfig) String() string

type OfpMeterFeatures

type OfpMeterFeatures struct {
	MaxMeter     uint32 `protobuf:"varint,1,opt,name=max_meter,json=maxMeter" json:"max_meter,omitempty"`
	BandTypes    uint32 `protobuf:"varint,2,opt,name=band_types,json=bandTypes" json:"band_types,omitempty"`
	Capabilities uint32 `protobuf:"varint,3,opt,name=capabilities" json:"capabilities,omitempty"`
	MaxBands     uint32 `protobuf:"varint,4,opt,name=max_bands,json=maxBands" json:"max_bands,omitempty"`
	MaxColor     uint32 `protobuf:"varint,5,opt,name=max_color,json=maxColor" json:"max_color,omitempty"`
}

Body of reply to OFPMP_METER_FEATURES request. Meter features.

func (*OfpMeterFeatures) Descriptor

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

func (*OfpMeterFeatures) GetBandTypes

func (m *OfpMeterFeatures) GetBandTypes() uint32

func (*OfpMeterFeatures) GetCapabilities

func (m *OfpMeterFeatures) GetCapabilities() uint32

func (*OfpMeterFeatures) GetMaxBands

func (m *OfpMeterFeatures) GetMaxBands() uint32

func (*OfpMeterFeatures) GetMaxColor

func (m *OfpMeterFeatures) GetMaxColor() uint32

func (*OfpMeterFeatures) GetMaxMeter

func (m *OfpMeterFeatures) GetMaxMeter() uint32

func (*OfpMeterFeatures) ProtoMessage

func (*OfpMeterFeatures) ProtoMessage()

func (*OfpMeterFeatures) Reset

func (m *OfpMeterFeatures) Reset()

func (*OfpMeterFeatures) String

func (m *OfpMeterFeatures) String() string

type OfpMeterFlags

type OfpMeterFlags int32

Meter configuration flags

const (
	OfpMeterFlags_OFPMF_INVALID OfpMeterFlags = 0
	OfpMeterFlags_OFPMF_KBPS    OfpMeterFlags = 1
	OfpMeterFlags_OFPMF_PKTPS   OfpMeterFlags = 2
	OfpMeterFlags_OFPMF_BURST   OfpMeterFlags = 4
	OfpMeterFlags_OFPMF_STATS   OfpMeterFlags = 8
)

func (OfpMeterFlags) EnumDescriptor

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

func (OfpMeterFlags) String

func (x OfpMeterFlags) String() string

type OfpMeterMod

type OfpMeterMod struct {
	//    ofp_header   header = 1;
	Command OfpMeterModCommand    `protobuf:"varint,1,opt,name=command,enum=openflow_13.OfpMeterModCommand" json:"command,omitempty"`
	Flags   uint32                `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"`
	MeterId uint32                `protobuf:"varint,3,opt,name=meter_id,json=meterId" json:"meter_id,omitempty"`
	Bands   []*OfpMeterBandHeader `protobuf:"bytes,4,rep,name=bands" json:"bands,omitempty"`
}

Meter configuration. OFPT_METER_MOD.

func (*OfpMeterMod) Descriptor

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

func (*OfpMeterMod) GetBands

func (m *OfpMeterMod) GetBands() []*OfpMeterBandHeader

func (*OfpMeterMod) GetCommand

func (m *OfpMeterMod) GetCommand() OfpMeterModCommand

func (*OfpMeterMod) GetFlags

func (m *OfpMeterMod) GetFlags() uint32

func (*OfpMeterMod) GetMeterId

func (m *OfpMeterMod) GetMeterId() uint32

func (*OfpMeterMod) ProtoMessage

func (*OfpMeterMod) ProtoMessage()

func (*OfpMeterMod) Reset

func (m *OfpMeterMod) Reset()

func (*OfpMeterMod) String

func (m *OfpMeterMod) String() string

type OfpMeterModCommand

type OfpMeterModCommand int32

Meter commands

const (
	OfpMeterModCommand_OFPMC_ADD    OfpMeterModCommand = 0
	OfpMeterModCommand_OFPMC_MODIFY OfpMeterModCommand = 1
	OfpMeterModCommand_OFPMC_DELETE OfpMeterModCommand = 2
)

func (OfpMeterModCommand) EnumDescriptor

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

func (OfpMeterModCommand) String

func (x OfpMeterModCommand) String() string

type OfpMeterModFailedCode

type OfpMeterModFailedCode int32

ofp_error_msg 'code' values for OFPET_METER_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpMeterModFailedCode_OFPMMFC_UNKNOWN        OfpMeterModFailedCode = 0
	OfpMeterModFailedCode_OFPMMFC_METER_EXISTS   OfpMeterModFailedCode = 1
	OfpMeterModFailedCode_OFPMMFC_INVALID_METER  OfpMeterModFailedCode = 2
	OfpMeterModFailedCode_OFPMMFC_UNKNOWN_METER  OfpMeterModFailedCode = 3
	OfpMeterModFailedCode_OFPMMFC_BAD_COMMAND    OfpMeterModFailedCode = 4
	OfpMeterModFailedCode_OFPMMFC_BAD_FLAGS      OfpMeterModFailedCode = 5
	OfpMeterModFailedCode_OFPMMFC_BAD_RATE       OfpMeterModFailedCode = 6
	OfpMeterModFailedCode_OFPMMFC_BAD_BURST      OfpMeterModFailedCode = 7
	OfpMeterModFailedCode_OFPMMFC_BAD_BAND       OfpMeterModFailedCode = 8
	OfpMeterModFailedCode_OFPMMFC_BAD_BAND_VALUE OfpMeterModFailedCode = 9
	OfpMeterModFailedCode_OFPMMFC_OUT_OF_METERS  OfpMeterModFailedCode = 10
	OfpMeterModFailedCode_OFPMMFC_OUT_OF_BANDS   OfpMeterModFailedCode = 11
)

func (OfpMeterModFailedCode) EnumDescriptor

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

func (OfpMeterModFailedCode) String

func (x OfpMeterModFailedCode) String() string

type OfpMeterMultipartRequest

type OfpMeterMultipartRequest struct {
	MeterId uint32 `protobuf:"varint,1,opt,name=meter_id,json=meterId" json:"meter_id,omitempty"`
}

Body of OFPMP_METER and OFPMP_METER_CONFIG requests.

func (*OfpMeterMultipartRequest) Descriptor

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

func (*OfpMeterMultipartRequest) GetMeterId

func (m *OfpMeterMultipartRequest) GetMeterId() uint32

func (*OfpMeterMultipartRequest) ProtoMessage

func (*OfpMeterMultipartRequest) ProtoMessage()

func (*OfpMeterMultipartRequest) Reset

func (m *OfpMeterMultipartRequest) Reset()

func (*OfpMeterMultipartRequest) String

func (m *OfpMeterMultipartRequest) String() string

type OfpMeterStats

type OfpMeterStats struct {
	MeterId       uint32               `protobuf:"varint,1,opt,name=meter_id,json=meterId" json:"meter_id,omitempty"`
	FlowCount     uint32               `protobuf:"varint,2,opt,name=flow_count,json=flowCount" json:"flow_count,omitempty"`
	PacketInCount uint64               `protobuf:"varint,3,opt,name=packet_in_count,json=packetInCount" json:"packet_in_count,omitempty"`
	ByteInCount   uint64               `protobuf:"varint,4,opt,name=byte_in_count,json=byteInCount" json:"byte_in_count,omitempty"`
	DurationSec   uint32               `protobuf:"varint,5,opt,name=duration_sec,json=durationSec" json:"duration_sec,omitempty"`
	DurationNsec  uint32               `protobuf:"varint,6,opt,name=duration_nsec,json=durationNsec" json:"duration_nsec,omitempty"`
	BandStats     []*OfpMeterBandStats `protobuf:"bytes,7,rep,name=band_stats,json=bandStats" json:"band_stats,omitempty"`
}

Body of reply to OFPMP_METER request. Meter statistics.

func (*OfpMeterStats) Descriptor

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

func (*OfpMeterStats) GetBandStats

func (m *OfpMeterStats) GetBandStats() []*OfpMeterBandStats

func (*OfpMeterStats) GetByteInCount

func (m *OfpMeterStats) GetByteInCount() uint64

func (*OfpMeterStats) GetDurationNsec

func (m *OfpMeterStats) GetDurationNsec() uint32

func (*OfpMeterStats) GetDurationSec

func (m *OfpMeterStats) GetDurationSec() uint32

func (*OfpMeterStats) GetFlowCount

func (m *OfpMeterStats) GetFlowCount() uint32

func (*OfpMeterStats) GetMeterId

func (m *OfpMeterStats) GetMeterId() uint32

func (*OfpMeterStats) GetPacketInCount

func (m *OfpMeterStats) GetPacketInCount() uint64

func (*OfpMeterStats) ProtoMessage

func (*OfpMeterStats) ProtoMessage()

func (*OfpMeterStats) Reset

func (m *OfpMeterStats) Reset()

func (*OfpMeterStats) String

func (m *OfpMeterStats) String() string

type OfpMultipartReply

type OfpMultipartReply struct {
	// ofp_header header;
	Type  OfpMultipartType `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpMultipartType" json:"type,omitempty"`
	Flags uint32           `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"`
	Body  []byte           `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
}

func (*OfpMultipartReply) Descriptor

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

func (*OfpMultipartReply) GetBody

func (m *OfpMultipartReply) GetBody() []byte

func (*OfpMultipartReply) GetFlags

func (m *OfpMultipartReply) GetFlags() uint32

func (*OfpMultipartReply) GetType

func (m *OfpMultipartReply) GetType() OfpMultipartType

func (*OfpMultipartReply) ProtoMessage

func (*OfpMultipartReply) ProtoMessage()

func (*OfpMultipartReply) Reset

func (m *OfpMultipartReply) Reset()

func (*OfpMultipartReply) String

func (m *OfpMultipartReply) String() string

type OfpMultipartReplyFlags

type OfpMultipartReplyFlags int32
const (
	OfpMultipartReplyFlags_OFPMPF_REPLY_INVALID OfpMultipartReplyFlags = 0
	OfpMultipartReplyFlags_OFPMPF_REPLY_MORE    OfpMultipartReplyFlags = 1
)

func (OfpMultipartReplyFlags) EnumDescriptor

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

func (OfpMultipartReplyFlags) String

func (x OfpMultipartReplyFlags) String() string

type OfpMultipartRequest

type OfpMultipartRequest struct {
	// ofp_header header;
	Type  OfpMultipartType `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpMultipartType" json:"type,omitempty"`
	Flags uint32           `protobuf:"varint,2,opt,name=flags" json:"flags,omitempty"`
	Body  []byte           `protobuf:"bytes,3,opt,name=body,proto3" json:"body,omitempty"`
}

func (*OfpMultipartRequest) Descriptor

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

func (*OfpMultipartRequest) GetBody

func (m *OfpMultipartRequest) GetBody() []byte

func (*OfpMultipartRequest) GetFlags

func (m *OfpMultipartRequest) GetFlags() uint32

func (*OfpMultipartRequest) GetType

func (*OfpMultipartRequest) ProtoMessage

func (*OfpMultipartRequest) ProtoMessage()

func (*OfpMultipartRequest) Reset

func (m *OfpMultipartRequest) Reset()

func (*OfpMultipartRequest) String

func (m *OfpMultipartRequest) String() string

type OfpMultipartRequestFlags

type OfpMultipartRequestFlags int32
const (
	OfpMultipartRequestFlags_OFPMPF_REQ_INVALID OfpMultipartRequestFlags = 0
	OfpMultipartRequestFlags_OFPMPF_REQ_MORE    OfpMultipartRequestFlags = 1
)

func (OfpMultipartRequestFlags) EnumDescriptor

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

func (OfpMultipartRequestFlags) String

func (x OfpMultipartRequestFlags) String() string

type OfpMultipartType

type OfpMultipartType int32
const (
	// Description of this OpenFlow switch.
	// The request body is empty.
	// The reply body is struct ofp_desc.
	OfpMultipartType_OFPMP_DESC OfpMultipartType = 0
	// Individual flow statistics.
	// The request body is struct ofp_flow_stats_request.
	// The reply body is an array of struct ofp_flow_stats.
	OfpMultipartType_OFPMP_FLOW OfpMultipartType = 1
	// Aggregate flow statistics.
	// The request body is struct ofp_aggregate_stats_request.
	// The reply body is struct ofp_aggregate_stats_reply.
	OfpMultipartType_OFPMP_AGGREGATE OfpMultipartType = 2
	// Flow table statistics.
	// The request body is empty.
	// The reply body is an array of struct ofp_table_stats.
	OfpMultipartType_OFPMP_TABLE OfpMultipartType = 3
	// Port statistics.
	// The request body is struct ofp_port_stats_request.
	// The reply body is an array of struct ofp_port_stats.
	OfpMultipartType_OFPMP_PORT_STATS OfpMultipartType = 4
	// Queue statistics for a port
	// The request body is struct ofp_queue_stats_request.
	// The reply body is an array of struct ofp_queue_stats
	OfpMultipartType_OFPMP_QUEUE OfpMultipartType = 5
	// Group counter statistics.
	// The request body is struct ofp_group_stats_request.
	// The reply is an array of struct ofp_group_stats.
	OfpMultipartType_OFPMP_GROUP OfpMultipartType = 6
	// Group description.
	// The request body is empty.
	// The reply body is an array of struct ofp_group_desc.
	OfpMultipartType_OFPMP_GROUP_DESC OfpMultipartType = 7
	// Group features.
	// The request body is empty.
	// The reply body is struct ofp_group_features.
	OfpMultipartType_OFPMP_GROUP_FEATURES OfpMultipartType = 8
	// Meter statistics.
	// The request body is struct ofp_meter_multipart_requests.
	// The reply body is an array of struct ofp_meter_stats.
	OfpMultipartType_OFPMP_METER OfpMultipartType = 9
	// Meter configuration.
	// The request body is struct ofp_meter_multipart_requests.
	// The reply body is an array of struct ofp_meter_config.
	OfpMultipartType_OFPMP_METER_CONFIG OfpMultipartType = 10
	// Meter features.
	// The request body is empty.
	// The reply body is struct ofp_meter_features.
	OfpMultipartType_OFPMP_METER_FEATURES OfpMultipartType = 11
	// Table features.
	// The request body is either empty or contains an array of
	// struct ofp_table_features containing the controller's
	// desired view of the switch. If the switch is unable to
	// set the specified view an error is returned.
	// The reply body is an array of struct ofp_table_features.
	OfpMultipartType_OFPMP_TABLE_FEATURES OfpMultipartType = 12
	// Port description.
	// The request body is empty.
	// The reply body is an array of struct ofp_port.
	OfpMultipartType_OFPMP_PORT_DESC OfpMultipartType = 13
	// Experimenter extension.
	// The request and reply bodies begin with
	// struct ofp_experimenter_multipart_header.
	// The request and reply bodies are otherwise experimenter-defined.
	OfpMultipartType_OFPMP_EXPERIMENTER OfpMultipartType = 65535
)

func (OfpMultipartType) EnumDescriptor

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

func (OfpMultipartType) String

func (x OfpMultipartType) String() string

type OfpOxmClass

type OfpOxmClass int32

OXM Class IDs. The high order bit differentiate reserved classes from member classes. Classes 0x0000 to 0x7FFF are member classes, allocated by ONF. Classes 0x8000 to 0xFFFE are reserved classes, reserved for standardisation.

const (
	OfpOxmClass_OFPXMC_NXM_0          OfpOxmClass = 0
	OfpOxmClass_OFPXMC_NXM_1          OfpOxmClass = 1
	OfpOxmClass_OFPXMC_OPENFLOW_BASIC OfpOxmClass = 32768
	OfpOxmClass_OFPXMC_EXPERIMENTER   OfpOxmClass = 65535
)

func (OfpOxmClass) EnumDescriptor

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

func (OfpOxmClass) String

func (x OfpOxmClass) String() string

type OfpOxmExperimenterField

type OfpOxmExperimenterField struct {
	OxmHeader    uint32 `protobuf:"varint,1,opt,name=oxm_header,json=oxmHeader" json:"oxm_header,omitempty"`
	Experimenter uint32 `protobuf:"varint,2,opt,name=experimenter" json:"experimenter,omitempty"`
}

Header for OXM experimenter match fields. The experimenter class should not use OXM_HEADER() macros for defining fields due to this extra header.

func (*OfpOxmExperimenterField) Descriptor

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

func (*OfpOxmExperimenterField) GetExperimenter

func (m *OfpOxmExperimenterField) GetExperimenter() uint32

func (*OfpOxmExperimenterField) GetOxmHeader

func (m *OfpOxmExperimenterField) GetOxmHeader() uint32

func (*OfpOxmExperimenterField) ProtoMessage

func (*OfpOxmExperimenterField) ProtoMessage()

func (*OfpOxmExperimenterField) Reset

func (m *OfpOxmExperimenterField) Reset()

func (*OfpOxmExperimenterField) String

func (m *OfpOxmExperimenterField) String() string

type OfpOxmField

type OfpOxmField struct {
	OxmClass OfpOxmClass `protobuf:"varint,1,opt,name=oxm_class,json=oxmClass,enum=openflow_13.OfpOxmClass" json:"oxm_class,omitempty"`
	// Types that are valid to be assigned to Field:
	//	*OfpOxmField_OfbField
	//	*OfpOxmField_ExperimenterField
	Field isOfpOxmField_Field `protobuf_oneof:"field"`
}

OXM Flow match fields

func (*OfpOxmField) Descriptor

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

func (*OfpOxmField) GetExperimenterField

func (m *OfpOxmField) GetExperimenterField() *OfpOxmExperimenterField

func (*OfpOxmField) GetField

func (m *OfpOxmField) GetField() isOfpOxmField_Field

func (*OfpOxmField) GetOfbField

func (m *OfpOxmField) GetOfbField() *OfpOxmOfbField

func (*OfpOxmField) GetOxmClass

func (m *OfpOxmField) GetOxmClass() OfpOxmClass

func (*OfpOxmField) ProtoMessage

func (*OfpOxmField) ProtoMessage()

func (*OfpOxmField) Reset

func (m *OfpOxmField) Reset()

func (*OfpOxmField) String

func (m *OfpOxmField) String() string

func (*OfpOxmField) XXX_OneofFuncs

func (*OfpOxmField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type OfpOxmField_ExperimenterField

type OfpOxmField_ExperimenterField struct {
	ExperimenterField *OfpOxmExperimenterField `protobuf:"bytes,5,opt,name=experimenter_field,json=experimenterField,oneof"`
}

type OfpOxmField_OfbField

type OfpOxmField_OfbField struct {
	OfbField *OfpOxmOfbField `protobuf:"bytes,4,opt,name=ofb_field,json=ofbField,oneof"`
}

type OfpOxmOfbField

type OfpOxmOfbField struct {
	Type    OxmOfbFieldTypes `protobuf:"varint,1,opt,name=type,enum=openflow_13.OxmOfbFieldTypes" json:"type,omitempty"`
	HasMask bool             `protobuf:"varint,2,opt,name=has_mask,json=hasMask" json:"has_mask,omitempty"`
	// Types that are valid to be assigned to Value:
	//	*OfpOxmOfbField_Port
	//	*OfpOxmOfbField_PhysicalPort
	//	*OfpOxmOfbField_TableMetadata
	//	*OfpOxmOfbField_EthDst
	//	*OfpOxmOfbField_EthSrc
	//	*OfpOxmOfbField_EthType
	//	*OfpOxmOfbField_VlanVid
	//	*OfpOxmOfbField_VlanPcp
	//	*OfpOxmOfbField_IpDscp
	//	*OfpOxmOfbField_IpEcn
	//	*OfpOxmOfbField_IpProto
	//	*OfpOxmOfbField_Ipv4Src
	//	*OfpOxmOfbField_Ipv4Dst
	//	*OfpOxmOfbField_TcpSrc
	//	*OfpOxmOfbField_TcpDst
	//	*OfpOxmOfbField_UdpSrc
	//	*OfpOxmOfbField_UdpDst
	//	*OfpOxmOfbField_SctpSrc
	//	*OfpOxmOfbField_SctpDst
	//	*OfpOxmOfbField_Icmpv4Type
	//	*OfpOxmOfbField_Icmpv4Code
	//	*OfpOxmOfbField_ArpOp
	//	*OfpOxmOfbField_ArpSpa
	//	*OfpOxmOfbField_ArpTpa
	//	*OfpOxmOfbField_ArpSha
	//	*OfpOxmOfbField_ArpTha
	//	*OfpOxmOfbField_Ipv6Src
	//	*OfpOxmOfbField_Ipv6Dst
	//	*OfpOxmOfbField_Ipv6Flabel
	//	*OfpOxmOfbField_Icmpv6Type
	//	*OfpOxmOfbField_Icmpv6Code
	//	*OfpOxmOfbField_Ipv6NdTarget
	//	*OfpOxmOfbField_Ipv6NdSsl
	//	*OfpOxmOfbField_Ipv6NdTll
	//	*OfpOxmOfbField_MplsLabel
	//	*OfpOxmOfbField_MplsTc
	//	*OfpOxmOfbField_MplsBos
	//	*OfpOxmOfbField_PbbIsid
	//	*OfpOxmOfbField_TunnelId
	//	*OfpOxmOfbField_Ipv6Exthdr
	Value isOfpOxmOfbField_Value `protobuf_oneof:"value"`
	// Optional mask values (must be present when has_mask is true
	//
	// Types that are valid to be assigned to Mask:
	//	*OfpOxmOfbField_TableMetadataMask
	//	*OfpOxmOfbField_EthDstMask
	//	*OfpOxmOfbField_EthSrcMask
	//	*OfpOxmOfbField_VlanVidMask
	//	*OfpOxmOfbField_Ipv4SrcMask
	//	*OfpOxmOfbField_Ipv4DstMask
	//	*OfpOxmOfbField_ArpSpaMask
	//	*OfpOxmOfbField_ArpTpaMask
	//	*OfpOxmOfbField_Ipv6SrcMask
	//	*OfpOxmOfbField_Ipv6DstMask
	//	*OfpOxmOfbField_Ipv6FlabelMask
	//	*OfpOxmOfbField_PbbIsidMask
	//	*OfpOxmOfbField_TunnelIdMask
	//	*OfpOxmOfbField_Ipv6ExthdrMask
	Mask isOfpOxmOfbField_Mask `protobuf_oneof:"mask"`
}

OXM OpenFlow Basic Match Field

func (*OfpOxmOfbField) Descriptor

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

func (*OfpOxmOfbField) GetArpOp

func (m *OfpOxmOfbField) GetArpOp() uint32

func (*OfpOxmOfbField) GetArpSha

func (m *OfpOxmOfbField) GetArpSha() []byte

func (*OfpOxmOfbField) GetArpSpa

func (m *OfpOxmOfbField) GetArpSpa() uint32

func (*OfpOxmOfbField) GetArpSpaMask

func (m *OfpOxmOfbField) GetArpSpaMask() uint32

func (*OfpOxmOfbField) GetArpTha

func (m *OfpOxmOfbField) GetArpTha() []byte

func (*OfpOxmOfbField) GetArpTpa

func (m *OfpOxmOfbField) GetArpTpa() uint32

func (*OfpOxmOfbField) GetArpTpaMask

func (m *OfpOxmOfbField) GetArpTpaMask() uint32

func (*OfpOxmOfbField) GetEthDst

func (m *OfpOxmOfbField) GetEthDst() []byte

func (*OfpOxmOfbField) GetEthDstMask

func (m *OfpOxmOfbField) GetEthDstMask() []byte

func (*OfpOxmOfbField) GetEthSrc

func (m *OfpOxmOfbField) GetEthSrc() []byte

func (*OfpOxmOfbField) GetEthSrcMask

func (m *OfpOxmOfbField) GetEthSrcMask() []byte

func (*OfpOxmOfbField) GetEthType

func (m *OfpOxmOfbField) GetEthType() uint32

func (*OfpOxmOfbField) GetHasMask

func (m *OfpOxmOfbField) GetHasMask() bool

func (*OfpOxmOfbField) GetIcmpv4Code

func (m *OfpOxmOfbField) GetIcmpv4Code() uint32

func (*OfpOxmOfbField) GetIcmpv4Type

func (m *OfpOxmOfbField) GetIcmpv4Type() uint32

func (*OfpOxmOfbField) GetIcmpv6Code

func (m *OfpOxmOfbField) GetIcmpv6Code() uint32

func (*OfpOxmOfbField) GetIcmpv6Type

func (m *OfpOxmOfbField) GetIcmpv6Type() uint32

func (*OfpOxmOfbField) GetIpDscp

func (m *OfpOxmOfbField) GetIpDscp() uint32

func (*OfpOxmOfbField) GetIpEcn

func (m *OfpOxmOfbField) GetIpEcn() uint32

func (*OfpOxmOfbField) GetIpProto

func (m *OfpOxmOfbField) GetIpProto() uint32

func (*OfpOxmOfbField) GetIpv4Dst

func (m *OfpOxmOfbField) GetIpv4Dst() uint32

func (*OfpOxmOfbField) GetIpv4DstMask

func (m *OfpOxmOfbField) GetIpv4DstMask() uint32

func (*OfpOxmOfbField) GetIpv4Src

func (m *OfpOxmOfbField) GetIpv4Src() uint32

func (*OfpOxmOfbField) GetIpv4SrcMask

func (m *OfpOxmOfbField) GetIpv4SrcMask() uint32

func (*OfpOxmOfbField) GetIpv6Dst

func (m *OfpOxmOfbField) GetIpv6Dst() []byte

func (*OfpOxmOfbField) GetIpv6DstMask

func (m *OfpOxmOfbField) GetIpv6DstMask() []byte

func (*OfpOxmOfbField) GetIpv6Exthdr

func (m *OfpOxmOfbField) GetIpv6Exthdr() uint32

func (*OfpOxmOfbField) GetIpv6ExthdrMask

func (m *OfpOxmOfbField) GetIpv6ExthdrMask() uint32

func (*OfpOxmOfbField) GetIpv6Flabel

func (m *OfpOxmOfbField) GetIpv6Flabel() uint32

func (*OfpOxmOfbField) GetIpv6FlabelMask

func (m *OfpOxmOfbField) GetIpv6FlabelMask() uint32

func (*OfpOxmOfbField) GetIpv6NdSsl

func (m *OfpOxmOfbField) GetIpv6NdSsl() []byte

func (*OfpOxmOfbField) GetIpv6NdTarget

func (m *OfpOxmOfbField) GetIpv6NdTarget() []byte

func (*OfpOxmOfbField) GetIpv6NdTll

func (m *OfpOxmOfbField) GetIpv6NdTll() []byte

func (*OfpOxmOfbField) GetIpv6Src

func (m *OfpOxmOfbField) GetIpv6Src() []byte

func (*OfpOxmOfbField) GetIpv6SrcMask

func (m *OfpOxmOfbField) GetIpv6SrcMask() []byte

func (*OfpOxmOfbField) GetMask

func (m *OfpOxmOfbField) GetMask() isOfpOxmOfbField_Mask

func (*OfpOxmOfbField) GetMplsBos

func (m *OfpOxmOfbField) GetMplsBos() uint32

func (*OfpOxmOfbField) GetMplsLabel

func (m *OfpOxmOfbField) GetMplsLabel() uint32

func (*OfpOxmOfbField) GetMplsTc

func (m *OfpOxmOfbField) GetMplsTc() uint32

func (*OfpOxmOfbField) GetPbbIsid

func (m *OfpOxmOfbField) GetPbbIsid() uint32

func (*OfpOxmOfbField) GetPbbIsidMask

func (m *OfpOxmOfbField) GetPbbIsidMask() uint32

func (*OfpOxmOfbField) GetPhysicalPort

func (m *OfpOxmOfbField) GetPhysicalPort() uint32

func (*OfpOxmOfbField) GetPort

func (m *OfpOxmOfbField) GetPort() uint32

func (*OfpOxmOfbField) GetSctpDst

func (m *OfpOxmOfbField) GetSctpDst() uint32

func (*OfpOxmOfbField) GetSctpSrc

func (m *OfpOxmOfbField) GetSctpSrc() uint32

func (*OfpOxmOfbField) GetTableMetadata

func (m *OfpOxmOfbField) GetTableMetadata() uint64

func (*OfpOxmOfbField) GetTableMetadataMask

func (m *OfpOxmOfbField) GetTableMetadataMask() uint64

func (*OfpOxmOfbField) GetTcpDst

func (m *OfpOxmOfbField) GetTcpDst() uint32

func (*OfpOxmOfbField) GetTcpSrc

func (m *OfpOxmOfbField) GetTcpSrc() uint32

func (*OfpOxmOfbField) GetTunnelId

func (m *OfpOxmOfbField) GetTunnelId() uint64

func (*OfpOxmOfbField) GetTunnelIdMask

func (m *OfpOxmOfbField) GetTunnelIdMask() uint64

func (*OfpOxmOfbField) GetType

func (m *OfpOxmOfbField) GetType() OxmOfbFieldTypes

func (*OfpOxmOfbField) GetUdpDst

func (m *OfpOxmOfbField) GetUdpDst() uint32

func (*OfpOxmOfbField) GetUdpSrc

func (m *OfpOxmOfbField) GetUdpSrc() uint32

func (*OfpOxmOfbField) GetValue

func (m *OfpOxmOfbField) GetValue() isOfpOxmOfbField_Value

func (*OfpOxmOfbField) GetVlanPcp

func (m *OfpOxmOfbField) GetVlanPcp() uint32

func (*OfpOxmOfbField) GetVlanVid

func (m *OfpOxmOfbField) GetVlanVid() uint32

func (*OfpOxmOfbField) GetVlanVidMask

func (m *OfpOxmOfbField) GetVlanVidMask() uint32

func (*OfpOxmOfbField) ProtoMessage

func (*OfpOxmOfbField) ProtoMessage()

func (*OfpOxmOfbField) Reset

func (m *OfpOxmOfbField) Reset()

func (*OfpOxmOfbField) String

func (m *OfpOxmOfbField) String() string

func (*OfpOxmOfbField) XXX_OneofFuncs

func (*OfpOxmOfbField) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type OfpOxmOfbField_ArpOp

type OfpOxmOfbField_ArpOp struct {
	ArpOp uint32 `protobuf:"varint,24,opt,name=arp_op,json=arpOp,oneof"`
}

type OfpOxmOfbField_ArpSha

type OfpOxmOfbField_ArpSha struct {
	ArpSha []byte `protobuf:"bytes,27,opt,name=arp_sha,json=arpSha,proto3,oneof"`
}

type OfpOxmOfbField_ArpSpa

type OfpOxmOfbField_ArpSpa struct {
	ArpSpa uint32 `protobuf:"varint,25,opt,name=arp_spa,json=arpSpa,oneof"`
}

type OfpOxmOfbField_ArpSpaMask

type OfpOxmOfbField_ArpSpaMask struct {
	ArpSpaMask uint32 `protobuf:"varint,125,opt,name=arp_spa_mask,json=arpSpaMask,oneof"`
}

type OfpOxmOfbField_ArpTha

type OfpOxmOfbField_ArpTha struct {
	ArpTha []byte `protobuf:"bytes,28,opt,name=arp_tha,json=arpTha,proto3,oneof"`
}

type OfpOxmOfbField_ArpTpa

type OfpOxmOfbField_ArpTpa struct {
	ArpTpa uint32 `protobuf:"varint,26,opt,name=arp_tpa,json=arpTpa,oneof"`
}

type OfpOxmOfbField_ArpTpaMask

type OfpOxmOfbField_ArpTpaMask struct {
	ArpTpaMask uint32 `protobuf:"varint,126,opt,name=arp_tpa_mask,json=arpTpaMask,oneof"`
}

type OfpOxmOfbField_EthDst

type OfpOxmOfbField_EthDst struct {
	EthDst []byte `protobuf:"bytes,6,opt,name=eth_dst,json=ethDst,proto3,oneof"`
}

type OfpOxmOfbField_EthDstMask

type OfpOxmOfbField_EthDstMask struct {
	EthDstMask []byte `protobuf:"bytes,106,opt,name=eth_dst_mask,json=ethDstMask,proto3,oneof"`
}

type OfpOxmOfbField_EthSrc

type OfpOxmOfbField_EthSrc struct {
	EthSrc []byte `protobuf:"bytes,7,opt,name=eth_src,json=ethSrc,proto3,oneof"`
}

type OfpOxmOfbField_EthSrcMask

type OfpOxmOfbField_EthSrcMask struct {
	EthSrcMask []byte `protobuf:"bytes,107,opt,name=eth_src_mask,json=ethSrcMask,proto3,oneof"`
}

type OfpOxmOfbField_EthType

type OfpOxmOfbField_EthType struct {
	EthType uint32 `protobuf:"varint,8,opt,name=eth_type,json=ethType,oneof"`
}

type OfpOxmOfbField_Icmpv4Code

type OfpOxmOfbField_Icmpv4Code struct {
	Icmpv4Code uint32 `protobuf:"varint,23,opt,name=icmpv4_code,json=icmpv4Code,oneof"`
}

type OfpOxmOfbField_Icmpv4Type

type OfpOxmOfbField_Icmpv4Type struct {
	Icmpv4Type uint32 `protobuf:"varint,22,opt,name=icmpv4_type,json=icmpv4Type,oneof"`
}

type OfpOxmOfbField_Icmpv6Code

type OfpOxmOfbField_Icmpv6Code struct {
	Icmpv6Code uint32 `protobuf:"varint,33,opt,name=icmpv6_code,json=icmpv6Code,oneof"`
}

type OfpOxmOfbField_Icmpv6Type

type OfpOxmOfbField_Icmpv6Type struct {
	Icmpv6Type uint32 `protobuf:"varint,32,opt,name=icmpv6_type,json=icmpv6Type,oneof"`
}

type OfpOxmOfbField_IpDscp

type OfpOxmOfbField_IpDscp struct {
	IpDscp uint32 `protobuf:"varint,11,opt,name=ip_dscp,json=ipDscp,oneof"`
}

type OfpOxmOfbField_IpEcn

type OfpOxmOfbField_IpEcn struct {
	IpEcn uint32 `protobuf:"varint,12,opt,name=ip_ecn,json=ipEcn,oneof"`
}

type OfpOxmOfbField_IpProto

type OfpOxmOfbField_IpProto struct {
	IpProto uint32 `protobuf:"varint,13,opt,name=ip_proto,json=ipProto,oneof"`
}

type OfpOxmOfbField_Ipv4Dst

type OfpOxmOfbField_Ipv4Dst struct {
	Ipv4Dst uint32 `protobuf:"varint,15,opt,name=ipv4_dst,json=ipv4Dst,oneof"`
}

type OfpOxmOfbField_Ipv4DstMask

type OfpOxmOfbField_Ipv4DstMask struct {
	Ipv4DstMask uint32 `protobuf:"varint,115,opt,name=ipv4_dst_mask,json=ipv4DstMask,oneof"`
}

type OfpOxmOfbField_Ipv4Src

type OfpOxmOfbField_Ipv4Src struct {
	Ipv4Src uint32 `protobuf:"varint,14,opt,name=ipv4_src,json=ipv4Src,oneof"`
}

type OfpOxmOfbField_Ipv4SrcMask

type OfpOxmOfbField_Ipv4SrcMask struct {
	Ipv4SrcMask uint32 `protobuf:"varint,114,opt,name=ipv4_src_mask,json=ipv4SrcMask,oneof"`
}

type OfpOxmOfbField_Ipv6Dst

type OfpOxmOfbField_Ipv6Dst struct {
	Ipv6Dst []byte `protobuf:"bytes,30,opt,name=ipv6_dst,json=ipv6Dst,proto3,oneof"`
}

type OfpOxmOfbField_Ipv6DstMask

type OfpOxmOfbField_Ipv6DstMask struct {
	Ipv6DstMask []byte `protobuf:"bytes,130,opt,name=ipv6_dst_mask,json=ipv6DstMask,proto3,oneof"`
}

type OfpOxmOfbField_Ipv6Exthdr

type OfpOxmOfbField_Ipv6Exthdr struct {
	Ipv6Exthdr uint32 `protobuf:"varint,42,opt,name=ipv6_exthdr,json=ipv6Exthdr,oneof"`
}

type OfpOxmOfbField_Ipv6ExthdrMask

type OfpOxmOfbField_Ipv6ExthdrMask struct {
	Ipv6ExthdrMask uint32 `protobuf:"varint,142,opt,name=ipv6_exthdr_mask,json=ipv6ExthdrMask,oneof"`
}

type OfpOxmOfbField_Ipv6Flabel

type OfpOxmOfbField_Ipv6Flabel struct {
	Ipv6Flabel uint32 `protobuf:"varint,31,opt,name=ipv6_flabel,json=ipv6Flabel,oneof"`
}

type OfpOxmOfbField_Ipv6FlabelMask

type OfpOxmOfbField_Ipv6FlabelMask struct {
	Ipv6FlabelMask uint32 `protobuf:"varint,131,opt,name=ipv6_flabel_mask,json=ipv6FlabelMask,oneof"`
}

type OfpOxmOfbField_Ipv6NdSsl

type OfpOxmOfbField_Ipv6NdSsl struct {
	Ipv6NdSsl []byte `protobuf:"bytes,35,opt,name=ipv6_nd_ssl,json=ipv6NdSsl,proto3,oneof"`
}

type OfpOxmOfbField_Ipv6NdTarget

type OfpOxmOfbField_Ipv6NdTarget struct {
	Ipv6NdTarget []byte `protobuf:"bytes,34,opt,name=ipv6_nd_target,json=ipv6NdTarget,proto3,oneof"`
}

type OfpOxmOfbField_Ipv6NdTll

type OfpOxmOfbField_Ipv6NdTll struct {
	Ipv6NdTll []byte `protobuf:"bytes,36,opt,name=ipv6_nd_tll,json=ipv6NdTll,proto3,oneof"`
}

type OfpOxmOfbField_Ipv6Src

type OfpOxmOfbField_Ipv6Src struct {
	Ipv6Src []byte `protobuf:"bytes,29,opt,name=ipv6_src,json=ipv6Src,proto3,oneof"`
}

type OfpOxmOfbField_Ipv6SrcMask

type OfpOxmOfbField_Ipv6SrcMask struct {
	Ipv6SrcMask []byte `protobuf:"bytes,129,opt,name=ipv6_src_mask,json=ipv6SrcMask,proto3,oneof"`
}

type OfpOxmOfbField_MplsBos

type OfpOxmOfbField_MplsBos struct {
	MplsBos uint32 `protobuf:"varint,39,opt,name=mpls_bos,json=mplsBos,oneof"`
}

type OfpOxmOfbField_MplsLabel

type OfpOxmOfbField_MplsLabel struct {
	MplsLabel uint32 `protobuf:"varint,37,opt,name=mpls_label,json=mplsLabel,oneof"`
}

type OfpOxmOfbField_MplsTc

type OfpOxmOfbField_MplsTc struct {
	MplsTc uint32 `protobuf:"varint,38,opt,name=mpls_tc,json=mplsTc,oneof"`
}

type OfpOxmOfbField_PbbIsid

type OfpOxmOfbField_PbbIsid struct {
	PbbIsid uint32 `protobuf:"varint,40,opt,name=pbb_isid,json=pbbIsid,oneof"`
}

type OfpOxmOfbField_PbbIsidMask

type OfpOxmOfbField_PbbIsidMask struct {
	PbbIsidMask uint32 `protobuf:"varint,140,opt,name=pbb_isid_mask,json=pbbIsidMask,oneof"`
}

type OfpOxmOfbField_PhysicalPort

type OfpOxmOfbField_PhysicalPort struct {
	PhysicalPort uint32 `protobuf:"varint,4,opt,name=physical_port,json=physicalPort,oneof"`
}

type OfpOxmOfbField_Port

type OfpOxmOfbField_Port struct {
	Port uint32 `protobuf:"varint,3,opt,name=port,oneof"`
}

type OfpOxmOfbField_SctpDst

type OfpOxmOfbField_SctpDst struct {
	SctpDst uint32 `protobuf:"varint,21,opt,name=sctp_dst,json=sctpDst,oneof"`
}

type OfpOxmOfbField_SctpSrc

type OfpOxmOfbField_SctpSrc struct {
	SctpSrc uint32 `protobuf:"varint,20,opt,name=sctp_src,json=sctpSrc,oneof"`
}

type OfpOxmOfbField_TableMetadata

type OfpOxmOfbField_TableMetadata struct {
	TableMetadata uint64 `protobuf:"varint,5,opt,name=table_metadata,json=tableMetadata,oneof"`
}

type OfpOxmOfbField_TableMetadataMask

type OfpOxmOfbField_TableMetadataMask struct {
	TableMetadataMask uint64 `protobuf:"varint,105,opt,name=table_metadata_mask,json=tableMetadataMask,oneof"`
}

type OfpOxmOfbField_TcpDst

type OfpOxmOfbField_TcpDst struct {
	TcpDst uint32 `protobuf:"varint,17,opt,name=tcp_dst,json=tcpDst,oneof"`
}

type OfpOxmOfbField_TcpSrc

type OfpOxmOfbField_TcpSrc struct {
	TcpSrc uint32 `protobuf:"varint,16,opt,name=tcp_src,json=tcpSrc,oneof"`
}

type OfpOxmOfbField_TunnelId

type OfpOxmOfbField_TunnelId struct {
	TunnelId uint64 `protobuf:"varint,41,opt,name=tunnel_id,json=tunnelId,oneof"`
}

type OfpOxmOfbField_TunnelIdMask

type OfpOxmOfbField_TunnelIdMask struct {
	TunnelIdMask uint64 `protobuf:"varint,141,opt,name=tunnel_id_mask,json=tunnelIdMask,oneof"`
}

type OfpOxmOfbField_UdpDst

type OfpOxmOfbField_UdpDst struct {
	UdpDst uint32 `protobuf:"varint,19,opt,name=udp_dst,json=udpDst,oneof"`
}

type OfpOxmOfbField_UdpSrc

type OfpOxmOfbField_UdpSrc struct {
	UdpSrc uint32 `protobuf:"varint,18,opt,name=udp_src,json=udpSrc,oneof"`
}

type OfpOxmOfbField_VlanPcp

type OfpOxmOfbField_VlanPcp struct {
	VlanPcp uint32 `protobuf:"varint,10,opt,name=vlan_pcp,json=vlanPcp,oneof"`
}

type OfpOxmOfbField_VlanVid

type OfpOxmOfbField_VlanVid struct {
	VlanVid uint32 `protobuf:"varint,9,opt,name=vlan_vid,json=vlanVid,oneof"`
}

type OfpOxmOfbField_VlanVidMask

type OfpOxmOfbField_VlanVidMask struct {
	VlanVidMask uint32 `protobuf:"varint,109,opt,name=vlan_vid_mask,json=vlanVidMask,oneof"`
}

type OfpPacketIn

type OfpPacketIn struct {
	// ofp_header header;
	BufferId uint32            `protobuf:"varint,1,opt,name=buffer_id,json=bufferId" json:"buffer_id,omitempty"`
	Reason   OfpPacketInReason `protobuf:"varint,2,opt,name=reason,enum=openflow_13.OfpPacketInReason" json:"reason,omitempty"`
	TableId  uint32            `protobuf:"varint,3,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	Cookie   uint64            `protobuf:"varint,4,opt,name=cookie" json:"cookie,omitempty"`
	Match    *OfpMatch         `protobuf:"bytes,5,opt,name=match" json:"match,omitempty"`
	Data     []byte            `protobuf:"bytes,6,opt,name=data,proto3" json:"data,omitempty"`
}

Packet received on port (datapath -> controller).

func (*OfpPacketIn) Descriptor

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

func (*OfpPacketIn) GetBufferId

func (m *OfpPacketIn) GetBufferId() uint32

func (*OfpPacketIn) GetCookie

func (m *OfpPacketIn) GetCookie() uint64

func (*OfpPacketIn) GetData

func (m *OfpPacketIn) GetData() []byte

func (*OfpPacketIn) GetMatch

func (m *OfpPacketIn) GetMatch() *OfpMatch

func (*OfpPacketIn) GetReason

func (m *OfpPacketIn) GetReason() OfpPacketInReason

func (*OfpPacketIn) GetTableId

func (m *OfpPacketIn) GetTableId() uint32

func (*OfpPacketIn) ProtoMessage

func (*OfpPacketIn) ProtoMessage()

func (*OfpPacketIn) Reset

func (m *OfpPacketIn) Reset()

func (*OfpPacketIn) String

func (m *OfpPacketIn) String() string

type OfpPacketInReason

type OfpPacketInReason int32

Why is this packet being sent to the controller?

const (
	OfpPacketInReason_OFPR_NO_MATCH    OfpPacketInReason = 0
	OfpPacketInReason_OFPR_ACTION      OfpPacketInReason = 1
	OfpPacketInReason_OFPR_INVALID_TTL OfpPacketInReason = 2
)

func (OfpPacketInReason) EnumDescriptor

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

func (OfpPacketInReason) String

func (x OfpPacketInReason) String() string

type OfpPacketOut

type OfpPacketOut struct {
	// ofp_header header;
	BufferId uint32       `protobuf:"varint,1,opt,name=buffer_id,json=bufferId" json:"buffer_id,omitempty"`
	InPort   uint32       `protobuf:"varint,2,opt,name=in_port,json=inPort" json:"in_port,omitempty"`
	Actions  []*OfpAction `protobuf:"bytes,3,rep,name=actions" json:"actions,omitempty"`
	// The variable size action list is optionally followed by packet data.
	// This data is only present and meaningful if buffer_id == -1.
	Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"`
}

Send packet (controller -> datapath).

func (*OfpPacketOut) Descriptor

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

func (*OfpPacketOut) GetActions

func (m *OfpPacketOut) GetActions() []*OfpAction

func (*OfpPacketOut) GetBufferId

func (m *OfpPacketOut) GetBufferId() uint32

func (*OfpPacketOut) GetData

func (m *OfpPacketOut) GetData() []byte

func (*OfpPacketOut) GetInPort

func (m *OfpPacketOut) GetInPort() uint32

func (*OfpPacketOut) ProtoMessage

func (*OfpPacketOut) ProtoMessage()

func (*OfpPacketOut) Reset

func (m *OfpPacketOut) Reset()

func (*OfpPacketOut) String

func (m *OfpPacketOut) String() string

type OfpPacketQueue

type OfpPacketQueue struct {
	QueueId    uint32                `protobuf:"varint,1,opt,name=queue_id,json=queueId" json:"queue_id,omitempty"`
	Port       uint32                `protobuf:"varint,2,opt,name=port" json:"port,omitempty"`
	Properties []*OfpQueuePropHeader `protobuf:"bytes,4,rep,name=properties" json:"properties,omitempty"`
}

Full description for a queue.

func (*OfpPacketQueue) Descriptor

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

func (*OfpPacketQueue) GetPort

func (m *OfpPacketQueue) GetPort() uint32

func (*OfpPacketQueue) GetProperties

func (m *OfpPacketQueue) GetProperties() []*OfpQueuePropHeader

func (*OfpPacketQueue) GetQueueId

func (m *OfpPacketQueue) GetQueueId() uint32

func (*OfpPacketQueue) ProtoMessage

func (*OfpPacketQueue) ProtoMessage()

func (*OfpPacketQueue) Reset

func (m *OfpPacketQueue) Reset()

func (*OfpPacketQueue) String

func (m *OfpPacketQueue) String() string

type OfpPort

type OfpPort struct {
	PortNo uint32   `protobuf:"varint,1,opt,name=port_no,json=portNo" json:"port_no,omitempty"`
	HwAddr []uint32 `protobuf:"varint,2,rep,packed,name=hw_addr,json=hwAddr" json:"hw_addr,omitempty"`
	Name   string   `protobuf:"bytes,3,opt,name=name" json:"name,omitempty"`
	Config uint32   `protobuf:"varint,4,opt,name=config" json:"config,omitempty"`
	State  uint32   `protobuf:"varint,5,opt,name=state" json:"state,omitempty"`
	// Bitmaps of OFPPF_* that describe features.  All bits zeroed if
	// unsupported or unavailable.
	Curr       uint32 `protobuf:"varint,6,opt,name=curr" json:"curr,omitempty"`
	Advertised uint32 `protobuf:"varint,7,opt,name=advertised" json:"advertised,omitempty"`
	Supported  uint32 `protobuf:"varint,8,opt,name=supported" json:"supported,omitempty"`
	Peer       uint32 `protobuf:"varint,9,opt,name=peer" json:"peer,omitempty"`
	CurrSpeed  uint32 `protobuf:"varint,10,opt,name=curr_speed,json=currSpeed" json:"curr_speed,omitempty"`
	MaxSpeed   uint32 `protobuf:"varint,11,opt,name=max_speed,json=maxSpeed" json:"max_speed,omitempty"`
}

Description of a port

func (*OfpPort) Descriptor

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

func (*OfpPort) GetAdvertised

func (m *OfpPort) GetAdvertised() uint32

func (*OfpPort) GetConfig

func (m *OfpPort) GetConfig() uint32

func (*OfpPort) GetCurr

func (m *OfpPort) GetCurr() uint32

func (*OfpPort) GetCurrSpeed

func (m *OfpPort) GetCurrSpeed() uint32

func (*OfpPort) GetHwAddr

func (m *OfpPort) GetHwAddr() []uint32

func (*OfpPort) GetMaxSpeed

func (m *OfpPort) GetMaxSpeed() uint32

func (*OfpPort) GetName

func (m *OfpPort) GetName() string

func (*OfpPort) GetPeer

func (m *OfpPort) GetPeer() uint32

func (*OfpPort) GetPortNo

func (m *OfpPort) GetPortNo() uint32

func (*OfpPort) GetState

func (m *OfpPort) GetState() uint32

func (*OfpPort) GetSupported

func (m *OfpPort) GetSupported() uint32

func (*OfpPort) ProtoMessage

func (*OfpPort) ProtoMessage()

func (*OfpPort) Reset

func (m *OfpPort) Reset()

func (*OfpPort) String

func (m *OfpPort) String() string

type OfpPortConfig

type OfpPortConfig int32

Flags to indicate behavior of the physical port. These flags are used in ofp_port to describe the current configuration. They are used in the ofp_port_mod message to configure the port's behavior.

const (
	OfpPortConfig_OFPPC_INVALID      OfpPortConfig = 0
	OfpPortConfig_OFPPC_PORT_DOWN    OfpPortConfig = 1
	OfpPortConfig_OFPPC_NO_RECV      OfpPortConfig = 4
	OfpPortConfig_OFPPC_NO_FWD       OfpPortConfig = 32
	OfpPortConfig_OFPPC_NO_PACKET_IN OfpPortConfig = 64
)

func (OfpPortConfig) EnumDescriptor

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

func (OfpPortConfig) String

func (x OfpPortConfig) String() string

type OfpPortFeatures

type OfpPortFeatures int32

Features of ports available in a datapath.

const (
	OfpPortFeatures_OFPPF_INVALID    OfpPortFeatures = 0
	OfpPortFeatures_OFPPF_10MB_HD    OfpPortFeatures = 1
	OfpPortFeatures_OFPPF_10MB_FD    OfpPortFeatures = 2
	OfpPortFeatures_OFPPF_100MB_HD   OfpPortFeatures = 4
	OfpPortFeatures_OFPPF_100MB_FD   OfpPortFeatures = 8
	OfpPortFeatures_OFPPF_1GB_HD     OfpPortFeatures = 16
	OfpPortFeatures_OFPPF_1GB_FD     OfpPortFeatures = 32
	OfpPortFeatures_OFPPF_10GB_FD    OfpPortFeatures = 64
	OfpPortFeatures_OFPPF_40GB_FD    OfpPortFeatures = 128
	OfpPortFeatures_OFPPF_100GB_FD   OfpPortFeatures = 256
	OfpPortFeatures_OFPPF_1TB_FD     OfpPortFeatures = 512
	OfpPortFeatures_OFPPF_OTHER      OfpPortFeatures = 1024
	OfpPortFeatures_OFPPF_COPPER     OfpPortFeatures = 2048
	OfpPortFeatures_OFPPF_FIBER      OfpPortFeatures = 4096
	OfpPortFeatures_OFPPF_AUTONEG    OfpPortFeatures = 8192
	OfpPortFeatures_OFPPF_PAUSE      OfpPortFeatures = 16384
	OfpPortFeatures_OFPPF_PAUSE_ASYM OfpPortFeatures = 32768
)

func (OfpPortFeatures) EnumDescriptor

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

func (OfpPortFeatures) String

func (x OfpPortFeatures) String() string

type OfpPortMod

type OfpPortMod struct {
	// ofp_header header;
	PortNo uint32   `protobuf:"varint,1,opt,name=port_no,json=portNo" json:"port_no,omitempty"`
	HwAddr []uint32 `protobuf:"varint,2,rep,packed,name=hw_addr,json=hwAddr" json:"hw_addr,omitempty"`
	// The hardware address is not
	// configurable.  This is used to
	// sanity-check the request, so it must
	// be the same as returned in an
	// ofp_port struct.
	Config    uint32 `protobuf:"varint,3,opt,name=config" json:"config,omitempty"`
	Mask      uint32 `protobuf:"varint,4,opt,name=mask" json:"mask,omitempty"`
	Advertise uint32 `protobuf:"varint,5,opt,name=advertise" json:"advertise,omitempty"`
}

Modify behavior of the physical port

func (*OfpPortMod) Descriptor

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

func (*OfpPortMod) GetAdvertise

func (m *OfpPortMod) GetAdvertise() uint32

func (*OfpPortMod) GetConfig

func (m *OfpPortMod) GetConfig() uint32

func (*OfpPortMod) GetHwAddr

func (m *OfpPortMod) GetHwAddr() []uint32

func (*OfpPortMod) GetMask

func (m *OfpPortMod) GetMask() uint32

func (*OfpPortMod) GetPortNo

func (m *OfpPortMod) GetPortNo() uint32

func (*OfpPortMod) ProtoMessage

func (*OfpPortMod) ProtoMessage()

func (*OfpPortMod) Reset

func (m *OfpPortMod) Reset()

func (*OfpPortMod) String

func (m *OfpPortMod) String() string

type OfpPortModFailedCode

type OfpPortModFailedCode int32

ofp_error_msg 'code' values for OFPET_PORT_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpPortModFailedCode_OFPPMFC_BAD_PORT      OfpPortModFailedCode = 0
	OfpPortModFailedCode_OFPPMFC_BAD_HW_ADDR   OfpPortModFailedCode = 1
	OfpPortModFailedCode_OFPPMFC_BAD_CONFIG    OfpPortModFailedCode = 2
	OfpPortModFailedCode_OFPPMFC_BAD_ADVERTISE OfpPortModFailedCode = 3
	OfpPortModFailedCode_OFPPMFC_EPERM         OfpPortModFailedCode = 4
)

func (OfpPortModFailedCode) EnumDescriptor

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

func (OfpPortModFailedCode) String

func (x OfpPortModFailedCode) String() string

type OfpPortNo

type OfpPortNo int32

Port numbering. Ports are numbered starting from 1.

const (
	OfpPortNo_OFPP_INVALID OfpPortNo = 0
	// Maximum number of physical and logical switch ports.
	OfpPortNo_OFPP_MAX OfpPortNo = 2147483392
	// Reserved OpenFlow Port (fake output "ports").
	OfpPortNo_OFPP_IN_PORT    OfpPortNo = 2147483640
	OfpPortNo_OFPP_TABLE      OfpPortNo = 2147483641
	OfpPortNo_OFPP_NORMAL     OfpPortNo = 2147483642
	OfpPortNo_OFPP_FLOOD      OfpPortNo = 2147483643
	OfpPortNo_OFPP_ALL        OfpPortNo = 2147483644
	OfpPortNo_OFPP_CONTROLLER OfpPortNo = 2147483645
	OfpPortNo_OFPP_LOCAL      OfpPortNo = 2147483646
	OfpPortNo_OFPP_ANY        OfpPortNo = 2147483647
)

func (OfpPortNo) EnumDescriptor

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

func (OfpPortNo) String

func (x OfpPortNo) String() string

type OfpPortReason

type OfpPortReason int32

What changed about the physical port

const (
	OfpPortReason_OFPPR_ADD    OfpPortReason = 0
	OfpPortReason_OFPPR_DELETE OfpPortReason = 1
	OfpPortReason_OFPPR_MODIFY OfpPortReason = 2
)

func (OfpPortReason) EnumDescriptor

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

func (OfpPortReason) String

func (x OfpPortReason) String() string

type OfpPortState

type OfpPortState int32

Current state of the physical port. These are not configurable from the controller.

const (
	OfpPortState_OFPPS_INVALID   OfpPortState = 0
	OfpPortState_OFPPS_LINK_DOWN OfpPortState = 1
	OfpPortState_OFPPS_BLOCKED   OfpPortState = 2
	OfpPortState_OFPPS_LIVE      OfpPortState = 4
)

func (OfpPortState) EnumDescriptor

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

func (OfpPortState) String

func (x OfpPortState) String() string

type OfpPortStats

type OfpPortStats struct {
	PortNo       uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo" json:"port_no,omitempty"`
	RxPackets    uint64 `protobuf:"varint,2,opt,name=rx_packets,json=rxPackets" json:"rx_packets,omitempty"`
	TxPackets    uint64 `protobuf:"varint,3,opt,name=tx_packets,json=txPackets" json:"tx_packets,omitempty"`
	RxBytes      uint64 `protobuf:"varint,4,opt,name=rx_bytes,json=rxBytes" json:"rx_bytes,omitempty"`
	TxBytes      uint64 `protobuf:"varint,5,opt,name=tx_bytes,json=txBytes" json:"tx_bytes,omitempty"`
	RxDropped    uint64 `protobuf:"varint,6,opt,name=rx_dropped,json=rxDropped" json:"rx_dropped,omitempty"`
	TxDropped    uint64 `protobuf:"varint,7,opt,name=tx_dropped,json=txDropped" json:"tx_dropped,omitempty"`
	RxErrors     uint64 `protobuf:"varint,8,opt,name=rx_errors,json=rxErrors" json:"rx_errors,omitempty"`
	TxErrors     uint64 `protobuf:"varint,9,opt,name=tx_errors,json=txErrors" json:"tx_errors,omitempty"`
	RxFrameErr   uint64 `protobuf:"varint,10,opt,name=rx_frame_err,json=rxFrameErr" json:"rx_frame_err,omitempty"`
	RxOverErr    uint64 `protobuf:"varint,11,opt,name=rx_over_err,json=rxOverErr" json:"rx_over_err,omitempty"`
	RxCrcErr     uint64 `protobuf:"varint,12,opt,name=rx_crc_err,json=rxCrcErr" json:"rx_crc_err,omitempty"`
	Collisions   uint64 `protobuf:"varint,13,opt,name=collisions" json:"collisions,omitempty"`
	DurationSec  uint32 `protobuf:"varint,14,opt,name=duration_sec,json=durationSec" json:"duration_sec,omitempty"`
	DurationNsec uint32 `protobuf:"varint,15,opt,name=duration_nsec,json=durationNsec" json:"duration_nsec,omitempty"`
}

Body of reply to OFPMP_PORT request. If a counter is unsupported, set the field to all ones.

func (*OfpPortStats) Descriptor

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

func (*OfpPortStats) GetCollisions

func (m *OfpPortStats) GetCollisions() uint64

func (*OfpPortStats) GetDurationNsec

func (m *OfpPortStats) GetDurationNsec() uint32

func (*OfpPortStats) GetDurationSec

func (m *OfpPortStats) GetDurationSec() uint32

func (*OfpPortStats) GetPortNo

func (m *OfpPortStats) GetPortNo() uint32

func (*OfpPortStats) GetRxBytes

func (m *OfpPortStats) GetRxBytes() uint64

func (*OfpPortStats) GetRxCrcErr

func (m *OfpPortStats) GetRxCrcErr() uint64

func (*OfpPortStats) GetRxDropped

func (m *OfpPortStats) GetRxDropped() uint64

func (*OfpPortStats) GetRxErrors

func (m *OfpPortStats) GetRxErrors() uint64

func (*OfpPortStats) GetRxFrameErr

func (m *OfpPortStats) GetRxFrameErr() uint64

func (*OfpPortStats) GetRxOverErr

func (m *OfpPortStats) GetRxOverErr() uint64

func (*OfpPortStats) GetRxPackets

func (m *OfpPortStats) GetRxPackets() uint64

func (*OfpPortStats) GetTxBytes

func (m *OfpPortStats) GetTxBytes() uint64

func (*OfpPortStats) GetTxDropped

func (m *OfpPortStats) GetTxDropped() uint64

func (*OfpPortStats) GetTxErrors

func (m *OfpPortStats) GetTxErrors() uint64

func (*OfpPortStats) GetTxPackets

func (m *OfpPortStats) GetTxPackets() uint64

func (*OfpPortStats) ProtoMessage

func (*OfpPortStats) ProtoMessage()

func (*OfpPortStats) Reset

func (m *OfpPortStats) Reset()

func (*OfpPortStats) String

func (m *OfpPortStats) String() string

type OfpPortStatsRequest

type OfpPortStatsRequest struct {
	PortNo uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo" json:"port_no,omitempty"`
}

Body for ofp_multipart_request of type OFPMP_PORT.

func (*OfpPortStatsRequest) Descriptor

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

func (*OfpPortStatsRequest) GetPortNo

func (m *OfpPortStatsRequest) GetPortNo() uint32

func (*OfpPortStatsRequest) ProtoMessage

func (*OfpPortStatsRequest) ProtoMessage()

func (*OfpPortStatsRequest) Reset

func (m *OfpPortStatsRequest) Reset()

func (*OfpPortStatsRequest) String

func (m *OfpPortStatsRequest) String() string

type OfpPortStatus

type OfpPortStatus struct {
	// ofp_header header;
	Reason OfpPortReason `protobuf:"varint,1,opt,name=reason,enum=openflow_13.OfpPortReason" json:"reason,omitempty"`
	Desc   *OfpPort      `protobuf:"bytes,2,opt,name=desc" json:"desc,omitempty"`
}

A physical port has changed in the datapath

func (*OfpPortStatus) Descriptor

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

func (*OfpPortStatus) GetDesc

func (m *OfpPortStatus) GetDesc() *OfpPort

func (*OfpPortStatus) GetReason

func (m *OfpPortStatus) GetReason() OfpPortReason

func (*OfpPortStatus) ProtoMessage

func (*OfpPortStatus) ProtoMessage()

func (*OfpPortStatus) Reset

func (m *OfpPortStatus) Reset()

func (*OfpPortStatus) String

func (m *OfpPortStatus) String() string

type OfpQueueGetConfigReply

type OfpQueueGetConfigReply struct {
	// ofp_header header;
	Port   uint32            `protobuf:"varint,1,opt,name=port" json:"port,omitempty"`
	Queues []*OfpPacketQueue `protobuf:"bytes,2,rep,name=queues" json:"queues,omitempty"`
}

Queue configuration for a given port.

func (*OfpQueueGetConfigReply) Descriptor

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

func (*OfpQueueGetConfigReply) GetPort

func (m *OfpQueueGetConfigReply) GetPort() uint32

func (*OfpQueueGetConfigReply) GetQueues

func (m *OfpQueueGetConfigReply) GetQueues() []*OfpPacketQueue

func (*OfpQueueGetConfigReply) ProtoMessage

func (*OfpQueueGetConfigReply) ProtoMessage()

func (*OfpQueueGetConfigReply) Reset

func (m *OfpQueueGetConfigReply) Reset()

func (*OfpQueueGetConfigReply) String

func (m *OfpQueueGetConfigReply) String() string

type OfpQueueGetConfigRequest

type OfpQueueGetConfigRequest struct {
	// ofp_header header;
	Port uint32 `protobuf:"varint,1,opt,name=port" json:"port,omitempty"`
}

Query for port queue configuration.

func (*OfpQueueGetConfigRequest) Descriptor

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

func (*OfpQueueGetConfigRequest) GetPort

func (m *OfpQueueGetConfigRequest) GetPort() uint32

func (*OfpQueueGetConfigRequest) ProtoMessage

func (*OfpQueueGetConfigRequest) ProtoMessage()

func (*OfpQueueGetConfigRequest) Reset

func (m *OfpQueueGetConfigRequest) Reset()

func (*OfpQueueGetConfigRequest) String

func (m *OfpQueueGetConfigRequest) String() string

type OfpQueueOpFailedCode

type OfpQueueOpFailedCode int32

ofp_error msg 'code' values for OFPET_QUEUE_OP_FAILED. 'data' contains at least the first 64 bytes of the failed request

const (
	OfpQueueOpFailedCode_OFPQOFC_BAD_PORT  OfpQueueOpFailedCode = 0
	OfpQueueOpFailedCode_OFPQOFC_BAD_QUEUE OfpQueueOpFailedCode = 1
	OfpQueueOpFailedCode_OFPQOFC_EPERM     OfpQueueOpFailedCode = 2
)

func (OfpQueueOpFailedCode) EnumDescriptor

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

func (OfpQueueOpFailedCode) String

func (x OfpQueueOpFailedCode) String() string

type OfpQueuePropExperimenter

type OfpQueuePropExperimenter struct {
	PropHeader   *OfpQueuePropHeader `protobuf:"bytes,1,opt,name=prop_header,json=propHeader" json:"prop_header,omitempty"`
	Experimenter uint32              `protobuf:"varint,2,opt,name=experimenter" json:"experimenter,omitempty"`
	Data         []byte              `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
}

Experimenter queue property description.

func (*OfpQueuePropExperimenter) Descriptor

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

func (*OfpQueuePropExperimenter) GetData

func (m *OfpQueuePropExperimenter) GetData() []byte

func (*OfpQueuePropExperimenter) GetExperimenter

func (m *OfpQueuePropExperimenter) GetExperimenter() uint32

func (*OfpQueuePropExperimenter) GetPropHeader

func (m *OfpQueuePropExperimenter) GetPropHeader() *OfpQueuePropHeader

func (*OfpQueuePropExperimenter) ProtoMessage

func (*OfpQueuePropExperimenter) ProtoMessage()

func (*OfpQueuePropExperimenter) Reset

func (m *OfpQueuePropExperimenter) Reset()

func (*OfpQueuePropExperimenter) String

func (m *OfpQueuePropExperimenter) String() string

type OfpQueuePropHeader

type OfpQueuePropHeader struct {
	Property uint32 `protobuf:"varint,1,opt,name=property" json:"property,omitempty"`
	Len      uint32 `protobuf:"varint,2,opt,name=len" json:"len,omitempty"`
}

Common description for a queue.

func (*OfpQueuePropHeader) Descriptor

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

func (*OfpQueuePropHeader) GetLen

func (m *OfpQueuePropHeader) GetLen() uint32

func (*OfpQueuePropHeader) GetProperty

func (m *OfpQueuePropHeader) GetProperty() uint32

func (*OfpQueuePropHeader) ProtoMessage

func (*OfpQueuePropHeader) ProtoMessage()

func (*OfpQueuePropHeader) Reset

func (m *OfpQueuePropHeader) Reset()

func (*OfpQueuePropHeader) String

func (m *OfpQueuePropHeader) String() string

type OfpQueuePropMaxRate

type OfpQueuePropMaxRate struct {
	PropHeader *OfpQueuePropHeader `protobuf:"bytes,1,opt,name=prop_header,json=propHeader" json:"prop_header,omitempty"`
	Rate       uint32              `protobuf:"varint,2,opt,name=rate" json:"rate,omitempty"`
}

Max-Rate queue property description.

func (*OfpQueuePropMaxRate) Descriptor

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

func (*OfpQueuePropMaxRate) GetPropHeader

func (m *OfpQueuePropMaxRate) GetPropHeader() *OfpQueuePropHeader

func (*OfpQueuePropMaxRate) GetRate

func (m *OfpQueuePropMaxRate) GetRate() uint32

func (*OfpQueuePropMaxRate) ProtoMessage

func (*OfpQueuePropMaxRate) ProtoMessage()

func (*OfpQueuePropMaxRate) Reset

func (m *OfpQueuePropMaxRate) Reset()

func (*OfpQueuePropMaxRate) String

func (m *OfpQueuePropMaxRate) String() string

type OfpQueuePropMinRate

type OfpQueuePropMinRate struct {
	PropHeader *OfpQueuePropHeader `protobuf:"bytes,1,opt,name=prop_header,json=propHeader" json:"prop_header,omitempty"`
	Rate       uint32              `protobuf:"varint,2,opt,name=rate" json:"rate,omitempty"`
}

Min-Rate queue property description.

func (*OfpQueuePropMinRate) Descriptor

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

func (*OfpQueuePropMinRate) GetPropHeader

func (m *OfpQueuePropMinRate) GetPropHeader() *OfpQueuePropHeader

func (*OfpQueuePropMinRate) GetRate

func (m *OfpQueuePropMinRate) GetRate() uint32

func (*OfpQueuePropMinRate) ProtoMessage

func (*OfpQueuePropMinRate) ProtoMessage()

func (*OfpQueuePropMinRate) Reset

func (m *OfpQueuePropMinRate) Reset()

func (*OfpQueuePropMinRate) String

func (m *OfpQueuePropMinRate) String() string

type OfpQueueProperties

type OfpQueueProperties int32
const (
	OfpQueueProperties_OFPQT_INVALID      OfpQueueProperties = 0
	OfpQueueProperties_OFPQT_MIN_RATE     OfpQueueProperties = 1
	OfpQueueProperties_OFPQT_MAX_RATE     OfpQueueProperties = 2
	OfpQueueProperties_OFPQT_EXPERIMENTER OfpQueueProperties = 65535
)

func (OfpQueueProperties) EnumDescriptor

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

func (OfpQueueProperties) String

func (x OfpQueueProperties) String() string

type OfpQueueStats

type OfpQueueStats struct {
	PortNo       uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo" json:"port_no,omitempty"`
	QueueId      uint32 `protobuf:"varint,2,opt,name=queue_id,json=queueId" json:"queue_id,omitempty"`
	TxBytes      uint64 `protobuf:"varint,3,opt,name=tx_bytes,json=txBytes" json:"tx_bytes,omitempty"`
	TxPackets    uint64 `protobuf:"varint,4,opt,name=tx_packets,json=txPackets" json:"tx_packets,omitempty"`
	TxErrors     uint64 `protobuf:"varint,5,opt,name=tx_errors,json=txErrors" json:"tx_errors,omitempty"`
	DurationSec  uint32 `protobuf:"varint,6,opt,name=duration_sec,json=durationSec" json:"duration_sec,omitempty"`
	DurationNsec uint32 `protobuf:"varint,7,opt,name=duration_nsec,json=durationNsec" json:"duration_nsec,omitempty"`
}

func (*OfpQueueStats) Descriptor

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

func (*OfpQueueStats) GetDurationNsec

func (m *OfpQueueStats) GetDurationNsec() uint32

func (*OfpQueueStats) GetDurationSec

func (m *OfpQueueStats) GetDurationSec() uint32

func (*OfpQueueStats) GetPortNo

func (m *OfpQueueStats) GetPortNo() uint32

func (*OfpQueueStats) GetQueueId

func (m *OfpQueueStats) GetQueueId() uint32

func (*OfpQueueStats) GetTxBytes

func (m *OfpQueueStats) GetTxBytes() uint64

func (*OfpQueueStats) GetTxErrors

func (m *OfpQueueStats) GetTxErrors() uint64

func (*OfpQueueStats) GetTxPackets

func (m *OfpQueueStats) GetTxPackets() uint64

func (*OfpQueueStats) ProtoMessage

func (*OfpQueueStats) ProtoMessage()

func (*OfpQueueStats) Reset

func (m *OfpQueueStats) Reset()

func (*OfpQueueStats) String

func (m *OfpQueueStats) String() string

type OfpQueueStatsRequest

type OfpQueueStatsRequest struct {
	PortNo  uint32 `protobuf:"varint,1,opt,name=port_no,json=portNo" json:"port_no,omitempty"`
	QueueId uint32 `protobuf:"varint,2,opt,name=queue_id,json=queueId" json:"queue_id,omitempty"`
}

func (*OfpQueueStatsRequest) Descriptor

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

func (*OfpQueueStatsRequest) GetPortNo

func (m *OfpQueueStatsRequest) GetPortNo() uint32

func (*OfpQueueStatsRequest) GetQueueId

func (m *OfpQueueStatsRequest) GetQueueId() uint32

func (*OfpQueueStatsRequest) ProtoMessage

func (*OfpQueueStatsRequest) ProtoMessage()

func (*OfpQueueStatsRequest) Reset

func (m *OfpQueueStatsRequest) Reset()

func (*OfpQueueStatsRequest) String

func (m *OfpQueueStatsRequest) String() string

type OfpRoleRequest

type OfpRoleRequest struct {
	// ofp_header header;        /* Type OFPT_ROLE_REQUEST/OFPT_ROLE_REPLY. */
	Role         OfpControllerRole `protobuf:"varint,1,opt,name=role,enum=openflow_13.OfpControllerRole" json:"role,omitempty"`
	GenerationId uint64            `protobuf:"varint,2,opt,name=generation_id,json=generationId" json:"generation_id,omitempty"`
}

Role request and reply message.

func (*OfpRoleRequest) Descriptor

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

func (*OfpRoleRequest) GetGenerationId

func (m *OfpRoleRequest) GetGenerationId() uint64

func (*OfpRoleRequest) GetRole

func (m *OfpRoleRequest) GetRole() OfpControllerRole

func (*OfpRoleRequest) ProtoMessage

func (*OfpRoleRequest) ProtoMessage()

func (*OfpRoleRequest) Reset

func (m *OfpRoleRequest) Reset()

func (*OfpRoleRequest) String

func (m *OfpRoleRequest) String() string

type OfpRoleRequestFailedCode

type OfpRoleRequestFailedCode int32

ofp_error_msg 'code' values for OFPET_ROLE_REQUEST_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpRoleRequestFailedCode_OFPRRFC_STALE    OfpRoleRequestFailedCode = 0
	OfpRoleRequestFailedCode_OFPRRFC_UNSUP    OfpRoleRequestFailedCode = 1
	OfpRoleRequestFailedCode_OFPRRFC_BAD_ROLE OfpRoleRequestFailedCode = 2
)

func (OfpRoleRequestFailedCode) EnumDescriptor

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

func (OfpRoleRequestFailedCode) String

func (x OfpRoleRequestFailedCode) String() string

type OfpSwitchConfig

type OfpSwitchConfig struct {
	// ofp_header header;
	Flags       uint32 `protobuf:"varint,1,opt,name=flags" json:"flags,omitempty"`
	MissSendLen uint32 `protobuf:"varint,2,opt,name=miss_send_len,json=missSendLen" json:"miss_send_len,omitempty"`
}

Switch configuration.

func (*OfpSwitchConfig) Descriptor

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

func (*OfpSwitchConfig) GetFlags

func (m *OfpSwitchConfig) GetFlags() uint32

func (*OfpSwitchConfig) GetMissSendLen

func (m *OfpSwitchConfig) GetMissSendLen() uint32

func (*OfpSwitchConfig) ProtoMessage

func (*OfpSwitchConfig) ProtoMessage()

func (*OfpSwitchConfig) Reset

func (m *OfpSwitchConfig) Reset()

func (*OfpSwitchConfig) String

func (m *OfpSwitchConfig) String() string

type OfpSwitchConfigFailedCode

type OfpSwitchConfigFailedCode int32

ofp_error_msg 'code' values for OFPET_SWITCH_CONFIG_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpSwitchConfigFailedCode_OFPSCFC_BAD_FLAGS OfpSwitchConfigFailedCode = 0
	OfpSwitchConfigFailedCode_OFPSCFC_BAD_LEN   OfpSwitchConfigFailedCode = 1
	OfpSwitchConfigFailedCode_OFPSCFC_EPERM     OfpSwitchConfigFailedCode = 2
)

func (OfpSwitchConfigFailedCode) EnumDescriptor

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

func (OfpSwitchConfigFailedCode) String

func (x OfpSwitchConfigFailedCode) String() string

type OfpSwitchFeatures

type OfpSwitchFeatures struct {
	// ofp_header header;
	DatapathId  uint64 `protobuf:"varint,1,opt,name=datapath_id,json=datapathId" json:"datapath_id,omitempty"`
	NBuffers    uint32 `protobuf:"varint,2,opt,name=n_buffers,json=nBuffers" json:"n_buffers,omitempty"`
	NTables     uint32 `protobuf:"varint,3,opt,name=n_tables,json=nTables" json:"n_tables,omitempty"`
	AuxiliaryId uint32 `protobuf:"varint,4,opt,name=auxiliary_id,json=auxiliaryId" json:"auxiliary_id,omitempty"`
	// Features.
	Capabilities uint32 `protobuf:"varint,5,opt,name=capabilities" json:"capabilities,omitempty"`
}

Switch features.

func (*OfpSwitchFeatures) Descriptor

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

func (*OfpSwitchFeatures) GetAuxiliaryId

func (m *OfpSwitchFeatures) GetAuxiliaryId() uint32

func (*OfpSwitchFeatures) GetCapabilities

func (m *OfpSwitchFeatures) GetCapabilities() uint32

func (*OfpSwitchFeatures) GetDatapathId

func (m *OfpSwitchFeatures) GetDatapathId() uint64

func (*OfpSwitchFeatures) GetNBuffers

func (m *OfpSwitchFeatures) GetNBuffers() uint32

func (*OfpSwitchFeatures) GetNTables

func (m *OfpSwitchFeatures) GetNTables() uint32

func (*OfpSwitchFeatures) ProtoMessage

func (*OfpSwitchFeatures) ProtoMessage()

func (*OfpSwitchFeatures) Reset

func (m *OfpSwitchFeatures) Reset()

func (*OfpSwitchFeatures) String

func (m *OfpSwitchFeatures) String() string

type OfpTable

type OfpTable int32

Table numbering. Tables can use any number up to OFPT_MAX.

const (
	OfpTable_OFPTT_INVALID OfpTable = 0
	// Last usable table number.
	OfpTable_OFPTT_MAX OfpTable = 254
	// Fake tables.
	OfpTable_OFPTT_ALL OfpTable = 255
)

func (OfpTable) EnumDescriptor

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

func (OfpTable) String

func (x OfpTable) String() string

type OfpTableConfig

type OfpTableConfig int32

Flags to configure the table. Reserved for future use.

const (
	OfpTableConfig_OFPTC_INVALID         OfpTableConfig = 0
	OfpTableConfig_OFPTC_DEPRECATED_MASK OfpTableConfig = 3
)

func (OfpTableConfig) EnumDescriptor

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

func (OfpTableConfig) String

func (x OfpTableConfig) String() string

type OfpTableFeaturePropActions

type OfpTableFeaturePropActions struct {
	// One of OFPTFPT_WRITE_ACTIONS,
	// OFPTFPT_WRITE_ACTIONS_MISS,
	// OFPTFPT_APPLY_ACTIONS,
	// OFPTFPT_APPLY_ACTIONS_MISS.
	Actions []*OfpAction `protobuf:"bytes,1,rep,name=actions" json:"actions,omitempty"`
}

Actions property

func (*OfpTableFeaturePropActions) Descriptor

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

func (*OfpTableFeaturePropActions) GetActions

func (m *OfpTableFeaturePropActions) GetActions() []*OfpAction

func (*OfpTableFeaturePropActions) ProtoMessage

func (*OfpTableFeaturePropActions) ProtoMessage()

func (*OfpTableFeaturePropActions) Reset

func (m *OfpTableFeaturePropActions) Reset()

func (*OfpTableFeaturePropActions) String

func (m *OfpTableFeaturePropActions) String() string

type OfpTableFeaturePropExperimenter

type OfpTableFeaturePropExperimenter struct {
	// One of OFPTFPT_EXPERIMENTER,
	// OFPTFPT_EXPERIMENTER_MISS.
	Experimenter     uint32   `protobuf:"varint,2,opt,name=experimenter" json:"experimenter,omitempty"`
	ExpType          uint32   `protobuf:"varint,3,opt,name=exp_type,json=expType" json:"exp_type,omitempty"`
	ExperimenterData []uint32 `protobuf:"varint,4,rep,packed,name=experimenter_data,json=experimenterData" json:"experimenter_data,omitempty"`
}

Experimenter table feature property

func (*OfpTableFeaturePropExperimenter) Descriptor

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

func (*OfpTableFeaturePropExperimenter) GetExpType

func (m *OfpTableFeaturePropExperimenter) GetExpType() uint32

func (*OfpTableFeaturePropExperimenter) GetExperimenter

func (m *OfpTableFeaturePropExperimenter) GetExperimenter() uint32

func (*OfpTableFeaturePropExperimenter) GetExperimenterData

func (m *OfpTableFeaturePropExperimenter) GetExperimenterData() []uint32

func (*OfpTableFeaturePropExperimenter) ProtoMessage

func (*OfpTableFeaturePropExperimenter) ProtoMessage()

func (*OfpTableFeaturePropExperimenter) Reset

func (*OfpTableFeaturePropExperimenter) String

type OfpTableFeaturePropInstructions

type OfpTableFeaturePropInstructions struct {
	// One of OFPTFPT_INSTRUCTIONS,
	// OFPTFPT_INSTRUCTIONS_MISS.
	Instructions []*OfpInstruction `protobuf:"bytes,1,rep,name=instructions" json:"instructions,omitempty"`
}

Instructions property

func (*OfpTableFeaturePropInstructions) Descriptor

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

func (*OfpTableFeaturePropInstructions) GetInstructions

func (m *OfpTableFeaturePropInstructions) GetInstructions() []*OfpInstruction

func (*OfpTableFeaturePropInstructions) ProtoMessage

func (*OfpTableFeaturePropInstructions) ProtoMessage()

func (*OfpTableFeaturePropInstructions) Reset

func (*OfpTableFeaturePropInstructions) String

type OfpTableFeaturePropNextTables

type OfpTableFeaturePropNextTables struct {
	// One of OFPTFPT_NEXT_TABLES,
	// OFPTFPT_NEXT_TABLES_MISS.
	NextTableIds []uint32 `protobuf:"varint,1,rep,packed,name=next_table_ids,json=nextTableIds" json:"next_table_ids,omitempty"`
}

Next Tables property

func (*OfpTableFeaturePropNextTables) Descriptor

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

func (*OfpTableFeaturePropNextTables) GetNextTableIds

func (m *OfpTableFeaturePropNextTables) GetNextTableIds() []uint32

func (*OfpTableFeaturePropNextTables) ProtoMessage

func (*OfpTableFeaturePropNextTables) ProtoMessage()

func (*OfpTableFeaturePropNextTables) Reset

func (m *OfpTableFeaturePropNextTables) Reset()

func (*OfpTableFeaturePropNextTables) String

type OfpTableFeaturePropOxm

type OfpTableFeaturePropOxm struct {
	// TODO is this a uint32???
	OxmIds []uint32 `protobuf:"varint,3,rep,packed,name=oxm_ids,json=oxmIds" json:"oxm_ids,omitempty"`
}

Match, Wildcard or Set-Field property

func (*OfpTableFeaturePropOxm) Descriptor

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

func (*OfpTableFeaturePropOxm) GetOxmIds

func (m *OfpTableFeaturePropOxm) GetOxmIds() []uint32

func (*OfpTableFeaturePropOxm) ProtoMessage

func (*OfpTableFeaturePropOxm) ProtoMessage()

func (*OfpTableFeaturePropOxm) Reset

func (m *OfpTableFeaturePropOxm) Reset()

func (*OfpTableFeaturePropOxm) String

func (m *OfpTableFeaturePropOxm) String() string

type OfpTableFeaturePropType

type OfpTableFeaturePropType int32

Table Feature property types. Low order bit cleared indicates a property for a regular Flow Entry. Low order bit set indicates a property for the Table-Miss Flow Entry.

const (
	OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS        OfpTableFeaturePropType = 0
	OfpTableFeaturePropType_OFPTFPT_INSTRUCTIONS_MISS   OfpTableFeaturePropType = 1
	OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES         OfpTableFeaturePropType = 2
	OfpTableFeaturePropType_OFPTFPT_NEXT_TABLES_MISS    OfpTableFeaturePropType = 3
	OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS       OfpTableFeaturePropType = 4
	OfpTableFeaturePropType_OFPTFPT_WRITE_ACTIONS_MISS  OfpTableFeaturePropType = 5
	OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS       OfpTableFeaturePropType = 6
	OfpTableFeaturePropType_OFPTFPT_APPLY_ACTIONS_MISS  OfpTableFeaturePropType = 7
	OfpTableFeaturePropType_OFPTFPT_MATCH               OfpTableFeaturePropType = 8
	OfpTableFeaturePropType_OFPTFPT_WILDCARDS           OfpTableFeaturePropType = 10
	OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD      OfpTableFeaturePropType = 12
	OfpTableFeaturePropType_OFPTFPT_WRITE_SETFIELD_MISS OfpTableFeaturePropType = 13
	OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD      OfpTableFeaturePropType = 14
	OfpTableFeaturePropType_OFPTFPT_APPLY_SETFIELD_MISS OfpTableFeaturePropType = 15
	OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER        OfpTableFeaturePropType = 65534
	OfpTableFeaturePropType_OFPTFPT_EXPERIMENTER_MISS   OfpTableFeaturePropType = 65535
)

func (OfpTableFeaturePropType) EnumDescriptor

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

func (OfpTableFeaturePropType) String

func (x OfpTableFeaturePropType) String() string

type OfpTableFeatureProperty

type OfpTableFeatureProperty struct {
	Type OfpTableFeaturePropType `protobuf:"varint,1,opt,name=type,enum=openflow_13.OfpTableFeaturePropType" json:"type,omitempty"`
	// Types that are valid to be assigned to Value:
	//	*OfpTableFeatureProperty_Instructions
	//	*OfpTableFeatureProperty_NextTables
	//	*OfpTableFeatureProperty_Actions
	//	*OfpTableFeatureProperty_Oxm
	//	*OfpTableFeatureProperty_Experimenter
	Value isOfpTableFeatureProperty_Value `protobuf_oneof:"value"`
}

Common header for all Table Feature Properties

func (*OfpTableFeatureProperty) Descriptor

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

func (*OfpTableFeatureProperty) GetActions

func (*OfpTableFeatureProperty) GetExperimenter

func (*OfpTableFeatureProperty) GetInstructions

func (*OfpTableFeatureProperty) GetNextTables

func (*OfpTableFeatureProperty) GetOxm

func (*OfpTableFeatureProperty) GetType

func (*OfpTableFeatureProperty) GetValue

func (m *OfpTableFeatureProperty) GetValue() isOfpTableFeatureProperty_Value

func (*OfpTableFeatureProperty) ProtoMessage

func (*OfpTableFeatureProperty) ProtoMessage()

func (*OfpTableFeatureProperty) Reset

func (m *OfpTableFeatureProperty) Reset()

func (*OfpTableFeatureProperty) String

func (m *OfpTableFeatureProperty) String() string

func (*OfpTableFeatureProperty) XXX_OneofFuncs

func (*OfpTableFeatureProperty) XXX_OneofFuncs() (func(msg proto.Message, b *proto.Buffer) error, func(msg proto.Message, tag, wire int, b *proto.Buffer) (bool, error), func(msg proto.Message) (n int), []interface{})

XXX_OneofFuncs is for the internal use of the proto package.

type OfpTableFeatureProperty_Actions

type OfpTableFeatureProperty_Actions struct {
	Actions *OfpTableFeaturePropActions `protobuf:"bytes,4,opt,name=actions,oneof"`
}

type OfpTableFeatureProperty_Experimenter

type OfpTableFeatureProperty_Experimenter struct {
	Experimenter *OfpTableFeaturePropExperimenter `protobuf:"bytes,6,opt,name=experimenter,oneof"`
}

type OfpTableFeatureProperty_Instructions

type OfpTableFeatureProperty_Instructions struct {
	Instructions *OfpTableFeaturePropInstructions `protobuf:"bytes,2,opt,name=instructions,oneof"`
}

type OfpTableFeatureProperty_NextTables

type OfpTableFeatureProperty_NextTables struct {
	NextTables *OfpTableFeaturePropNextTables `protobuf:"bytes,3,opt,name=next_tables,json=nextTables,oneof"`
}

type OfpTableFeatureProperty_Oxm

type OfpTableFeatureProperty_Oxm struct {
	Oxm *OfpTableFeaturePropOxm `protobuf:"bytes,5,opt,name=oxm,oneof"`
}

type OfpTableFeatures

type OfpTableFeatures struct {
	TableId       uint32 `protobuf:"varint,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	Name          string `protobuf:"bytes,2,opt,name=name" json:"name,omitempty"`
	MetadataMatch uint64 `protobuf:"varint,3,opt,name=metadata_match,json=metadataMatch" json:"metadata_match,omitempty"`
	MetadataWrite uint64 `protobuf:"varint,4,opt,name=metadata_write,json=metadataWrite" json:"metadata_write,omitempty"`
	Config        uint32 `protobuf:"varint,5,opt,name=config" json:"config,omitempty"`
	MaxEntries    uint32 `protobuf:"varint,6,opt,name=max_entries,json=maxEntries" json:"max_entries,omitempty"`
	// Table Feature Property list
	Properties []*OfpTableFeatureProperty `protobuf:"bytes,7,rep,name=properties" json:"properties,omitempty"`
}

Body for ofp_multipart_request of type OFPMP_TABLE_FEATURES./ Body of reply to OFPMP_TABLE_FEATURES request.

func (*OfpTableFeatures) Descriptor

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

func (*OfpTableFeatures) GetConfig

func (m *OfpTableFeatures) GetConfig() uint32

func (*OfpTableFeatures) GetMaxEntries

func (m *OfpTableFeatures) GetMaxEntries() uint32

func (*OfpTableFeatures) GetMetadataMatch

func (m *OfpTableFeatures) GetMetadataMatch() uint64

func (*OfpTableFeatures) GetMetadataWrite

func (m *OfpTableFeatures) GetMetadataWrite() uint64

func (*OfpTableFeatures) GetName

func (m *OfpTableFeatures) GetName() string

func (*OfpTableFeatures) GetProperties

func (m *OfpTableFeatures) GetProperties() []*OfpTableFeatureProperty

func (*OfpTableFeatures) GetTableId

func (m *OfpTableFeatures) GetTableId() uint32

func (*OfpTableFeatures) ProtoMessage

func (*OfpTableFeatures) ProtoMessage()

func (*OfpTableFeatures) Reset

func (m *OfpTableFeatures) Reset()

func (*OfpTableFeatures) String

func (m *OfpTableFeatures) String() string

type OfpTableFeaturesFailedCode

type OfpTableFeaturesFailedCode int32

ofp_error_msg 'code' values for OFPET_TABLE_FEATURES_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_TABLE    OfpTableFeaturesFailedCode = 0
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_METADATA OfpTableFeaturesFailedCode = 1
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_TYPE     OfpTableFeaturesFailedCode = 2
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_LEN      OfpTableFeaturesFailedCode = 3
	OfpTableFeaturesFailedCode_OFPTFFC_BAD_ARGUMENT OfpTableFeaturesFailedCode = 4
	OfpTableFeaturesFailedCode_OFPTFFC_EPERM        OfpTableFeaturesFailedCode = 5
)

func (OfpTableFeaturesFailedCode) EnumDescriptor

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

func (OfpTableFeaturesFailedCode) String

type OfpTableMod

type OfpTableMod struct {
	// ofp_header header;
	TableId uint32 `protobuf:"varint,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	Config  uint32 `protobuf:"varint,2,opt,name=config" json:"config,omitempty"`
}

Configure/Modify behavior of a flow table

func (*OfpTableMod) Descriptor

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

func (*OfpTableMod) GetConfig

func (m *OfpTableMod) GetConfig() uint32

func (*OfpTableMod) GetTableId

func (m *OfpTableMod) GetTableId() uint32

func (*OfpTableMod) ProtoMessage

func (*OfpTableMod) ProtoMessage()

func (*OfpTableMod) Reset

func (m *OfpTableMod) Reset()

func (*OfpTableMod) String

func (m *OfpTableMod) String() string

type OfpTableModFailedCode

type OfpTableModFailedCode int32

ofp_error_msg 'code' values for OFPET_TABLE_MOD_FAILED. 'data' contains at least the first 64 bytes of the failed request.

const (
	OfpTableModFailedCode_OFPTMFC_BAD_TABLE  OfpTableModFailedCode = 0
	OfpTableModFailedCode_OFPTMFC_BAD_CONFIG OfpTableModFailedCode = 1
	OfpTableModFailedCode_OFPTMFC_EPERM      OfpTableModFailedCode = 2
)

func (OfpTableModFailedCode) EnumDescriptor

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

func (OfpTableModFailedCode) String

func (x OfpTableModFailedCode) String() string

type OfpTableStats

type OfpTableStats struct {
	TableId      uint32 `protobuf:"varint,1,opt,name=table_id,json=tableId" json:"table_id,omitempty"`
	ActiveCount  uint32 `protobuf:"varint,2,opt,name=active_count,json=activeCount" json:"active_count,omitempty"`
	LookupCount  uint64 `protobuf:"varint,3,opt,name=lookup_count,json=lookupCount" json:"lookup_count,omitempty"`
	MatchedCount uint64 `protobuf:"varint,4,opt,name=matched_count,json=matchedCount" json:"matched_count,omitempty"`
}

Body of reply to OFPMP_TABLE request.

func (*OfpTableStats) Descriptor

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

func (*OfpTableStats) GetActiveCount

func (m *OfpTableStats) GetActiveCount() uint32

func (*OfpTableStats) GetLookupCount

func (m *OfpTableStats) GetLookupCount() uint64

func (*OfpTableStats) GetMatchedCount

func (m *OfpTableStats) GetMatchedCount() uint64

func (*OfpTableStats) GetTableId

func (m *OfpTableStats) GetTableId() uint32

func (*OfpTableStats) ProtoMessage

func (*OfpTableStats) ProtoMessage()

func (*OfpTableStats) Reset

func (m *OfpTableStats) Reset()

func (*OfpTableStats) String

func (m *OfpTableStats) String() string

type OfpType

type OfpType int32
const (
	// Immutable messages.
	OfpType_OFPT_HELLO        OfpType = 0
	OfpType_OFPT_ERROR        OfpType = 1
	OfpType_OFPT_ECHO_REQUEST OfpType = 2
	OfpType_OFPT_ECHO_REPLY   OfpType = 3
	OfpType_OFPT_EXPERIMENTER OfpType = 4
	// Switch configuration messages.
	OfpType_OFPT_FEATURES_REQUEST   OfpType = 5
	OfpType_OFPT_FEATURES_REPLY     OfpType = 6
	OfpType_OFPT_GET_CONFIG_REQUEST OfpType = 7
	OfpType_OFPT_GET_CONFIG_REPLY   OfpType = 8
	OfpType_OFPT_SET_CONFIG         OfpType = 9
	// Asynchronous messages.
	OfpType_OFPT_PACKET_IN    OfpType = 10
	OfpType_OFPT_FLOW_REMOVED OfpType = 11
	OfpType_OFPT_PORT_STATUS  OfpType = 12
	// Controller command messages.
	OfpType_OFPT_PACKET_OUT OfpType = 13
	OfpType_OFPT_FLOW_MOD   OfpType = 14
	OfpType_OFPT_GROUP_MOD  OfpType = 15
	OfpType_OFPT_PORT_MOD   OfpType = 16
	OfpType_OFPT_TABLE_MOD  OfpType = 17
	// Multipart messages.
	OfpType_OFPT_MULTIPART_REQUEST OfpType = 18
	OfpType_OFPT_MULTIPART_REPLY   OfpType = 19
	// Barrier messages.
	OfpType_OFPT_BARRIER_REQUEST OfpType = 20
	OfpType_OFPT_BARRIER_REPLY   OfpType = 21
	// Queue Configuration messages.
	OfpType_OFPT_QUEUE_GET_CONFIG_REQUEST OfpType = 22
	OfpType_OFPT_QUEUE_GET_CONFIG_REPLY   OfpType = 23
	// Controller role change request messages.
	OfpType_OFPT_ROLE_REQUEST OfpType = 24
	OfpType_OFPT_ROLE_REPLY   OfpType = 25
	// Asynchronous message configuration.
	OfpType_OFPT_GET_ASYNC_REQUEST OfpType = 26
	OfpType_OFPT_GET_ASYNC_REPLY   OfpType = 27
	OfpType_OFPT_SET_ASYNC         OfpType = 28
	// Meters and rate limiters configuration messages.
	OfpType_OFPT_METER_MOD OfpType = 29
)

func (OfpType) EnumDescriptor

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

func (OfpType) String

func (x OfpType) String() string

type OfpVlanId

type OfpVlanId int32

The VLAN id is 12-bits, so we can use the entire 16 bits to indicate special conditions.

const (
	OfpVlanId_OFPVID_NONE    OfpVlanId = 0
	OfpVlanId_OFPVID_PRESENT OfpVlanId = 4096
)

func (OfpVlanId) EnumDescriptor

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

func (OfpVlanId) String

func (x OfpVlanId) String() string

type OxmOfbFieldTypes

type OxmOfbFieldTypes int32

OXM Flow field types for OpenFlow basic class.

const (
	OxmOfbFieldTypes_OFPXMT_OFB_IN_PORT        OxmOfbFieldTypes = 0
	OxmOfbFieldTypes_OFPXMT_OFB_IN_PHY_PORT    OxmOfbFieldTypes = 1
	OxmOfbFieldTypes_OFPXMT_OFB_METADATA       OxmOfbFieldTypes = 2
	OxmOfbFieldTypes_OFPXMT_OFB_ETH_DST        OxmOfbFieldTypes = 3
	OxmOfbFieldTypes_OFPXMT_OFB_ETH_SRC        OxmOfbFieldTypes = 4
	OxmOfbFieldTypes_OFPXMT_OFB_ETH_TYPE       OxmOfbFieldTypes = 5
	OxmOfbFieldTypes_OFPXMT_OFB_VLAN_VID       OxmOfbFieldTypes = 6
	OxmOfbFieldTypes_OFPXMT_OFB_VLAN_PCP       OxmOfbFieldTypes = 7
	OxmOfbFieldTypes_OFPXMT_OFB_IP_DSCP        OxmOfbFieldTypes = 8
	OxmOfbFieldTypes_OFPXMT_OFB_IP_ECN         OxmOfbFieldTypes = 9
	OxmOfbFieldTypes_OFPXMT_OFB_IP_PROTO       OxmOfbFieldTypes = 10
	OxmOfbFieldTypes_OFPXMT_OFB_IPV4_SRC       OxmOfbFieldTypes = 11
	OxmOfbFieldTypes_OFPXMT_OFB_IPV4_DST       OxmOfbFieldTypes = 12
	OxmOfbFieldTypes_OFPXMT_OFB_TCP_SRC        OxmOfbFieldTypes = 13
	OxmOfbFieldTypes_OFPXMT_OFB_TCP_DST        OxmOfbFieldTypes = 14
	OxmOfbFieldTypes_OFPXMT_OFB_UDP_SRC        OxmOfbFieldTypes = 15
	OxmOfbFieldTypes_OFPXMT_OFB_UDP_DST        OxmOfbFieldTypes = 16
	OxmOfbFieldTypes_OFPXMT_OFB_SCTP_SRC       OxmOfbFieldTypes = 17
	OxmOfbFieldTypes_OFPXMT_OFB_SCTP_DST       OxmOfbFieldTypes = 18
	OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_TYPE    OxmOfbFieldTypes = 19
	OxmOfbFieldTypes_OFPXMT_OFB_ICMPV4_CODE    OxmOfbFieldTypes = 20
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_OP         OxmOfbFieldTypes = 21
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_SPA        OxmOfbFieldTypes = 22
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_TPA        OxmOfbFieldTypes = 23
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_SHA        OxmOfbFieldTypes = 24
	OxmOfbFieldTypes_OFPXMT_OFB_ARP_THA        OxmOfbFieldTypes = 25
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_SRC       OxmOfbFieldTypes = 26
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_DST       OxmOfbFieldTypes = 27
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_FLABEL    OxmOfbFieldTypes = 28
	OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_TYPE    OxmOfbFieldTypes = 29
	OxmOfbFieldTypes_OFPXMT_OFB_ICMPV6_CODE    OxmOfbFieldTypes = 30
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TARGET OxmOfbFieldTypes = 31
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_SLL    OxmOfbFieldTypes = 32
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_ND_TLL    OxmOfbFieldTypes = 33
	OxmOfbFieldTypes_OFPXMT_OFB_MPLS_LABEL     OxmOfbFieldTypes = 34
	OxmOfbFieldTypes_OFPXMT_OFB_MPLS_TC        OxmOfbFieldTypes = 35
	OxmOfbFieldTypes_OFPXMT_OFB_MPLS_BOS       OxmOfbFieldTypes = 36
	OxmOfbFieldTypes_OFPXMT_OFB_PBB_ISID       OxmOfbFieldTypes = 37
	OxmOfbFieldTypes_OFPXMT_OFB_TUNNEL_ID      OxmOfbFieldTypes = 38
	OxmOfbFieldTypes_OFPXMT_OFB_IPV6_EXTHDR    OxmOfbFieldTypes = 39
)

func (OxmOfbFieldTypes) EnumDescriptor

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

func (OxmOfbFieldTypes) String

func (x OxmOfbFieldTypes) String() string

type PacketIn

type PacketIn struct {
	Id       string       `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	PacketIn *OfpPacketIn `protobuf:"bytes,2,opt,name=packet_in,json=packetIn" json:"packet_in,omitempty"`
}

func (*PacketIn) Descriptor

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

func (*PacketIn) GetId

func (m *PacketIn) GetId() string

func (*PacketIn) GetPacketIn

func (m *PacketIn) GetPacketIn() *OfpPacketIn

func (*PacketIn) ProtoMessage

func (*PacketIn) ProtoMessage()

func (*PacketIn) Reset

func (m *PacketIn) Reset()

func (*PacketIn) String

func (m *PacketIn) String() string

type PacketOut

type PacketOut struct {
	Id        string        `protobuf:"bytes,1,opt,name=id" json:"id,omitempty"`
	PacketOut *OfpPacketOut `protobuf:"bytes,2,opt,name=packet_out,json=packetOut" json:"packet_out,omitempty"`
}

func (*PacketOut) Descriptor

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

func (*PacketOut) GetId

func (m *PacketOut) GetId() string

func (*PacketOut) GetPacketOut

func (m *PacketOut) GetPacketOut() *OfpPacketOut

func (*PacketOut) ProtoMessage

func (*PacketOut) ProtoMessage()

func (*PacketOut) Reset

func (m *PacketOut) Reset()

func (*PacketOut) String

func (m *PacketOut) String() string

type RpcReturnDef

type RpcReturnDef voltha.RpcReturnDef

RpcReturnDef from public import yang_options.proto

func (*RpcReturnDef) GetListItemsName

func (m *RpcReturnDef) GetListItemsName() string

func (*RpcReturnDef) GetXmlTag

func (m *RpcReturnDef) GetXmlTag() string

func (*RpcReturnDef) ProtoMessage

func (*RpcReturnDef) ProtoMessage()

func (*RpcReturnDef) Reset

func (m *RpcReturnDef) Reset()

func (*RpcReturnDef) String

func (m *RpcReturnDef) String() string

Jump to

Keyboard shortcuts

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