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;
11 import org.opendaylight.groupbasedpolicy.renderer.vpp.commands.lisp.dom.LispDom;
12 import org.opendaylight.groupbasedpolicy.renderer.vpp.util.VppIidFactory;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev170808.Lisp;
14 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
17 * Created by Shakib Ahmed on 3/16/17.
19 public class ConfigureLispStatusCommand extends AbstractLispCommand<Lisp> {
21 private LispDom lispDom;
23 public ConfigureLispStatusCommand(LispDom data) {
28 public InstanceIdentifier<Lisp> getIid() {
29 return VppIidFactory.getLispStateIid();
33 public Lisp getData() {
34 return lispDom.getSALObject();
38 public String toString() {
39 return "state: " + lispDom.isEnabled();