blob: 96172c9d4998c7f88ce851c1a8df48d1488d5447 [file] [log] [blame]
Hyunsun Moon7ad92202016-04-20 10:36:02 -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 */
16package org.onosproject.xosclient.api;
17
18/**
19 * Provides interactions with XOS.
20 */
21public interface XosClientService {
22
23 /**
24 * Returns XOS API access information of the client.
25 *
26 * @return xos access
27 */
28 XosAccess access();
29
30 /**
31 * Sets the XOS API access information to the client service.
32 *
33 * @return true if it is set and authenticated, otherwise false
34 */
35 boolean setAccess(XosAccess xosAccess);
36
37 /**
38 * Returns CORD VTN service API.
39 *
40 * @return cord vtn service api
41 */
42 VtnServiceApi vtnServiceApi();
43
44 /*
45 * adds more XOS service APIs below.
46 */
47}