2 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
\r
4 * This program and the accompanying materials are made available under the
\r
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
\r
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
\r
9 network(xmlns: 'urn:opendaylight:controller:network') {
\r
12 'topology-id'('topId_01')
\r
17 'node-id'('nodeId_02')
\r
18 'supporting-ne'('networkId_03')
\r
19 'termination-points' {
\r
20 'termination-point' {
\r
26 'node-id'('nodeId_05')
\r
27 'supporting-ne'('networkId_06')
\r
28 'termination-points' {
\r
29 'termination-point' {
\r
35 'node-id'('nodeId_08')
\r
36 'supporting-ne'('networkId_09')
\r
37 'termination-points' {
\r
38 'termination-point' {
\r
41 'termination-point' {
\r
49 'link-id'('linkId_12')
\r
51 'source-node'('nodeId_13')
\r
52 'source-tp'('tpId_13')
\r
55 'dest-node'('nodeId_14')
\r
56 'dest-tp'('tpId_14')
\r
60 'link-id'('linkId_15')
\r
62 'source-node'('nodeId_16')
\r
63 'source-tp'('tpId_16')
\r
66 'dest-node'('nodeId_17')
\r
67 'dest-tp'('tpId_17')
\r
73 'network-elements' {
\r
75 'element-id'('ntElementId_18')
\r
78 'element-id'('ntElementId_19')
\r
84 System.err.println('data inited')
\r
86 import MyXmlGenerator
\r
88 xmlGen = new MyXmlGenerator()
\r
89 xmlGen.buildTree(data)
\r