diff options
author | Marek Gradzki <mgradzki@cisco.com> | 2018-03-22 10:49:59 +0100 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-03-22 10:49:59 +0100 |
commit | ddb2f0660239bcf201285c79bb7ce7568046c230 (patch) | |
tree | 4c2097ff6a9181771449881588c123e0f8f27d2b /nat/nat-api/src/main/yang/nat-context@2016-12-14.yang | |
parent | bcd09ec33c69235f7ee204e2994473b8ee7f1973 (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/nat-context@2016-12-14.yang')
-rw-r--r-- | nat/nat-api/src/main/yang/nat-context@2016-12-14.yang | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nat/nat-api/src/main/yang/nat-context@2016-12-14.yang b/nat/nat-api/src/main/yang/nat-context@2016-12-14.yang index dd17ed58c..cb8bb8348 100644 --- a/nat/nat-api/src/main/yang/nat-context@2016-12-14.yang +++ b/nat/nat-api/src/main/yang/nat-context@2016-12-14.yang @@ -1,13 +1,7 @@ module nat-context { yang-version 1; namespace "urn:honeycomb:params:xml:ns:yang:nat:context"; - prefix "nc"; - - description "Context for nat mapping"; - - revision "2016-12-14" { - description "Initial revision."; - } + prefix "nat-ctx"; import ietf-inet-types { prefix "inet"; @@ -21,6 +15,12 @@ module nat-context { prefix "ext"; } + description "Context for nat mapping"; + + revision "2016-12-14" { + description "Initial revision."; + } + grouping mapping-entry-context-attributes { container nat-mapping-entry-context { list nat-instance { |