2 * Copyright (c) 2013 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
9 package org.opendaylight.netconf.mdsal.connector;
12 import org.opendaylight.controller.md.sal.dom.api.DOMDataBroker;
13 import org.opendaylight.controller.md.sal.dom.api.DOMRpcService;
14 import org.opendaylight.netconf.mapping.api.NetconfOperation;
15 import org.opendaylight.netconf.mapping.api.NetconfOperationService;
17 public class MdsalNetconfOperationService implements NetconfOperationService {
19 private final OperationProvider operationProvider;
21 public MdsalNetconfOperationService(final CurrentSchemaContext schemaContext,
22 final String netconfSessionIdForReporting,
23 final DOMDataBroker dataBroker, final DOMRpcService rpcService) {
24 this.operationProvider = new OperationProvider(netconfSessionIdForReporting, schemaContext, dataBroker,
34 public Set<NetconfOperation> getNetconfOperations() {
35 return operationProvider.getOperations();