2 * Copyright (c) 2017 Cisco Systems. 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
9 package org.opendaylight.groupbasedpolicy.renderer.vpp.commands.lisp.dom;
11 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev170911.Lisp;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev170911.LispBuilder;
14 public class LispDom implements CommandModel {
15 private boolean enabled;
17 public boolean isEnabled() {
21 public void setEnabled(boolean enabled) {
22 this.enabled = enabled;
27 public Lisp getSALObject() {
28 return new LispBuilder().setEnable(enabled).build();
31 @Override public String toString() {
32 return "Lisp{" + "enabled=" + enabled + '}';