config_bd.xml revision 4a43e8b5
1<!--
2  ~ Copyright (c) 2018 Cisco Systems, Inc. and others.  All rights reserved.
3  ~
4  ~ This program and the accompanying materials are made available under the
5  ~ terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  ~ and is available at http://www.eclipse.org/legal/epl-v10.html
7  -->
8<config>
9    <nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat">
10        <instances>
11            <instance>
12                <id>0</id>
13                <policy>
14                    <id>0</id>
15                </policy>
16            </instance>
17        </instances>
18    </nat>
19    <interfaces xmlns="urn:ietf:params:xml:ns:yang:ietf-interfaces">
20        <interface>
21            <name>local0</name>
22            <type xmlns:x="urn:ietf:params:xml:ns:yang:iana-if-type">x:ethernetCsmacd</type>
23            <enabled>false</enabled>
24        </interface>
25        <interface>
26            <name>loop1</name>
27            <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
28            <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
29                <mac>00:ff:ff:ff:ff:ff</mac>
30            </loopback>
31            <l2 xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
32                <bridge-domain>test_bd</bridge-domain>
33            </l2>
34        </interface>
35    </interfaces>
36    <bridge-domains xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
37        <bridge-domain>
38            <name>test_bd</name>
39        </bridge-domain>
40    </bridge-domains>
41</config>
42