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