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
8 package org.opendaylight.netconf.test.tool.monitoring;
11 import org.opendaylight.controller.config.yang.netconf.mdsal.monitoring.GetSchema;
12 import org.opendaylight.netconf.api.monitoring.NetconfMonitoringService;
13 import org.opendaylight.netconf.mapping.api.NetconfOperation;
14 import org.opendaylight.netconf.mapping.api.NetconfOperationService;
16 public class NetconfMonitoringOperationService implements NetconfOperationService {
17 private final NetconfMonitoringService monitor;
19 public NetconfMonitoringOperationService(final NetconfMonitoringService monitor) {
20 this.monitor = monitor;
24 public Set<NetconfOperation> getNetconfOperations() {
25 return Set.of(new Get(monitor), new GetSchema("testtool-session", monitor));