blob: 276da1256bc5ebae5606ac8cada92d0d50a1676c [file] [log] [blame]
Luca Prete83bac342016-12-06 19:42:05 -08001/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2015-present Open Networking Foundation
Luca Prete83bac342016-12-06 19:42:05 -08003 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16package org.onosproject.sdnip.cli.completer;
17
18import com.google.common.collect.Lists;
Ray Milkey4efc66f2018-10-10 13:37:42 -070019import org.apache.karaf.shell.api.action.lifecycle.Service;
Luca Prete83bac342016-12-06 19:42:05 -080020import org.onosproject.cli.AbstractChoicesCompleter;
21
22import java.util.List;
23
24/**
25 * SDN-IP command completer.
26 */
Ray Milkey4efc66f2018-10-10 13:37:42 -070027@Service
Luca Prete83bac342016-12-06 19:42:05 -080028public class SdnIpCommandCompleter extends AbstractChoicesCompleter {
29
30 @Override
31 public List<String> choices() {
32 return Lists.newArrayList("set-encap");
33 }
34}