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.util.VppIidFactory;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.lisp.rev171013.lisp.feature.data.grouping.LispFeatureData;
13 import org.opendaylight.yangtools.yang.binding.InstanceIdentifier;
14 import org.slf4j.Logger;
15 import org.slf4j.LoggerFactory;
17 public class DeleteLispFeatureDataCommand extends AbstractLispCommand<LispFeatureData> {
18 private static final Logger LOG = LoggerFactory.getLogger(DeleteLispFeatureDataCommand.class);
21 public InstanceIdentifier<LispFeatureData> getIid() {
22 return VppIidFactory.getLispFeatureDataIid();
26 public LispFeatureData getData() {
27 LOG.debug("Delete commands should not invoke getData()");
31 @Override public String toString() {
32 return "Operation: " + getOperation() + ", Iid: " + this.getIid() + ", " + "DeleteLispFeatureDataCommand{}";