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
diff --git a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispSolicitMapRequest.java b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispSolicitMapRequest.java
deleted file mode 100644
index 1346fa6..0000000
--- a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/DefaultLispSolicitMapRequest.java
+++ /dev/null
@@ -1,38 +0,0 @@
-/*
- * 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;
- }
-}
diff --git a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/LispSolicitMapRequest.java b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/LispSolicitMapRequest.java
deleted file mode 100644
index fda92e2..0000000
--- a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/LispSolicitMapRequest.java
+++ /dev/null
@@ -1,22 +0,0 @@
-/*
- * 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 {
-}
diff --git a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/LispType.java b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/LispType.java
index 9ffefcf..e4d005b 100644
--- a/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/LispType.java
+++ b/protocols/lisp/msg/src/main/java/org/onosproject/lisp/msg/protocols/LispType.java
@@ -25,7 +25,5 @@
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
}