blob: 2ef5cd57bc0f7f4f5d43afc0f6fa78f3a46b6847 [file] [log] [blame]
Thomas Vachuska781d18b2014-10-27 10:31:25 -07001/*
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07002 * Copyright 2014 Open Networking Laboratory
Thomas Vachuska781d18b2014-10-27 10:31:25 -07003 *
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07004 * 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
Thomas Vachuska781d18b2014-10-27 10:31:25 -07007 *
Thomas Vachuska4f1a60c2014-10-28 13:39:07 -07008 * http://www.apache.org/licenses/LICENSE-2.0
9 *
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.
Thomas Vachuska781d18b2014-10-27 10:31:25 -070015 */
Brian O'Connorabafb502014-12-02 22:26:20 -080016package org.onosproject.optical.cfg;
weibit38c42ed2014-10-09 19:03:54 -070017
18import java.util.ArrayList;
19import java.util.List;
20
21import org.slf4j.Logger;
22import org.slf4j.LoggerFactory;
23
24/**
25 * Public class corresponding to JSON described data model.
Sho SHIMIZUbe63b232015-06-30 10:57:58 -070026 *
27 * @deprecated in Cardinal Release
weibit38c42ed2014-10-09 19:03:54 -070028 */
Thomas Vachuska112c7032014-11-16 11:05:14 -080029@Deprecated
weibit38c42ed2014-10-09 19:03:54 -070030public class OpticalNetworkConfig {
31 protected static final Logger log = LoggerFactory.getLogger(OpticalNetworkConfig.class);
32
33 private List<OpticalSwitchDescription> opticalSwitches;
34 private List<OpticalLinkDescription> opticalLinks;
35
36 public OpticalNetworkConfig() {
Sho SHIMIZU6cfc02d2015-09-11 11:19:11 -070037 opticalSwitches = new ArrayList<>();
38 opticalLinks = new ArrayList<>();
weibit38c42ed2014-10-09 19:03:54 -070039 }
40
41 public List<OpticalSwitchDescription> getOpticalSwitches() {
42 return opticalSwitches;
43 }
44
45 public void setOpticalSwitches(List<OpticalSwitchDescription> switches) {
46 this.opticalSwitches = switches;
47 }
48
49 public List<OpticalLinkDescription> getOpticalLinks() {
50 return opticalLinks;
51 }
52
53 public void setOpticalLinks(List<OpticalLinkDescription> links) {
54 this.opticalLinks = links;
55 }
56
57}
58