5.3.1.1.4. vlcp.protocol.openflow.defs.openflow10

Note

This document is generated from the source file.

View Source on GitHub

/*
  • Copyright (c) 2008, 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
  • Licensed under the Apache License, Version 2.0 (the “License”);
  • you may not use this file except in compliance with the License.
  • You may obtain a copy of the License at:
  • http://www.apache.org/licenses/LICENSE-2.0
  • Unless required by applicable law or agreed to in writing, software
  • distributed under the License is distributed on an “AS IS” BASIS,
  • WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  • See the License for the specific language governing permissions and
  • limitations under the License.

*/

/* OpenFlow: protocol between controller and datapath. */ Created on 2015/7/13

author:hubo
vlcp.protocol.openflow.defs.openflow10.OFP_VLAN_NONE = 65535

/* Fields to match against flows */

vlcp.protocol.openflow.defs.openflow10.nicira_header = nicira_header

/* Header for Nicira-defined actions. */

vlcp.protocol.openflow.defs.openflow10.ofp_action_dl_addr = ofp_action_dl_addr

/* Action structure for OFPAT10_SET_NW_SRC/DST and OFPAT11_SET_NW_SRC/DST. */

vlcp.protocol.openflow.defs.openflow10.ofp_action_enqueue = ofp_action_enqueue

/* Send packet (controller -> datapath). */

vlcp.protocol.openflow.defs.openflow10.ofp_action_nw_addr = ofp_action_nw_addr

/* Action structure for OFPAT10_SET_NW_TOS and OFPAT11_SET_NW_TOS. */

vlcp.protocol.openflow.defs.openflow10.ofp_action_nw_tos = ofp_action_nw_tos

/* Action structure for OFPAT10_SET_TP_SRC/DST and OFPAT11_SET_TP_SRC/DST. */

vlcp.protocol.openflow.defs.openflow10.ofp_action_output = ofp_action_output

/* Action structure for OFPAT10_SET_VLAN_VID and OFPAT11_SET_VLAN_VID. */

vlcp.protocol.openflow.defs.openflow10.ofp_action_tp_port = ofp_action_tp_port

/* OpenFlow 1.0 specific features of physical ports available in a datapath. */

vlcp.protocol.openflow.defs.openflow10.ofp_action_vendor = ofp_action_vendor
/* Action structure for OFPAT10_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. */
vlcp.protocol.openflow.defs.openflow10.ofp_action_vlan_pcp = ofp_action_vlan_pcp

/* Action structure for OFPAT10_SET_DL_SRC/DST and OFPAT11_SET_DL_SRC/DST. */

vlcp.protocol.openflow.defs.openflow10.ofp_action_vlan_vid = ofp_action_vlan_vid

/* Action structure for OFPAT10_SET_VLAN_PCP and OFPAT11_SET_VLAN_PCP. */

vlcp.protocol.openflow.defs.openflow10.ofp_aggregate_stats_reply = ofp_aggregate_stats_reply

/* Body of reply to OFPST_TABLE request. */

vlcp.protocol.openflow.defs.openflow10.ofp_aggregate_stats_request = ofp_aggregate_stats_request

/* Body of reply to OFPST_AGGREGATE request. */

vlcp.protocol.openflow.defs.openflow10.ofp_capabilities = ofp_capabilities
/* OpenFlow 1.0 specific current state of the physical port. These are not
  • configurable from the controller.

*/

/* The OFPPS10_STP_* bits have no effect on switch operation. The
  • controller must adjust OFPPC_NO_RECV, OFPPC_NO_FWD, and
  • OFPPC_NO_PACKET_IN appropriately to fully implement an 802.1D spanning
  • tree. */
vlcp.protocol.openflow.defs.openflow10.ofp_desc_stats_reply = ofp_desc_stats_reply

/* Stats request of type OFPST_AGGREGATE or OFPST_FLOW. */

