slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 1 | /* |
Dimitrios Mavrommatis | f0c0632 | 2017-10-31 23:49:04 -0700 | [diff] [blame] | 2 | * Copyright 2017-present Open Networking Foundation |
slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 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 | */ |
Dimitrios Mavrommatis | f0c0632 | 2017-10-31 23:49:04 -0700 | [diff] [blame] | 16 | package org.onosproject.artemis; |
slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 17 | |
| 18 | /** |
Dimitrios Mavrommatis | f0c0632 | 2017-10-31 23:49:04 -0700 | [diff] [blame] | 19 | * Interface for all the types of BGP Speakers. |
slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 20 | */ |
Dimitrios Mavrommatis | f0c0632 | 2017-10-31 23:49:04 -0700 | [diff] [blame] | 21 | public interface BgpSpeakers { |
slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 22 | |
| 23 | /** |
Dimitrios Mavrommatis | f0c0632 | 2017-10-31 23:49:04 -0700 | [diff] [blame] | 24 | * Announces the two new subprefixes on the BGP Speaker. |
slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 25 | * |
Dimitrios Mavrommatis | f0c0632 | 2017-10-31 23:49:04 -0700 | [diff] [blame] | 26 | * @param prefixes list of two prefixes |
slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 27 | */ |
Dimitrios Mavrommatis | f0c0632 | 2017-10-31 23:49:04 -0700 | [diff] [blame] | 28 | void announceSubPrefixes(String[] prefixes); |
slowr | db071b2 | 2017-07-07 11:10:25 -0700 | [diff] [blame] | 29 | } |