2 * Copyright (c) 2015 Cisco Systems, Inc. and others. 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
8 package org.opendaylight.openflowplugin.impl.services;
10 import java.util.concurrent.Future;
11 import org.opendaylight.openflowplugin.api.openflow.rpc.RpcContext;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.AddFlowInput;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.AddFlowOutput;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.RemoveFlowInput;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.RemoveFlowOutput;
16 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService;
17 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.UpdateFlowInput;
18 import org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.UpdateFlowOutput;
19 import org.opendaylight.yangtools.yang.common.RpcResult;
20 import org.slf4j.Logger;
22 public class SalFlowServiceImpl extends CommonService implements SalFlowService {
24 private static final Logger LOG = org.slf4j.LoggerFactory.getLogger(SalFlowServiceImpl.class);
29 public SalFlowServiceImpl(final RpcContext rpcContext) {
37 * org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService#addFlow(org.opendaylight.
38 * yang.gen.v1.urn.opendaylight.flow.service.rev130819.AddFlowInput)
41 public Future<RpcResult<AddFlowOutput>> addFlow(final AddFlowInput input) {
49 * org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService#removeFlow(org.opendaylight
50 * .yang.gen.v1.urn.opendaylight.flow.service.rev130819.RemoveFlowInput)
53 public Future<RpcResult<RemoveFlowOutput>> removeFlow(final RemoveFlowInput input) {
54 // TODO Auto-generated method stub
62 * org.opendaylight.yang.gen.v1.urn.opendaylight.flow.service.rev130819.SalFlowService#updateFlow(org.opendaylight
63 * .yang.gen.v1.urn.opendaylight.flow.service.rev130819.UpdateFlowInput)
66 public Future<RpcResult<UpdateFlowOutput>> updateFlow(final UpdateFlowInput input) {
67 // TODO Auto-generated method stub