blob: a8dfff23485335fde19a49df7124cdf3ac0afbaf [file] [log] [blame]
Satish Kf6d87cb2015-11-30 19:59:22 +05301/*
2 * Copyright 2014-2015 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 */
16package org.onosproject.iptopology.api.device;
17
18import org.onosproject.iptopology.api.DeviceTed;
19import org.onosproject.iptopology.api.IpDevice;
20import org.onosproject.iptopology.api.IpDeviceIdentifier;
21import org.onosproject.net.Description;
22
23
24import java.net.URI;
25
26/**
27 * Carrier of immutable information about an ip device.
28 */
29public interface IpDeviceDescription extends Description {
30
31 /**
32 * Protocol/provider specific URI that can be used to encode the identity
33 * information required to communicate with the ip device externally, e.g.
34 * datapath ID.
35 *
36 * @return provider specific URI for the ip device
37 */
Jonathan Hart51539b82015-10-29 09:53:04 -070038 URI deviceUri();
Satish Kf6d87cb2015-11-30 19:59:22 +053039
40 /**
41 * Returns the type of the ip device. For ex: Psuedo or actual
42 *
43 * @return type of the device
44 */
45 IpDevice.Type type();
46
47 /**
48 * Returns the device identifier details.
49 *
50 * @return identifier of the device
51 */
52 IpDeviceIdentifier deviceIdentifier();
53
54 /**
55 * Returns the traffic engineering parameters of the device.
56 *
57 * @return traffic engineering parameters of the device
58 */
59 DeviceTed deviceTed();
60
61}