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
9 package org.opendaylight.controller.config.util.capability;
11 import com.google.common.base.Optional;
12 import java.util.Collection;
15 * Contains capability URI announced by server hello message and optionally its
16 * corresponding yang schema that can be retrieved by get-schema rpc.
18 // TODO this should be placed into API bundle for netconf
19 public interface Capability {
21 String getCapabilityUri();
23 Optional<String> getModuleNamespace();
25 Optional<String> getModuleName();
27 Optional<String> getRevision();
29 Optional<String> getCapabilitySchema();
31 Collection<String> getLocation();