add new devicemanager
[ccsdk/features.git] / sdnr / wt / devicemanager / provider / src / main / resources / preload.cache.schema / tapi-oam@2018-08-31.yang
1 module tapi-oam {\r
2     namespace "urn:onf:otcc:yang:tapi-oam";\r
3     prefix tapi-oam;\r
4     import tapi-common {\r
5         prefix tapi-common;\r
6     }\r
7     import tapi-connectivity {\r
8         prefix tapi-connectivity;\r
9     }\r
10     import tapi-topology {\r
11         prefix tapi-topology;\r
12     }\r
13     organization "ONF OTCC (Open Transport Configuration & Control) Project";\r
14     contact "
15         Project Web: <https://wiki.opennetworking.org/display/OTCC/TAPI>
16         Project List: <mailto:transport-api@opennetworking.org>
17         Editor: Karthik Sethuraman
18                 <mailto:karthik.sethuraman@necam.com>";\r
19     description "\r
20         This module contains TAPI OAM Model definitions.\r
21         Source: TapiOam.uml\r
22         Copyright (c) 2018 Open Networking Foundation (ONF). All rights reserved.\r
23         License: This module is distributed under the Apache License 2.0";\r
24     revision 2018-08-31 {\r
25         description "ONF Transport API version 2.1.0
26         This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
27         Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.1.0.md>";\r
28         reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
29                   <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.1.0/UML>";\r
30     }\r
31     revision 2018-03-07 {\r
32         description "ONF Transport API version 2.0.2
33         This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
34         Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.2.md>";\r
35         reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
36                   <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.2/UML>";\r
37     }\r
38     revision 2018-02-16 {\r
39         description "ONF Transport API version 2.0.1
40         This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
41         Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.1.md>";\r
42         reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
43                   <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.1/UML>";\r
44     }\r
45     revision 2018-01-02 {\r
46         description "ONF Transport API version 2.0.0
47         This YANG module has been generated from the TAPI UML Model using the IISOMI-Eagle xmi2yang mapping tool.
48         Changes in this revision: <https://github.com/OpenNetworkingFoundation/TAPI/blob/develop/CHANGE_LOG/change-log.2.0.0.md>";\r
49         reference "ONF-TR-527, ONF-TR-512, ONF-TR-531, RFC 6020, RFC 6087 and ONF TAPI UML model
50                   <https://github.com/OpenNetworkingFoundation/TAPI/tree/v2.0.0/UML>";\r
51     }\r
52     augment "/tapi-common:context" {\r
53         uses oam-context-g;\r
54         description "Augments the base TAPI Context with OamService information";\r
55     }\r
56     augment "/tapi-common:context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point/tapi-connectivity:connection-end-point" {\r
57         uses mep-mip-list-g;\r
58         description "none";\r
59     }\r
60     \r
61     /*************************\r
62     * definitions of references\r
63     *************************/\r
64     grouping oam-service-ref-g {\r
65         leaf oam-service-uuid {\r
66             type leafref {\r
67                 path '/tapi-common:context/tapi-oam:oam-service/tapi-oam:uuid';\r
68             }\r
69             description "none";\r
70         }\r
71         description "none";\r
72     }\r
73 \r
74     grouping oam-service-end-point-ref-g {\r
75         uses oam-service-ref-g;\r
76         leaf oam-service-end-point-local-id {\r
77                 type leafref {\r
78                     path '/tapi-common:context/tapi-oam:oam-service/tapi-oam:end-point/tapi-oam:local-id';\r
79                 }\r
80                 description "none";\r
81         }\r
82         description "none";\r
83     }\r
84     \r
85     grouping meg-ref-g {\r
86         leaf meg-uuid {\r
87             type leafref {\r
88                 path '/tapi-common:context/tapi-oam:meg/tapi-oam:uuid';\r
89             }\r
90             description "none";\r
91         }\r
92         description "none";\r
93     }\r
94     \r
95     grouping maintenance-entity-ref-g {\r
96         uses meg-ref-g;\r
97         leaf maintenance-entity-local-id {\r
98                 type leafref {\r
99                     path '/tapi-common:context/tapi-oam:meg/tapi-oam:me/tapi-oam:local-id';\r
100                 }\r
101                 description "none";\r
102         }\r
103         description "none";\r
104     }\r
105     \r
106     grouping mep-ref-g {\r
107         uses meg-ref-g;\r
108         leaf mep-local-id {\r
109                 type leafref {\r
110                     path '/tapi-common:context/tapi-oam:meg/tapi-oam:mep/tapi-oam:local-id';\r
111                 }\r
112                 description "none";\r
113         }\r
114         description "none";\r
115     }\r
116     \r
117     grouping mip-ref-g {\r
118         uses meg-ref-g;\r
119         leaf mip-local-id {\r
120                 type leafref {\r
121                     path '/tapi-common:context/tapi-oam:meg/tapi-oam:mip/tapi-oam:local-id';\r
122                 }\r
123                 description "none";\r
124         }\r
125         description "none";\r
126     }\r
127     \r
128     grouping oam-job-ref-g {\r
129         leaf oam-job-uuid {\r
130             type leafref {\r
131                 path '/tapi-common:context/tapi-oam:oam-job/tapi-oam:uuid';\r
132             }\r
133             description "none";\r
134         }\r
135         description "none";\r
136     }\r
137     \r
138     grouping pm-current-data-ref-g {\r
139         uses oam-job-ref-g;\r
140         leaf pm-current-data-local-id {\r
141                 type leafref {\r
142                     path '/tapi-common:context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:local-id';\r
143                 }\r
144                 description "none";\r
145         }\r
146         description "none";\r
147     }\r
148     \r
149     grouping pm-history-data-ref-g {\r
150         uses pm-current-data-ref-g;\r
151         leaf pm-history-data-local-id {\r
152                 type leafref {\r
153                     path '/tapi-common:context/tapi-oam:oam-job/tapi-oam:pm-current-data/tapi-oam:pm-history-data/tapi-oam:local-id';\r
154                 }\r
155                 description "none";\r
156         }\r
157         description "none";\r
158     }\r
159     \r
160     grouping oam-profile-ref-g {\r
161         leaf oam-profile-uuid {\r
162             type leafref {\r
163                 path '/tapi-common:context/tapi-oam:oam-profile/tapi-oam:uuid';\r
164             }\r
165             description "none";\r
166         }\r
167         description "none";\r
168     }\r
169     \r
170     grouping pm-threshold-data-ref-g {\r
171         uses oam-profile-ref-g;\r
172         leaf pm-threshold-data-local-id {\r
173                 type leafref {\r
174                     path '/tapi-common:context/tapi-oam:oam-profile/tapi-oam:pm-threshold-data/tapi-oam:local-id';\r
175                 }\r
176                 description "none";\r
177         }\r
178         description "none";\r
179     }\r
180     \r
181     grouping pm-bin-data-ref-g {\r
182         uses oam-profile-ref-g;\r
183         leaf pm-bin-data-local-id {\r
184                 type leafref {\r
185                     path '/tapi-common:context/tapi-oam:oam-profile/tapi-oam:pm-bin-data/tapi-oam:local-id';\r
186                 }\r
187                 description "none";\r
188         }\r
189         description "none";\r
190     }\r
191     \r
192     /***********************\r
193     * package object-classes\r
194     **********************/ \r
195         grouping mep-g {\r
196             container oam-service-end-point {\r
197                 uses oam-service-end-point-ref-g;\r
198                 config false;\r
199                 description "none";\r
200             }\r
201             leaf layer-protocol-name {\r
202                 type tapi-common:layer-protocol-name;\r
203                 config false;\r
204                 description "none";\r
205             }\r
206             leaf direction {\r
207                 type tapi-common:termination-direction;\r
208                 config false;\r
209                 description "none";\r
210             }\r
211             leaf mep-identifier {\r
212                 type string;\r
213                 config false;\r
214                 description "none";\r
215             }\r
216             leaf-list peer-mep-identifier {\r
217                 type string;\r
218                 config false;\r
219                 min-elements 1;\r
220                 description "none";\r
221             }\r
222             uses tapi-common:local-class-g;\r
223             uses tapi-common:operational-state-pac-g;\r
224             description "none";\r
225         }\r
226         grouping oam-job-g {\r
227             list oam-service-end-point {\r
228                 uses oam-service-end-point-ref-g;\r
229                 key 'oam-service-uuid oam-service-end-point-local-id';\r
230                 min-elements 1;\r
231                 max-elements 2;\r
232                 description "none";\r
233             }\r
234             container oam-profile {\r
235                 uses oam-profile-ref-g;\r
236                 description "none";\r
237             }\r
238             list pm-current-data {\r
239                 key 'local-id';\r
240                 config false;\r
241                 uses pm-current-data-g;\r
242                 description "Granularity period of the CurrentData identifies the specific CurrentData instance in the scope of this OamJob.\r
243                     For example, typically at least\r
244                     one 15min and\r
245                     one 24hr;\r
246                     optionally one additional configurable (< 15min)";\r
247             }\r
248             leaf oam-job-type {\r
249                 type oam-job-type;\r
250                 description "none";\r
251             }\r
252             container schedule {\r
253                 uses tapi-common:time-range-g;\r
254                 description "none";\r
255             }\r
256             leaf creation-time {\r
257                 type tapi-common:date-and-time;\r
258                 config false;\r
259                 description "none";\r
260             }\r
261             uses tapi-common:global-class-g;\r
262             uses tapi-common:admin-state-pac-g;\r
263             description "none";\r
264         }\r
265         grouping meg-g {\r
266             list me {\r
267                 key 'local-id';\r
268                 config false;\r
269                 min-elements 1;\r
270                 uses maintenance-entity-g;\r
271                 description "none";\r
272             }\r
273             list mep {\r
274                 key 'local-id';\r
275                 config false;\r
276                 uses mep-g;\r
277                 description "1. ME may have 0 MEPs (case of transit domains where at least 1 MIP is present)\r
278                     2. ME may have 1 MEP (case of edge domaind, where the peer MEP is ouside the managed domain)\r
279                     3. ME may have 2 MEPs";\r
280             }\r
281             list mip {\r
282                 key 'local-id';\r
283                 config false;\r
284                 uses mip-g;\r
285                 description "ME may 0, 1, or more MIPs";\r
286             }\r
287             leaf layer-protocol-name {\r
288                 type tapi-common:layer-protocol-name;\r
289                 config false;\r
290                 description "none";\r
291             }\r
292             leaf direction {\r
293                 type tapi-common:forwarding-direction;\r
294                 config false;\r
295                 description "none";\r
296             }\r
297             leaf meg-level {\r
298                 type uint64;\r
299                 config false;\r
300                 description "none";\r
301             }\r
302             leaf meg-identifier {\r
303                 type string;\r
304                 config false;\r
305                 description "none";\r
306             }\r
307             uses tapi-common:resource-spec-g;\r
308             uses tapi-common:operational-state-pac-g;\r
309             description "none";\r
310         }\r
311         grouping maintenance-entity-g {\r
312             list mep {\r
313                 uses mep-ref-g;\r
314                 key 'meg-uuid mep-local-id';\r
315                 config false;\r
316                 max-elements 2;\r
317                 description "none";\r
318             }\r
319             list mip {\r
320                 uses mip-ref-g;\r
321                 key 'meg-uuid mip-local-id';\r
322                 config false;\r
323                 description "none";\r
324             }\r
325             container connection-route {\r
326                 uses tapi-connectivity:route-ref-g;\r
327                 config false;\r
328                 description "none";\r
329             }\r
330             uses tapi-common:local-class-g;\r
331             description "none";\r
332         }\r
333         grouping mip-g {\r
334             container oam-service-end-point {\r
335                 uses oam-service-end-point-ref-g;\r
336                 description "none";\r
337             }\r
338             leaf layer-protocol-name {\r
339                 type tapi-common:layer-protocol-name;\r
340                 config false;\r
341                 description "none";\r
342             }\r
343             uses tapi-common:local-class-g;\r
344             description "none";\r
345         }\r
346         grouping oam-service-g {\r
347             list end-point {\r
348                 key 'local-id';\r
349                 min-elements 1;\r
350                 uses oam-service-end-point-g;\r
351                 description "none";\r
352             }\r
353             container meg {\r
354                 uses meg-ref-g;\r
355                 config false;\r
356                 description "none";\r
357             }\r
358             container oam-profile {\r
359                 uses oam-profile-ref-g;\r
360                 description "none";\r
361             }\r
362             uses tapi-common:service-spec-g;\r
363             uses tapi-common:admin-state-pac-g;\r
364             uses oam-constraint-g;\r
365             description "none";\r
366         }\r
367         grouping oam-context-g {\r
368             list oam-service {\r
369                 key 'uuid';\r
370                 uses oam-service-g;\r
371                 description "none";\r
372             }\r
373             list meg {\r
374                 key 'uuid';\r
375                 config false;\r
376                 uses meg-g;\r
377                 description "none";\r
378             }\r
379             list oam-job {\r
380                 key 'uuid';\r
381                 uses oam-job-g;\r
382                 description "none";\r
383             }\r
384             list oam-profile {\r
385                 key 'uuid';\r
386                 uses oam-profile-g;\r
387                 description "none";\r
388             }\r
389             description "none";\r
390         }\r
391         grouping oam-service-end-point-g {\r
392             container service-interface-point {\r
393                 uses tapi-common:service-interface-point-ref-g;\r
394                 description "none";\r
395             }\r
396             container connectivity-service-end-point {\r
397                 uses tapi-connectivity:connectivity-service-end-point-ref-g;\r
398                 description "none";\r
399             }\r
400             container mep {\r
401                 uses mep-ref-g;\r
402                 config false;\r
403                 description "none";\r
404             }\r
405             container mip {\r
406                 uses mip-ref-g;\r
407                 config false;\r
408                 description "none";\r
409             }\r
410             leaf layer-protocol-name {\r
411                 type tapi-common:layer-protocol-name;\r
412                 description "none";\r
413             }\r
414             leaf direction {\r
415                 type tapi-common:port-direction;\r
416                 description "none";\r
417             }\r
418             uses tapi-common:local-class-g;\r
419             uses tapi-common:admin-state-pac-g;\r
420             description "none";\r
421         }\r
422         grouping mep-mip-list-g {\r
423             list mip {\r
424                 uses mip-ref-g;\r
425                 key 'meg-uuid mip-local-id';\r
426                 description "none";\r
427             }\r
428             list mep {\r
429                 uses mep-ref-g;\r
430                 key 'meg-uuid mep-local-id';\r
431                 description "none";\r
432             }\r
433             description "none";\r
434         }\r
435         grouping oam-constraint-g {\r
436             leaf layer-protocol-name {\r
437                 type tapi-common:layer-protocol-name;\r
438                 description "none";\r
439             }\r
440             leaf direction {\r
441                 type tapi-common:forwarding-direction;\r
442                 description "none";\r
443             }\r
444             leaf meg-level {\r
445                 type uint64;\r
446                 description "none";\r
447             }\r
448             description "none";\r
449         }\r
450         grouping pm-current-data-g {\r
451             list pm-history-data {\r
452                 key 'local-id';\r
453                 config false;\r
454                 uses pm-history-data-g;\r
455                 description "in case of 24hr Current Data, at least 1 History Data.\r
456                     In case of 15min Current Data, at least 16 History Data.\r
457                     In case of <15min, the number of History Data shall be able to cover a span of 4 hours.";\r
458             }\r
459             container granularity-period {\r
460                 uses tapi-common:time-period-g;\r
461                 description "none";\r
462             }\r
463             leaf timestamp {\r
464                 type tapi-common:date-and-time;\r
465                 config false;\r
466                 description "This attribute indicates the start of the current monitoring interval.\r
467                     The value is bound to the quarter of an hour in case of a 15 minute interval and bound to the hour in case of a 24 hour interval.";\r
468             }\r
469             container elapsed-time {\r
470                 uses tapi-common:time-interval-g;\r
471                 description "none";\r
472             }\r
473             leaf suspect-interval-flag {\r
474                 type boolean;\r
475                 description "This attribute is used to indicate that the performance data for the current period may not be reliable. Some reasons for this to occur are:\r
476                     â€“ Suspect data were detected by the actual resource doing data collection.\r
477                     â€“ Transition of the administrativeState attribute to/from the 'lock' state.\r
478                     â€“ Transition of the operationalState to/from the 'disabled' state.\r
479                     â€“ Scheduler setting that inhibits the collection function.\r
480                     â€“ The performance counters were reset during the interval.\r
481                     â€“ The currentData (or subclass) object instance was created during the monitoring period.";\r
482             }\r
483             uses tapi-common:local-class-g;\r
484             description "none";\r
485         }\r
486         grouping pm-history-data-g {\r
487             container granularity-period {\r
488                 uses tapi-common:time-period-g;\r
489                 description "none";\r
490             }\r
491             leaf period-end-time {\r
492                 type tapi-common:date-and-time;\r
493                 description "none";\r
494             }\r
495             leaf suspect-interval-flag {\r
496                 type boolean;\r
497                 config false;\r
498                 description "This attribute indicates that the performance data may not be reliable.";\r
499             }\r
500             uses tapi-common:local-class-g;\r
501             description "none";\r
502         }\r
503         grouping oam-profile-g {\r
504             list pm-threshold-data {\r
505                 key 'local-id';\r
506                 min-elements 1;\r
507                 uses pm-threshold-data-g;\r
508                 description "none";\r
509             }\r
510             list pm-bin-data {\r
511                 key 'local-id';\r
512                 min-elements 1;\r
513                 uses pm-bin-data-g;\r
514                 description "none";\r
515             }\r
516             uses tapi-common:global-class-g;\r
517             description "none";\r
518         }\r
519         grouping pm-threshold-data-g {\r
520             container granularity-period {\r
521                 uses tapi-common:time-period-g;\r
522                 description "none";\r
523             }\r
524             leaf is-transient {\r
525                 type boolean;\r
526                 description "none";\r
527             }\r
528             uses tapi-common:local-class-g;\r
529             description "none";\r
530         }\r
531         grouping pm-bin-data-g {\r
532             container granularity-period {\r
533                 uses tapi-common:time-period-g;\r
534                 description "none";\r
535             }\r
536             uses tapi-common:local-class-g;\r
537             description "none";\r
538         }\r
539 \r
540     /***********************\r
541     * package type-definitions\r
542     **********************/ \r
543         identity OAM_JOB_TYPE {\r
544             description "none";\r
545         }\r
546         typedef oam-job-type {\r
547             type identityref {\r
548                 base OAM_JOB_TYPE;\r
549             }\r
550             description "none";\r
551         }\r
552 \r
553     /***********************\r
554     * package interfaces\r
555     **********************/ \r
556         rpc create-oam-service {\r
557             description "none";\r
558             input {\r
559                 list end-point {\r
560                     min-elements 1;\r
561                     uses oam-service-end-point-g;\r
562                     description "none";\r
563                 }\r
564                 container oam-constraint {\r
565                     uses oam-constraint-g;\r
566                     description "none";\r
567                 }\r
568                 leaf state {\r
569                     type string;\r
570                     description "none";\r
571                 }\r
572             }\r
573             output {\r
574                 container service {\r
575                     uses oam-service-g;\r
576                     description "none";\r
577                 }\r
578             }\r
579         }\r
580         rpc delete-oam-service {\r
581             description "none";\r
582             input {\r
583                 leaf service-id {\r
584                     type string;\r
585                     description "none";\r
586                 }\r
587             }\r
588         }\r
589         rpc get-oam-service {\r
590             description "none";\r
591             input {\r
592                 leaf service-id {\r
593                     type string;\r
594                     description "none";\r
595                 }\r
596             }\r
597             output {\r
598                 container service {\r
599                     uses oam-service-g;\r
600                     description "none";\r
601                 }\r
602             }\r
603         }\r
604         rpc create-oam-job {\r
605             description "none";\r
606             input {\r
607                 leaf oam-job-type {\r
608                     type oam-job-type;\r
609                     description "none";\r
610                 }\r
611                 list oam-service-end-point {\r
612                     min-elements 1;\r
613                     max-elements 2;\r
614                     uses oam-service-end-point-g;\r
615                     description "none";\r
616                 }\r
617                 container oam-profile {\r
618                     uses oam-profile-g;\r
619                     description "none";\r
620                 }\r
621                 leaf state {\r
622                     type string;\r
623                     description "none";\r
624                 }\r
625                 leaf schedule {\r
626                     type string;\r
627                     description "none";\r
628                 }\r
629             }\r
630             output {\r
631                 container oam-job {\r
632                     uses oam-job-g;\r
633                     description "none";\r
634                 }\r
635             }\r
636         }\r
637         rpc get-oam-job {\r
638             description "none";\r
639             input {\r
640                 leaf job-id {\r
641                     type string;\r
642                     description "none";\r
643                 }\r
644             }\r
645             output {\r
646                 container oam-job {\r
647                     uses oam-job-g;\r
648                     description "none";\r
649                 }\r
650             }\r
651         }\r
652         rpc get-oam-service-list {\r
653             description "none";\r
654             output {\r
655                 list service {\r
656                     uses oam-service-g;\r
657                     description "none";\r
658                 }\r
659             }\r
660         }\r
661         rpc get-meg {\r
662             description "none";\r
663             input {\r
664                 leaf service-id {\r
665                     type string;\r
666                     description "none";\r
667                 }\r
668             }\r
669             output {\r
670                 container meg {\r
671                     uses meg-g;\r
672                     description "none";\r
673                 }\r
674             }\r
675         }\r
676         rpc update-oam-service {\r
677             description "none";\r
678             input {\r
679                 leaf service-id {\r
680                     type string;\r
681                     description "none";\r
682                 }\r
683                 list end-point {\r
684                     uses oam-service-end-point-g;\r
685                     description "none";\r
686                 }\r
687                 container oam-constraint {\r
688                     uses oam-constraint-g;\r
689                     description "none";\r
690                 }\r
691                 leaf state {\r
692                     type string;\r
693                     description "none";\r
694                 }\r
695             }\r
696             output {\r
697                 container service {\r
698                     uses oam-service-g;\r
699                     description "none";\r
700                 }\r
701             }\r
702         }\r
703         rpc delete-oam-job {\r
704             description "none";\r
705             input {\r
706                 leaf job-id {\r
707                     type string;\r
708                     description "none";\r
709                 }\r
710             }\r
711         }\r
712         rpc update-oam-job {\r
713             description "none";\r
714             input {\r
715                 leaf job-id {\r
716                     type string;\r
717                     description "none";\r
718                 }\r
719                 container oam-profile {\r
720                     uses oam-profile-g;\r
721                     description "none";\r
722                 }\r
723                 leaf state {\r
724                     type string;\r
725                     description "none";\r
726                 }\r
727                 leaf schedule {\r
728                     type string;\r
729                     description "none";\r
730                 }\r
731             }\r
732             output {\r
733                 container oam-job {\r
734                     uses oam-job-g;\r
735                     description "none";\r
736                 }\r
737             }\r
738         }\r
739         rpc create-oam-service-end-point {\r
740             description "none";\r
741             input {\r
742                 leaf service-id {\r
743                     type string;\r
744                     description "none";\r
745                 }\r
746                 leaf sip-id {\r
747                     type string;\r
748                     description "none";\r
749                 }\r
750                 leaf c-sep-id {\r
751                     type string;\r
752                     description "none";\r
753                 }\r
754                 leaf layer {\r
755                     type string;\r
756                     description "none";\r
757                 }\r
758                 leaf direction {\r
759                     type string;\r
760                     description "none";\r
761                 }\r
762                 leaf state {\r
763                     type string;\r
764                     description "none";\r
765                 }\r
766             }\r
767             output {\r
768                 container end-point {\r
769                     uses oam-service-end-point-g;\r
770                     description "none";\r
771                 }\r
772             }\r
773         }\r
774         rpc delete-oam-service-end-point {\r
775             description "none";\r
776             input {\r
777                 leaf service-id {\r
778                     type string;\r
779                     description "none";\r
780                 }\r
781                 leaf o-sep-id {\r
782                     type string;\r
783                     description "none";\r
784                 }\r
785             }\r
786         }\r
787         rpc update-oam-service-end-point {\r
788             description "none";\r
789             input {\r
790                 leaf service-id {\r
791                     type string;\r
792                     description "none";\r
793                 }\r
794                 leaf o-sep-id {\r
795                     type string;\r
796                     description "none";\r
797                 }\r
798                 leaf state {\r
799                     type string;\r
800                     description "none";\r
801                 }\r
802             }\r
803             output {\r
804                 container end-point {\r
805                     uses oam-service-end-point-g;\r
806                     description "none";\r
807                 }\r
808             }\r
809         }\r
810         rpc get-oam-service-end-point {\r
811             description "none";\r
812             input {\r
813                 leaf service-id {\r
814                     type string;\r
815                     description "none";\r
816                 }\r
817                 leaf o-sep-id {\r
818                     type string;\r
819                     description "none";\r
820                 }\r
821             }\r
822             output {\r
823                 container end-point {\r
824                     uses oam-service-end-point-g;\r
825                     description "none";\r
826                 }\r
827             }\r
828         }\r
829 \r
830 }\r