1 module org-openroadm-ipv6-unicast-routing {
2 namespace "http://org/openroadm/ipv6-unicast-routing";
3 prefix org-openroadm-ipv6-unicast-routing;
5 import org-openroadm-routing {
6 prefix org-openroadm-routing;
7 revision-date 2020-05-29;
9 import ietf-inet-types {
11 revision-date 2013-07-15;
13 import org-openroadm-device {
14 prefix org-openroadm-device;
15 revision-date 2020-05-29;
23 "This model defines Yang model for IPv6 unicast routing.
25 This model reuses data items defined in the IETF YANG model for
26 interfaces described by RFC 8022.
28 Some attributes which are not required in Open ROADM MSA are removed.
29 Yang file included are changed to fit into Open ROADM MSA yang structure.
31 IETF code is subject to the following copyright and license:
32 Copyright (c) IETF Trust and the persons identified as authors of
36 Redistribution and use in source and binary forms, with or without
37 modification, is permitted pursuant to, and subject to the license
38 terms contained in, the Simplified BSD License set forth in
39 Section 4.c of the IETF Trust's Legal Provisions Relating
40 to IETF Documents (http://trustee.ietf.org/license-info).";
70 "RFC XXXX: A YANG Data Model for Routing Management";
73 identity ipv6-unicast {
74 base org-openroadm-routing:ipv6;
76 "This identity represents the IPv6 unicast address family.";
79 grouping ipv6-uni-grp {
82 "Configuration of a 'static' pseudo-protocol instance
83 consists of a list of routes.";
85 key "destination-prefix";
88 "A user-ordered list of static routes.";
89 leaf destination-prefix {
90 type inet:ipv6-prefix;
93 "IPv6 destination prefix.";
98 "Textual description of the route.";
102 "Configuration of next-hop.";
103 uses org-openroadm-routing:next-hop-content {
104 augment "next-hop-options" {
106 "Add next-hop address case.";
107 leaf next-hop-address {
108 type inet:ipv6-address;
110 "IPv6 address of the next-hop.";
121 augment "/org-openroadm-device:org-openroadm-device/org-openroadm-routing:routing/org-openroadm-routing:routing-instance/org-openroadm-routing:routing-protocols/org-openroadm-routing:routing-protocol/org-openroadm-routing:static-routes" {
123 "This augment defines the configuration of the 'static'
124 pseudo-protocol with data specific to IPv6 unicast.";