1 module gnpy-network-topology {
3 namespace "gnpy:gnpy-network-topology";
6 import gnpy-eqpt-config {
9 import ietf-inet-types {
14 "Telecom Infra Project OOPT PSE Working Group";
16 "WG Web: <https://github.com/Telecominfraproject/oopt-gnpy>
17 contact: <mailto:ahmed.triki@orange.com>
18 contact: <mailto:esther.lerouzic@orange.com>
21 "YANG model for gnpy network input for path computation - transportPCE preversion";
27 "YANG model for network input for path computation with gnpy";
30 identity type-element {
32 "Base identity for element type";
35 identity Transceiver {
38 " Transceiver element";
65 identity length-unit {
91 "An identifier for a node in a topology.
92 The identifier is represented as 32-bit unsigned integer in
93 the dotted-quad notation.
94 This attribute is mapped to Router ID in
95 RFC3630, RFC5329, RFC5305, and RFC6119.";
104 grouping location-attributes {
125 grouping fiber-params {
166 grouping edfa-params {
167 container operational {
169 "Operational values for the Edfa ";
199 grouping roadm-params {
200 leaf target_pch_out_db {
210 grouping transceiver-params;
212 grouping fused-params;
214 grouping element-type-choice {
215 choice element-type {
217 when "type = 'Edfa'";
224 when "type = 'Fiber'";
228 when "type = 'Roadm'";
235 when "type = 'Transceiver'";
238 when "type = 'Fused'";
260 uses location-attributes;
262 uses element-type-choice;
268 path "/topo/elements/uid";
273 path "/topo/elements/uid";