exchange with GNPy to check path feasibility
[transportpce.git] / api / src / main / yang / gnpy-api@2019-01-03.yang
1 module gnpy-api {
2   yang-version 1;
3   namespace "gnpy:gnpy-api";
4
5   prefix "gnpyapi";
6
7   import gnpy-network-topology  {
8     prefix "gnpynt";
9   }
10   import gnpy-path-computation-simplified  {
11     prefix "gnpypc";
12   }
13
14   organization
15     "Telecom Infra Project OOPT PSE Working Group";
16
17   contact
18     "WG Web:   <https://github.com/Telecominfraproject/oopt-gnpy>
19      contact:  <mailto:ahmed.triki@orange.com>
20      contact:  <mailto:esther.lerouzic@orange.com>
21    ";
22
23   description "YANG model for gnpy api input for path computation - TransportPCE preversion";
24
25   revision "2019-01-03" {
26     description "first draft";
27     reference "YANG model for api input for path computation with gnpy";
28   }
29
30   container gnpy-api{
31       description "This is the structure of the body of the request to gnpy";
32       container topology-file{
33           uses gnpynt:topo;
34           description
35               "Describe the topology file to connect to gnpy";
36       }
37   container service-file{
38           uses gnpypc:service;
39           description
40               "Describe the service file to connect to gnpy";
41       }
42   }
43
44 }