2 * Copyright (c) 2014 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.operations;
11 import org.opendaylight.netconf.server.api.monitoring.Capability;
12 import org.opendaylight.netconf.server.api.operations.NetconfOperationService;
13 import org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.netconf.base._1._0.rev110601.SessionIdType;
16 * Creator which enables testtool users to inject own. implementation of {@link NetconfOperationService}
18 public interface OperationsCreator {
20 * Creates instance of {@link NetconfOperationService} based on caller context.
22 * @param capabilities Model capabilities.
23 * @param sessionId Netconf SessionId for reporting
24 * @return Instance of {@link NetconfOperationService}.
26 NetconfOperationService getNetconfOperationService(Set<Capability> capabilities, SessionIdType sessionId);