From 898b7f8d4131c9dae8d292bfacd99465fb52b26c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 26 Jan 2010 11:42:56 -0800 Subject: [PATCH] ofproto: Mark NXT_ACT_SET_CONFIG and NXT_ACT_GET_CONFIG obsolete. 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 | 9 ++++----- ofproto/ofproto.c | 6 ------ 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index a62f59e14..41cd7ec91 100644 --- a/include/openflow/nicira-ext.h +++ b/include/openflow/nicira-ext.h @@ -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, diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index 5af7dcf4b..10b4796f1 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -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); -- 2.43.0