177f650c9eb21a9ba456d39570cf32412dfe394b
[honeycomb.git] / lisp / lisp2vpp / src / main / java / io / fd / honeycomb / lisp / cfgattrs / LispConfiguration.java
1 /*
2  * Copyright (c) 2016 Cisco and/or its affiliates.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at:
7  *
8  *     http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 package io.fd.honeycomb.lisp.cfgattrs;
18
19 import net.jmob.guice.conf.core.BindConfig;
20 import net.jmob.guice.conf.core.Syntax;
21
22 /**
23  * Class containing static configuration for Lisp module,<br>
24  * either loaded from property file or statically typed.
25  */
26 @BindConfig(value = "lisp", syntax = Syntax.JSON)
27 public class LispConfiguration {
28
29     //TODO HONEYCOMB-176 - this constant should be part of V3po plugin
30     /**
31      * Interface index to name mapping.
32      */
33     public static final String INTERFACE_CONTEXT = "interface-context";
34
35     /**
36      * Locator set index to name mapping.
37      */
38     public static final String LOCATOR_SET_CONTEXT = "locator-set-context";
39
40     /**
41      * Local mappings's eid to name mapping.
42      */
43     public static final String LOCAL_MAPPING_CONTEXT = "local-mapping-context";
44
45     /**
46      * Remote mappings's eid to name mapping.
47      */
48     public static final String REMOTE_MAPPING_CONTEXT = "remote-mapping-context";
49
50     /**
51      * Unique prefix for naming context of locator sets.
52      **/
53     public static final String LOCATOR_SET_CONTEXT_PREFIX = "locator-set-";
54
55     /**
56      * Adjacency id to eid pair mapping
57      * */
58     public static final String ADJACENCIES_IDENTIFICATION_CONTEXT = "adjacencies-identification-context";
59 }