summaryrefslogtreecommitdiffstats
path: root/examples/ncclient/bd/config_bd.xml
blob: b4e7955df9f10edc454634c328fd1eee03230e87 (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
<config xmlns="urn:ietf:params:xml:ns:netconf:base:1.0">
    <nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
        <instances>
            <instance>
                <id>0</id>
                <policy>
                    <id>0</id>
                </policy>
            </instance>
        </instances>
    </nat>
    <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
        <interface>
            <name>local0</name>
            <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type>
            <enabled>false</enabled>
        </interface>
        <interface>
            <name>loop1</name>
            <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
            <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
                <mac>00:ff:ff:ff:ff:ff</mac>
            </loopback>
            <l2 xmlns="http://fd.io/hc2vpp/yang/v3po">
                <bridge-domain>test_bd</bridge-domain>
            </l2>
        </interface>
    </interfaces>
    <bridge-domains xmlns="http://fd.io/hc2vpp/yang/v3po">
        <bridge-domain>
            <name>test_bd</name>
        </bridge-domain>
    </bridge-domains>
</config>