2  * ============LICENSE_START=======================================================
 
   4  * ================================================================================
 
   5  * Copyright (C) 2017 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.mso.adapters.nwrest;
 
  24 import java.util.List;
 
  26 public class ContrailNetwork {
 
  27         private String shared   = "false";
 
  28         private String external = "false";
 
  29         private List<String> routeTargets;
 
  30         private List<String> policyFqdns;
 
  31         private List<String> routeTableFqdns;
 
  33         public ContrailNetwork() {
 
  37         public ContrailNetwork(String shared, String external, List<String> routeTargets, List<String> policyFqdns, List<String> routeTableFqdns) {
 
  40                 this.external = external;
 
  41                 this.routeTargets = routeTargets;
 
  42                 this.policyFqdns = policyFqdns;
 
  43                 this.routeTableFqdns = routeTableFqdns;
 
  46         public String getShared() {
 
  50         public void setShared(String shared) {
 
  54         public String getExternal() {
 
  58         public void setExternal(String external) {
 
  59                 this.external = external;
 
  62         public List<String> getRouteTargets() {
 
  66         public void setRouteTargets(List<String> routeTargets) {
 
  67                 this.routeTargets = routeTargets;
 
  70         public List<String> getPolicyFqdns() {
 
  74         public void setPolicyFqdns(List<String> policyFqdns) {
 
  75                 this.policyFqdns = policyFqdns;
 
  78         public List<String> getRouteTableFqdns() {
 
  79                 return routeTableFqdns;
 
  82         public void setRouteTableFqdns(List<String> routeTableFqdns) {
 
  83                 this.routeTableFqdns = routeTableFqdns;