ofproto: Mark NXT_ACT_SET_CONFIG and NXT_ACT_GET_CONFIG obsolete.
authorBen Pfaff <blp@nicira.com>
Tue, 26 Jan 2010 19:42:56 +0000 (11:42 -0800)
committerBen Pfaff <blp@nicira.com>
Mon, 1 Feb 2010 18:05:44 +0000 (10:05 -0800)
These Nicira-specific requests have not been implemented for some time.
In case we need them later we can always reimplement them.

include/openflow/nicira-ext.h
ofproto/ofproto.c

index a62f59e..41cd7ec 100644 (file)
@@ -37,12 +37,11 @@ enum nicira_type {
      * pairs in the form "key=value\n". */
     NXT_STATUS_REPLY,
 
-    /* Configure an action.  Most actions do not require configuration
-     * beyond that supplied in the actual action call. */
-    NXT_ACT_SET_CONFIG,
+    /* No longer used. */
+    NXT_ACT_SET_CONFIG__OBSOLETE,
 
-    /* Get configuration of action. */
-    NXT_ACT_GET_CONFIG,
+    /* No longer used. */
+    NXT_ACT_GET_CONFIG__OBSOLETE,
 
     /* No longer used. */
     NXT_COMMAND_REQUEST__OBSOLETE,
index 5af7dcf..10b4796 100644 (file)
@@ -2929,12 +2929,6 @@ handle_vendor(struct ofproto *p, struct ofconn *ofconn, void *msg)
     case NXT_STATUS_REQUEST:
         return switch_status_handle_request(p->switch_status, ofconn->rconn,
                                             msg);
-
-    case NXT_ACT_SET_CONFIG:
-        return ofp_mkerr(OFPET_BAD_REQUEST, OFPBRC_BAD_SUBTYPE); /* XXX */
-
-    case NXT_ACT_GET_CONFIG:
-        return ofp_mkerr(OFPET_BAD_REQUEST, OFPBRC_BAD_SUBTYPE); /* XXX */
     }
 
     return ofp_mkerr(OFPET_BAD_REQUEST, OFPBRC_BAD_SUBTYPE);