2 * Copyright 2016 Huawei Technologies Co., Ltd.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 package org.onap.vfc.nfvo.vnfm.svnfm.vnfmadapter.service.adapter.inf;
21 import net.sf.json.JSONObject;
24 * Resource Manager interface.</br>
27 * @version NFVO 0.5 Sep 13, 2016
29 public interface IResourceManager {
32 * Get VNFM CSAR information<br>
34 * @param csarid String
38 JSONObject getVnfmCsarInfo(String csarid);
44 * @param filePath String
48 JSONObject downloadCsar(String url,String filePath);
57 JSONObject getAllCloud(String url,String connToken);
61 * get VNFD Plan Info.<br>
64 * @param vnfdid String
68 JSONObject getVNFDPlanInfo(String url, String vnfdid, String conntoken);
71 * Upload VNF package.<br>
73 * @param vnfpkg JSONObject
74 * @param paramsMap Map<String, String>
78 JSONObject uploadVNFPackage(JSONObject vnfpkg, Map<String, String> paramsMap);