2 * Copyright (c) 2016 Cisco and/or its affiliates.
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:
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package io.fd.honeycomb.lisp.cfgattrs;
19 import net.jmob.guice.conf.core.BindConfig;
20 import net.jmob.guice.conf.core.Syntax;
23 * Class containing static configuration for Lisp module,<br>
24 * either loaded from property file or statically typed.
26 @BindConfig(value = "lisp", syntax = Syntax.JSON)
27 public class LispConfiguration {
29 //TODO HONEYCOMB-176 - this constant should be part of V3po plugin
31 * Interface index to name mapping.
33 public static final String INTERFACE_CONTEXT = "interface-context";
36 * Locator set index to name mapping.
38 public static final String LOCATOR_SET_CONTEXT = "locator-set-context";
41 * Local mappings's eid to name mapping.
43 public static final String LOCAL_MAPPING_CONTEXT = "local-mapping-context";
46 * Remote mappings's eid to name mapping.
48 public static final String REMOTE_MAPPING_CONTEXT = "remote-mapping-context";
51 * Unique prefix for naming context of locator sets.
53 public static final String LOCATOR_SET_CONTEXT_PREFIX = "locator-set-";
56 * Adjacency id to eid pair mapping
58 public static final String ADJACENCIES_IDENTIFICATION_CONTEXT = "adjacencies-identification-context";