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";
21 "Change absolute path in leafref";
28 "YANG model for network input for path computation with gnpy";
31 identity type-element {
33 "Base identity for element type";
36 identity Transceiver {
39 " Transceiver element";
66 identity length-unit {
92 "An identifier for a node in a topology.
93 The identifier is represented as 32-bit unsigned integer in
94 the dotted-quad notation.
95 This attribute is mapped to Router ID in
96 RFC3630, RFC5329, RFC5305, and RFC6119.";
105 grouping location-attributes {
126 grouping fiber-params {
167 grouping edfa-params {
168 container operational {
170 "Operational values for the Edfa ";
200 grouping roadm-params {
201 leaf target_pch_out_db {
211 grouping transceiver-params;
213 grouping fused-params;
215 grouping element-type-choice {
216 choice element-type {
218 when "type = 'Edfa'";
225 when "type = 'Fiber'";
229 when "type = 'Roadm'";
236 when "type = 'Transceiver'";
239 when "type = 'Fused'";
261 uses location-attributes;
263 uses element-type-choice;
269 path ../../elements/uid;
274 path ../../elements/uid;