summaryrefslogtreecommitdiffstats
path: root/netconf/restconf/restconf-nb-bierman02/src/test/resources/full-versions/testData.xml
blob: bdd9c101ac6d4d58183ec5e3239b02303c8a1921 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
<rpc-reply
    xmlns="urn:ietf:params:xml:ns:netconf:base:1.0"
    message-id="101">
  <data>

    <interfaces
        xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces"
        xmlns:vlan="http://example.com/vlan">

      <interface>
        <name>eth0</name>
        <type>ethernetCsmacd</type>
        <enabled>false</enabled>
      </interface>

      <interface>
        <name>eth1</name>
        <type>ethernetCsmacd</type>
        <enabled>true</enabled>
        <vlan:vlan-tagging>true</vlan:vlan-tagging>
      </interface>

      <interface>
        <name>eth1.10</name>
        <type>l2vlan</type>
        <enabled>true</enabled>
        <vlan:base-interface>eth1</vlan:base-interface>
        <vlan:vlan-id>10</vlan:vlan-id>
      </interface>

      <interface>
        <name>lo1</name>
        <type>softwareLoopback</type>
        <enabled>true</enabled>
      </interface>

    </interfaces>

    <interfaces-state
        xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">

      <interface>
        <name>eth0</name>
       <type>ethernetCsmacd</type>
        <admin-status>down</admin-status>
        <oper-status>down</oper-status>
        <if-index>2</if-index>
        <phys-address>00:01:02:03:04:05</phys-address>
        <statistics>
          <discontinuity-time>
            2013-04-01T03:00:00+00:00
          </discontinuity-time>
          <!-- counters now shown here -->
        </statistics>
      </interface>

      <interface>
        <name>eth1</name>
        <type>ethernetCsmacd</type>
        <admin-status>up</admin-status>
        <oper-status>up</oper-status>
        <if-index>7</if-index>
        <phys-address>00:01:02:03:04:06</phys-address>
        <higher-layer-if>eth1.10</higher-layer-if>
        <statistics>
          <discontinuity-time>
            2013-04-01T03:00:00+00:00
          </discontinuity-time>
          <!-- counters now shown here -->
        </statistics>
      </interface>

      <interface>
        <name>eth1.10</name>
        <type>l2vlan</type>
        <admin-status>up</admin-status>
        <oper-status>up</oper-status>
        <if-index>9</if-index>
        <lower-layer-if>eth1</lower-layer-if>
        <statistics>
          <discontinuity-time>
            2013-04-01T03:00:00+00:00
          </discontinuity-time>
          <!-- counters now shown here -->
        </statistics>
      </interface>

      <!-- This interface is not configured -->
      <interface>
        <name>eth2</name>
        <type>ethernetCsmacd</type>
       <admin-status>down</admin-status>
        <oper-status>down</oper-status>
        <if-index>8</if-index>
        <phys-address>00:01:02:03:04:07</phys-address>
        <statistics>
          <discontinuity-time>
            2013-04-01T03:00:00+00:00
          </discontinuity-time>
          <!-- counters now shown here -->
        </statistics>
      </interface>

      <interface>
        <name>lo1</name>
        <type>softwareLoopback</type>
        <admin-status>up</admin-status>
        <oper-status>up</oper-status>
        <if-index>1</if-index>
        <statistics>
          <discontinuity-time>
            2013-04-01T03:00:00+00:00
          </discontinuity-time>
          <!-- counters now shown here -->
        </statistics>
      </interface>

    </interfaces-state>
  </data>
</rpc-reply>