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
|
<pre>Internet Engineering Task Force (IETF) B. Khasnabish
Request for Comments: 7729 ZTE TX, Inc.
Category: Standards Track E. Haleplidis
ISSN: 2070-1721 University of Patras
J. Hadi Salim, Ed.
Mojatatu Networks
December 2015
<span class="h1">Forwarding and Control Element Separation (ForCES)</span>
<span class="h1">Logical Functional Block (LFB) Subsidiary Management</span>
Abstract
Deployment experience has demonstrated the value of using the
Forwarding and Control Element Separation (ForCES) architecture to
manage resources other than packet forwarding. In that spirit, the
Forwarding Element Manager (FEM) is modeled by creating a Logical
Functional Block (LFB) to represent its functionality. We refer to
this LFB as the Subsidiary Mechanism (SM) LFB. A Control Element
(CE) that controls a Forwarding Element's (FE) resources can also
manage its configuration via the SM LFB. This document introduces
the SM LFB class, an LFB class that specifies the configuration
parameters of an FE. The configuration parameters include new LFB
class loading and CE associations; they also provide manipulation of
debug mechanisms along with a general purpose attribute definition to
describe configuration information.
Status of This Memo
This is an Internet Standards Track document.
This document is a product of the Internet Engineering Task Force
(IETF). It represents the consensus of the IETF community. It has
received public review and has been approved for publication by the
Internet Engineering Steering Group (IESG). Further information on
Internet Standards is available in <a href="./rfc5741#section-2">Section 2 of RFC 5741</a>.
Information about the current status of this document, any errata,
and how to provide feedback on it may be obtained at
<a href="http://www.rfc-editor.org/info/rfc7729">http://www.rfc-editor.org/info/rfc7729</a>.
<span class="grey">Khasnabish, et al. Standards Track [Page 1]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-2" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
Copyright Notice
Copyright (c) 2015 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to <a href="https://www.rfc-editor.org/bcp/bcp78">BCP 78</a> and the IETF Trust's Legal
Provisions Relating to IETF Documents
(<a href="http://trustee.ietf.org/license-info">http://trustee.ietf.org/license-info</a>) in effect on the date of
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
<a href="#section-1">1</a>. Introduction . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-3">3</a>
<a href="#section-1.1">1.1</a>. Requirements Language . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-1.2">1.2</a>. Definitions . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-5">5</a>
<a href="#section-2">2</a>. Use Cases . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-2.1">2.1</a>. High Availability . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-2.2">2.2</a>. Scalability . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-2.3">2.3</a>. Adding New Resources to an NE . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-2.4">2.4</a>. New LFB Class Installation . . . . . . . . . . . . . . . <a href="#page-6">6</a>
<a href="#section-2.5">2.5</a>. Logging Mechanism . . . . . . . . . . . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-2.6">2.6</a>. General-Purpose Attribute Definition . . . . . . . . . . <a href="#page-7">7</a>
<a href="#section-3">3</a>. Applicability Statement . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-3.1">3.1</a>. FE Integrated . . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-3.2">3.2</a>. Virtual FEs . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-4">4</a>. SM Library . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-4.1">4.1</a>. Frame Definitions . . . . . . . . . . . . . . . . . . . . <a href="#page-8">8</a>
<a href="#section-4.2">4.2</a>. Data Type Definitions . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-4.3">4.3</a>. Metadata Definitions . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-4.4">4.4</a>. SM . . . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-9">9</a>
<a href="#section-4.4.1">4.4.1</a>. Data Handling . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-4.4.2">4.4.2</a>. Components . . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-4.4.3">4.4.3</a>. Capabilities . . . . . . . . . . . . . . . . . . . . <a href="#page-10">10</a>
<a href="#section-4.4.4">4.4.4</a>. Events . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-5">5</a>. XML for SM LFB . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-11">11</a>
<a href="#section-6">6</a>. Security Considerations . . . . . . . . . . . . . . . . . . . <a href="#page-17">17</a>
<a href="#section-7">7</a>. IANA Considerations . . . . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-7.1">7.1</a>. LFB Class Names and LFB Class Identifiers . . . . . . . . <a href="#page-18">18</a>
<a href="#section-8">8</a>. References . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-8.1">8.1</a>. Normative References . . . . . . . . . . . . . . . . . . <a href="#page-18">18</a>
<a href="#section-8.2">8.2</a>. Informative References . . . . . . . . . . . . . . . . . <a href="#page-19">19</a>
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-20">20</a>
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . <a href="#page-20">20</a>
<span class="grey">Khasnabish, et al. Standards Track [Page 2]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-3" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<span class="h2"><a class="selflink" id="section-1" href="#section-1">1</a>. Introduction</span>
Deployment experience has demonstrated the value of using the
Forwarding and Control Element Separation (ForCES) architecture to
manage resources other than packet forwarding. In that spirit, the
Forwarding Element Manager (FEM) is modeled by creating a Logical
Functional Block (LFB) to represent its functionality. We refer to
this LFB as the Subsidiary Mechanism (SM) LFB. A Control Element
(CE) that controls a Forwarding Element's (FE) resources can also
manage its configuration via the SM LFB. This document introduces
the SM LFB class, an LFB that specifies the configuration parameters
of an FE.
On a running FE, a CE application may update an FE's runtime
configuration via the SM LFB instance.
<span class="grey">Khasnabish, et al. Standards Track [Page 3]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-4" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
ForCES Network Element
+-------------------------------------+
| +---------------------+ |
| | Control Application | |
| +--+--------------+---+ |
| | | |
| | | |
-------------- Fc | -----------+--+ +-----+------+ |
| CE Manager |---------+-| CE 1 |------| CE 2 | |
-------------- | | | Fr | | |
| | +-+---------+-+ +------------+ |
| Fl | | | Fp / |
| | | +--------+ / |
| | | Fp |/ |
| | | | |
| | | Fp /|----+ |
| | | /--------/ | |
-------------- Ff | ---+---------- -------------- |
| FE Manager |---------+-| FE 1 | Fi | FE 2 | |
-------------- | | |------| | |
| -------------- -------------- |
| | | | | | | | | |
----+--+--+--+----------+--+--+--+-----
| | | | | | | |
| | | | | | | |
Fi/f Fi/f
Fp: CE-FE interface
Fr: CE-CE interface
Fc: Interface between the CE Manager and a CE
Ff: Interface between the FE Manager and an FE
Fl: Interface between the CE Manager and the FE Manager
Fi/f: FE external interface
Figure 1: ForCES Architectural Diagram
Figure 1 shows a control application manipulating, at runtime, FE
configuration via the SM LFB control. It would appear that this
control application is playing the part of the FE Manager and thus
appears as the messaging for Ff (FEM to FE interface) going via the
standard Fp plane. However, the SM LFB describes a subset of the
operations that can be performed over Ff; it does not suggest moving
away from the Ff interface.
The SM LFB class describes the configuration parameters of an FE,
namely the LFB classes it should load, the CEs it should be
associated with, as well the respective CE IP addresses.
Additionally, the SM LFB provides a general purpose attribute
<span class="grey">Khasnabish, et al. Standards Track [Page 4]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-5" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
definition to describe configuration information, as well as the
ability to manipulate the debug logging mechanism.
This document assumes that FEs are already booted. The FE's
configuration can then be updated at runtime via the SM LFB for
runtime configuration purposes. This document does not specify or
standardize the FEM-FE (Ff) interface as depicted in [<a href="./rfc3746" title=""Forwarding and Control Element Separation (ForCES) Framework"">RFC3746</a>]. This
document describes a mechanism with which a CE can instruct the SM
for FE management using ForCES.
This work item makes no assumption of whether FE resources are
physical or virtual. In fact, the LFB library provided here is
applicable to both. Thus, it can also be useful in addressing
control of virtual FEs where individual FEMs can be addressed to
control the creation, configuration, and resource assignment of such
virtual FEs within a physical FE.
<span class="h3"><a class="selflink" id="section-1.1" href="#section-1.1">1.1</a>. Requirements Language</span>
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 [<a href="./rfc2119" title=""Key words for use in RFCs to Indicate Requirement Levels"">RFC2119</a>].
<span class="h3"><a class="selflink" id="section-1.2" href="#section-1.2">1.2</a>. Definitions</span>
This document follows the terminology defined by [<a href="./rfc3654" title=""Requirements for Separation of IP Control and Forwarding"">RFC3654</a>],
[<a href="./rfc3746" title=""Forwarding and Control Element Separation (ForCES) Framework"">RFC3746</a>], [<a href="./rfc5810" title=""Forwarding and Control Element Separation (ForCES) Protocol Specification"">RFC5810</a>], and [<a href="./rfc5812" title=""Forwarding and Control Element Separation (ForCES) Forwarding Element Model"">RFC5812</a>]. In particular, the reader is
expected to be familiar with the following terms:
o Logical Functional Block (LFB)
o Forwarding Element (FE)
o Control Element (CE)
o ForCES Network Element (NE)
o FE Manager (FEM)
o CE Manager
o ForCES Protocol
o ForCES Protocol Layer (ForCES PL)
o ForCES Protocol Transport Mapping Layer (ForCES TML)
<span class="grey">Khasnabish, et al. Standards Track [Page 5]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-6" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<span class="h2"><a class="selflink" id="section-2" href="#section-2">2</a>. Use Cases</span>
In this section, we present sample use cases to illustrate the need
and usefulness of the SM LFB.
All use cases assume that an FE is already booted up and tied to at
least one CE. A control application can delete a CE from an FE's
table of CEs, which instructs the FE to terminate the connection with
that removed CE. Likewise, the control application via the master CE
instructs an FE to establish a ForCES association with a new CE by
adding a particular CE to the FE's CEs table.
<span class="h3"><a class="selflink" id="section-2.1" href="#section-2.1">2.1</a>. High Availability</span>
Assume an FE associated to only one CE. At runtime, a CE management
application may request, for redundancy reasons, that an FE be
associated to another CE as a backup. To achieve this goal, the CE
management application specifies the Control Element ID (CEID) of the
new backup CE (to be uniquely identified within the NE) and the CE's
IP address (IPv4 or IPv6).
<span class="h3"><a class="selflink" id="section-2.2" href="#section-2.2">2.2</a>. Scalability</span>
Assume an NE cluster that has FEs connected to multiple CEs, possibly
in an active backup setup. Assume that system analytics discover
that the CE is becoming a bottleneck. A new CE could be booted and
some FEs moved to it. To achieve this goal, the CE management
application will first ask an FE to connect to a new CE and would
then instruct that FE to change its master to the new CE as described
in [<a href="./rfc7121" title=""High Availability within a Forwarding and Control Element Separation (ForCES) Network Element"">RFC7121</a>].
<span class="h3"><a class="selflink" id="section-2.3" href="#section-2.3">2.3</a>. Adding New Resources to an NE</span>
Assume a resource pooling setup with multiple FEs belonging to a
resource pool all connected to a dormant resource pool CE. An NE
system manager by demand could move an FE from the resource pool to a
working NE by asking it first to connect to a CE on the working NE
and then asking it to disconnect from the resource pool manager CE.
<span class="h3"><a class="selflink" id="section-2.4" href="#section-2.4">2.4</a>. New LFB Class Installation</span>
A CE can learn, via the DynamicLFBLoading capability of the SM LFB,
whether an FE is capable of loading new LFB classes. Provided that
the FE supports new LFB class loading, the CE can request a new LFB
to be installed and supported by the FE.
<span class="grey">Khasnabish, et al. Standards Track [Page 6]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-7" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
To load an LFB class on an FE, the CE will have to provide the
following parameters:
o LFB class - The LFB class ID
o LFB version - The version of the LFB class
o LFB class name - Optional, the LFB name
o Parameters - Optional parameters. These parameters are
implementation specific. For example, in one implementation they
may contain the path where the LFB class implementation resides.
The parameters are fields that need to be described in documentation,
depending on the implementation; one example is the location of the
LFB class to be installed and/or mechanism to download it. The exact
detail of the location semantics is implementation specific and out
of scope of this document. However, this LFB library provides a
placeholder, namely the SupportedParameters capability, which will
host any standardized parameters.
This document does not standardize these parameters. It is expected
that some future document will perform that task. These parameters
are placeholders for future use, in order not to redefine the LFB
class versions each time. They are simple strings that define the
parameters supported by the LFB. The CE is expected to read this
capability in order to understand the parameters it can use.
<span class="h3"><a class="selflink" id="section-2.5" href="#section-2.5">2.5</a>. Logging Mechanism</span>
The SM LFB class also provides a useful log-level manipulation.
Experience has proven that the CE may be required to increase or
decrease the debug levels of parts of the FE, whether that be LFBs,
portions of LFBs, or generic processing code (all called "modules").
The module granularity is implementation specific and is not
discussed in this document. The debug levels are derived from the
"syslog Message Severities" registry
<<a href="http://www.iana.org/assignments/syslog-parameters">http://www.iana.org/assignments/syslog-parameters</a>> defined in
[<a href="./rfc3164" title=""The BSD Syslog Protocol"">RFC3164</a>].
<span class="h3"><a class="selflink" id="section-2.6" href="#section-2.6">2.6</a>. General-Purpose Attribute Definition</span>
Experience has shown that a generic attribute name-value pair is
useful for describing configuration information. This LFB class
defines such a generic attribute name-value pair defined as a table
of attribute name-value pair values. The attribute name-value pair
is implementation specific and at the moment there is nothing to
standardize. As an example, consider switches that have exactly the
<span class="grey">Khasnabish, et al. Standards Track [Page 7]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-8" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
same LFB classes and capabilities but need to be used in different
roles. A good example would be a switch that could be used either as
Spine or Top-of-Rack (ToR) in data-center setups. An attribute that
defines the role could be retrieved from the FE, which will then
dictate how it is controlled and configured. However, as in the case
of LFB class loading parameters, this LFB class library provides a
placeholder, namely the SupportedArguments capability, which will
host any standardized arguments. This document does not standardize
these parameters. The CE is expected to read the SupportedArguments
capability in order to know what attributes it can use.
<span class="h2"><a class="selflink" id="section-3" href="#section-3">3</a>. Applicability Statement</span>
Examples of SM usage include, but are not limited to, the following
two usage scenarios. These two scenarios are not implementation
details, but rather depict how the SM class can be used to achieve
the intended SM for manipulating the configuration of FEs.
<span class="h3"><a class="selflink" id="section-3.1" href="#section-3.1">3.1</a>. FE Integrated</span>
Only one instance of the SM LFB class can exist and is directly
related to the FE.
<span class="h3"><a class="selflink" id="section-3.2" href="#section-3.2">3.2</a>. Virtual FEs</span>
In the case of the FE software that has hierarchical virtual FEs,
multiple instances of the SM LFB class can exist, one per each
virtual FE.
<span class="h2"><a class="selflink" id="section-4" href="#section-4">4</a>. SM Library</span>
<span class="h3"><a class="selflink" id="section-4.1" href="#section-4.1">4.1</a>. Frame Definitions</span>
This LFB class does not define any frames.
<span class="grey">Khasnabish, et al. Standards Track [Page 8]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-9" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<span class="h3"><a class="selflink" id="section-4.2" href="#section-4.2">4.2</a>. Data Type Definitions</span>
This library defines the following data types.
+------------+--------------------------------------+---------------+
| Data Type | Type | Synopsis |
| Name | | |
+------------+--------------------------------------+---------------+
| loglevels | An enumerated char-based atomic data | The possible |
| | type. | debug log |
| | | levels. |
| | | Derived from |
| | | syslog. |
| LogRowType | A struct containing three | The logging |
| | components: the LogModule (string), | module row. |
| | the optional ModuleFilename | |
| | (string), and the optional | |
| | DebugLevel, which is one of the | |
| | enumerated loglevels. | |
| CERow | A struct that contains three | A struct that |
| | components: the address family of | defines the |
| | the CE IP (uchar), the CE's IPs | CE table row. |
| | (octetstring[16]), and the CE's ID | |
| | (uint32). | |
| LCRowtype | A struct that contains four | The LFB Class |
| | components: the LFB class ID | Configuration |
| | (uint32), the LFB version | Definition. |
| | (string[8]), the optional LFB Name | |
| | (string), and the optional | |
| | Parameters (string). | |
| NameVal | A struct that contains two | Arbitrary |
| | components: an attribute name | Name Value |
| | (string) and an attribute value | struct. |
| | (string). | |
+------------+--------------------------------------+---------------+
FEM Data Types
<span class="h3"><a class="selflink" id="section-4.3" href="#section-4.3">4.3</a>. Metadata Definitions</span>
This LFB does not define any metadata definitions.
<span class="h3"><a class="selflink" id="section-4.4" href="#section-4.4">4.4</a>. SM</span>
The Subsidiary Mechanism LFB is an LFB that standardizes
configuration of the FE parameters.
<span class="grey">Khasnabish, et al. Standards Track [Page 9]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-10" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<span class="h4"><a class="selflink" id="section-4.4.1" href="#section-4.4.1">4.4.1</a>. Data Handling</span>
The SM LFB does not handle any packets. Its function is to provide
the configuration parameters to the CE to be updated at runtime.
<span class="h4"><a class="selflink" id="section-4.4.2" href="#section-4.4.2">4.4.2</a>. Components</span>
This LFB class has four components specified.
The Debug component (ID 1) is a table to support changing of an FE's
module debug levels. Changes in an FE's debug table rows will alter
the debug level of the corresponding module.
The LFBLoad component (ID 2) is a table of LFB classes that the FE
loads. Adding new rows in this table instructs the FE to load new
LFB classes, and removing rows will unload them when possible. These
two actions will, in effect, alter the SupportedLFBs capabilities
table of FEObject LFB [<a href="./rfc5812" title=""Forwarding and Control Element Separation (ForCES) Forwarding Element Model"">RFC5812</a>]. Each such row MUST provide (and is
specified by this library) the LFB class ID. Optionally, the LFB
class ID version may be specified, and the FE MUST assume that
version 1.0 is used when the version is unspecified.
The AttributeValues component (ID 3) is the AttributeValues table, a
generic attribute-value pair.
The CEs (ID 4) is the table of runtime CEs we are asking the FE to be
able to connect with. By adding a row in this table, the CE
instructs the FE to be able to connect with the specified CE. By
doing a delete on this table, the CE instructs the FE to terminate
any connection with that CE. How the FE interacts with the new CEs
is dependent on the operations discussed in [<a href="./rfc7121" title=""High Availability within a Forwarding and Control Element Separation (ForCES) Network Element"">RFC7121</a>].
It is worth noting that the generic attribute-value pairs, the
LFBload parameters, and the module information are all strings. To
cope with string sizes, a CE application can extract that information
from the component properties as defined in [<a href="./rfc5812" title=""Forwarding and Control Element Separation (ForCES) Forwarding Element Model"">RFC5812</a>].
<span class="h4"><a class="selflink" id="section-4.4.3" href="#section-4.4.3">4.4.3</a>. Capabilities</span>
This LFB provides three capabilities. The first, DynamicLFBLoading,
specifies whether this FE supports dynamic loading of new LFB
classes. The second, SupportedParameters, is a placeholder and will
store all the supported parameters for LFB class loading. The final,
SupportedAttributes, is also a placeholder and will store all the
supported attributes for the attribute-value pair table.
<span class="grey">Khasnabish, et al. Standards Track [Page 10]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-11" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<span class="h4"><a class="selflink" id="section-4.4.4" href="#section-4.4.4">4.4.4</a>. Events</span>
This LFB has four events specified.
Two events reflect CE additions and report to the CE whether an entry
of the CEs information has been added or deleted. In both cases, the
event report constitutes the added or deleted row contents.
The other two events reflect LFB class loading and notify whether an
entry of the LFBLoad table is added or deleted.
<span class="h2"><a class="selflink" id="section-5" href="#section-5">5</a>. XML for SM LFB</span>
<LFBLibrary xmlns="urn:ietf:params:xml:ns:forces:lfbmodel:1.1"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" provides="SM">
<!-- XXX -->
<dataTypeDefs>
<dataTypeDef>
<name>loglevels</name>
<synopsis>The possible debug log levels. Derived from syslog.
</synopsis>
<atomic>
<baseType>char</baseType>
<specialValues>
<specialValue value="-1">
<name>DEB_OFF</name>
<synopsis> The logs are totally turned off </synopsis>
</specialValue>
<specialValue value="0">
<name>DEB_EMERG</name>
<synopsis> Emergency level </synopsis>
</specialValue>
<specialValue value="1">
<name>DEB_ALERT</name>
<synopsis> Alert level </synopsis>
</specialValue>
<specialValue value="2">
<name>DEB_CRIT</name>
<synopsis> Critical level </synopsis>
</specialValue>
<specialValue value="3">
<name>DEB_ERR</name>
<synopsis> error level </synopsis>
</specialValue>
<specialValue value="4">
<name>DEB_WARNING</name>
<synopsis> warning level </synopsis>
</specialValue>
<span class="grey">Khasnabish, et al. Standards Track [Page 11]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-12" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<specialValue value="5">
<name>DEB_NOTICE</name>
<synopsis>Notice level </synopsis>
</specialValue>
<specialValue value="6">
<name>DEB_INFO</name>
<synopsis>Info level </synopsis>
</specialValue>
<specialValue value="7">
<name>DEB_DEBUG</name>
<synopsis>Debug level </synopsis>
</specialValue>
</specialValues>
</atomic>
</dataTypeDef>
<dataTypeDef>
<name>LogRowtype</name>
<synopsis>The logging module row</synopsis>
<struct>
<component componentID="1">
<name>lmodule</name>
<synopsis>The LOG Module Name</synopsis>
<typeRef>string</typeRef>
</component>
<component componentID="2">
<name>filename</name>
<synopsis>The Module File Name</synopsis>
<optional/>
<typeRef>string</typeRef>
</component>
<component componentID="3">
<name>deblvl</name>
<synopsis>debug level</synopsis>
<optional/>
<typeRef>loglevels</typeRef>
</component>
</struct>
</dataTypeDef>
<dataTypeDef>
<name>CERow</name>
<synopsis>The CE Table Row</synopsis>
<struct>
<component componentID="1">
<name>AddressFamily</name>
<synopsis>The address family</synopsis>
<atomic>
<baseType>uchar</baseType>
<specialValues>
<span class="grey">Khasnabish, et al. Standards Track [Page 12]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-13" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<specialValue value="2">
<name>IFA_AF_INET</name>
<synopsis>IPv4</synopsis>
</specialValue>
<specialValue value="10">
<name>IFA_AF_INET6</name>
<synopsis>IPv6</synopsis>
</specialValue>
</specialValues>
</atomic>
</component>
<component componentID="2">
<name>CEIP</name>
<synopsis>CE ip v4 or v6(selected by family)</synopsis>
<typeRef>octetstring[16]</typeRef>
</component>
<component componentID="3">
<name>CEID</name>
<synopsis>The CE ID</synopsis>
<optional/>
<typeRef>uint32</typeRef>
</component>
</struct>
</dataTypeDef>
<dataTypeDef>
<name>LCRowtype</name>
<synopsis>The LFB Class Configuration Definition</synopsis>
<struct>
<component componentID="1">
<name>LFBClassID</name>
<synopsis>The LFB Class ID</synopsis>
<typeRef>uint32</typeRef>
</component>
<component componentID="2">
<name>LFBVersion</name>
<synopsis>The LFB Class Version</synopsis>
<optional/>
<typeRef>string</typeRef>
</component>
<component componentID="3">
<name>LFBName</name>
<synopsis>The LFB Class Name</synopsis>
<optional/>
<typeRef>string</typeRef>
</component>
<component componentID="4">
<name>Parameters</name>
<synopsis>Optional parameters such as where the LFB is
<span class="grey">Khasnabish, et al. Standards Track [Page 13]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-14" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
located</synopsis>
<optional/>
<typeRef>string</typeRef>
</component>
</struct>
</dataTypeDef>
<dataTypeDef>
<name>NameVal</name>
<synopsis>Arbitrary Name Value struct</synopsis>
<struct>
<component componentID="1">
<name>AttrName</name>
<synopsis>The Attribute Name</synopsis>
<typeRef>string</typeRef>
</component>
<component componentID="2">
<name>AttrVal</name>
<synopsis>The Attribute Value</synopsis>
<typeRef>string</typeRef>
</component>
</struct>
</dataTypeDef>
</dataTypeDefs>
<LFBClassDefs>
<LFBClassDef LFBClassID="19">
<name>SM</name>
<synopsis>
The Subsidiary Management LFB
</synopsis>
<version>1.0</version>
<components>
<component componentID="1" access="read-write">
<name>Debug</name>
<synopsis>A table to support changing of all debug levels
</synopsis>
<array type="variable-size">
<typeRef>LogRowtype</typeRef>
</array>
</component>
<component componentID="2" access="write-only">
<name>LFBLoad</name>
<synopsis>An LFB Class to Load</synopsis>
<array type="variable-size">
<typeRef>LCRowtype</typeRef>
</array>
</component>
<component componentID="3" access="read-write">
<name>AttributeValues</name>
<span class="grey">Khasnabish, et al. Standards Track [Page 14]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-15" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<synopsis>Table of general purpose SM attribute Values
</synopsis>
<array type="variable-size">
<typeRef>NameVal</typeRef>
</array>
</component>
<component componentID="4" access="write-only">
<name>CEs</name>
<synopsis>Table of CEs we are asking the FE to associate
with</synopsis>
<array type="variable-size">
<typeRef>CERow</typeRef>
</array>
</component>
</components>
<!---->
<capabilities>
<capability componentID="10">
<name>DynamicLFBLoading</name>
<synopsis>This capability specifies whether this FE supports
dynamic loading of new LFBs</synopsis>
<typeRef>boolean</typeRef>
</capability>
<capability componentID="11">
<name>SupportedParameters</name>
<synopsis>This capability contains all the supported
parameters</synopsis>
<array type="variable-size">
<typeRef>string</typeRef>
</array>
</capability>
<capability componentID="12">
<name>SupportedAttributes</name>
<synopsis>This capability contains all the supported
attributes names</synopsis>
<array type="variable-size">
<typeRef>string</typeRef>
</array>
</capability>
</capabilities>
<events baseID="20">
<event eventID="1">
<name>CEAdded</name>
<synopsis>An CE has been added</synopsis>
<eventTarget>
<eventField>CEs</eventField>
</eventTarget>
<eventCreated/>
<span class="grey">Khasnabish, et al. Standards Track [Page 15]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-16" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<eventReports>
<eventReport>
<eventField>CEs</eventField>
<eventSubscript>_CEIDsrowid_</eventSubscript>
</eventReport>
</eventReports>
</event>
<event eventID="2">
<name>CEDeleted</name>
<synopsis>An CE has been deleted</synopsis>
<eventTarget>
<eventField>CEs</eventField>
<eventSubscript>_CEIDsrowid_</eventSubscript>
</eventTarget>
<eventDeleted/>
<eventReports>
<eventReport>
<eventField>CEs</eventField>
<eventSubscript>_CEIDsrowid_</eventSubscript>
</eventReport>
</eventReports>
</event>
<event eventID="3">
<name>LFBLoaded</name>
<synopsis>An LFB has been loaded</synopsis>
<eventTarget>
<eventField>LFBLoad</eventField>
</eventTarget>
<eventCreated/>
<eventReports>
<eventReport>
<eventField>LFBLoad</eventField>
<eventSubscript>_LFBLoadrowid_</eventSubscript>
</eventReport>
</eventReports>
</event>
<event eventID="4">
<name>LFBUnloaded</name>
<synopsis>An CE has been unloaded</synopsis>
<eventTarget>
<eventField>LFBLoad</eventField>
<eventSubscript>_LFBLoadrowid_</eventSubscript>
</eventTarget>
<eventDeleted/>
<eventReports>
<eventReport>
<eventField>LFBLoad</eventField>
<eventSubscript>_LFBLoadrowid_</eventSubscript>
<span class="grey">Khasnabish, et al. Standards Track [Page 16]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-17" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
</eventReport>
</eventReports>
</event>
</events>
</LFBClassDef>
</LFBClassDefs>
</LFBLibrary>
Figure 2: FEM XML LFB Library
<span class="h2"><a class="selflink" id="section-6" href="#section-6">6</a>. Security Considerations</span>
This document does not alter the ForCES model [<a href="./rfc5812" title=""Forwarding and Control Element Separation (ForCES) Forwarding Element Model"">RFC5812</a>] or the ForCES
protocol [<a href="./rfc5810" title=""Forwarding and Control Element Separation (ForCES) Protocol Specification"">RFC5810</a>]. As such, it has no impact on their security
considerations. This document simply defines the operational
parameters and capabilities of an LFB that manage the SM for loading
LFBs and create new connections between FEs and CEs.
On the issue of trust, a designer should take into account that the
CE that creates new connections to CEs is either:
o The FE manager that is responsible for managing the FEs, or
o An already associated CE
In both of these cases, the entity making the connections should
already be trusted to perform such activities. If the entity making
the connections is faulty, rogue, or hacked, there is no way for the
FE to know this, and it will perform any action that the CE requests.
Therefore, this document does not attempt to analyze the security
issues that may arise from misuse of the SM LFB. Any such issues, if
they exist, and mitigation strategies are for the designers of the
particular SM implementation, not the general mechanism.
The reader is also referred to the ForCES framework [<a href="./rfc3746" title=""Forwarding and Control Element Separation (ForCES) Framework"">RFC3746</a>]
document, particularly <a href="#section-8">Section 8</a>, for an analysis of potential
threats introduced by ForCES and how the ForCES architecture
addresses them.
<span class="grey">Khasnabish, et al. Standards Track [Page 17]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-18" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
<span class="h2"><a class="selflink" id="section-7" href="#section-7">7</a>. IANA Considerations</span>
<span class="h3"><a class="selflink" id="section-7.1" href="#section-7.1">7.1</a>. LFB Class Names and LFB Class Identifiers</span>
LFB classes defined by this document belong to LFBs defined by
Standards Track RFCs. The registration procedure is Standards Action
for the range 0 to 65535 and First Come First Served with any
publicly available specification for identifiers over 65535
[<a href="./rfc5226" title="">RFC5226</a>]. This specification registers the following LFB class name
and LFB class identifier in the "Logical Functional Block (LFB) Class
Names and Class Identifiers" registry:
+------------+--------+---------+-----------------------+-----------+
| LFB Class | LFB | LFB | Description | Reference |
| Identifier | Class | Version | | |
| | Name | | | |
+------------+--------+---------+-----------------------+-----------+
| 19 | SM | 1.0 | An SM LFB to | <a href="./rfc7729">RFC 7729</a> |
| | | | standardize | (this |
| | | | subsidiary management | document) |
| | | | for ForCES Network | |
| | | | Elements | |
+------------+--------+---------+-----------------------+-----------+
Logical Functional Block (LFB) Class Name and Class Identifier
<span class="h2"><a class="selflink" id="section-8" href="#section-8">8</a>. References</span>
<span class="h3"><a class="selflink" id="section-8.1" href="#section-8.1">8.1</a>. Normative References</span>
[<a id="ref-RFC2119">RFC2119</a>] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", <a href="https://www.rfc-editor.org/bcp/bcp14">BCP 14</a>, <a href="./rfc2119">RFC 2119</a>,
DOI 10.17487/RFC2119, March 1997,
<<a href="http://www.rfc-editor.org/info/rfc2119">http://www.rfc-editor.org/info/rfc2119</a>>.
[<a id="ref-RFC5810">RFC5810</a>] Doria, A., Ed., Hadi Salim, J., Ed., Haas, R., Ed.,
Khosravi, H., Ed., Wang, W., Ed., Dong, L., Gopal, R., and
J. Halpern, "Forwarding and Control Element Separation
(ForCES) Protocol Specification", <a href="./rfc5810">RFC 5810</a>,
DOI 10.17487/RFC5810, March 2010,
<<a href="http://www.rfc-editor.org/info/rfc5810">http://www.rfc-editor.org/info/rfc5810</a>>.
[<a id="ref-RFC5812">RFC5812</a>] Halpern, J. and J. Hadi Salim, "Forwarding and Control
Element Separation (ForCES) Forwarding Element Model",
<a href="./rfc5812">RFC 5812</a>, DOI 10.17487/RFC5812, March 2010,
<<a href="http://www.rfc-editor.org/info/rfc5812">http://www.rfc-editor.org/info/rfc5812</a>>.
<span class="grey">Khasnabish, et al. Standards Track [Page 18]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-19" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
[<a id="ref-RFC7121">RFC7121</a>] Ogawa, K., Wang, W., Haleplidis, E., and J. Hadi Salim,
"High Availability within a Forwarding and Control Element
Separation (ForCES) Network Element", <a href="./rfc7121">RFC 7121</a>,
DOI 10.17487/RFC7121, February 2014,
<<a href="http://www.rfc-editor.org/info/rfc7121">http://www.rfc-editor.org/info/rfc7121</a>>.
<span class="h3"><a class="selflink" id="section-8.2" href="#section-8.2">8.2</a>. Informative References</span>
[<a id="ref-RFC3164">RFC3164</a>] Lonvick, C., "The BSD Syslog Protocol", <a href="./rfc3164">RFC 3164</a>,
DOI 10.17487/RFC3164, August 2001,
<<a href="http://www.rfc-editor.org/info/rfc3164">http://www.rfc-editor.org/info/rfc3164</a>>.
[<a id="ref-RFC3654">RFC3654</a>] Khosravi, H., Ed. and T. Anderson, Ed., "Requirements for
Separation of IP Control and Forwarding", <a href="./rfc3654">RFC 3654</a>,
DOI 10.17487/RFC3654, November 2003,
<<a href="http://www.rfc-editor.org/info/rfc3654">http://www.rfc-editor.org/info/rfc3654</a>>.
[<a id="ref-RFC3746">RFC3746</a>] Yang, L., Dantu, R., Anderson, T., and R. Gopal,
"Forwarding and Control Element Separation (ForCES)
Framework", <a href="./rfc3746">RFC 3746</a>, DOI 10.17487/RFC3746, April 2004,
<<a href="http://www.rfc-editor.org/info/rfc3746">http://www.rfc-editor.org/info/rfc3746</a>>.
[<a id="ref-RFC5226">RFC5226</a>] Narten, T. and H. Alvestrand, "Guidelines for Writing an
IANA Considerations Section in RFCs", <a href="https://www.rfc-editor.org/bcp/bcp26">BCP 26</a>, <a href="./rfc5226">RFC 5226</a>,
DOI 10.17487/RFC5226, May 2008,
<<a href="http://www.rfc-editor.org/info/rfc5226">http://www.rfc-editor.org/info/rfc5226</a>>.
<span class="grey">Khasnabish, et al. Standards Track [Page 19]</span></pre>
<hr class='noprint'/><!--NewPage--><pre class='newpage'><span id="page-20" ></span>
<span class="grey"><a href="./rfc7729">RFC 7729</a> ForCES LFB Subsidiary Management December 2015</span>
Acknowledgments
The authors would like to thank Damascene Joachimpillai, Joel
Halpern, Chuanhuang Li, and many others for their discussions and
support.
The authors are grateful to Joel Halpern for shepherding this
document. The authors would also like to thank Alia Atlas for taking
on the role of sponsoring this document. Finally, thanks to Juergen
Schoenwaelder for his operational directorate's review and Alexey
Melnikov for his security review.
Authors' Addresses
Bhumip Khasnabish
ZTE TX, Inc.
55 Madison Avenue, Suite 160
Morristown, New Jersey 07960
United States
Phone: +001-781-752-8003
Email: vumip1@gmail.com, bhumip.khasnabish@ztetx.com
URI: <a href="http://tinyurl.com/bhumip/">http://tinyurl.com/bhumip/</a>
Evangelos Haleplidis
University of Patras
Department of Electrical and Computer Engineering
Patras 26500
Greece
Email: ehalep@ece.upatras.gr
Jamal Hadi Salim (editor)
Mojatatu Networks
Suite 200, 15 Fitzgerald Road
Ottawa, Ontario K2H 9G1
Canada
Email: hadi@mojatatu.com
Khasnabish, et al. Standards Track [Page 20]
</pre>
|