blob: e94215dc6628e530799aded840f62170fe0cb0d8 [file] [log] [blame]
Yoonseon Han32aae2e2016-10-11 16:46:04 -07001/*
2 * Copyright 2016-present Open Networking Laboratory
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17package org.onosproject.incubator.net.virtual.provider;
18
19/**
20 * Abstraction of a provider of information about virtual network environment.
21 * The role of virtual providers is to translate virtual objects into physical
22 * objects, vice versa.
23 */
24public interface VirtualProvider {
25
yoonseone92748c2016-12-13 16:37:51 -080026 /**
27 * Returns the device URI scheme to which this provider is bound.
28 *
29 * @return device URI scheme
30 */
31 String scheme();
32
33 /**
34 * Returns the device URI scheme specific id portion.
35 *
36 * @return id
37 */
38 String id();
Yoonseon Han32aae2e2016-10-11 16:46:04 -070039}