remove tpce service-path 1.5 models
[transportpce.git] / api / src / main / yang / gnpy-eqpt-config@2018-11-19.yang
1 module gnpy-eqpt-config {
2   yang-version 1;
3   namespace "gnpy:gnpy-eqpt-config";
4
5   prefix "gnpyeqpt";
6
7   organization
8     "Telecom Infra Project OOPT PSE
9      Working Group";
10
11   contact
12     "WG Web:   <https://github.com/Telecominfraproject/oopt-gnpy>
13      contact:  <mailto:ahmed.triki@orange.com>
14      contact:  <mailto:esther.lerouzic@orange.com>
15    ";
16
17   description "Base YANG model for gnpy equipment library input for path computation - transportPCE preversion";
18
19   revision "2018-11-19" {
20     description "first draft";
21     reference "Base YANG model for equipment library input for path computation with gnpy";
22   }
23
24   /*
25    * Identities
26
27
28   identity edfa-variety {
29     description "edfa variety" ;
30   }
31
32   identity fiber-variety {
33     description "base identity for fiber variety" ;
34   }
35
36   identity transceiver-variety {
37     description "base identity for transceiver variety" ;
38   }
39
40   */
41
42   list Edfa {
43     key type_variety;
44     leaf type_variety {
45       type string;
46       description "a unique name to ID the amplifier in the JSON/Excel template topology input file" ;
47     }
48   }
49
50
51   list Fiber {
52     key type_variety ;
53     leaf type_variety {
54       type string ;
55       }
56       description "a unique name to ID the fiber in the JSON or Excel template topology input file" ;
57     }
58   }
59
60   list Transceiver{
61     key type_variety ;
62     leaf type_variety {
63       type string ;
64       }
65       description "a unique name to ID the transceiver in the JSON or Excel template topology input file" ;
66     }
67     list mode {
68       key format ;
69       leaf format {
70         type string ;
71         description "unique name of the mode" ;
72       }
73     }
74   }
75
76   container Spans {
77
78   }
79
80   container Roadms {
81
82   }
83
84   container SI {
85
86   }
87 }
88