summaryrefslogtreecommitdiffstats
path: root/tools/lint/examples/data-ip.xml
blob: 1894f6dc671ca665ffc84bc252b2eeb8c463de00 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
<interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
  <interface>
    <name>eth0</name>
    <description>Wire Connection</description>
    <type xmlns:ift="urn:ietf:params:xml:ns:yang:iana-if-type">ift:ethernetCsmacd</type>
    <enabled>true</enabled>
    <ipv4 xmlns="urn:ietf:params:xml:ns:yang:ietf-ip">
      <address><ip>192.168.1.15</ip><netmask>255.255.255.0</netmask></address>
      <address><ip>192.168.1.10</ip><netmask>255.255.255.0</netmask></address>
    </ipv4>
  </interface>
</interfaces>