summaryrefslogtreecommitdiffstats
path: root/nat/nat-api/src/main/yang/subinterface-nat@2017-06-15.yang
diff options
context:
space:
mode:
authorMarek Gradzki <mgradzki@cisco.com>2018-03-22 10:49:59 +0100
committerMarek Gradzki <mgradzki@cisco.com>2018-03-22 10:49:59 +0100
commitddb2f0660239bcf201285c79bb7ce7568046c230 (patch)
tree4c2097ff6a9181771449881588c123e0f8f27d2b /nat/nat-api/src/main/yang/subinterface-nat@2017-06-15.yang
parentbcd09ec33c69235f7ee204e2994473b8ee7f1973 (diff)
nat: fix issues found by pyang
Change-Id: Ic4375e85684a035323499963172e59042b0f3dcf Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
Diffstat (limited to 'nat/nat-api/src/main/yang/subinterface-nat@2017-06-15.yang')
-rw-r--r--nat/nat-api/src/main/yang/subinterface-nat@2017-06-15.yang10
1 files changed, 5 insertions, 5 deletions
diff --git a/nat/nat-api/src/main/yang/subinterface-nat@2017-06-15.yang b/nat/nat-api/src/main/yang/subinterface-nat@2017-06-15.yang
index 03773ab5f..0de8afc71 100644
--- a/nat/nat-api/src/main/yang/subinterface-nat@2017-06-15.yang
+++ b/nat/nat-api/src/main/yang/subinterface-nat@2017-06-15.yang
@@ -1,11 +1,7 @@
module subinterface-nat {
yang-version 1;
namespace "urn:opendaylight:params:xml:ns:yang:subinterface:nat";
- prefix "ifc-nat";
-
- revision "2017-06-15" {
- description "Initial revision of subinterface-nat model";
- }
+ prefix "sub-ifc-nat";
import ietf-interfaces {
prefix "if";
@@ -22,6 +18,10 @@ module subinterface-nat {
description "Augmentations to subinterfaces model to connect subinterfaces with nat configuration";
+ revision "2017-06-15" {
+ description "Initial revision of subinterface-nat model";
+ }
+
augment /if:interfaces/if:interface/vpp-vlan:sub-interfaces/vpp-vlan:sub-interface {
ext:augment-identifier "nat-subinterface-augmentation";