blob: 1828beef6b546eb034c2f530b4c1d97e5d3d5661 [file] [log] [blame]
Jian Li38e4d942018-07-03 22:19:16 +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.openstackvtap.api;
17
Jian Li38e4d942018-07-03 22:19:16 +090018/**
Jimo Jung14e87bf2018-09-03 16:28:13 +090019 * Service for administering the inventory of openstack vtap.
Jian Li38e4d942018-07-03 22:19:16 +090020 */
21public interface OpenstackVtapAdminService extends OpenstackVtapService {
22
23 /**
Jimo Jung14e87bf2018-09-03 16:28:13 +090024 * Initializes the flow rules and group tables, tunneling interface for all completed compute nodes.
Jian Li38e4d942018-07-03 22:19:16 +090025 */
Jimo Jung14e87bf2018-09-03 16:28:13 +090026 void initVtap();
Jian Li38e4d942018-07-03 22:19:16 +090027
28 /**
Jimo Jung14e87bf2018-09-03 16:28:13 +090029 * Clears the flow rules and group tables, tunneling interfaces for all compute nodes.
Jian Li38e4d942018-07-03 22:19:16 +090030 */
Jimo Jung14e87bf2018-09-03 16:28:13 +090031 void clearVtap();
Jian Li38e4d942018-07-03 22:19:16 +090032
33 /**
Jimo Jung14e87bf2018-09-03 16:28:13 +090034 * Purges all flow rules and group tables, tunneling interface for openstack vtap.
Jian Li38e4d942018-07-03 22:19:16 +090035 */
Jimo Jung14e87bf2018-09-03 16:28:13 +090036 void purgeVtap();
Jian Li38e4d942018-07-03 22:19:16 +090037
Jian Li38e4d942018-07-03 22:19:16 +090038}