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;
26 this.mappingOverwrite = true;
29 private void initSmr() {
30 String str = System.getProperty("lisp.smr");
32 if (str.trim().equalsIgnoreCase("true")) {
39 public boolean mappingOverwriteIsSet() {
40 return mappingOverwrite;
43 public boolean smrIsSet() {