summaryrefslogtreecommitdiffstats
path: root/examples/ncclient/nat
diff options
context:
space:
mode:
Diffstat (limited to 'examples/ncclient/nat')
-rw-r--r--examples/ncclient/nat/config_nat.xml14
-rw-r--r--examples/ncclient/nat/config_nat_update.xml24
-rw-r--r--examples/ncclient/nat/expected_config_nat.xml14
-rw-r--r--examples/ncclient/nat/expected_config_nat_update.xml24
-rwxr-xr-xexamples/ncclient/nat/test_nat.sh2
-rwxr-xr-xexamples/ncclient/nat/test_nat_update.sh4
6 files changed, 41 insertions, 41 deletions
diff --git a/examples/ncclient/nat/config_nat.xml b/examples/ncclient/nat/config_nat.xml
index 74f4020b2..690eb5886 100644
--- a/examples/ncclient/nat/config_nat.xml
+++ b/examples/ncclient/nat/config_nat.xml
@@ -8,11 +8,11 @@
<interface>
<name>loop1</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
+ <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
<mac>01:ff:ff:ff:ff:ff</mac>
</loopback>
- <nat xmlns="urn:opendaylight:params:xml:ns:yang:interface:nat">
+ <nat xmlns="http://fd.io/hc2vpp/yang/interface-nat">
<outbound>
<post-routing>true</post-routing>
</outbound>
@@ -21,11 +21,11 @@
<interface>
<name>loop0</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <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>
- <nat xmlns="urn:opendaylight:params:xml:ns:yang:interface:nat">
+ <nat xmlns="http://fd.io/hc2vpp/yang/interface-nat">
<inbound>
<nat64-support>true</nat64-support>
<nat44-support>false</nat44-support>
@@ -45,7 +45,7 @@
<external-ip-address-pool>
<pool-id>3</pool-id>
<external-ip-pool>10.10.10.1/30</external-ip-pool>
- <pool-type xmlns="urn:opendaylight:params:xml:ns:yang:vpp:nat">nat64</pool-type>
+ <pool-type xmlns="http://fd.io/hc2vpp/yang/vpp-nat">nat64</pool-type>
</external-ip-address-pool>
<external-ip-address-pool>
<pool-id>2</pool-id>
diff --git a/examples/ncclient/nat/config_nat_update.xml b/examples/ncclient/nat/config_nat_update.xml
index 96a6e9dbe..ca3c36672 100644
--- a/examples/ncclient/nat/config_nat_update.xml
+++ b/examples/ncclient/nat/config_nat_update.xml
@@ -8,19 +8,19 @@
<interface>
<name>loop1</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
+ <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
<mac>01:ff:ff:ff:ff:ff</mac>
</loopback>
</interface>
<interface>
<name>loop2</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
+ <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
<mac>02:ff:ff:ff:ff:ff</mac>
</loopback>
- <nat xmlns="urn:opendaylight:params:xml:ns:yang:interface:nat">
+ <nat xmlns="http://fd.io/hc2vpp/yang/interface-nat">
<inbound>
<nat64-support>true</nat64-support>
<nat44-support>false</nat44-support>
@@ -30,11 +30,11 @@
<interface>
<name>loop3</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
+ <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
<mac>03:ff:ff:ff:ff:ff</mac>
</loopback>
- <nat xmlns="urn:opendaylight:params:xml:ns:yang:interface:nat">
+ <nat xmlns="http://fd.io/hc2vpp/yang/interface-nat">
<outbound>
<post-routing>true</post-routing>
</outbound>
@@ -43,8 +43,8 @@
<interface>
<name>loop0</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <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>
</interface>
@@ -61,7 +61,7 @@
<external-ip-address-pool>
<pool-id>6</pool-id>
<external-ip-pool>1.2.3.4/32</external-ip-pool>
- <pool-type xmlns="urn:opendaylight:params:xml:ns:yang:vpp:nat">nat64</pool-type>
+ <pool-type xmlns="http://fd.io/hc2vpp/yang/vpp-nat">nat64</pool-type>
</external-ip-address-pool>
<external-ip-address-pool>
<pool-id>5</pool-id>
@@ -70,7 +70,7 @@
<external-ip-address-pool>
<pool-id>3</pool-id>
<external-ip-pool>10.10.10.1/30</external-ip-pool>
- <pool-type xmlns="urn:opendaylight:params:xml:ns:yang:vpp:nat">nat64</pool-type>
+ <pool-type xmlns="http://fd.io/hc2vpp/yang/vpp-nat">nat64</pool-type>
</external-ip-address-pool>
<external-ip-address-pool>
<pool-id>2</pool-id>
diff --git a/examples/ncclient/nat/expected_config_nat.xml b/examples/ncclient/nat/expected_config_nat.xml
index f42eddbdb..55d15a274 100644
--- a/examples/ncclient/nat/expected_config_nat.xml
+++ b/examples/ncclient/nat/expected_config_nat.xml
@@ -23,11 +23,11 @@
<interface>
<name>loop1</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
+ <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
<mac>01:ff:ff:ff:ff:ff</mac>
</loopback>
- <nat xmlns="urn:opendaylight:params:xml:ns:yang:interface:nat">
+ <nat xmlns="http://fd.io/hc2vpp/yang/interface-nat">
<outbound>
<post-routing>true</post-routing>
</outbound>
@@ -36,11 +36,11 @@
<interface>
<name>loop0</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <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>
- <nat xmlns="urn:opendaylight:params:xml:ns:yang:interface:nat">
+ <nat xmlns="http://fd.io/hc2vpp/yang/interface-nat">
<inbound>
<nat64-support>true</nat64-support>
<nat44-support>false</nat44-support>
@@ -60,7 +60,7 @@
<external-ip-address-pool>
<pool-id>3</pool-id>
<external-ip-pool>10.10.10.1/30</external-ip-pool>
- <pool-type xmlns="urn:opendaylight:params:xml:ns:yang:vpp:nat">nat64</pool-type>
+ <pool-type xmlns="http://fd.io/hc2vpp/yang/vpp-nat">nat64</pool-type>
</external-ip-address-pool>
<external-ip-address-pool>
<pool-id>2</pool-id>
diff --git a/examples/ncclient/nat/expected_config_nat_update.xml b/examples/ncclient/nat/expected_config_nat_update.xml
index cf21408d2..426e6bc79 100644
--- a/examples/ncclient/nat/expected_config_nat_update.xml
+++ b/examples/ncclient/nat/expected_config_nat_update.xml
@@ -23,19 +23,19 @@
<interface>
<name>loop1</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
+ <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
<mac>01:ff:ff:ff:ff:ff</mac>
</loopback>
</interface>
<interface>
<name>loop2</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
+ <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
<mac>02:ff:ff:ff:ff:ff</mac>
</loopback>
- <nat xmlns="urn:opendaylight:params:xml:ns:yang:interface:nat">
+ <nat xmlns="http://fd.io/hc2vpp/yang/interface-nat">
<inbound>
<nat64-support>true</nat64-support>
<nat44-support>false</nat44-support>
@@ -45,11 +45,11 @@
<interface>
<name>loop3</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <type xmlns:x="http://fd.io/hc2vpp/yang/v3po">x:loopback</type>
+ <loopback xmlns="http://fd.io/hc2vpp/yang/v3po">
<mac>03:ff:ff:ff:ff:ff</mac>
</loopback>
- <nat xmlns="urn:opendaylight:params:xml:ns:yang:interface:nat">
+ <nat xmlns="http://fd.io/hc2vpp/yang/interface-nat">
<outbound>
<post-routing>true</post-routing>
</outbound>
@@ -58,8 +58,8 @@
<interface>
<name>loop0</name>
<description>for testing purposes</description>
- <type xmlns:x="urn:opendaylight:params:xml:ns:yang:v3po">x:loopback</type>
- <loopback xmlns="urn:opendaylight:params:xml:ns:yang:v3po">
+ <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>
</interface>
@@ -76,7 +76,7 @@
<external-ip-address-pool>
<pool-id>6</pool-id>
<external-ip-pool>1.2.3.4/32</external-ip-pool>
- <pool-type xmlns="urn:opendaylight:params:xml:ns:yang:vpp:nat">nat64</pool-type>
+ <pool-type xmlns="http://fd.io/hc2vpp/yang/vpp-nat">nat64</pool-type>
</external-ip-address-pool>
<external-ip-address-pool>
<pool-id>5</pool-id>
@@ -85,7 +85,7 @@
<external-ip-address-pool>
<pool-id>3</pool-id>
<external-ip-pool>10.10.10.1/30</external-ip-pool>
- <pool-type xmlns="urn:opendaylight:params:xml:ns:yang:vpp:nat">nat64</pool-type>
+ <pool-type xmlns="http://fd.io/hc2vpp/yang/vpp-nat">nat64</pool-type>
</external-ip-address-pool>
<external-ip-address-pool>
<pool-id>2</pool-id>
diff --git a/examples/ncclient/nat/test_nat.sh b/examples/ncclient/nat/test_nat.sh
index b9ec896ce..37f8047f8 100755
--- a/examples/ncclient/nat/test_nat.sh
+++ b/examples/ncclient/nat/test_nat.sh
@@ -15,4 +15,4 @@
DIR_NAME=$(dirname $0)
-${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_nat.xml ${DIR_NAME}/expected_config_nat.xml
+${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_nat.xml ${DIR_NAME}/expected_config_nat.xml *
diff --git a/examples/ncclient/nat/test_nat_update.sh b/examples/ncclient/nat/test_nat_update.sh
index c5ae446b6..5c6b527a3 100755
--- a/examples/ncclient/nat/test_nat_update.sh
+++ b/examples/ncclient/nat/test_nat_update.sh
@@ -15,6 +15,6 @@
DIR_NAME=$(dirname $0)
-${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_nat.xml ${DIR_NAME}/expected_config_nat.xml
+${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_nat.xml ${DIR_NAME}/expected_config_nat.xml *
-${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_nat_update.xml ${DIR_NAME}/expected_config_nat_update.xml
+${DIR_NAME}/../test_copy_config.sh ${DIR_NAME}/config_nat_update.xml ${DIR_NAME}/expected_config_nat_update.xml *