@@ -0,0 +1,1930 @@
+/*%0A *%0A *  * Copyright (c) 2016 Fraunhofer FOKUS%0A *  *%0A *  * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A *  * you may not use this file except in compliance with the License.%0A *  * You may obtain a copy of the License at%0A *  *%0A *  *     http://www.apache.org/licenses/LICENSE-2.0%0A *  *%0A *  * Unless required by applicable law or agreed to in writing, software%0A *  * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A *  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A *  * See the License for the specific language governing permissions and%0A *  * limitations under the License.%0A *%0A *%0A */%0A%0Apackage org.openbaton.vnfm.generic.interfaces;%0A%0Aimport org.openbaton.catalogue.mano.record.VNFCInstance;%0Aimport org.openbaton.catalogue.mano.record.VirtualNetworkFunctionRecord;%0Aimport org.openbaton.common.vnfm_sdk.VnfmHelper;%0Aimport org.openbaton.common.vnfm_sdk.exception.BadFormatException;%0A%0Aimport java.util.Set;%0A%0A/** Created by lto on 10/11/15. */%0Apublic interface EmsInterface %7B%0A%0A  void init(String scriptPath, VnfmHelper vnfmHelper);%0A%0A  Set%3CString%3E getExpectedHostnames();%0A%0A  void register(String hostname);%0A%0A  void unregister(String hostname);%0A%0A  void unregisterFromMsg(String json);%0A%0A  String getEmsHeartbeat();%0A%0A  String getEmsAutodelete();%0A%0A  String getEmsVersion();%0A%0A  void checkEmsStarted(String hostname) throws BadFormatException;%0A%0A  void checkEms(String hostname) throws BadFormatException;%0A%0A  void saveScriptOnEms(VirtualNetworkFunctionRecord virtualNetworkFunctionRecord, Object scripts)%0A      throws Exception;%0A%0A  void saveScriptOnEms(%0A      VNFCInstance vnfcInstance,%0A      Object scripts,%0A      VirtualNetworkFunctionRecord virtualNetworkFunctionRecord)%0A      throws Exception;%0A%0A  String executeActionOnEMS(%0A      String vduHostname,%0A      String command,%0A      VirtualNetworkFunctionRecord vnfr,%0A      VNFCInstance vnfcInstance)%0A      throws Exception;%0A%7D%0A

move EMS interface to generic VNFM