openflow_13

package
Version: v0.0.0-...-0f31291 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2020 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()