Jian Li
Committed by Thomas Vachuska

Remove solicit map request message class and interface

This control message is a special type of map request message,
therefore, it can be merged with LispMapRequest class.

Change-Id: I9549a18277411947cf4d485f62f92d8259575c94
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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.
*/
package org.onosproject.lisp.msg.protocols;
import io.netty.buffer.ByteBuf;
/**
* Default LISP solicit map request message class.
*/
public class DefaultLispSolicitMapRequest implements LispSolicitMapRequest {
@Override
public LispType getType() {
return null;
}
@Override
public void writeTo(ByteBuf byteBuf) {
}
@Override
public Builder createBuilder() {
return null;
}
}
/*
* Copyright 2016-present Open Networking Laboratory
*
* 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.
*/
package org.onosproject.lisp.msg.protocols;
/**
* LISP solicit map request message interface.
*/
public interface LispSolicitMapRequest extends LispMessage {
}
......@@ -25,7 +25,5 @@ public enum LispType {
LISP_MAP_REGISTER, // LISP Map-Register Message
LISP_MAP_NOTIFY, // LISP Map-Notify Message
LISP_MAP_REQUEST, // LISP Map-Request Message
LISP_MAP_REPLY, // LISP Map-Reply Message
LISP_MAP_REPLY_ACTION, // LISP Map-Reply-Action Message
LISP_SOLICIT_MAP_REQUEST; // LISP Solicit-Map-Request Message
LISP_MAP_REPLY // LISP Map-Reply Message
}
......