Bug 4910: Make starting ServiceIndex a constant 08/32308/1
authorFlorin Coras <fcoras@cisco.com>
Sat, 9 Jan 2016 02:17:01 +0000 (03:17 +0100)
committerFlorin Coras <fcoras@cisco.com>
Sat, 9 Jan 2016 02:17:01 +0000 (03:17 +0100)
Change-Id: I947d2676ab043039fde1b755cfc2d8554f5c09fe
Signed-off-by: Florin Coras <fcoras@cisco.com>
mappingservice/lisp-proto/src/main/java/org/opendaylight/lispflowmapping/lisp/util/LispAddressUtil.java

index 99fa6b567237f39f99b18e4fe255241736c42fed..6f4b6b5a25ce363052997ec2caebeecc8dc90a05 100644 (file)
@@ -71,6 +71,7 @@ import org.slf4j.LoggerFactory;
 public final class LispAddressUtil {
     protected static final Logger LOG = LoggerFactory.getLogger(LispAddressUtil.class);
 
+    public static final short STARTING_SERVICE_INDEX = 255;
     private static Pattern IP4_PATTERN = null;
     private static Pattern IP6_PATTERN = null;
     private static final String ip4Pattern = "(([01]?\\d\\d?|2[0-4]\\d|25[0-5])\\.){3}([01]?\\d\\d?|2[0-4]\\d|25[0-5])";