mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 04:06:49 +02:00
Reactive forwarding app changes for karaf 4.2.1 completers
Change-Id: I29bf4a314ba72c18b8d8fc938e2d0f9015a00461
This commit is contained in:
parent
db57f1c326
commit
6c2cbe85ce
@ -4,6 +4,7 @@ COMPILE_DEPS = CORE_DEPS + KRYO + CLI + [
|
||||
]
|
||||
|
||||
osgi_jar_with_tests(
|
||||
karaf_command_packages = ["org.onosproject.fwd"],
|
||||
deps = COMPILE_DEPS,
|
||||
)
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@
|
||||
*/
|
||||
package org.onosproject.fwd;
|
||||
import org.apache.karaf.shell.api.action.Command;
|
||||
import org.apache.karaf.shell.api.action.Completion;
|
||||
import org.apache.karaf.shell.api.action.lifecycle.Service;
|
||||
import org.onosproject.cli.AbstractShellCommand;
|
||||
import org.apache.karaf.shell.api.action.Argument;
|
||||
@ -29,6 +30,7 @@ import org.onlab.packet.MacAddress;
|
||||
public class ReactiveForwardingCommand extends AbstractShellCommand {
|
||||
@Argument(index = 0, name = "mac", description = "One Mac Address",
|
||||
required = false, multiValued = false)
|
||||
@Completion(MacAddressCompleter.class)
|
||||
String mac = null;
|
||||
@Override
|
||||
protected void doExecute() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user