Create seed code of svnfm vnfmdriver
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / java / com / nokia / vfcadaptor / cbam / inf / CbamMgmrInf.java
1 /*
2  * Copyright 2016-2017, Nokia Corporation
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  */
16
17 package com.nokia.vfcadaptor.cbam.inf;
18
19 import java.io.IOException;
20
21 import org.apache.http.client.ClientProtocolException;
22
23 import com.nokia.vfcadaptor.cbam.bo.CBAMCreateVnfRequest;
24 import com.nokia.vfcadaptor.cbam.bo.CBAMCreateVnfResponse;
25 import com.nokia.vfcadaptor.cbam.bo.CBAMHealVnfRequest;
26 import com.nokia.vfcadaptor.cbam.bo.CBAMHealVnfResponse;
27 import com.nokia.vfcadaptor.cbam.bo.CBAMInstantiateVnfRequest;
28 import com.nokia.vfcadaptor.cbam.bo.CBAMInstantiateVnfResponse;
29 import com.nokia.vfcadaptor.cbam.bo.CBAMQueryVnfResponse;
30 import com.nokia.vfcadaptor.cbam.bo.CBAMScaleVnfRequest;
31 import com.nokia.vfcadaptor.cbam.bo.CBAMScaleVnfResponse;
32 import com.nokia.vfcadaptor.cbam.bo.CBAMTerminateVnfRequest;
33 import com.nokia.vfcadaptor.cbam.bo.CBAMTerminateVnfResponse;
34
35 public interface CbamMgmrInf {
36
37         public CBAMCreateVnfResponse createVnf(CBAMCreateVnfRequest cbamRequest) throws ClientProtocolException, IOException;
38
39         public CBAMInstantiateVnfResponse instantiateVnf(CBAMInstantiateVnfRequest cbamRequest, String vnfInstanceId)
40                         throws ClientProtocolException, IOException;
41
42         public CBAMTerminateVnfResponse terminateVnf(CBAMTerminateVnfRequest cbamRequest, String vnfInstanceId)
43                         throws ClientProtocolException, IOException;
44
45         public CBAMScaleVnfResponse scaleVnf(CBAMScaleVnfRequest cbamRequest, String vnfInstanceId)
46                         throws ClientProtocolException, IOException;
47
48         public CBAMHealVnfResponse healVnf(CBAMHealVnfRequest cbamRequest, String vnfInstanceId)
49                         throws ClientProtocolException, IOException;
50
51         public CBAMQueryVnfResponse queryVnf(String vnfInstanceId) throws ClientProtocolException, IOException;
52         
53         public void deleteVnf(String vnfInstanceId) throws ClientProtocolException, IOException;
54 }