diff options
author | YohanPipereau <ypiperea@cisco.com> | 2019-07-15 15:37:46 +0200 |
---|---|---|
committer | YohanPipereau <ypiperea@cisco.com> | 2019-07-26 15:29:05 +0200 |
commit | 18561adfde80d6665e24262d70d18f916e2662e5 (patch) | |
tree | 06683574ba18ee25012f77b18da7c0e35a5707aa /samples/ietf-nat/create-mapping.xml | |
parent | adc56bc5ddcdf947864d982cda809588b7ccd8bc (diff) |
vom: migration from scvpp to vom
Change-Id: I79609f0bee9b8307da0d9bf704babe8ba06dba4d
Signed-off-by: YohanPipereau <ypiperea@cisco.com>
Co-authored-by: Pavel Kotucek <pavel.kotucek@pantheon.tech>
Co-authored-by: Andrej Kozemcak <andrej.kozemcak@pantheon.tech>
Diffstat (limited to 'samples/ietf-nat/create-mapping.xml')
-rw-r--r-- | samples/ietf-nat/create-mapping.xml | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/samples/ietf-nat/create-mapping.xml b/samples/ietf-nat/create-mapping.xml new file mode 100644 index 0000000..63cfca8 --- /dev/null +++ b/samples/ietf-nat/create-mapping.xml @@ -0,0 +1,19 @@ +<nat xmlns="urn:ietf:params:xml:ns:yang:ietf-nat"> + <instances> + <instance> + <id>1</id> + <connection-limits> + <limit-per-instance>5</limit-per-instance> + </connection-limits> + <mapping-table> + <mapping-entry> + <index>1</index> + <type>static</type> + <internal-src-address>10.0.0.2/32</internal-src-address> + <external-src-address>192.168.1.2/32</external-src-address> + </mapping-entry> + </mapping-table> + </instance> + </instances> +</nat> + |