blob: 49339fd01c667192bcfbf478bc68ab83d3d72268 [file] [log] [blame]
Yixiao Chen39828a62016-09-14 14:37:06 -04001/*
2 * Copyright 2016-present Open Networking Laboratory
3 *
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
7 *
8 * 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.
15 */
16package org.onosproject.teyang.utils.topology;
17
Yixiao Chen39828a62016-09-14 14:37:06 -040018import org.onosproject.tetopology.management.api.Network;
19import org.onosproject.tetopology.management.api.Networks;
Yixiao Chen39828a62016-09-14 14:37:06 -040020
21/**
22 * Builds a sample Topology, which consists of two Nodes, one link,
23 * and each node has two termination points.
24 */
25public final class DefaultBuilder {
26
27 private static final String HUAWEI_NETWORK_NEW = "HUAWEI_NETWORK_NEW";
28 private static final String HUAWEI_ROADM_1 = "HUAWEI_ROADM_1";
29 private static final String CLIENT1_NODE1 = "CLIENT1_NODE1";
30 private static final String LINE1_NODE1 = "LINE1_NODE1";
31 private static final String NODE1_IP = "10.11.12.33";
32 private static final String HUAWEI_ROADM_2 = "HUAWEI_ROADM_2";
33 private static final String CLIENT1_NODE2 = "CLIENT1_NODE2";
34 private static final String LINE1_NODE2 = "LINE1_NODE2";
35 private static final String NODE2_IP = "10.11.12.34";
36 private static final String LINK1FORNETWORK1 = "LINK1FORNETWORK1";
37 private static final String HUAWEI_TE_TOPOLOGY_NEW = "HUAWEI_TE_TOPOLOGY_NEW";
38
39 // no instantiation
40 private DefaultBuilder() {
41 }
42
43 /**
44 * Returns a sample TeSubsystem Networks object.
45 *
46 * @return the Networks object
47 */
48 public static Networks sampleTeSubsystemNetworksBuilder() {
Henry Yu4b4a7eb2016-11-09 20:07:53 -050049 //TODO: implementation will be submitted as a separate review.
50 return null;
Yixiao Chen39828a62016-09-14 14:37:06 -040051 }
52
53 /**
54 * Returns a sample TeSubsystem Network object.
55 *
56 * @return the Network object
57 */
58 public static Network sampleTeSubsystemNetworkBuilder() {
Henry Yu4b4a7eb2016-11-09 20:07:53 -050059 //TODO: implementation will be submitted as a separate review.
60 return null;
Yixiao Chen39828a62016-09-14 14:37:06 -040061 }
62}