Network Working Group H. Okita Internet-Draft T. Iijima Intended status: Informational Hitachi, Ltd. Expires: September 2, 2007 Y. Atarashi Alaxala Corp. March 2007 A NETCONF Datamodel for Diff-Serv QoS Control Configuration draft-okita-ngo-diffservdatamodel-00 Status of this Memo By submitting this Internet-Draft, each author represents that any applicable patent or other IPR claims of which he or she is aware have been or will be disclosed, and any of which he or she becomes aware will be disclosed, in accordance with Section 6 of BCP 79. Internet-Drafts are working documents of the Internet Engineering Task Force (IETF), its areas, and its working groups. Note that other groups may also distribute working documents as Internet- Drafts. Internet-Drafts are draft documents valid for a maximum of six months and may be updated, replaced, or obsoleted by other documents at any time. It is inappropriate to use Internet-Drafts as reference material or to cite them other than as "work in progress." The list of current Internet-Drafts can be accessed at http://www.ietf.org/ietf/1id-abstracts.txt. The list of Internet-Draft Shadow Directories can be accessed at http://www.ietf.org/shadow.html. This Internet-Draft will expire on September 2, 2007. Copyright Notice Copyright (C) The IETF Trust (2007). Okita, et al. Expires September 2, 2007 [Page 1] Internet-Draft Diff-Serv NETCONF datamodel March 2007 Abstract This memo proposes a NETCONF datamodel for Differentiated Service (Diff-Serv) QoS control and an XML Schema to define the model. This model contains functional elements on a Diff-Serv router and Traffic Data Path. In this model, each Traffic Data Path is represented as the combination of the functional elements. Network operators can configure Diff-Serv routers distributed in their provider network by this datamodel and NETCONF protocol. Okita, et al. Expires September 2, 2007 [Page 2] Internet-Draft Diff-Serv NETCONF datamodel March 2007 1. Introduction Integration of various network services is active in enterprise networks for operational cost reduction. Variety of the network services increases complexity of the network device configuration in the enterprise networks. IETF netconf WG made up NETCONF protocol [1] , standard configuration protocol between a network management system and network devices. By using this unified management/configuration protocol, operators can reduce management/configuration cost. This memo proposes a configuration datamodel for the NETCONF protocol to manage or configure the provider's network to which Diff-Serv QoS control is applied. Section 2 describes the NETCONF protocol and Diff-Serv management model as the background of the proposed datamodel. Section 3 describes the proposed Diff-Serv NETCONF configuration datamodel. Okita, et al. Expires September 2, 2007 [Page 3] Internet-Draft Diff-Serv NETCONF datamodel March 2007 2. Background 2.1. NETCONF Protocol Characteristics of the NETCONF protocol are (1) XML-format, (2) RPC- style, and (3) separation of operation and datamodel. The NETCONF protocol has protocol messages described in XML [13] format. XML-format makes it easy for operators to read configuration data. It also improves machine readability of the configuration data since XML documents are well-formed. From a different viewpoint, various XML related tools eases development of devices compliant to the NETCONF protocol. The NETCONF protocol is a Remote Procedure Call (RPC) style protocol. RPC-style protocols have sets of a request message and a corresponding reply message. It is easy to implement on a management software, since each RPC of the protocol corresponds to a function call of the programs. Layer Example +-------------+ +-----------------------------+ (4) | Content | | Configuration data | +-------------+ +-----------------------------+ | | +-------------+ +-----------------------------+ (3) | Operations | | , | +-------------+ +-----------------------------+ | | +-------------+ +-----------------------------+ (2) | RPC | | , | +-------------+ +-----------------------------+ | | +-------------+ +-----------------------------+ (1) | Transport | | SSH, SSL, console, | | Protocol | | SOAP/HTTP, BEEP | +-------------+ +-----------------------------+ Figure 1 The NETCONF protocol defines protocol operations and datamodels separately. The NETCONF protocol has four layers. Figure 1 shows the NETCONF protocol structure. It contains Transport Protocol Layer, RPC Layer, Operations Layer and Content Layer. In the RPC Layer and Operations Layer, the netconf WG defined RPC Okita, et al. Expires September 2, 2007 [Page 4] Internet-Draft Diff-Serv NETCONF datamodel March 2007 message and basic protocol operations [1] . These NETCONF operations carry configuration data inside element. The WG also defined the transport mapping of the NETCONF protocol for SSH [2] , SOAP/HTTP [3] and BEEP [4] . The Content Layer defines model of the NETCONF content carried by NETCONF operations such as and . The structure of the configuration data is defined by schema language such as DTD [13] , XML Schema [14] or RelaxNG for the each model. 2.2. Diff-Serv QoS Control Differentiated Service (Diff-Serv) is a QoS control model for service provider's large scale network. In the Diff-Serv network, traffic flows with different quality defined for each service class. In the Diff-Serv Architecture [5] network, the edge router of Diff- Serv Domain receives packets from the outside, modulates the Diff- Serv field in the packets, and forwards the packets into the Diff- Serv domain. The Core Router in the Diff-Serv Domain forwards packets with the Per-Hop Behavior (PHB) corresponding to the designated DSCP in the DS field of these packets. In the Diff-Serv framework, RFC2474 [9] defines format and usage of the Diff-Serv field. It also defines a default PHB. In addition to the default PHB, two standard PHBs, Assured Forwarding (AF) PHB Group [10] and An Expedited Forwarding PHB [11] are defined with their codepoint. 2.3. Management Model of Diff-Serv Informal management model for Diff-Serv routers [7] are proposed for the management and configuration of Diff-Serv routers. In this model, Diff-Serv routers contain a routing core and Diff-Serv functions at ingress/egress network interfaces. The Diff-Serv functions include classifiers, meters, action elements and queues. The action elements are DSCP markers, absolute droppers, multiplexers, counters and null action element. In this model, operators describe the Diff-Serv router's function as combination of these functional elements. According to the management model, MIB for the Diff-Serv architecture [6] is proposed. It defines diffServDataPath, diffServClassifier, diffServMeter, diffServTBParam, diffServAction, diffServAlgDrop, diffServQueue and diffServScheduler object groups. Operators can access to the management and configuration information on the Diff- Serv routers with this MIB and SNMP [12] . Okita, et al. Expires September 2, 2007 [Page 5] Internet-Draft Diff-Serv NETCONF datamodel March 2007 3. Diff-Serv NETCONF Configuration Datamodel 3.1. Datamodel Structure The structure of the proposed configuration datamodel follows structure of the informal Diff-Serv management model [6] . Each element in this NETCONF datamodel is equivalent to a functional element in the informal Diff-Serv management model. This proposed configuration datamodel defines element. This element is the top element of the Diff-Serv configuration data. In addition to this element, this datamodel defines following elements: , , , , , , and . To configure Diff-Serv function on a Diff-Serv router, operators should connect above elements to form a Traffic Data Path. This Traffic Data Path represents which element packets received by a network interface would pass. 3.2. Cross Reference between Functional Elements 3.2.1. RowPointer Problem in MIB As said above, Diff-Serv MIB describes Traffic Data Path as linked list of functional elements. Diff-Serv MIB use a RowPointer type object to refer the functional element(s) following an element on a Traffic Data Path. The RowPointer type object can be an Object Identifier (OID). The OID indicates an entry on a MIB table, for example, diffServClassifierElementTable. The problem is ambiguity of RowPointer semantics. The OID can indicate every object on the whole MIB tree. When operators configure routers using Diff-Serv MIB, they should search the OID corresponding with the proper entry on the MIB table from whole MIB tree. This makes it complicated the router configurations. 3.2.2. Hierarchical Expression in XML document Generally, hierarchical relationship between multiple objects in a data structure can be described by a parent element and a child element in a XML document. For example, in a NETCONF configuration, network interface and assigned IP address can be described like that. Below is an example of the NETCONF configuration for two network interfaces that address 192.168.1.1/24 and 192.168.2.1/24 are assigned respectively. Okita, et al. Expires September 2, 2007 [Page 6] Internet-Draft Diff-Serv NETCONF datamodel March 2007 7 192.168.1.1/24 8 192.168.2.1/24 As explained in Section 2.3 , in the Diff-Serv configuration model, a functional element could be linked from multiple functional elements. For example, both two classifier elements indicate a same meter element as their next destination of treated packets. The Diff-Serv NETCONF datamodel should not adopt the hierarchical expression above. The Diff-Serv NETCONF datamodel which adopts this hierarchical expression would make it complicated for operators to manage configurations. When parameters of a functional element linked by multiple elements are changed, operators would meet trouble to change all elements in the configuration corresponding to the parameter-changed element respectively. 3.2.3. ID Reference Type Usage in NETCONF datamodel To avoid the problem, The Diff-Serv NETCONF datamodel uses an ID type attribute and an IDREF type attribute to form a reference between two functional elements on a Traffic Data Path. Semantically, candidates of an IDREF type attribute in a Diff-Serv NETCONF configuration document are limited to the set of ID type attribute defined in the configuration document. Operators can easily select proper IDREF type value indicating a target functional element. Below is an example configuration of a Traffic Data path object on a router. The Traffic Data Path object indicates a corresponding network interface on the router. The object refers a classifier object in a startElement tag as an element which receives traffic from the interface at first. Okita, et al. Expires September 2, 2007 [Page 7] Internet-Draft Diff-Serv NETCONF datamodel March 2007 7 in clfr1 8 in clfr1 3.3. Datamodel Elements 3.3.1. DataPath element 3.3.2. Classifier element 3.3.3. Marker element 3.3.4. Meter element 3.3.5. Dropper element 3.3.6. Queue element 3.3.7. Scheduler element 3.4. Configuration Example This section describes an example configuration of a Diff-Serv router in a service provider's network. The target network has a Diff-Serv domain composed of multiple Diff- Serv routers. Figure 4 shows the model of the target network. An edge router of the Diff-Serv routers is connected to a external router taking a subnet whose network address and mask length are 128.0.1.10/16. Okita, et al. Expires September 2, 2007 [Page 8] Internet-Draft Diff-Serv NETCONF datamodel March 2007 +-------------+ | | | +------+ +------------------+ +------+ | |router|--+ | | +--|router| | +------+ | | | | +------+ |128.0.1.10/16| | +------+ +------+ +------+ | +-------------+ +--|Edge |--|Core |--|Edge |--+ +--|Router| |Router| |Router|--+ | +------+ +------+ +------+ | +------+ | | | | +------+ |router|--+ | Diff-Serv Domain | +--|router| +------+ +------------------+ +------+ Figure 4 Figure 5 shows the configuration model of the data path on the edge router, which treats the packets from 128.0.1.10/16 subnet. As the start point, data-path functional element appears and is assigned to the network interface connected to the external router. A classifier element follows the data-path element and separates received packets into a group whose packets' source address is in subnet 128.0.1.10/16 and a group of other packets. +-----------+ +----+ +----+ |+-----+ | +->|Mar-|-->|Me- |------------>||Queue| | +-----+ +-------+ | | ker| | ter|-+ +----+ |+-----+ | |Data |-->|Classi-|-+ +----+ +----+ +->|Dro-| | | | Path| | fier|-+ |pper| | | +-----+ +-------+ | +----+ |+-----+ | +----------------------------->||Queue| | |+-----+ | |Traffic | |Conditioner| +-----------+ Figure 5 Below is a NETCONF-style configuration example for the edge router of the Diff-Serv domain in the service provider's network. Okita, et al. Expires September 2, 2007 [Page 9] Internet-Draft Diff-Serv NETCONF datamodel March 2007 7 in clfr1 128.0.1.10 16 mkr1 any que1 46 mtr1 30Mbps que8 drp1 8 1 Okita, et al. Expires September 2, 2007 [Page 10] Internet-Draft Diff-Serv NETCONF datamodel March 2007 3.5. Other Referred NETCONF Datamodel The proposed Diff-Serv NETCONF datamodel refers InetAddress datatypes to describe IP addresses object in its configuration. For example, a classifier element contains IP address type elements to indicate a set of packets to be selected for each output of the classifier element. Okita, et al. Expires September 2, 2007 [Page 11] Internet-Draft Diff-Serv NETCONF datamodel March 2007 4. Security Consideration (TBD) Okita, et al. Expires September 2, 2007 [Page 12] Internet-Draft Diff-Serv NETCONF datamodel March 2007 5. IANA Consideration This document has no actions for IANA. Okita, et al. Expires September 2, 2007 [Page 13] Internet-Draft Diff-Serv NETCONF datamodel March 2007 Appendix A. XML Schema of Diff-Serv NETCONF Datamodel Okita, et al. Expires September 2, 2007 [Page 14] Internet-Draft Diff-Serv NETCONF datamodel March 2007 A Differentiated Services Code-Point that may be used for marking a traffic stream. Okita, et al. Expires September 2, 2007 [Page 15] Internet-Draft Diff-Serv NETCONF datamodel March 2007 Okita, et al. Expires September 2, 2007 [Page 16] Internet-Draft Diff-Serv NETCONF datamodel March 2007 Okita, et al. Expires September 2, 2007 [Page 17] Internet-Draft Diff-Serv NETCONF datamodel March 2007 Okita, et al. Expires September 2, 2007 [Page 18] Internet-Draft Diff-Serv NETCONF datamodel March 2007 6. References 6.1. Normative References [1] Enns, R., "NETCONF Configuration Protocol", RFC 4741, December 2006. [2] Wasserman, M. and T. Goddard, "Using the NETCONF Configuration Protocol over Secure SHell (SSH)", RFC 4742, December 2006. [3] Goddard, T., "Using NETCONF over the Simple Object Access Protocol (SOAP)", RFC 4743, December 2006. [4] Lear, E. and K. Crozier, "Using the NETCONF Protocol over the Blocks Extensible Exchange Protocol (BEEP)", RFC 4744, December 2006. [5] Blake, S., Black, D., Carlson, M., Davies, E., Wang, Z., and W. Weiss, "An Architecture for Differentiated Services", RFC 2475, December 1998. [6] Bernet, Y., Blake, S., Grossman, D., and A. Smith, "An Informal Management Model for Diffserv Routers", RFC 3290, May 2002. [7] Baker, F., Chan, K., and A. Smith, "Management Information Base for the Differentiated Services Architecture", RFC 3289, May 2002. 6.2. Informative References [8] Admankar, S. and S. Chisholm, "Using XML Schema to define Netconf Content", draft-chisholm-netconf-model-06 (work in progress), February 2007. [9] Nichols, K., Blake, S., Baker, F., and D. Black, "Definition of the Differentiated Services Field (DS Field) in the IPv4 and IPv6 Headers", RFC 2474, December 1998. [10] Heinanen, J., Baker, F., Weiss, W., and J. Wroclawski, "Assured Forwarding PHB Group", RFC 2597, June 1999. [11] Davie, B., Charny, A., Bennet, J., Benson, K., Le Boudec, J., Courtney, W., Davari, S., Firoiu, V., and D. Stiliadis, "An Expedited Forwarding PHB (Per-Hop Behavior)", RFC 3246, March 2002. [12] Case, J., Mundy, R., Partain, D., and B. Stewart, "Introduction and Applicability Statements for Internet-Standard Management Okita, et al. Expires September 2, 2007 [Page 19] Internet-Draft Diff-Serv NETCONF datamodel March 2007 Framework", RFC 3410, December 2002. [13] Maler, E., Paoli, J., Yergeau, F., Sperberg-McQueen, C., and T. Bray, "Extensible Markup Language (XML) 1.0 (Fourth Edition)", World Wide Web Consortium Recommendation REC-xml-20060816, August 2006, . [14] Fallside, D., "XML Schema Part 0: Primer", World Wide Web Consortium FirstEdition REC-xmlschema-0-20010502, May 2001, . [15] Gudgin, M., Moreau, J., Hadley, M., Nielsen, H., and N. Mendelsohn, "SOAP Version 1.2 Part 1: Messaging Framework", World Wide Web Consortium Recommendation REC-soap12-part1- 20030624, June 2003, . Okita, et al. Expires September 2, 2007 [Page 20] Internet-Draft Diff-Serv NETCONF datamodel March 2007 Authors' Addresses Hideki Okita Central Research Laboratory, Hitachi. Ltd. 1-280 Higashi-Koigakubo Kokubunji, Tokyo 185-8601 Japan Phone: +81-42-323-1111 Fax: +81-42-323-7868 Email: hideki.okita.pf@hitachi.com Tomoyuki Iijima Central Research Laboratory, Hitachi. Ltd. 1-280 Higashi-Koigakubo Kokubunji, Tokyo 185-8601 Japan Phone: +81-42-323-1111 Fax: +81-42-323-7868 Email: tomoyuki.iijima.fg@hitachi.com Yoshifumi Atarashi Alaxala Networks Corp. Shin-Kawasaki Mitsui Bldg. 890 Saiwai-ku Kashimada Kawasaki, Kanagawa 212-0058 Japan Phone: +81-44-549-1200 Fax: +81-44-549-1272 Email: atarashi@alaxala.net Okita, et al. Expires September 2, 2007 [Page 21] Internet-Draft Diff-Serv NETCONF datamodel March 2007 Full Copyright Statement Copyright (C) The IETF Trust (2007). This document is subject to the rights, licenses and restrictions contained in BCP 78, and except as set forth therein, the authors retain all their rights. This document and the information contained herein are provided on an "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY, THE IETF TRUST AND THE INTERNET ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Intellectual Property The IETF takes no position regarding the validity or scope of any Intellectual Property Rights or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; nor does it represent that it has made any independent effort to identify any such rights. Information on the procedures with respect to rights in RFC documents can be found in BCP 78 and BCP 79. Copies of IPR disclosures made to the IETF Secretariat and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this specification can be obtained from the IETF on-line IPR repository at http://www.ietf.org/ipr. The IETF invites any interested party to bring to its attention any copyrights, patents or patent applications, or other proprietary rights that may cover technology that may be required to implement this standard. Please address the information to the IETF at ietf-ipr@ietf.org. Acknowledgment Funding for the RFC Editor function is provided by the IETF Administrative Support Activity (IASA). Okita, et al. Expires September 2, 2007 [Page 22]