vlcp.protocol.openflow.defs.openflow10.ofp_error_type = ofp_error_type

/* ofp_error_msg ‘code’ values for OFPET_FLOW_MOD_FAILED. ‘data’ contains * at least the first 64 bytes of the failed request. */

vlcp.protocol.openflow.defs.openflow10.ofp_flow_mod = ofp_flow_mod

/* Flow removed (datapath -> controller). */

vlcp.protocol.openflow.defs.openflow10.ofp_flow_mod_failed_code = ofp_flow_mod_failed_code

/* ofp_error_msg ‘code’ values for OFPET_PORT_MOD_FAILED. ‘data’ contains * at least the first 64 bytes of the failed request. */

vlcp.protocol.openflow.defs.openflow10.ofp_flow_mod_flags = ofp_flow_mod_flags

/* Flow setup and teardown (controller -> datapath). */

vlcp.protocol.openflow.defs.openflow10.ofp_flow_stats_request = ofp_flow_stats_request

/* Body of reply to OFPST_FLOW request. */

vlcp.protocol.openflow.defs.openflow10.ofp_packet_in = ofp_packet_in

/* OFPAT10_ENQUEUE action struct: send packets to given queue on port. */

vlcp.protocol.openflow.defs.openflow10.ofp_packet_out = ofp_packet_out

/* Flow wildcards. */

vlcp.protocol.openflow.defs.openflow10.ofp_packet_queue = ofp_packet_queue

/* Query for port queue configuration. */

vlcp.protocol.openflow.defs.openflow10.ofp_port_features = ofp_port_features

/* Description of a physical port */

vlcp.protocol.openflow.defs.openflow10.ofp_port_mod_failed_code = ofp_port_mod_failed_code

/* ofp_error msg ‘code’ values for OFPET_QUEUE_OP_FAILED. ‘data’ contains * at least the first 64 bytes of the failed request */

vlcp.protocol.openflow.defs.openflow10.ofp_port_stats_reply = ofp_port_stats_reply

/* All ones is used to indicate all queues in a port (for stats retrieval). */

vlcp.protocol.openflow.defs.openflow10.ofp_port_stats_request = ofp_port_stats_request
/* Body of reply to OFPST_PORT request. If a counter is unsupported, set
  • the field to all ones. */
vlcp.protocol.openflow.defs.openflow10.ofp_port_status = ofp_port_status

/* Statistics request or reply message. */

vlcp.protocol.openflow.defs.openflow10.ofp_queue = ofp_queue

/* Body for stats request of type OFPST_QUEUE. */

vlcp.protocol.openflow.defs.openflow10.ofp_queue_get_config_reply = ofp_queue_get_config_reply

/* Packet received on port (datapath -> controller). */

vlcp.protocol.openflow.defs.openflow10.ofp_queue_get_config_request = ofp_queue_get_config_request

/* Queue configuration for a given port. */

vlcp.protocol.openflow.defs.openflow10.ofp_queue_stats_reply = ofp_queue_stats_reply

/* Vendor extension stats message. */

vlcp.protocol.openflow.defs.openflow10.ofp_queue_stats_request = ofp_queue_stats_request
/* Body for stats reply of type OFPST_QUEUE consists of an array of this
  • structure type. */
vlcp.protocol.openflow.defs.openflow10.ofp_switch_config = ofp_switch_config
/* OpenFlow 1.0 specific capabilities supported by the datapath (struct
  • ofp_switch_features, member capabilities). */
vlcp.protocol.openflow.defs.openflow10.ofp_switch_features = ofp_switch_features

/* Modify behavior of the physical port */

vlcp.protocol.openflow.defs.openflow10.ofp_table = ofp_table

/* Body for ofp_stats_request of type OFPST_AGGREGATE. */

vlcp.protocol.openflow.defs.openflow10.ofp_table_stats_reply = ofp_table_stats_reply

/* Stats request of type OFPST_PORT. */