blob: 7dc1eb2447e416f0f388acfe412863d1304b7d92 [file] [log] [blame]
Hyunsun Moon2c3f0ee2017-04-06 16:47:21 +09001/*
2 * Copyright 2017-present Open Networking Laboratory
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.opencord.cordvtn.api.node;
17
18/**
19 * Service providing cordvtn node bootstrapping.
20 */
21public interface CordVtnNodeHandler {
22
23 /**
24 * Processes the init state node.
25 *
26 * @param node cordvtn node
27 */
28 void processInitState(CordVtnNode node);
29
30 /**
31 * Processes the device created state node.
32 *
33 * @param node cordvtn node
34 */
35 void processDeviceCreatedState(CordVtnNode node);
36
37 /**
38 * Processes the port created state node.
39 *
40 * @param node cordvtn node
41 */
42 void processPortCreatedState(CordVtnNode node);
43
44 /**
45 * Processes the complete state node.
46 *
47 * @param node cordvtn node
48 */
49 void processCompleteState(CordVtnNode node);
50}