blob: de63d460747c4f2322596cc6bb212a2239623b2c [file] [log] [blame]
janani bf7060cd2017-03-28 19:06:30 +05301/*
Brian O'Connora09fe5b2017-08-03 21:12:30 -07002 * Copyright 2017-present Open Networking Foundation
janani bf7060cd2017-03-28 19:06:30 +05303 *
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 */
16
17package org.onosproject.net.behaviour;
18
19import org.onosproject.net.driver.HandlerBehaviour;
20
21/**
22 * Behaviour for handling various drivers for l3vpn configurations.
Thomas Vachuskafda16b62017-08-25 17:38:27 -070023 *
Thomas Vachuska1d3a6b52017-08-25 20:45:59 -070024 * @deprecated in 1.11.0 ("Loon") release
janani bf7060cd2017-03-28 19:06:30 +053025 */
Thomas Vachuskafda16b62017-08-25 17:38:27 -070026@Deprecated
janani bd821b182017-03-30 16:34:49 +053027public interface L3VpnConfig extends HandlerBehaviour {
janani bf7060cd2017-03-28 19:06:30 +053028
29 /**
30 * Create virtual routing forwarding instance on requested device with
31 * given standard device model object data.
32 *
33 * @param objectData standard device model object data
34 * @return device model object data
35 */
36 Object createInstance(Object objectData);
37
38 /**
39 * Binds requested virtual routing forwarding instance to interface on the
40 * requested device with given standard device model object data.
41 *
42 * @param objectData standard device model object data
43 * @return device model object data
44 */
45 Object bindInterface(Object objectData);
46
47 /**
48 * Deletes virtual routing forwarding instance on requested device with
49 * given standard device model object data.
50 *
51 * @param objectData standard device model object data
52 * @return device model object data
53 */
54 Object deleteInstance(Object objectData);
55
56 /**
57 * Unbinds requested virtual routing forwarding instance to interface on the
58 * requested device with given standard device model object data.
59 *
60 * @param objectData standard device model object data
61 * @return device model object data
62 */
63 Object unbindInterface(Object objectData);
64
65 /**
66 * Creates BGP routing protocol info on requested device with given
67 * BGP info object.
68 *
69 * @param bgpInfo BGP info object
70 * @param bgpConfig BGP driver config
71 * @return device model object data
72 */
73 Object createBgpInfo(Object bgpInfo, Object bgpConfig);
74
75 /**
76 * Deletes BGP routing protocol info on requested device with given
77 * BGP info object.
78 *
79 * @param bgpInfo BGP info object
80 * @param bgpConfig BGP driver config
81 * @return device model object data
82 */
83 Object deleteBgpInfo(Object bgpInfo, Object bgpConfig);
84}