-
Notifications
You must be signed in to change notification settings - Fork 0
/
draft-ietf-pce-pcep-yang-09.txt
6496 lines (5198 loc) · 217 KB
/
draft-ietf-pce-pcep-yang-09.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
PCE Working Group D. Dhody, Ed.
Internet-Draft Huawei Technologies
Intended status: Standards Track J. Hardwick
Expires: April 18, 2019 Metaswitch
V. Beeram
Juniper Networks
J. Tantsura
October 15, 2018
A YANG Data Model for Path Computation Element Communications Protocol
(PCEP)
draft-ietf-pce-pcep-yang-09
Abstract
This document defines a YANG data model for the management of Path
Computation Element communications Protocol (PCEP) for communications
between a Path Computation Client (PCC) and a Path Computation
Element (PCE), or between two PCEs. The data model includes
configuration data and state data (status information and counters
for the collection of statistics).
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at https://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on April 18, 2019.
Copyright Notice
Copyright (c) 2018 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(https://trustee.ietf.org/license-info) in effect on the date of
Dhody, et al. Expires April 18, 2019 [Page 1]
Internet-Draft PCE-YANG October 2018
publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 2
2. Requirements Language . . . . . . . . . . . . . . . . . . . . 3
3. Terminology and Notation . . . . . . . . . . . . . . . . . . 3
3.1. Tree Diagrams . . . . . . . . . . . . . . . . . . . . . . 4
3.2. Prefixes in Data Node Names . . . . . . . . . . . . . . . 4
4. Objectives . . . . . . . . . . . . . . . . . . . . . . . . . 5
5. The Design of PCEP Data Model . . . . . . . . . . . . . . . . 6
5.1. The Overview of PCEP Data Model . . . . . . . . . . . . . 6
5.2. The Full PCEP Data Model . . . . . . . . . . . . . . . . 7
5.3. The Entity . . . . . . . . . . . . . . . . . . . . . . . 22
5.4. The Peer Lists . . . . . . . . . . . . . . . . . . . . . 22
5.5. The Session Lists . . . . . . . . . . . . . . . . . . . . 23
5.6. Notifications . . . . . . . . . . . . . . . . . . . . . . 23
5.7. RPC . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
6. The Design of PCEP Statistics Data Model . . . . . . . . . . 23
7. Advanced PCE Features . . . . . . . . . . . . . . . . . . . . 28
7.1. Stateful PCE's LSP-DB . . . . . . . . . . . . . . . . . . 28
8. Open Issues and Next Step . . . . . . . . . . . . . . . . . . 28
8.1. The PCE-Initiated LSP . . . . . . . . . . . . . . . . . . 29
9. Other Considerations . . . . . . . . . . . . . . . . . . . . 29
9.1. PCEP over TLS (PCEPS) . . . . . . . . . . . . . . . . . . 29
10. PCEP YANG Modules . . . . . . . . . . . . . . . . . . . . . . 29
10.1. ietf-pcep module . . . . . . . . . . . . . . . . . . . . 29
10.2. ietf-pcep-stats module . . . . . . . . . . . . . . . . . 86
11. Security Considerations . . . . . . . . . . . . . . . . . . . 106
12. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 107
13. Acknowledgements . . . . . . . . . . . . . . . . . . . . . . 107
14. References . . . . . . . . . . . . . . . . . . . . . . . . . 108
14.1. Normative References . . . . . . . . . . . . . . . . . . 108
14.2. Informative References . . . . . . . . . . . . . . . . . 110
Appendix A. Example . . . . . . . . . . . . . . . . . . . . . . 111
Appendix B. Contributor Addresses . . . . . . . . . . . . . . . 114
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 115
1. Introduction
The Path Computation Element (PCE) defined in [RFC4655] is an entity
that is capable of computing a network path or route based on a
network graph, and applying computational constraints. A Path
Dhody, et al. Expires April 18, 2019 [Page 2]
Internet-Draft PCE-YANG October 2018
Computation Client (PCC) may make requests to a PCE for paths to be
computed.
PCEP is the communication protocol between a PCC and PCE and is
defined in [RFC5440]. PCEP interactions include path computation
requests and path computation replies as well as notifications of
specific states related to the use of a PCE in the context of
Multiprotocol Label Switching (MPLS) and Generalized MPLS (GMPLS)
Traffic Engineering (TE). [RFC8231] specifies extensions to PCEP to
enable stateful control of MPLS TE LSPs.
This document defines a YANG [RFC7950] data model for the management
of PCEP speakers. It is important to establish a common data model
for how PCEP speakers are identified, configured, and monitored. The
data model includes configuration data and state data (status
information and counters for the collection of statistics).
This document contains a specification of the PCEP YANG module,
"ietf-pcep" which provides the PCEP [RFC5440] data model.
The PCEP operational state is included in the same tree as the PCEP
configuration consistent with Network Management Datastore
Architecture [RFC8342]. The origin of the data is indicated as per
the origin metadata annotation.
2. Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED", "MAY", and
"OPTIONAL" in this document are to be interpreted as described in BCP
14 [RFC2119] [RFC8174] when, and only when, they appear in all
capitals, as shown here.
3. Terminology and Notation
This document uses the terminology defined in [RFC4655] and
[RFC5440]. In particular, it uses the following acronyms.
o Path Computation Request message (PCReq).
o Path Computation Reply message (PCRep).
o Notification message (PCNtf).
o Error message (PCErr).
o Request Parameters object (RP).
Dhody, et al. Expires April 18, 2019 [Page 3]
Internet-Draft PCE-YANG October 2018
o Synchronization Vector object (SVEC).
o Explicit Route object (ERO).
This document also uses the following terms defined in [RFC7420]:
o PCEP entity: a local PCEP speaker.
o PCEP peer: to refer to a remote PCEP speaker.
o PCEP speaker: where it is not necessary to distinguish between
local and remote.
Further, this document also uses the following terms defined in
[RFC8231] :
o Stateful PCE, Passive Stateful PCE, Active Stateful PCE
o Delegation, Revocation, Redelegation
o LSP State Report, Path Computation Report message (PCRpt).
o LSP State Update, Path Computation Update message (PCUpd).
[RFC8281] :
o PCE-initiated LSP, Path Computation LSP Initiate Message
(PCInitiate).
[RFC8408] :
o Path Setup Type (PST).
[I-D.ietf-pce-segment-routing] :
o Segment Routing (SR).
3.1. Tree Diagrams
A simplified graphical representation of the data model is used in
this document. The meaning of the symbols in these diagrams is
defined in [RFC8340].
3.2. Prefixes in Data Node Names
In this document, names of data nodes and other data model objects
are often used without a prefix, as long as it is clear from the
context in which YANG module each name is defined. Otherwise, names
Dhody, et al. Expires April 18, 2019 [Page 4]
Internet-Draft PCE-YANG October 2018
are prefixed using the standard prefix associated with the
corresponding YANG module, as shown in Table 1.
+-----------+-----------------+-------------------------------------+
| Prefix | YANG module | Reference |
+-----------+-----------------+-------------------------------------+
| yang | ietf-yang-types | [RFC6991] |
| inet | ietf-inet-types | [RFC6991] |
| te | ietf-te | [I-D.ietf-teas-yang-te] |
| te-types | ietf-te-types | [I-D.ietf-teas-yang-te] |
| key-chain | ietf-key-chain | [RFC8177] |
| nacm | ietf-netconf- | [RFC8341] |
| | acm | |
| tls- | ietf-tls-server | [I-D.ietf-netconf-tls-client-server |
| server | | ] |
| tls- | ietf-tls-client | [I-D.ietf-netconf-tls-client-server |
| client | | ] |
+-----------+-----------------+-------------------------------------+
Table 1: Prefixes and corresponding YANG modules
4. Objectives
This section describes some of the design objectives for the model:
o In case of existing implementations, it needs to map the data
model defined in this document to their proprietary native data
model. To facilitate such mappings, the data model should be
simple.
o The data model should be suitable for new implementations to use
as is.
o Mapping to the PCEP MIB Module should be clear.
o The data model should allow for static configurations of peers.
o The data model should include read-only counters in order to
gather statistics for sent and received PCEP messages, received
messages with errors, and messages that could not be sent due to
errors. This could be in a separate model which augments the base
data model.
o It should be fairly straightforward to augment the base data model
for advanced PCE features.
Dhody, et al. Expires April 18, 2019 [Page 5]
Internet-Draft PCE-YANG October 2018
5. The Design of PCEP Data Model
5.1. The Overview of PCEP Data Model
The PCEP YANG module defined in this document has all the common
building blocks for the PCEP protocol.
module: ietf-pcep
+--rw pcep!
+--rw entity
+--rw addr inet:ip-address
+--rw enabled? boolean
+--rw role pcep-role
+--rw description? string
+--rw speaker-entity-id? string
| {stateful-sync-opt}?
+--rw admin-status? pcep-admin-status
+--ro index? uint32
+--ro oper-status? pcep-oper-status
+--rw domain
| +--rw domain* [domain-type domain]
| ...
+--rw capability
| ...
+--rw pce-info
| +--rw scope
| | ...
| +--rw neigh-domains
| | ...
| +--rw path-key {path-key}?
| ...
+--ro lsp-db {stateful}?
| +--ro db-ver? uint64
| | {stateful-sync-opt}?
| +--ro association-list*
| | [id source global-source extended-id]
| | ...
| +--ro lsp* [plsp-id pcc-id]
| ...
+--ro path-keys {path-key}?
| +--ro path-keys* [path-key]
| ...
+--rw peers
+--rw peer* [addr]
+--ro sessions
Dhody, et al. Expires April 18, 2019 [Page 6]
Internet-Draft PCE-YANG October 2018
+--ro session* [initiator]
...
rpcs:
+---x trigger-resync {stateful,stateful-sync-opt}?
+---w input
+---w pcc? -> /pcep/entity/peers/peer/addr
notifications:
+---n pcep-session-up
| ...
+---n pcep-session-down
| ...
+---n pcep-session-local-overload
| ...
+---n pcep-session-local-overload-clear
| ...
+---n pcep-session-peer-overload
| ...
+---n pcep-session-peer-overload-clear
...
5.2. The Full PCEP Data Model
The module, "ietf-pcep", defines the basic components of a PCE
speaker.
module: ietf-pcep
+--rw pcep!
+--rw entity
+--rw addr inet:ip-address
+--rw enabled? boolean
+--rw role pcep-role
+--rw description? string
+--rw speaker-entity-id? string
| {stateful-sync-opt}?
+--rw admin-status? pcep-admin-status
+--ro index? uint32
+--ro oper-status? pcep-oper-status
+--rw domain
| +--rw domain* [domain-type domain]
| +--rw domain-type domain-type
| +--rw domain domain
+--rw capability
| +--rw gmpls? boolean {gmpls}?
| +--rw bi-dir? boolean
| +--rw diverse? boolean
| +--rw load-balance? boolean
Dhody, et al. Expires April 18, 2019 [Page 7]
Internet-Draft PCE-YANG October 2018
| +--rw synchronize? boolean {svec}?
| +--rw objective-function? boolean {objective-function}?
| +--rw add-path-constraint? boolean
| +--rw prioritization? boolean
| +--rw multi-request? boolean
| +--rw gco? boolean {gco}?
| +--rw p2mp? boolean {p2mp}?
| +--rw stateful {stateful}?
| | +--rw enabled? boolean
| | +--rw active? boolean
| | +--rw pce-initiated? boolean {pce-initiated}?
| | +--rw include-db-ver? boolean
| | | {stateful-sync-opt}?
| | +--rw trigger-resync? boolean
| | | {stateful-sync-opt}?
| | +--rw trigger-initial-sync? boolean
| | | {stateful-sync-opt}?
| | +--rw incremental-sync? boolean
| | {stateful-sync-opt}?
| +--rw sr {sr}?
| +--rw enabled? boolean
| +--rw msd? uint8
| +--rw msd-limit? boolean
| +--rw nai? boolean
+--rw pce-info
| +--rw scope
| | +--rw intra-area-scope? boolean
| | +--rw intra-area-pref? uint8
| | +--rw inter-area-scope? boolean
| | +--rw inter-area-scope-default? boolean
| | +--rw inter-area-pref? uint8
| | +--rw inter-as-scope? boolean
| | +--rw inter-as-scope-default? boolean
| | +--rw inter-as-pref? uint8
| | +--rw inter-layer-scope? boolean
| | +--rw inter-layer-pref? uint8
| +--rw neigh-domains
| | +--rw domain* [domain-type domain]
| | +--rw domain-type domain-type
| | +--rw domain domain
| +--rw path-key {path-key}?
| +--rw enabled? boolean
| +--rw discard-timer? uint32
| +--rw reuse-time? uint32
| +--rw pce-id? inet:ip-address
+--rw connect-timer? uint32
+--rw connect-max-retry? uint32
+--rw init-backoff-timer? uint32
Dhody, et al. Expires April 18, 2019 [Page 8]
Internet-Draft PCE-YANG October 2018
+--rw max-backoff-timer? uint32
+--rw open-wait-timer? uint32
+--rw keep-wait-timer? uint32
+--rw keep-alive-timer? uint32
+--rw dead-timer? uint32
+--rw allow-negotiation? boolean
+--rw max-keep-alive-timer? uint32
+--rw max-dead-timer? uint32
+--rw min-keep-alive-timer? uint32
+--rw min-dead-timer? uint32
+--rw sync-timer? uint32 {svec}?
+--rw request-timer? uint32
+--rw max-sessions? uint32
+--rw max-unknown-reqs? uint32
+--rw max-unknown-msgs? uint32
+--rw pcep-notification-max-rate uint32
+--rw stateful-parameter {stateful}?
| +--rw state-timeout? uint32
| +--rw redelegation-timeout? uint32
| +--rw rpt-non-pcep-lsp? boolean
+--rw of-list {objective-function}?
| +--rw objective-function* [of]
| +--rw of identityref
+--ro lsp-db {stateful}?
| +--ro db-ver? uint64 {stateful-sync-opt}?
| +--ro association-list*
| | [type id source global-source extended-id]
| | {association}?
| | +--ro type identityref
| | +--ro id uint16
| | +--ro source inet:ip-address
| | +--ro global-source uint32
| | +--ro extended-id string
| | +--ro lsp* [plsp-id pcc-id]
| | +--ro plsp-id -> /pcep/entity/lsp-db/lsp/plsp-id
| | +--ro pcc-id -> /pcep/entity/lsp-db/lsp/pcc-id
| +--ro lsp* [plsp-id pcc-id]
| +--ro plsp-id uint32
| +--ro pcc-id inet:ip-address
| +--ro lsp-ref
| | +--ro source?
| | | -> /te:te/lsps-state/lsp/source
| | +--ro destination?
| | | -> /te:te/lsps-state/lsp/destination
| | +--ro tunnel-id?
| | | -> /te:te/lsps-state/lsp/tunnel-id
| | +--ro lsp-id?
| | | -> /te:te/lsps-state/lsp/lsp-id
Dhody, et al. Expires April 18, 2019 [Page 9]
Internet-Draft PCE-YANG October 2018
| | +--ro extended-tunnel-id?
| | -> /te:te/lsps-state/lsp/extended-tunnel-id
| +--ro admin-state? boolean
| +--ro operational-state? operational-state
| +--ro delegated
| | +--ro enabled? boolean
| | +--ro peer? -> /pcep/entity/peers/peer/addr
| | +--ro srp-id? uint32
| +--ro initiation {pce-initiated}?
| | +--ro enabled? boolean
| | +--ro peer? -> /pcep/entity/peers/peer/addr
| +--ro symbolic-path-name? string
| +--ro last-error? identityref
| +--ro pst? identityref
| +--ro association-list*
| [type id source global-source extended-id]
| {association}?
| +--ro type
| | -> /pcep/entity/lsp-db/association-list/type
| +--ro id
| | -> /pcep/entity/lsp-db/association-list/id
| +--ro source
| | -> /pcep/entity/lsp-db/association-list/source
| +--ro global-source leafref
| +--ro extended-id leafref
+--ro path-keys {path-key}?
| +--ro path-keys* [path-key]
| +--ro path-key uint16
| +--ro cps
| | +--ro explicit-route-objects* [index]
| | +--ro index uint32
| | +--ro (type)?
| | +--:(num-unnum-hop)
| | | +--ro num-unnum-hop
| | | +--ro node-id? te-types:te-node-id
| | | +--ro link-tp-id? te-types:te-tp-id
| | | +--ro hop-type? te-hop-type
| | | +--ro direction? te-link-direction
| | +--:(as-number)
| | | +--ro as-number-hop
| | | +--ro as-number? binary
| | | +--ro hop-type? te-hop-type
| | +--:(label)
| | +--ro label-hop
| | +--ro te-label
| | +--ro (technology)?
| | | +--:(generic)
| | | +--ro generic?
Dhody, et al. Expires April 18, 2019 [Page 10]
Internet-Draft PCE-YANG October 2018
| | | rt-types:generalized-label
| | +--ro direction? te-label-direction
| +--ro pcc-original? -> /pcep/entity/peers/peer/addr
| +--ro req-id? uint32
| +--ro retrieved? boolean
| +--ro pcc-retrieved? -> /pcep/entity/peers/peer/addr
| +--ro creation-time? yang:timestamp
| +--ro discard-time? uint32
| +--ro reuse-time? uint32
+--rw peers
+--rw peer* [addr]
+--rw addr inet:ip-address
+--rw role pcep-role
+--rw description? string
+--rw domain
| +--rw domain* [domain-type domain]
| +--rw domain-type domain-type
| +--rw domain domain
+--rw capability
| +--rw gmpls? boolean {gmpls}?
| +--rw bi-dir? boolean
| +--rw diverse? boolean
| +--rw load-balance? boolean
| +--rw synchronize? boolean {svec}?
| +--rw objective-function? boolean
| | {objective-function}?
| +--rw add-path-constraint? boolean
| +--rw prioritization? boolean
| +--rw multi-request? boolean
| +--rw gco? boolean {gco}?
| +--rw p2mp? boolean {p2mp}?
| +--rw stateful {stateful}?
| | +--rw enabled? boolean
| | +--rw active? boolean
| | +--rw pce-initiated? boolean
| | | {pce-initiated}?
| | +--rw include-db-ver? boolean
| | | {stateful-sync-opt}?
| | +--rw trigger-resync? boolean
| | | {stateful-sync-opt}?
| | +--rw trigger-initial-sync? boolean
| | | {stateful-sync-opt}?
| | +--rw incremental-sync? boolean
| | {stateful-sync-opt}?
| +--rw sr {sr}?
| +--rw enabled? boolean
| +--rw msd? uint8
| +--rw msd-limit? boolean
Dhody, et al. Expires April 18, 2019 [Page 11]
Internet-Draft PCE-YANG October 2018
| +--rw nai? boolean
+--rw pce-info
| +--rw scope
| | +--rw intra-area-scope? boolean
| | +--rw intra-area-pref? uint8
| | +--rw inter-area-scope? boolean
| | +--rw inter-area-scope-default? boolean
| | +--rw inter-area-pref? uint8
| | +--rw inter-as-scope? boolean
| | +--rw inter-as-scope-default? boolean
| | +--rw inter-as-pref? uint8
| | +--rw inter-layer-scope? boolean
| | +--rw inter-layer-pref? uint8
| +--rw neigh-domains
| +--rw domain* [domain-type domain]
| +--rw domain-type domain-type
| +--rw domain domain
+--rw delegation-pref? uint8 {stateful}?
+--rw auth
| +--rw (auth-type-selection)?
| +--:(auth-key-chain)
| | +--rw key-chain? key-chain:key-chain-ref
| +--:(auth-key)
| | +--rw crypto-algorithm identityref
| | +--rw key? string
| +--:(auth-tls) {tls}?
| +--rw (role)?
| +--:(server)
| | +--rw tls-server
| | +--rw server-identity
| | | +--rw (local-or-keystore)
| | | +--:(local)
| | | | +--rw algorithm
| | | | | ct:key-algorithm-ref
| | | | +--rw public-key
| | | | | binary
| | | | +--rw private-key
| | | | | union
| | | | +--rw cert
| | | | | ct:end-entity-cert-cms
| | | | +---n certificate-expiration
| | | | +---- expiration-date?
| | | | yang:date-and-time
| | | +--:(keystore)
| | | {keystore-implemented}?
| | | +--rw reference
| | | ks:asymmetric-key-certificate-ref
| | +--rw client-auth
Dhody, et al. Expires April 18, 2019 [Page 12]
Internet-Draft PCE-YANG October 2018
| | | +--rw pinned-ca-certs?
| | | | ta:pinned-certificates-ref
| | | +--rw pinned-client-certs?
| | | ta:pinned-certificates-ref
| | +--rw hello-params
| | {tls-server-hello-params-config}?
| | +--rw tls-versions
| | | +--rw tls-version* identityref
| | +--rw cipher-suites
| | +--rw cipher-suite* identityref
| +--:(client)
| +--rw tls-client
| +--rw client-identity
| | +--rw (auth-type)?
| | +--:(certificate)
| | +--rw certificate
| | +--rw (local-or-keystore)
| | +--:(local)
| | | +--rw algorithm
| | | | ct:key-algorithm-ref
| | | +--rw public-key
| | | | binary
| | | +--rw private-key
| | | | union
| | | +--rw cert
| | | | ct:end-entity-cert-cms
| | | +---n certificate-expiration
| | | +---- expiration-date?
| | | yang:date-and-time
| | +--:(keystore)
| | {keystore-implemented}?
| | +--rw reference
| | ks:asymmetric-key-certificate-ref
| +--rw server-auth
| | +--rw pinned-ca-certs?
| | | ta:pinned-certificates-ref
| | +--rw pinned-server-certs?
| | ta:pinned-certificates-ref
| +--rw hello-params
| {tls-client-hello-params-config}?
| +--rw tls-versions
| | +--rw tls-version* identityref
| +--rw cipher-suites
| +--rw cipher-suite* identityref
+--ro discontinuity-time? yang:timestamp
+--ro initiate-session? boolean
+--ro session-exists? boolean
+--ro session-up-time? yang:timestamp
Dhody, et al. Expires April 18, 2019 [Page 13]
Internet-Draft PCE-YANG October 2018
+--ro session-fail-time? yang:timestamp
+--ro session-fail-up-time? yang:timestamp
+--ro sessions
+--ro session* [initiator]
+--ro initiator pcep-initiator
+--ro role? -> /pcep/entity/role
+--ro state-last-change? yang:timestamp
+--ro state? pcep-sess-state
+--ro session-creation? yang:timestamp
+--ro connect-retry? yang:counter32
+--ro local-id? uint32
+--ro remote-id? uint32
+--ro keepalive-timer? uint32
+--ro peer-keepalive-timer? uint32
+--ro dead-timer? uint32
+--ro peer-dead-timer? uint32
+--ro ka-hold-time-rem? uint32
+--ro overloaded? boolean
+--ro overload-time? uint32
+--ro peer-overloaded? boolean
+--ro peer-overload-time? uint32
+--ro lspdb-sync? sync-state
| {stateful}?
+--ro recv-db-ver? uint64
| {stateful,stateful-sync-opt}?
+--ro of-list {objective-function}?
| +--ro objective-function* [of]
| +--ro of identityref
+--ro pst-list
| +--ro path-setup-type* [pst]
| +--ro pst identityref
+--ro assoc-type-list {association}?
| +--ro assoc-type* [at]
| +--ro at identityref
+--ro speaker-entity-id? string
| {stateful-sync-opt}?
+--ro discontinuity-time? yang:timestamp
rpcs:
+---x trigger-resync {stateful,stateful-sync-opt}?
+---w input
+---w pcc? -> /pcep/entity/peers/peer/addr
notifications:
+---n pcep-session-up
| +--ro peer-addr? -> /pcep/entity/peers/peer/addr
| +--ro session-initiator?
| | -> /pcep/entity/peers/peer/sessions/session/initiator
Dhody, et al. Expires April 18, 2019 [Page 14]
Internet-Draft PCE-YANG October 2018
| +--ro state-last-change? yang:timestamp
| +--ro state? pcep-sess-state
+---n pcep-session-down
| +--ro peer-addr? -> /pcep/entity/peers/peer/addr
| +--ro session-initiator? pcep-initiator
| +--ro state-last-change? yang:timestamp
| +--ro state? pcep-sess-state
+---n pcep-session-local-overload
| +--ro peer-addr? -> /pcep/entity/peers/peer/addr
| +--ro session-initiator?
| | -> /pcep/entity/peers/peer/sessions/session/initiator
| +--ro overloaded? boolean
| +--ro overload-time? uint32
+---n pcep-session-local-overload-clear
| +--ro peer-addr? -> /pcep/entity/peers/peer/addr
| +--ro overloaded? boolean
+---n pcep-session-peer-overload
| +--ro peer-addr? -> /pcep/entity/peers/peer/addr
| +--ro session-initiator?
| | -> /pcep/entity/peers/peer/sessions/session/initiator
| +--ro peer-overloaded? boolean
| +--ro peer-overload-time? uint32
+---n pcep-session-peer-overload-clear
+--ro peer-addr? -> /pcep/entity/peers/peer/addr
+--ro peer-overloaded? boolean
groupings:
info
+---- domain
| +---- domain* [domain-type domain]
| +---- domain-type? domain-type
| +---- domain? domain
+---- capability
+---- gmpls? boolean {gmpls}?
+---- bi-dir? boolean
+---- diverse? boolean
+---- load-balance? boolean
+---- synchronize? boolean {svec}?
+---- objective-function? boolean {objective-function}?
+---- add-path-constraint? boolean
+---- prioritization? boolean
+---- multi-request? boolean
+---- gco? boolean {gco}?
+---- p2mp? boolean {p2mp}?
+---- stateful {stateful}?
| +---- enabled? boolean
| +---- active? boolean
| +---- pce-initiated? boolean {pce-initiated}?
| +---- include-db-ver? boolean {stateful-sync-opt}?
Dhody, et al. Expires April 18, 2019 [Page 15]
Internet-Draft PCE-YANG October 2018
| +---- trigger-resync? boolean {stateful-sync-opt}?
| +---- trigger-initial-sync? boolean {stateful-sync-opt}?
| +---- incremental-sync? boolean {stateful-sync-opt}?
+---- sr {sr}?
+---- enabled? boolean
+---- msd? uint8
+---- msd-limit? boolean
+---- nai? boolean
lsp-state
+---- plsp-id? uint32
+---- pcc-id? inet:ip-address
+---- lsp-ref
| +---- source? -> /te:te/lsps-state/lsp/source
| +---- destination? -> /te:te/lsps-state/lsp/destination
| +---- tunnel-id? -> /te:te/lsps-state/lsp/tunnel-id
| +---- lsp-id? -> /te:te/lsps-state/lsp/lsp-id
| +---- extended-tunnel-id?
| -> /te:te/lsps-state/lsp/extended-tunnel-id
+---- admin-state? boolean
+---- operational-state? operational-state
+---- delegated
| +---- enabled? boolean
| +---- peer? -> /pcep/entity/peers/peer/addr
| +---- srp-id? uint32
+---- initiation {pce-initiated}?
| +---- enabled? boolean
| +---- peer? -> /pcep/entity/peers/peer/addr
+---- symbolic-path-name? string
+---- last-error? identityref
+---- pst? identityref
pce-scope
+---- intra-area-scope? boolean
+---- intra-area-pref? uint8
+---- inter-area-scope? boolean
+---- inter-area-scope-default? boolean
+---- inter-area-pref? uint8
+---- inter-as-scope? boolean
+---- inter-as-scope-default? boolean
+---- inter-as-pref? uint8
+---- inter-layer-scope? boolean
+---- inter-layer-pref? uint8
of-list
+---- objective-function* [of]
+---- of? identityref
Dhody, et al. Expires April 18, 2019 [Page 16]
Internet-Draft PCE-YANG October 2018
pst-list
+---- path-setup-type* [pst]
+---- pst? identityref
session-grouping
+--ro sessions
+--ro session* [initiator]
+--ro initiator? pcep-initiator
+--ro role? -> /pcep/entity/role
+--ro state-last-change? yang:timestamp
+--ro state? pcep-sess-state
+--ro session-creation? yang:timestamp
+--ro connect-retry? yang:counter32
+--ro local-id? uint32
+--ro remote-id? uint32
+--ro keepalive-timer? uint32
+--ro peer-keepalive-timer? uint32
+--ro dead-timer? uint32
+--ro peer-dead-timer? uint32
+--ro ka-hold-time-rem? uint32
+--ro overloaded? boolean
+--ro overload-time? uint32
+--ro peer-overloaded? boolean
+--ro peer-overload-time? uint32
+--ro lspdb-sync? sync-state {stateful}?
+--ro recv-db-ver? uint64
| {stateful,stateful-sync-opt}?
+--ro of-list {objective-function}?
| +--ro objective-function* [of]
| +--ro of? identityref
+--ro pst-list
| +--ro path-setup-type* [pst]
| +--ro pst? identityref
+--ro assoc-type-list {association}?
| +--ro assoc-type* [at]
| +--ro at? identityref
+--ro speaker-entity-id? string {stateful-sync-opt}?
+--ro discontinuity-time? yang:timestamp
pcep-entity-info
+---- connect-timer? uint32
+---- connect-max-retry? uint32
+---- init-backoff-timer? uint32
+---- max-backoff-timer? uint32
+---- open-wait-timer? uint32
+---- keep-wait-timer? uint32
+---- keep-alive-timer? uint32
+---- dead-timer? uint32
Dhody, et al. Expires April 18, 2019 [Page 17]
Internet-Draft PCE-YANG October 2018
+---- allow-negotiation? boolean
+---- max-keep-alive-timer? uint32
+---- max-dead-timer? uint32
+---- min-keep-alive-timer? uint32
+---- min-dead-timer? uint32
+---- sync-timer? uint32 {svec}?
+---- request-timer? uint32
+---- max-sessions? uint32
+---- max-unknown-reqs? uint32
+---- max-unknown-msgs? uint32
path-key
+---- enabled? boolean
+---- discard-timer? uint32
+---- reuse-time? uint32
+---- pce-id? inet:ip-address
capability
+---- gmpls? boolean {gmpls}?
+---- bi-dir? boolean
+---- diverse? boolean
+---- load-balance? boolean
+---- synchronize? boolean {svec}?
+---- objective-function? boolean {objective-function}?
+---- add-path-constraint? boolean
+---- prioritization? boolean
+---- multi-request? boolean
+---- gco? boolean {gco}?
+---- p2mp? boolean {p2mp}?
+---- stateful {stateful}?
| +---- enabled? boolean
| +---- active? boolean
| +---- pce-initiated? boolean {pce-initiated}?
| +---- include-db-ver? boolean {stateful-sync-opt}?
| +---- trigger-resync? boolean {stateful-sync-opt}?
| +---- trigger-initial-sync? boolean {stateful-sync-opt}?
| +---- incremental-sync? boolean {stateful-sync-opt}?
+---- sr {sr}?
+---- enabled? boolean
+---- msd? uint8
+---- msd-limit? boolean
+---- nai? boolean
path-key-state