blob: 237735e8d4c18dc7d9c51324ea83bd30f6e7c0dd [file] [log] [blame]
Jian Lic4604302020-12-25 02:24:16 +09001/*
2 * Copyright 2020-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.kubevirtnode.api;
17
18import org.onosproject.event.ListenerService;
19
20/**
21 * Service for interfacing with the inventory of KubeVirt API server config.
22 */
23public interface KubevirtApiConfigService
24 extends ListenerService<KubevirtApiConfigEvent, KubevirtApiConfigListener> {
25 String APP_ID = "org.onosproject.kubevirtnode";
26
27 /**
28 * Returns the registered API config.
29 *
30 * @return API config
31 */
32 KubevirtApiConfig apiConfig();
33}