1 module gnpy-network-topology {
3 namespace "gnpy:gnpy-network-topology";
5 import ietf-inet-types {
10 "Telecom Infra Project OOPT PSE Working Group";
12 "WG Web: <https://github.com/Telecominfraproject/oopt-gnpy>
13 contact: <mailto:ahmed.triki@orange.com>
14 contact: <mailto:esther.lerouzic@orange.com>
17 "YANG model for gnpy network input for path computation - transportPCE preversion";
23 "YANG model for network input for path computation with gnpy";
26 identity type-element {
28 "Base identity for element type";
31 identity Transceiver {
34 " Transceiver element";
61 identity length-unit {
87 "An identifier for a node in a topology.
88 The identifier is represented as 32-bit unsigned integer in
89 the dotted-quad notation.
90 This attribute is mapped to Router ID in
91 RFC3630, RFC5329, RFC5305, and RFC6119.";
100 grouping location-attributes {
121 grouping fiber-params {
162 grouping edfa-params {
163 container operational {
165 "Operational values for the Edfa ";
195 grouping roadm-params {
196 leaf target_pch_out_db {
206 grouping transceiver-params;
208 grouping fused-params;
210 grouping element-type-choice {
211 choice element-type {
213 when "type = 'Edfa'";
220 when "type = 'Fiber'";
224 when "type = 'Roadm'";
231 when "type = 'Transceiver'";
234 when "type = 'Fused'";
256 uses location-attributes;
258 uses element-type-choice;
264 path "/topo/elements/uid";
269 path "/topo/elements/uid";