prefix "oft";
revision "2013-07-31" {
- //description "Initial model";
+ //description "OpenFlow 1.3 - common types model";
}
typedef port-number {
}
}
-
typedef port-features {
////description "Features of ports available in datapath.";
//reference "ofp_port_features";
base oft:match-type-base;
}
- typedef match-type {
- //type identityref {
- // base oft:match-type-base;
- //}
+ typedef oxm-match-type {
+ type identityref {
+ base oft:match-type-base;
+ }
//TODO: use identityref, when generating available
- type string;
+ //type string;
}
identity instruction {
-
}
identity action {
-
}
typedef metadata {
type binary;
}
-
+
typedef table-id {
type uint32;
}
typedef group-id {
type uint32;
}
-
+
typedef ether-type {
type uint16;
}
-
+
typedef error-type {
type enumeration {
enum HELLO_FAILED {
}
}
}
-
+
typedef hello-element-type {
type enumeration {
enum VERSIONBITMAP {
}
}
}
-
+
typedef switch-config-flag {
/* Handling of IP fragments. */
type enumeration {
}
}
}
-
+
typedef flow-removed-reason {
/* flow removed */
type enumeration {
}
}
}
-
+
typedef port-reason {
/* port status */
type enumeration {
}
}
}
-
+
typedef flow-mod-command {
/* ofp_flow_mod_command */
type enumeration {
}
}
}
-
+
typedef flow-mod-flags {
/* ofp_flow_mod_flags */
type bits {
}
}
}
-
+
typedef group-mod-command {
/* ofp_group_mod_command */
type enumeration {
}
}
-
-
+
typedef group-type {
/* ofp_group_type */
type enumeration {
}
}
}
-
+
typedef multipart-request-flags {
description
"enum ofp_multipart_request_flags ";
}
}
}
-
+
typedef multipart-type {
/* ofp_multipart_type */
type enumeration {
- enum OFPGT_ALL {
- value 0;
- description "All (multicast/broadcast) group.";
- }
-
enum OFPMP_DESC {
value 0;
description "Description of this OpenFlow switch.
}
}
}
-
+
typedef queue-property {
/* ofp_queue_properties */
type enumeration {
}
}
}
-
+
typedef controller-role {
/* ofp_controller_role */
type enumeration {
}
}
}
-
+
typedef packet-in-reason {
/* ofp_packet_in_reason */
type enumeration {
}
}
}
-
+
typedef meter-mod-command {
/* ofp_meter_mod_command */
type enumeration {
enum OFPMC_DELETE {
description "Delete specified meter. ";
}
-
}
}
-
+
typedef meter-flags {
/* ofp_meter_flags */
type bits {
}
}
}
-
+
typedef meter-band-type {
/* ofp_meter_band_type */
type enumeration {
value 65535; //0xFFFF
description "Experimenter meter band. ";
}
-
}
}
-
+
typedef table-config {
/* ofp_table_config */
type bits {
}
}
}
-
+
typedef table-features-prop-type {
type enumeration {
enum OFPTFPT_INSTRUCTIONS {
}
}
}
-
+
typedef group-types {
/* ofp_group_type */
type bits {
}
}
}
-
+
typedef group-capabilities {
/* ofp_group_capabilities */
type bits {
}
}
}
-
+
}