blob: d42d3374b98267a51f7fa63cd4a59b08501ba33d [file] [log] [blame]
daniel parkb5817102018-02-15 00:18:51 +09001/*
2 * Copyright 2018-present Open Networking Foundation
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.openstacknetworking.api;
17
18import org.onlab.packet.IpAddress;
19import org.onlab.packet.MacAddress;
20import org.onlab.packet.VlanId;
21
22/**
23 * Representation of external peer router.
24 */
25public interface ExternalPeerRouter {
26 /**
27 * Returns external peer router ip address.
28 *
29 * @return ip address.
30 */
31 IpAddress externalPeerRouterIp();
32
33 /**
34 * Returns external peer router mac address.
35 *
36 * @return mac address
37 */
38 MacAddress externalPeerRouterMac();
39
40 /**
41 * Returns external peer router vlan id.
42 *
43 * @return vlan id
44 */
45 VlanId externalPeerRouterVlanId();
46}