blob: 9b333bcc7f4d495e82208aaaa98c78baf9307443 [file] [log] [blame]
slowrdb071b22017-07-07 11:10:25 -07001/*
Dimitrios Mavrommatisf0c06322017-10-31 23:49:04 -07002 * Copyright 2017-present Open Networking Foundation
slowrdb071b22017-07-07 11:10:25 -07003 *
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 */
Dimitrios Mavrommatisf0c06322017-10-31 23:49:04 -070016package org.onosproject.artemis;
slowrdb071b22017-07-07 11:10:25 -070017
18/**
Dimitrios Mavrommatisf0c06322017-10-31 23:49:04 -070019 * Interface for all the types of BGP Speakers.
slowrdb071b22017-07-07 11:10:25 -070020 */
Dimitrios Mavrommatisf0c06322017-10-31 23:49:04 -070021public interface BgpSpeakers {
slowrdb071b22017-07-07 11:10:25 -070022
23 /**
Dimitrios Mavrommatisf0c06322017-10-31 23:49:04 -070024 * Announces the two new subprefixes on the BGP Speaker.
slowrdb071b22017-07-07 11:10:25 -070025 *
Dimitrios Mavrommatisf0c06322017-10-31 23:49:04 -070026 * @param prefixes list of two prefixes
slowrdb071b22017-07-07 11:10:25 -070027 */
Dimitrios Mavrommatisf0c06322017-10-31 23:49:04 -070028 void announceSubPrefixes(String[] prefixes);
slowrdb071b22017-07-07 11:10:25 -070029}