subinterface-nat@2019-05-27.yang revision 869efd5a
1module subinterface-nat {
2  yang-version 1;
3  namespace "http://fd.io/hc2vpp/yang/subinterface-nat";
4  prefix "sub-ifc-nat";
5
6  import ietf-interfaces {
7    prefix "if";
8  }
9  import vpp-vlan {
10    prefix "vpp-vlan";
11  }
12  import interface-nat {
13    prefix "ifc-nat";
14  }
15  import yang-ext {
16    prefix "ext";
17  }
18
19  organization
20    "FD.io - The Fast Data Project";
21
22  contact
23    "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
24     Mailing List <hc2vpp@lists.fd.io>";
25
26  description
27    "This module contains a collection of YANG definitions for
28     applying NAT configuration on VPP subinterfaces.
29
30     Copyright (c) 2017 Cisco and/or its affiliates.
31
32     Licensed under the Apache License, Version 2.0 (the 'License');
33     you may not use this file except in compliance with the License.
34     You may obtain a copy of the License at:
35
36     http://www.apache.org/licenses/LICENSE-2.0
37
38     Unless required by applicable law or agreed to in writing, software
39     distributed under the License is distributed on an 'AS IS' BASIS,
40     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
41     See the License for the specific language governing permissions and
42     limitations under the License.";
43
44  revision "2019-05-27" {
45    description
46      "Removed interfaces-state augmentations due to its deprecation
47       in ietf-interfaces model";
48  }
49
50  revision "2017-06-15" {
51    description "Initial revision of subinterface-nat model";
52  }
53
54  augment /if:interfaces/if:interface/vpp-vlan:sub-interfaces/vpp-vlan:sub-interface {
55    ext:augment-identifier "nat-subinterface-augmentation";
56
57    uses ifc-nat:interface-nat-attributes;
58  }
59}
60