Fix xpath building for data nodes addressing YANG augmentation
[cps.git] / cps-service / src / test / resources / ietf / data / ietf-network-topology-sample-rfc8345.json
1 {
2      "ietf-network:networks": {
3        "network": [
4          {
5            "network-types": {
6            },
7            "network-id": "otn-hc",
8            "node": [
9              {
10                "node-id": "D1",
11                "termination-point": [
12                  {
13                    "tp-id": "1-0-1"
14                  },
15                  {
16                    "tp-id": "1-2-1"
17                  },
18                  {
19                    "tp-id": "1-3-1"
20                  }
21                ]
22              },
23              {
24                "node-id": "D2",
25                "termination-point": [
26                  {
27                    "tp-id": "2-0-1"
28                  },
29                  {
30                    "tp-id": "2-1-1"
31                  },
32                  {
33                    "tp-id": "2-3-1"
34                  }
35                ]
36              },
37              {
38                "node-id": "D3",
39                "termination-point": [
40                  {
41                    "tp-id": "3-1-1"
42                  },
43                  {
44                    "tp-id": "3-2-1"
45                  }
46                ]
47              }
48            ],
49            "ietf-network-topology:link": [
50              {
51                "link-id": "D1,1-2-1,D2,2-1-1",
52                "source": {
53                  "source-node": "D1",
54                  "source-tp": "1-2-1"
55                },
56                "destination": {
57                  "dest-node": "D2",
58                  "dest-tp": "2-1-1"
59                }
60              },
61              {
62                "link-id": "D2,2-1-1,D1,1-2-1",
63                "source": {
64                  "source-node": "D2",
65                  "source-tp": "2-1-1"
66                },
67                "destination": {
68                  "dest-node": "D1",
69                  "dest-tp": "1-2-1"
70                }
71              },
72              {
73                "link-id": "D1,1-3-1,D3,3-1-1",
74                "source": {
75                  "source-node": "D1",
76                  "source-tp": "1-3-1"
77                },
78                "destination": {
79                  "dest-node": "D3",
80                  "dest-tp": "3-1-1"
81                }
82              },
83              {
84                "link-id": "D3,3-1-1,D1,1-3-1",
85                "source": {
86                  "source-node": "D3",
87                  "source-tp": "3-1-1"
88                },
89                "destination": {
90                  "dest-node": "D1",
91                  "dest-tp": "1-3-1"
92                }
93              },
94              {
95                "link-id": "D2,2-3-1,D3,3-2-1",
96                "source": {
97                  "source-node": "D2",
98                  "source-tp": "2-3-1"
99                },
100                "destination": {
101                  "dest-node": "D3",
102                  "dest-tp": "3-2-1"
103                }
104              },
105              {
106                "link-id": "D3,3-2-1,D2,2-3-1",
107                "source": {
108                  "source-node": "D3",
109                  "source-tp": "3-2-1"
110                },
111                "destination": {
112                  "dest-node": "D2",
113                  "dest-tp": "2-3-1"
114                }
115              }
116            ]
117          }
118        ]
119      }
120    }