blob: 221c5b1f2035020ccfdce4d7b221128308c855c4 [file] [log] [blame]
Akihiro Yamanouchi38a38672016-07-20 20:05:57 +09001/*
2 * Copyright 2016-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.onosproject.drivers.fujitsu.behaviour;
17
18import com.google.common.annotations.Beta;
19import org.onosproject.net.driver.HandlerBehaviour;
20
21/**
22 * Device behaviour to upgrade ONUs to new firmware.
23 */
24@Beta
25public interface VoltFwdlConfig extends HandlerBehaviour {
26
27 /**
28 * Upgrade firmware manually in an ONU in the device.
29 *
30 * @param target input data in string
31 */
32 String upgradeFirmwareOndemand(String target);
33
34}