2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2019 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Licensed under the Apache License, Version 2.0 (the "License");
8 * you may not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
11 * http://www.apache.org/licenses/LICENSE-2.0
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS,
15 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 * ============LICENSE_END=========================================================
21 package org.openecomp.sdc.ci.tests.datatypes;
23 import org.openecomp.sdc.be.model.Service;
25 import java.util.HashMap;
28 public class PortMirrioringConfigurationObject {
30 private ServiceReqDetails serviceReqDetails;
31 private String vmmeSourceName;
32 private String vprobeSourceName;
33 private CanvasManager canvasManager;
34 private CanvasElement serviceElementVmmeSourceName;
35 private CanvasElement serviceElementVprobeCollector;
36 private CanvasElement portMirroringConfigurationElement;
37 private Service service;
38 private Service serviceContainerVmme_Source;
39 private Service serviceContainerVprobe_Collector;
40 private Map<String, String> capPropValues = new HashMap<>();
42 public Map<String, String> getCapPropValues() {
46 public void setCapPropValues(Map<String, String> capPropValues) {
47 this.capPropValues = capPropValues;
51 public PortMirrioringConfigurationObject(ServiceReqDetails serviceReqDetails, String vmmeSourceName, String vprobeSourceName,
52 CanvasManager canvasManager, CanvasElement serviceElementVmmeSourceName,
53 CanvasElement serviceElementVprobeCollector, Service service, CanvasElement portMirroringConfigurationElement,
54 Service serviceContainerVmme_Source, Service serviceContainerVprobe_Collector) {
55 this.serviceReqDetails = serviceReqDetails;
56 this.vmmeSourceName = vmmeSourceName;
57 this.vprobeSourceName = vprobeSourceName;
58 this.canvasManager = canvasManager;
59 this.serviceElementVmmeSourceName = serviceElementVmmeSourceName;
60 this.serviceElementVprobeCollector = serviceElementVprobeCollector;
61 this.service = service;
62 this.portMirroringConfigurationElement = portMirroringConfigurationElement;
63 this.serviceContainerVmme_Source = serviceContainerVmme_Source;
64 this.serviceContainerVprobe_Collector = serviceContainerVprobe_Collector;
67 public Service getServiceContainerVmme_Source() {
68 return serviceContainerVmme_Source;
71 public Service getServiceContainerVprobe_Collector() {
72 return serviceContainerVprobe_Collector;
75 public CanvasElement getPortMirroringConfigurationElement() {
76 return portMirroringConfigurationElement;
79 public ServiceReqDetails getServiceReqDetails() {
80 return serviceReqDetails;
83 public String getVmmeSourceName() {
84 return vmmeSourceName;
87 public String getVprobeSourceName() {
88 return vprobeSourceName;
91 public CanvasManager getCanvasManager() {
95 public CanvasElement getServiceElementVmmeSourceName() {
96 return serviceElementVmmeSourceName;
99 public CanvasElement getServiceElementVprobeCollector() {
100 return serviceElementVprobeCollector;
103 public Service getService() {