1 package org.opendaylight.controller.hosttracker.shell;
3 * Copyright (c) 2014 Inocybe Technologies, and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
10 import org.apache.karaf.shell.commands.Command;
11 import org.apache.karaf.shell.console.OsgiCommandSupport;
12 import org.opendaylight.controller.hosttracker.IHostTrackerShell;
14 @Command(scope = "hosttracker", name = "dumpFailedARPReqList", description="Display the dump failed ARPReqList")
15 public class DumpFailedARPReqList extends OsgiCommandSupport{
17 private IHostTrackerShell hostTracker;
20 protected Object doExecute() throws Exception {
21 System.out.print(hostTracker.dumpFailedArpReqList());
25 public void setHostTracker(IHostTrackerShell hostTracker){
26 this.hostTracker = hostTracker;