summaryrefslogtreecommitdiffstats
path: root/examples/ncclient/bd/config_bd.xml
blob: 17f221b7aca83f03fda14c5e094010e8609beb97 (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="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
            <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
                <mac>00:ff:ff:ff:ff:ff</mac>
            </loopback>
            <l2 xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
                <bridge-domain>test_bd</bridge-domain>
            </l2>
        </interface>
    </interfaces>
    <bridge-domains xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
        <bridge-domain>
            <name>test_bd</name>
        </bridge-domain>
    </bridge-domains>
</config>