vpp-ipv6-unicast-routing@2018-03-19.yang revision 69870253
1module vpp-ipv6-unicast-routing {
2
3    namespace "urn:ietf:params:xml:ns:yang:vpp-ipv6-unicast-routing";
4    prefix "vpp-v6ur";
5
6    import yang-ext {
7        prefix "ext";
8    }
9
10    import vpp-classifier {
11        prefix "classifier";
12    }
13
14    import hc2vpp-ietf-routing {
15        prefix "rt";
16        revision-date 2018-03-13;
17    }
18
19    import hc2vpp-ietf-ipv6-unicast-routing {
20        prefix "v6ur";
21        revision-date 2018-03-13;
22    }
23
24    import vpp-routing {
25        prefix "vpp-rt";
26        revision-date 2018-03-19;
27    }
28
29    import vpp-routing-types {
30        prefix "vpp-rt-tp";
31        revision-date 2018-04-06;
32    }
33
34    organization
35        "FD.io - The Fast Data Project";
36
37    contact
38        "Hc2vpp Wiki <https://wiki.fd.io/view/Hc2vpp>
39         Mailing List <hc2vpp@lists.fd.io>";
40
41    description
42        "This module contains a collection of YANG definitions
43         that extend hc2vpp-ietf-routing module
44         with VPP specific ipv6 unicast routing features.
45
46         Copyright (c) 2018 Bell Canada, Pantheon Technologies and/or its affiliates.
47
48         Licensed under the Apache License, Version 2.0 (the 'License');
49         you may not use this file except in compliance with the License.
50         You may obtain a copy of the License at:
51
52         http://www.apache.org/licenses/LICENSE-2.0
53
54         Unless required by applicable law or agreed to in writing, software
55         distributed under the License is distributed on an 'AS IS' BASIS,
56         WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
57         See the License for the specific language governing permissions and
58         limitations under the License.";
59
60    revision 2018-03-19 {
61        description "Initial revision";
62    }
63
64    augment "/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/rt:static-routes/" +
65        "v6ur:ipv6/v6ur:route/v6ur:next-hop/v6ur:next-hop-options/v6ur:next-hop-list/v6ur:next-hop-list/v6ur:next-hop"
66    {
67        ext:augment-identifier "vpp-ipv6-next-hop-augmentation";
68        uses vpp-rt-tp:vpp-next-hop-attributes;
69    }
70
71    augment "/rt:routing/rt:control-plane-protocols/rt:control-plane-protocol/rt:static-routes/v6ur:ipv6/v6ur:route"
72    {
73        ext:augment-identifier "vpp-ipv6-route-attributes-augmentation";
74        container vpp-ipv6-route{
75            uses vpp-rt:vpp-route-attributes;
76        }
77    }
78}
79