diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-08-21 15:57:27 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-08-21 15:57:27 +0200 |
commit | 4a43e8b580e7634e62bfc0a2437377f349834049 (patch) | |
tree | 8eec05639d5c38192421a59964a45de9540a6a4e /examples/ncclient/bd/expected_config_bd.xml | |
parent | 579bc2fc74a764a149afa30291d734f6ebe18b94 (diff) |
examples/ncclient: <copy-config> example of bridge domain configuration
Change-Id: I66bf46a953ff40a6937fa77bfe58fa3ee179ed24
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'examples/ncclient/bd/expected_config_bd.xml')
-rw-r--r-- | examples/ncclient/bd/expected_config_bd.xml | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/examples/ncclient/bd/expected_config_bd.xml b/examples/ncclient/bd/expected_config_bd.xml new file mode 100644 index 000000000..98632159b --- /dev/null +++ b/examples/ncclient/bd/expected_config_bd.xml @@ -0,0 +1,41 @@ +<!-- + ~ Copyright (c) 2018 Cisco Systems, Inc. and others. All rights reserved. + ~ + ~ This program and the accompanying materials are made available under the + ~ terms of the Eclipse Public License v1.0 which accompanies this distribution, + ~ and is available at http://www.eclipse.org/legal/epl-v10.html + --> +<data 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> +</data> |