2 * Copyright (c) 2014 Cisco Systems, Inc. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.lispflowmapping.implementation.config;
10 public class ConfigIni {
11 private boolean mappingOverwrite;
15 initMappingOverwrite();
19 private void initMappingOverwrite() {
20 String str = System.getProperty("lisp.mappingOverwrite");
22 if (str.trim().equalsIgnoreCase("false")) {
23 this.mappingOverwrite = false;
27 this.mappingOverwrite = true;
30 private void initSmr() {
31 String str = System.getProperty("lisp.smr");
33 if (str.trim().equalsIgnoreCase("true")) {
41 public boolean mappingOverwriteIsSet() {
42 return mappingOverwrite;
45 public boolean smrIsSet() {