summaryrefslogtreecommitdiff
path: root/doc/rfc/rfc5541.txt
blob: fa52645e06d9e8b45e105c1dbb15c9cc61ce0d1c (plain) (blame)
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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
Network Working Group                                        JL. Le Roux
Request for Comments: 5541                                France Telecom
Category: Standards Track                                    JP. Vasseur
                                                       Cisco System Inc.
                                                                  Y. Lee
                                                                  Huawei
                                                               June 2009


                Encoding of Objective Functions in the
         Path Computation Element Communication Protocol (PCEP)

Status of This Memo

   This document specifies an Internet standards track protocol for the
   Internet community, and requests discussion and suggestions for
   improvements.  Please refer to the current edition of the "Internet
   Official Protocol Standards" (STD 1) for the standardization state
   and status of this protocol.  Distribution of this memo is unlimited.

Copyright Notice

   Copyright (c) 2009 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 in effect on the date of
   publication of this document (http://trustee.ietf.org/license-info).
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.

   This document may contain material from IETF Documents or IETF
   Contributions published or made publicly available before November
   10, 2008.  The person(s) controlling the copyright in some of this
   material may not have granted the IETF Trust the right to allow
   modifications of such material outside the IETF Standards Process.
   Without obtaining an adequate license from the person(s) controlling
   the copyright in such materials, this document may not be modified
   outside the IETF Standards Process, and derivative works of it may
   not be created outside the IETF Standards Process, except to format
   it for publication as an RFC or to translate it into languages other
   than English.









Le Roux, et al.             Standards Track                     [Page 1]
^L
RFC 5541              Objective Functions in PCEP              June 2009


Abstract

   The computation of one or a set of Traffic Engineering Label Switched
   Paths (TE LSPs) in MultiProtocol Label Switching (MPLS) and
   Generalized MPLS (GMPLS) networks is subject to a set of one or more
   specific optimization criteria, referred to as objective functions
   (e.g., minimum cost path, widest path, etc.).

   In the Path Computation Element (PCE) architecture, a Path
   Computation Client (PCC) may want a path to be computed for one or
   more TE LSPs according to a specific objective function.  Thus, the
   PCC needs to instruct the PCE to use the correct objective function.
   Furthermore, it is possible that not all PCEs support the same set of
   objective functions; therefore, it is useful for the PCC to be able
   to automatically discover the set of objective functions supported by
   each PCE.

   This document defines extensions to the PCE communication Protocol
   (PCEP) to allow a PCE to indicate the set of objective functions it
   supports.  Extensions are also defined so that a PCC can indicate in
   a path computation request the required objective function, and a PCE
   can report in a path computation reply the objective function that
   was used for path computation.

   This document defines objective function code types for six objective
   functions previously listed in the PCE requirements work, and
   provides the definition of four new metric types that apply to a set
   of synchronized requests.























Le Roux, et al.             Standards Track                     [Page 2]
^L
RFC 5541              Objective Functions in PCEP              June 2009


Table of Contents

   1. Introduction ....................................................3
      1.1. Conventions Used in This Document ..........................5
      1.2. Terminology ................................................5
      1.3. Message Formats ............................................6
   2. Discovery of PCE Objective Functions ............................6
      2.1. OF-List TLV ................................................6
      2.2. Elements of Procedure ......................................7
   3. Objective Function in PCEP Path Computation Request and Reply
      Messages ........................................................7
      3.1. OF Object ..................................................7
           3.1.1. Elements of Procedure ...............................8
      3.2. Carrying The OF Object In a PCEP Message ...................9
      3.3. New RP Object Flag ........................................12
           3.3.1. Elements Of Procedure ..............................12
   4. Objective Functions Definition .................................13
   5. New Metric Types ...............................................14
   6. IANA Considerations ............................................15
      6.1. PCE Objective Function Sub-Registry .......................15
      6.2. PCEP Code Points ..........................................16
           6.2.1. OF Object ..........................................16
           6.2.2. OF-List TLV ........................................16
           6.2.3. PCEP Error Values ..................................16
           6.2.4. RP Object Flag .....................................17
           6.2.5. Metric Types .......................................17
   7. Security Considerations ........................................17
   8. Manageability Considerations ...................................18
      8.1. Control of Function and Policy ............................18
      8.2. Information and Data Models ...............................18
      8.3. Liveness Detection and Monitoring .........................18
      8.4. Verify Correct Operations .................................18
      8.5. Requirements On Other Protocols ...........................19
      8.6. Impact On Network Operations ..............................19
   9. Acknowledgments ................................................19
   10. References ....................................................19
      10.1. Normative References .....................................19
      10.2. Informative References ...................................19
   Appendix A. RBNF Code Fragments ...................................21

1.  Introduction

   The Path Computation Element-based network architecture [RFC4655]
   defines a Path Computation Element (PCE) as an entity capable of
   computing the paths of Traffic Engineered Label Switched Paths (TE
   LSPs) based on a network graph and of applying computational
   constraints.  A PCE services path computation requests that are sent
   by Path Computation Clients (PCC).



Le Roux, et al.             Standards Track                     [Page 3]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   The PCE communication Protocol (PCEP), defined in [RFC5440], allows
   for communication between a PCC and a PCE or between two PCEs, in
   compliance with requirements and guidelines set forth in [RFC4657].
   Such interactions include path computation requests and path
   computation replies.

   The computation of one or a set of TE LSPs is subject to a set of one
   or more optimization criteria, called an objective function.  An
   objective function is used by the PCE when it computes a path or a
   set of paths in order to select the "best" candidate paths.  There is
   a variety of objective functions: an objective function could apply
   either to a set of non-synchronized path computation requests, or to
   a set of synchronized path computation requests.  In the former case,
   the objective function refers to an individual path computation
   request (e.g., computation of the shortest constrained path where the
   metric is the IGP metric, computation of the least loaded constrained
   path, etc.).  Conversely, in the latter case, the objective function
   refers to a set of path computation requests the computation of which
   is synchronized (e.g., minimize the aggregate bandwidth consumption
   of all LSPs, minimize the sum of the delays for two diverse paths or
   of the delta between those delays, etc.).  Moreover, some objective
   functions relate to the optimization of a single metric and others to
   the optimization of a set of metrics (organized in a hierarchical
   manner, using a weighted function, etc.).

   As spelled out in [RFC4674], it may be useful for a PCC to discover
   the set of objective functions supported by a PCE.  Furthermore,
   [RFC4657] requires the ability for a PCC to indicate in a path
   computation request a required/desired objective function, as well as
   optional function parameters.

   For these purposes, this document extends the PCE communication
   Protocol (PCEP).  It defines PCEP extensions that allow a PCE to
   advertise a list of supported objective functions, as well as
   extensions to carry the objective function in PCEP request and reply
   messages.  It complements the PCEP base specification [RFC5440].

   Note that OSPF- and IS-IS-based PCE discovery mechanisms are defined
   in [RFC5088] and [RFC5089].  These mechanisms are dedicated to the
   discovery of a few generic parameters, while more detailed PCE
   parameters should be discovered using the PCE communication Protocol.
   Objective functions are in this second category; thus, the objective
   function discovery procedure is handled by PCEP.

   A new PCEP TLV, named the OF-List TLV, is defined in Section 2.  The
   OF-List TLV is carried in the PCEP OPEN object and allows a PCE to
   list, during PCEP session-setup phase, the objective functions that
   it supports.



Le Roux, et al.             Standards Track                     [Page 4]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   A new PCEP object, the OF object, is defined in Section 3.  The OF
   object is carried within a PCReq (Path Computation Request) message
   to indicate the required/desired objective function to be applied by
   a PCE, or in a PCRep (Path Computation Reply) message to indicate the
   objective function that was used for path computation.

   Six mandatory objective functions that must be supported by PCEP are
   listed in [RFC4657].  This document provides a definition of these
   six mandatory objective functions.  Additional objective functions
   may be defined in other documents.  Note that additional objective
   functions are defined for the PCE Global Concurrent Optimization
   (GCO) application, in [PCE-GCO].

   This document also provides the definition of four new metric types
   that apply to a set of synchronized requests.

1.1.  Conventions Used in This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in [RFC2119].

1.2.  Terminology

   LSR:    Label Switching Router.

   OF:     Objective Function.  A set of one or more optimization
           criteria used for the computation of a single path (e.g.,
           path cost minimization) or for the synchronized computation
           of a set of paths (e.g., aggregate bandwidth consumption
           minimization, etc.).

   PCC:    Path Computation Client.  Any client application requesting a
           path computation to be performed by a Path Computation
           Element.

   PCE:    Path Computation Element.  An entity (component, application,
           or network node) that is capable of computing a network path
           or route based on a network graph and of applying
           computational constraints.

   PCEP:   Path Computation Element communication Protocol.

   TE LSP: Traffic Engineered Label Switched Path.







Le Roux, et al.             Standards Track                     [Page 5]
^L
RFC 5541              Objective Functions in PCEP              June 2009


1.3.  Message Formats

   Message formats in this document are expressed using Reduced BNF as
   used in [RFC5440] and defined in [RFC5511].

2.  Discovery of PCE Objective Functions

   This section defines PCEP extensions (see [RFC5440]) so as to support
   the advertisement of the objective functions supported by a PCE.

   A new PCEP OF-List (Objective Function list) TLV is defined.  The
   PCEP OF-List TLV is carried within an OPEN object.  This way, during
   PCEP session-setup phase, a PCE can advertise to a PCEP peer the list
   of objective functions it supports.

2.1.  OF-List TLV

   The PCEP OF-List TLV is optional.  It MAY be carried within an OPEN
   object sent by a PCE in an Open message to a PCEP peer so as to
   indicate the list of supported objective functions.

   The OF-List TLV format is compliant with the PCEP TLV format defined
   in [RFC5440].  That is, the TLV is composed of 2 octets for the type,
   2 octets specifying the TLV length, and a Value field.  The Length
   field defines the length of the value portion in octets.  The TLV is
   padded to 4-octet alignment, and padding is not included in the
   Length field (e.g., a 3-octet value would have a length of three, but
   the total size of the TLV would be eight octets).

   The PCEP OF-List TLV has the following format:

   TYPE:    4
   LENGTH:  N * 2 (where N is the number of objective functions)
   VALUE:   list of 2-byte objective function code points, identifying
            the objective functions supported by the sender of the Open
            message.

      0                   1                   2                   3
      0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |             OF Code #1        |      OF Code #2               |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     //                                                             //
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
     |             OF Code #N        |       padding                 |
     +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+





Le Roux, et al.             Standards Track                     [Page 6]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   OF Code (2 bytes): Objective Function code point identifier.  IANA
   manages the "PCE Objective Function" code point registry (see Section
   6).

2.2.  Elements of Procedure

   A PCE MAY include an OF-List TLV within an OPEN object in an Open
   message sent to a PCEP peer in order to advertise a set of one or
   more objective functions.  The OF-List TLV MUST NOT appear more than
   once in an OPEN object.  If it appears more than once, the PCEP
   session MUST be rejected with error type 1 and error value 1 (PCEP
   session establishment failure / Reception of an invalid Open
   message).  The absence of the OF-List TLV in an OPEN object MUST be
   interpreted as an absence of information on the list of supported
   objective functions by the PCE.

   As specified in [RFC5440], a PCEP peer that does not recognize the
   OF-List TLV will silently ignore it.

3.  Objective Function in PCEP Path Computation Request and Reply
    Messages

   This section defines PCEP extensions [RFC5440] so as to support the
   communication of objective functions in PCEP path computation request
   and reply messages.  A new PCEP OF (Objective Function) object is
   defined, to be carried within a PCReq message in order for the PCC to
   indicate the required/desired objective function.

   The PCEP OF object may also be carried within a PCRep message in
   order for the PCE to indicate the objective function that was used by
   the PCE.

   A new flag is defined in the RP (Request Parameters) object.  The
   flag is used in a PCReq message to indicate that the PCE MUST include
   an OF object in the PCRep message to indicate the objective function
   that was used during path computation.

   Also, new PCEP error types and values are defined.

3.1.  OF Object

   The PCEP OF (Objective Function) object is optional.  It MAY be
   carried within a PCReq message so as to indicate the desired/required
   objective function to be applied by the PCE during path computation
   or within a PCRep message so as to indicate the objective function
   that was used by the PCE during path computation.





Le Roux, et al.             Standards Track                     [Page 7]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   The OF object format is compliant with the PCEP object format defined
   in [RFC5440].

   The OF Object-Class is 21.
   The OF Object-Type is 1.

   The format of the OF object body is:

    0                   1                   2                   3
    0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |  OF Code                      |     Reserved                  |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
   |                                                               |
   //              Optional TLV(s)                                //
   |                                                               |
   +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   OF Code (2 bytes): The identifier of the objective function.  IANA
   manages the "PCE Objective Function" code point registry (see Section
   6).

   Reserved (2 bytes): This field MUST be set to zero on transmission
   and MUST be ignored on receipt.

   Optional TLVs may be defined in the future so as to encode objective
   function parameters.

3.1.1.  Elements of Procedure

   To request the use of a specific objective function by the PCE, a PCC
   includes an OF object in the PCReq message.

   [RFC5440] specifies a bit flag, referred to as the P bit, carried in
   the common PCEP object header.  The P bit is set by a PCC to mandate
   that a PCE must take the information carried in the object into
   account during the path computation.

   If the P bit is set in the OF object, the objective function is
   mandatory (required objective function) and the PCE MUST use the
   objective function during path computation.  If the P bit is clear in
   the OF object, the objective function is optional (desired objective
   function) and the PCE SHOULD apply the function if it is supported
   but MAY choose to apply a different objective function, according to
   local capabilities and policies.






Le Roux, et al.             Standards Track                     [Page 8]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   On receipt of a PCReq message with an OF object, a PCE MUST proceed
   as follows:

   - If the OF object is unknown/unsupported, the PCE MUST follow
     procedures defined in [RFC5440].  That is, if the P bit is set, the
     PCE sends a PCErr message with error type 3 or 4 (Unknown / Not
     supported object) and error value 1 or 2 (unknown / unsupported
     object class / object type), and the related path computation
     request MUST be discarded.  If the P bit is cleared, the PCE is
     free to ignore the object.

   - If the objective function is unknown/unsupported and the P bit is
     set, the PCE MUST send a PCErr message with error type 3 or 4
     (Unknown / Not supported object) and error value 4
     (Unrecognized/Unsupported parameter), and the related path
     computation request MUST be discarded.

   - If the objective function is unknown/unsupported and the P bit is
     cleared, the PCE SHOULD apply another (default) objective function.

   - If the objective function is supported but policy does not permit
     applying it and if the P bit is set, the PCE MUST send a PCErr
     message with the PCEP error type "policy-violation" (type 5) and a
     new error value, "objective function not allowed", which is defined
     in this document.

   - If the objective function is supported but policy does not allow
     applying it and if the P bit is cleared, the PCE SHOULD apply
     another (default) objective function.

   - If the objective function is supported and policy allows applying
     it and if the P bit is set, the PCE MUST apply the requested
     objective function.  Otherwise, if the P bit is cleared, the PCE is
     free to apply any other objective function.

   The default objective function may be locally configured.

3.2.  Carrying The OF Object In a PCEP Message

   The OF object MAY be carried within a PCReq message.  If an objective
   function is to be applied to a set of synchronized path computation
   requests, the OF object MUST be carried just after the corresponding
   SVEC (Synchronization VECtor) object and MUST NOT be repeated for
   each elementary request.







Le Roux, et al.             Standards Track                     [Page 9]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   Similarly, if a metric is to be applied to a set of synchronized
   requests, the METRIC object MUST follow the SVEC object and MUST NOT
   be repeated for each elementary request.  Note that metrics applied
   to a set of synchronized requests are defined in Section 5.

   An OF object specifying an objective function that applies to an
   individual path computation request (non-synchronized case) MUST
   follow the RP object for which it applies.

   The format of the PCReq message is updated as follows.  Please see
   Appendix A for a full set of RBNF fragments defined in this document
   and the necessary code license.

    <PCReq Message> ::= <Common Header>
                        [<svec-list>]
                        <request-list>
   where:
        <svec-list> ::= <SVEC>
                        [<OF>]
                        [<metric-list>]
                        [<svec-list>]

        <request-list> ::= <request> [<request-list>]

        <request> ::= <RP>
                      <END-POINTS>
                      [<LSPA>]
                      [<BANDWIDTH>]
                      [<metric-list>]
                      [<OF>]
                      [<RRO>[<BANDWIDTH>]]
                      [<IRO>]
                      [<LOAD-BALANCING>]

   and where:

        <metric-list> ::= <METRIC>[<metric-list>]

   The OF object MAY be carried within a PCRep message to indicate the
   objective function used by the PCE during path computation.

   When the PCE wants to indicate to the PCC the objective function that
   was used for the synchronized computation of a set of paths, the
   PCRep message MUST include the corresponding SVEC object directly
   followed by the OF object, which MUST NOT be repeated for each
   elementary request.  If a metric is applicable to the set of paths,
   the METRIC object MUST directly follow the SVEC object and MUST NOT
   be repeated for each elementary request.



Le Roux, et al.             Standards Track                    [Page 10]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   An OF object specifying an objective function used for an individual
   path computation (non-synchronized case) MUST follow the RP object
   for which it applies.

   The format of the PCRep message is updated as follows.  Please see
   Appendix A for a full set of RBNF fragments defined in this document
   and the necessary code license.

   <PCRep Message> ::= <Common Header>
                       [<svec-list>]
                       <response-list>

   where:

         <svec-list> ::= <SVEC>
                         [<OF>]
                         [<metric-list>]
                         [<svec-list>]

        <response-list> ::= <response> [<response-list>]

        <response> ::= <RP>
                       [<NO-PATH>]
                       [<attribute-list>]
                       [<path-list>]

        <path-list> ::= <path> [<path-list>]

        <path> ::= <ERO>
                   <attribute-list>

   and where:

        <attribute-list> ::= [<OF>]
                             [<LSPA>]
                             [<BANDWIDTH>]
                             [<metric-list>]
                             [<IRO>]

        <metric-list> ::= <METRIC> [<metric-list>]

   Note: The OF object MAY be associated to a negative reply, i.e., a
   reply with a NO-PATH object.








Le Roux, et al.             Standards Track                    [Page 11]
^L
RFC 5541              Objective Functions in PCEP              June 2009


3.3.  New RP Object Flag

   In some cases, where no objective function is specified in the
   request or an optional objective function is desired (P flag cleared
   in the OF object common header) but the PCE does not follow the
   request, the PCC may desire to know the objective function that was
   used by the PCE during path computation.  To that end, a new flag is
   defined in the RP object, named the OF flag, allowing a PCC to
   request for the inclusion in the path computation reply of the
   objective function that was used by the PCE during path computation.

   The following new bit flag of the RP object is defined:

   The Supply OF on response flag (bit number 24).  When set in a PCReq
   message, this indicates that the PCE MUST provide the applied
   objective function (should a path satisfying the constraints be
   found) in the PCRep message.  When set in a PCRep message, this
   indicates that the objective function that was used during path
   computation is included.

3.3.1.  Elements Of Procedure

   If the PCC wants to know the objective function used by the PCE
   during path computation for a given request, it sets the OF flag in
   the RP object.

   On receipt of a PCReq message with the OF flag in the RP object set,
   the PCE proceeds as follows:

   - If policy permits, it MUST include in the PCRep message an OF
     object indicating the objective function it used during path
     computation.

   - If policy does not permit, it MUST send a PCErr message with the
     PCEP error code "policy-violation" (type 5) and a new error value,
     "objective function indication not allowed", which is defined in
     this document.

   Note that a legacy PCE might not recognize the OF flag in the RP
   object.  According to the definition of the Flags field for the RP
   object (Section 7.4.1 of [RFC5440]), the legacy PCE will ignore the
   unknown flag, resulting in it sending a PCRep that does not contain
   an OF object.  In this case, the PCC's behavior is an implementation
   choice.  The PCC might:

   - Discard the PCRep because it really wanted the OF object returned.

   - Accept the PCRep without the knowledge of the OF that was applied.



Le Roux, et al.             Standards Track                    [Page 12]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   Note also that these procedures can give rise to the situation where
   a PCC receives a PCRep that contains an OF object with an objective
   function identifier that the PCC does not recognize.  In this
   situation, the PCC behavior is dependent on implementation and
   configuration.  The PCC could choose any of the following (or some
   other action):

   - Ignore the OF object and use the computed path.

   - Add the objective function to its view of the PCE's repertoire for
     inclusion in future computation requests.

   - Discard the PCRep (i.e., the computed path) and send a PCReq to
     another PCE.

   - Discard the PCRep (i.e., the computed path) and send another PCReq
     to the same PCE explicitly requiring the use of some other
     objective function (i.e., by setting the P bit in the OF object).

4.  Objective Functions Definition

   Six objective functions that must be supported by PCEP are listed in
   [RFC4657].  Objective function codes have been assigned by IANA and
   are described below.

   Objective functions are formulated using the following terminology:

   - A network comprises a set of N links {Li, (i=1...N)}.

   - A path P is a list of K links {Lpi,(i=1...K)}.

   - Metric of link L is denoted M(L).  This can be the IGP metric, the
     TE metric, or any other metric.

   - The cost of a path P is denoted C(P), where C(P) = sum {M(Lpi),
     (i=1...K)}.

   - Residual bandwidth on link L is denoted r(L).

   - Maximum reservable bandwidth on link L is denoted R(L).

   There are three objective functions that apply to the computation of
   a single path:

   Objective Function Code: 1
   Name: Minimum Cost Path (MCP)
   Description: Find a path P such that C(P) is minimized.




Le Roux, et al.             Standards Track                    [Page 13]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   Objective Function Code: 2
   Name: Minimum Load Path (MLP)
   Description: Find a path P such that
           ( Max {(R(Lpi) - r(Lpi)) / R(Lpi), i=1...K } ) is minimized.

   Objective Function Code: 3
   Name: Maximum residual Bandwidth Path (MBP)
   Description: Find a path P such that
             ( Min { r(Lpi), i=1...K } ) is maximized.

   There are three objective functions that apply to a set of path
   computation requests the computation of which is synchronized:

   Objective Function Code: 4
   Name: Minimize aggregate Bandwidth Consumption (MBC)
   Description: Find a set of paths such that
             ( Sum {R(Li) - r(Li), i=1...N} ) is minimized.

   Objective Function Code: 5
   Name: Minimize the Load of the most loaded Link (MLL)
   Description: Find a set of paths such that
             ( Max { (R(Li) - r(Li)) / R(Li), i=1...N}) is minimized.

   Objective Function Code: 6
   Name: Minimize the Cumulative Cost of a set of paths (MCC)
   Description: Find a set of paths {P1...Pm} such that
             (Sum { C(Pi), i=1...m}) is minimized.

   Other objective functions may be defined in separate documents.

5.  New Metric Types

   Three metric types are defined in PCEP for the METRIC object: TE
   metric, IGP metric, and hop count.  These metric types apply to an
   individual request.  Here, we define four new metric types that apply
   to a set of synchronized requests:

      Type 4: Aggregate bandwidth consumption.

      Type 5: Load of the most loaded link.

      Type 6: Cumulative IGP cost.

      Type 7: Cumulative TE cost.







Le Roux, et al.             Standards Track                    [Page 14]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   These metrics may be used in a PCReq to indicate a bound (B bit set
   in the METRIC object) or to request the computation of a metric (C
   bit set in the METRIC object), or in a PCRep to indicate a computed
   metric.

   A METRIC object with one of these four types follows the SVEC object
   for which it applies.

6.  IANA Considerations

6.1.  PCE Objective Function Sub-Registry

   This document defines a 16-bit PCE objective function identifier to
   be carried within the PCEP OF object, and also defines the PCEP OF-
   List TLV.

   IANA created and now manages the 16-bit "PCE Objective Function" code
   point registry, starting from 1 and continuing through 32767, as
   follows:

   - Objective Function code point value
   - Objective Function name
   - Defining RFC

   The same registry is applicable to the OF object and the OF-List TLV
   that are defined in this document.

   The guidelines (using terms defined in [RFC5226]) for the assignment
   of objective function code point values are as follows:

   - Function code value 0 is reserved.

   - Function code values in the range 1-32767 are assigned as follows:

     o Function code values 1 through 1023 are assigned by IANA using
       the "IETF Review" policy.

     o Function code values 1024 through 32767 are assigned by IANA,
       using the "First Come First Served" policy.

     o Function code values in the range 32768-65535 are for "Private
       Use".









Le Roux, et al.             Standards Track                    [Page 15]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   Six objective functions are defined in Section 4 of this document and
   have been assigned by IANA:

      Code Point           Name                     Reference
      -------------------------------------------------------
          1                MCP                       RFC 5541
          2                MLP                       RFC 5541
          3                MBP                       RFC 5541
          4                MBC                       RFC 5541
          5                MLL                       RFC 5541
          6                MCC                       RFC 5541

6.2.  PCEP Code Points

6.2.1.  OF Object

   IANA manages the PCEP Objects code point registry (see [RFC5440]).
   This is maintained as the "PCEP Objects" sub-registry of the "Path
   Computation Element Protocol (PCEP) Numbers" registry.

   This document defines a new PCEP object, the OF object, to be carried
   in PCReq and PCRep messages.  IANA has made the following allocation:

      Object    Name     Object    Name                  Reference
      Class              Type
      ------------------------------------------------------------
       21       OF        1       Objective Function      RFC 5541

6.2.2.  OF-List TLV

   IANA manages the PCEP TLV code point registry (see [RFC5440]).  This
   is maintained as the "PCEP TLV Type Indicators" sub-registry of the
   "Path Computation Element Protocol (PCEP) Numbers" registry.

   This document defines a new PCEP TLV, the OF-List TLV, to be carried
   in the OPEN object.  IANA has made the following allocation:

      Type      TLV name                   References
      -----------------------------------------------
       4         OF-List                     RFC 5541

6.2.3.  PCEP Error Values

   IANA maintains a registry of Error-types and Error-values for use in
   PCEP messages.  This is maintained as the "PCEP-ERROR Object Error
   Types and Values" sub-registry of the "Path Computation Element
   Protocol (PCEP) Numbers" registry.




Le Roux, et al.             Standards Track                    [Page 16]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   Two new Error-values are defined for the Error-type "policy
   violation" (type 5):

      Error-type      Meaning and error values                 Reference
      ------------------------------------------------------------------
         5            Policy violation

                      Error-value=3: objective function not     RFC 5541
                      allowed (request rejected)

                      Error-value=4: OF bit of the RP object    RFC 5541
                      set (request rejected)

6.2.4.  RP Object Flag

   A new flag of the RP object (specified in [RFC5440]) is defined in
   this document.  IANA maintains a registry of RP object flags in the
   "RP Object Flag Field" sub-registry of the "Path Computation Element
   Protocol (PCEP) Numbers" registry.

   IANA has made the following allocation:

      Bit      Description              Reference
      -------------------------------------------
      24      Supply OF on response      RFC 5541

6.2.5.  Metric Types

   Four new metric types are defined in this document for the METRIC
   object (specified in [RFC5440]).  IANA maintains a registry of metric
   types in the "METRIC Object T Field" sub-registry of the "Path
   Computation Element Protocol (PCEP) Numbers" registry.

   IANA has made the following allocations:

   - Type 4: Aggregate bandwidth consumption
   - Type 5: Load of the most loaded link
   - Type 6: Cumulative IGP cost
   - Type 7: Cumulative TE cost

7.  Security Considerations

   PCEP security mechanisms are described in [RFC5440] and are used to
   secure entire PCEP messages.  Nothing in this document changes the
   message flows or introduces any new messages, so the security
   mechanisms set out in [RFC5440] continue to be applicable.





Le Roux, et al.             Standards Track                    [Page 17]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   This document introduces a single new object that may optionally be
   carried on PCEP messages and will be automatically secured using the
   mechanisms described in [RFC5440].

   If a PCEP message is vulnerable to attack (for example, because the
   security mechanisms are not used), then the OF object could be used
   as part of an attack; however, it is likely that other objects will
   provide far more significant ways of attacking a PCE or PCC in this
   case.

8.  Manageability Considerations

8.1.  Control of Function and Policy

   It MUST be possible to configure the activation/deactivation of
   objective function discovery in PCEP.

   In addition to the parameters already listed in Section 8.1 of
   [RFC5440], a PCEP implementation SHOULD allow configuring a list of
   authorized objective functions on a PCE.  This may apply to any
   session the PCEP speaker participates in, to a specific session with
   a given PCEP peer, or to a specific group of sessions with a specific
   group of PCEP peers.

   Note that it is not mandatory for an implementation to support all
   objective functions defined in Section 4.

   It MUST be possible to configure a default objective function used
   for path computation when a path request is received that requests to
   use an optional objective function.

8.2.  Information and Data Models

   The PCEP MIB Module defined in [PCEP-MIB] could be extended to
   include objective functions.

8.3.  Liveness Detection and Monitoring

   Mechanisms defined in this document do not imply any new liveness
   detection and monitoring requirements in addition to those already
   listed in [RFC5440].

8.4.  Verify Correct Operations

   Mechanisms defined in this document do not imply any new operation
   verification requirements in addition to those already listed in
   [RFC5440].




Le Roux, et al.             Standards Track                    [Page 18]
^L
RFC 5541              Objective Functions in PCEP              June 2009


8.5.  Requirements On Other Protocols

   Mechanisms defined in this document do not imply any requirements on
   other protocols in addition to those already listed in [RFC5440].

8.6.  Impact On Network Operations

   Mechanisms defined in this document do not have any impact on network
   operations in addition to those already listed in [RFC5440].

9.  Acknowledgments

   The authors would like to thank Jerry Ash, Fabien Verhaeghe, Robert
   Sparks, and Adrian Farrel for their useful comments.

10.  References

10.1.  Normative References

   [RFC2119]  Bradner, S., "Key words for use in RFCs to Indicate
              Requirement Levels", BCP 14, RFC 2119, March 1997.

   [RFC4655]  Farrel, A., Vasseur, J.-P., and J. Ash, "A Path
              Computation Element (PCE)-Based Architecture", RFC 4655,
              August 2006.

   [RFC5440]  Vasseur, JP., Ed., and JL. Le Roux, Ed., "Path Computation
              Element (PCE) Communication Protocol (PCEP)", RFC 5440,
              March 2009.

10.2.  Informative References

   [RFC4657]  Ash, J., Ed., and J. Le Roux, Ed., "Path Computation
              Element (PCE) Communication Protocol Generic
              Requirements", RFC 4657, September 2006.

   [RFC4674]  Le Roux, J., Ed., "Requirements for Path Computation
              Element (PCE) Discovery", RFC 4674, October 2006.

   [RFC5088]  Le Roux, JL., Ed., Vasseur, JP., Ed., Ikejiri, Y., and R.
              Zhang, "OSPF Protocol Extensions for Path Computation
              Element (PCE) Discovery", RFC 5088, January 2008.

   [RFC5089]  Le Roux, JL., Ed., Vasseur, JP., Ed., Ikejiri, Y., and R.
              Zhang, "IS-IS Protocol Extensions for Path Computation
              Element (PCE) Discovery", RFC 5089, January 2008.





Le Roux, et al.             Standards Track                    [Page 19]
^L
RFC 5541              Objective Functions in PCEP              June 2009


   [RFC5226]  Narten, T. and H. Alvestrand, "Guidelines for Writing an
              IANA Considerations Section in RFCs", BCP 26, RFC 5226,
              May 2008.

   [PCE-GCO]  Lee, Y., Le Roux, JL., King, D., and E. Oki, "Path
              Computation Element Communication Protocol (PCEP)
              Requirements and Protocol Extensions in Support of Global
              Concurrent Optimization", Work in Progress, March 2009.

   [PCEP-MIB] Koushik, K., and E. Stephan, "PCE Communication Protocol
              (PCEP) Management Information Base", Work in Progress,
              January 2009.

   [RFC5511]     Farrel, A., "Routing Backus-Naur Form (RBNF) - A Syntax
              Used to Form Encoding Rules in Various Routing Protocol
              Specifications", RFC 5511, April 2009.



































Le Roux, et al.             Standards Track                    [Page 20]
^L
RFC 5541              Objective Functions in PCEP              June 2009


Appendix A.  RBNF Code Fragments

   This appendix contains the full set of code fragments defined in this
   document.

   Copyright (c) 2009 IETF Trust and the persons identified as authors
   of the code.  All rights reserved.

   Redistribution and use in source and binary forms, with or without
   modification, are permitted provided that the following conditions
   are met:

   o Redistributions of source code must retain the above copyright
     notice, this list of conditions and the following disclaimer.

   o Redistributions in binary form must reproduce the above copyright
     notice, this list of conditions and the following disclaimer in the
     documentation and/or other materials provided with the
     distribution.

   o Neither the name of Internet Society, IETF or IETF Trust, nor the
     names of specific contributors, may be used to endorse or promote
     products derived from this software without specific prior written
     permission.

   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
   "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
   LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
   A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE COPYRIGHT
   OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
   LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
   DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
   THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
   (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
   OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

   <PCReq Message> ::= <Common Header>
                       [<svec-list>]
                       <request-list>

   <PCRep Message> ::= <Common Header>
                       [<svec-list>]
                       <response-list>







Le Roux, et al.             Standards Track                    [Page 21]
^L
RFC 5541              Objective Functions in PCEP              June 2009


       <svec-list> ::= <SVEC>
                       [<OF>]
                       [<metric-list>]
                       [<svec-list>]

       <request-list> ::= <request> [<request-list>]

       <request> ::= <RP>
                     <END-POINTS>
                     [<LSPA>]
                     [<BANDWIDTH>]
                     [<metric-list>]
                     [<OF>]
                     [<RRO>[<BANDWIDTH>]]
                     [<IRO>]
                     [<LOAD-BALANCING>]

       <metric-list> ::= <METRIC>[<metric-list>]

       <response-list> ::= <response> [<response-list>]

       <response> ::= <RP>
                      [<NO-PATH>]
                      [<attribute-list>]
                      [<path-list>]

       <path-list> ::= <path> [<path-list>]

       <path> ::= <ERO>
                  <attribute-list>

       <attribute-list> ::= [<OF>]
                            [<LSPA>]
                            [<BANDWIDTH>]
                            [<metric-list>]
                            [<IRO>]















Le Roux, et al.             Standards Track                    [Page 22]
^L
RFC 5541              Objective Functions in PCEP              June 2009


Authors' Addresses

   JL Le Roux
   France Telecom
   2, Avenue Pierre-Marzin
   Lannion  22307
   France

   EMail: jeanlouis.leroux@orange-ftgroup.com


   Jean-Philippe Vasseur
   Cisco Systems, Inc
   11, Rue Camille Desmoulins
   L'Atlantis
   92782 Issy Les Moulineaux
   France

   EMail: jpv@cisco.com


   Young Lee
   Huawei Technologies, LTD.
   1700 Alma Drive, Suite 100
   Plano, TX  75075
   USA

   EMail: ylee@huawei.com























Le Roux, et al.             Standards Track                    [Page 23]
^L