2 * Copyright (C) 2018 CMCC, Inc. and others. All rights reserved.
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.
16 package org.onap.usecaseui.server.service.sotn;
18 import java.util.List;
20 import javax.servlet.http.HttpServletRequest;
22 import org.onap.usecaseui.server.bean.sotn.Pinterface;
24 public interface SOTNService {
26 public String getNetWorkResources();
28 public List<Pinterface> getPinterfaceByPnfName(String pnfName);
30 public String getLogicalLinks();
32 public String getSpecificLogicalLink(String linkName);
34 public String getHostUrl(String aaiId);
36 public String getExtAaiId(String aaiId);
38 public String createHostUrl(HttpServletRequest request,String aaiId);
40 public String createTopoNetwork(HttpServletRequest request,String networkId);
42 public String createTerminationPoint(HttpServletRequest request,String pnfName,String tpId);
44 public String createLink(HttpServletRequest request,String linkName);
46 public String createPnf(HttpServletRequest request,String pnfName);
48 public String deleteLink(String linkName,String resourceVersion);
50 public String getServiceInstances(String customerId,String serviceType);
52 public String serviceInstanceInfo(String customerId,String serviceType,String serviceInstanceId);
54 public String getPnfInfo(String pnfName);
56 public String getAllottedResources(String customerId,String serviceType,String serviceId);
58 public String getConnectivityInfo(String connectivityId);
60 public String getVpnBindingInfo(String vpnId);
62 public String getNetworkRouteInfo(String routeId);
64 public String getPinterfaceByVpnId(String vpnId);
66 public String deleteExtNetwork(String networkId,String resourceVersion);