diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2017-08-16 13:56:20 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2017-08-16 14:15:14 +0200 |
commit | b1dc57a7a35f30d462d7cabe0b9c3f54f976ab56 (patch) | |
tree | 6c60df26c750825aa35e089add76df31df1d8580 /nat/nat-api/src/main | |
parent | c4ec83562d4c4582be64de637e76826718e2beaa (diff) |
HC2VPP-105: interface-nat.yang NAT64 support
Change-Id: I22b391577e11bc33dbe03f643fe6968262f0712f
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'nat/nat-api/src/main')
-rw-r--r-- | nat/nat-api/src/main/yang/interface-nat@2016-08-16.yang (renamed from nat/nat-api/src/main/yang/interface-nat@2016-08-01.yang) | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nat/nat-api/src/main/yang/interface-nat@2016-08-01.yang b/nat/nat-api/src/main/yang/interface-nat@2016-08-16.yang index 6906a67c1..4414e1356 100644 --- a/nat/nat-api/src/main/yang/interface-nat@2016-08-01.yang +++ b/nat/nat-api/src/main/yang/interface-nat@2016-08-16.yang @@ -3,6 +3,10 @@ module interface-nat { namespace "urn:opendaylight:params:xml:ns:yang:interface:nat"; prefix "ifc-nat"; + revision "2017-08-16" { + description "Added support for NAT64."; + } + revision "2017-08-01" { description "Added support for snat_interface_add_del_output_feature."; } @@ -34,6 +38,22 @@ module interface-nat { reference "https://git.fd.io/vpp/tree/src/plugins/snat/snat.api"; } + + leaf nat44-support { + type boolean; + default true; + description + "Indicates NAT44 support. Enabled by default in order to preserve compatibility with previous versions of the model."; + } + + leaf nat64-support { + type boolean; + description + "Indicates NAT64 support"; + } + + reference + "https://wiki.fd.io/view/VPP/SNAT"; } grouping interface-nat-attributes { |