1 module gnpy-network-topology {
3 namespace "gnpy:gnpy-network-topology";
8 import gnpy-eqpt-config {
12 import ietf-inet-types {
17 "Telecom Infra Project OOPT PSE Working Group";
20 "WG Web: <https://github.com/Telecominfraproject/oopt-gnpy>
21 contact: <mailto:ahmed.triki@orange.com>
22 contact: <mailto:esther.lerouzic@orange.com>
25 description "YANG model for gnpy network input for path computation - transportPCE preversion";
27 revision "2018-12-14" {
28 description "first draft";
29 reference "YANG model for network input for path computation with gnpy";
32 identity type-element {
34 "Base identity for element type";
37 identity Transceiver {
40 " Transceiver element";
67 identity length-unit {
68 description "length unit" ;
73 description "kilometers" ;
89 "An identifier for a node in a topology.
90 The identifier is represented as 32-bit unsigned integer in
91 the dotted-quad notation.
92 This attribute is mapped to Router ID in
93 RFC3630, RFC5329, RFC5305, and RFC6119.";
103 grouping location-attributes {
124 grouping fiber-params {
125 description "....." ;
164 grouping edfa-params {
165 container operational {
189 description "Operational values for the Edfa " ;
193 grouping roadm-params{
194 leaf target_pch_out_db{
203 grouping transceiver-params{
207 grouping fused-params{
211 grouping element-type-choice{
214 when "type = 'Edfa'" ;
221 when "type = 'Fiber'" ;
225 when "type = 'Roadm'" ;
232 when "type = 'Transceiver'" ;
236 when "type = 'Fused'" ;
258 uses location-attributes ;
261 uses element-type-choice ;
268 path "/topo/elements/uid" ;
273 path "/topo/elements/uid" ;