multipart request message updated
[openflowjava.git] / openflow-protocol-api / src / main / yang / openflow-action.yang
index 232a14707479f954185b1068428be67947ced90c..43157f2b2aa4a4a30596a8a0b4d4006b60829cef 100644 (file)
@@ -77,98 +77,6 @@ module openflow-action {
         base oft:action;
     }
     
-    /*
-    grouping output {
-        description 
-            "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.";
-        leaf port {
-            type oft:any-port-number;
-        }
-        leaf max-length {
-            description "Maximum packet length to be send to controller.";
-            type union {
-                type uint16 {
-                    range "0..65294"; // 0..0xff0e
-                }
-                type enumeration {
-                    enum max {
-                        desription
-                            "maximum max_len value which can be used
-                            to request a specific byte length";
-                        value 65509; //0xffe5
-                    }
-                    enum no-buffer {
-                        description 
-                            "indicates that no buffering should be
-                             applied and the whole packet is to be
-                             sent to the controller";
-                        value 65535; //0xffff
-                    }
-                }
-            }
-        }
-    }
-
-    grouping group {
-        leaf group {
-            type oft:group-id; // define action group-id type;
-        }
-    }
-
-    grouping set-queue {
-        leaf queue {
-            type oft:queue-id;
-        }
-    }
-
-    grouping set-mpls-ttl {
-        leaf mpls_ttl {
-            type uint8;
-        }
-    }
-
-    grouping set-nw-ttl {
-        leaf nw_ttl {
-            type uint8;
-        }
-    }
-
-    grouping push-pbb {
-        leaf ethertype {
-            type oft:ether-type;
-        }
-    }
-
-    grouping push-mpls {
-        leaf ethertype {
-            type oft:ether-type;
-        }
-    }
-
-    grouping push-vlan {
-        leaf ethertype {
-            type oft:ether-type;
-        }
-    }
-
-    grouping pop-mpls {
-        leaf ethertype {
-            type oft:ether-type;
-        }
-    }
-
-    grouping set-field {
-        container field {
-            // TODO: figure definition
-        }
-    }
-    */
-    
     container actions-container {
         uses action-header;
     }