draft-ietf-netmod-arch-01.txt   draft-ietf-netmod-arch-02.txt 
Network Working Group P. Shafer Network Working Group P. Shafer
Internet-Draft Juniper Networks Internet-Draft Juniper Networks
Intended status: Informational May 26, 2009 Intended status: Informational May 27, 2009
Expires: November 27, 2009 Expires: November 28, 2009
An NETCONF- and NETMOD-based Architecture for Network Management An NETCONF- and NETMOD-based Architecture for Network Management
draft-ietf-netmod-arch-01 draft-ietf-netmod-arch-02
Status of this Memo Status of this Memo
This Internet-Draft is submitted to IETF in full conformance with the This Internet-Draft is submitted to IETF in full conformance with the
provisions of BCP 78 and BCP 79. provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF), its areas, and its working groups. Note that Task Force (IETF), its areas, and its working groups. Note that
other groups may also distribute working documents as Internet- other groups may also distribute working documents as Internet-
Drafts. Drafts.
skipping to change at page 1, line 32 skipping to change at page 1, line 32
and may be updated, replaced, or obsoleted by other documents at any and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress." material or to cite them other than as "work in progress."
The list of current Internet-Drafts can be accessed at The list of current Internet-Drafts can be accessed at
http://www.ietf.org/ietf/1id-abstracts.txt. http://www.ietf.org/ietf/1id-abstracts.txt.
The list of Internet-Draft Shadow Directories can be accessed at The list of Internet-Draft Shadow Directories can be accessed at
http://www.ietf.org/shadow.html. http://www.ietf.org/shadow.html.
This Internet-Draft will expire on November 27, 2009. This Internet-Draft will expire on November 28, 2009.
Copyright Notice Copyright Notice
Copyright (c) 2009 IETF Trust and the persons identified as the Copyright (c) 2009 IETF Trust and the persons identified as the
document authors. All rights reserved. document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents in effect on the date of Provisions Relating to IETF Documents in effect on the date of
publication of this document (http://trustee.ietf.org/license-info). publication of this document (http://trustee.ietf.org/license-info).
Please review these documents carefully, as they describe your rights Please review these documents carefully, as they describe your rights
skipping to change at page 8, line 31 skipping to change at page 8, line 31
vendor module may augment this with vendor-specific extensions. vendor module may augment this with vendor-specific extensions.
module vendorx-ospf { module vendorx-ospf {
namespace http://vendorx.example.com/ospf; namespace http://vendorx.example.com/ospf;
prefix vendorx; prefix vendorx;
import ietf-ospf { import ietf-ospf {
prefix ospf; prefix ospf;
} }
BL: need leading slash: augment /ospf:ospf/ospf:area/ospf:interfaces {
augment ospf:ospf/ospf:area/ospf:interfaces {
leaf no-neighbor-down-notification { leaf no-neighbor-down-notification {
type empty; type empty;
description "Don't inform other protocols about" description "Don't inform other protocols about"
+ " neighbor down events"; + " neighbor down events";
} }
} }
} }
The <no-neighbor-down-notification> element is then placed in the The <no-neighbor-down-notification> element is then placed in the
vendorx namespace: vendorx namespace:
skipping to change at page 13, line 36 skipping to change at page 13, line 36
acceptable option. For those scenarios, an XML grammar for YANG is acceptable option. For those scenarios, an XML grammar for YANG is
defined in YIN (YANG Independent Notation) [ref]. YIN allows the use defined in YIN (YANG Independent Notation) [ref]. YIN allows the use
of XML parsers which are readily available in both open source and of XML parsers which are readily available in both open source and
commercial versions. Conversion between YANG and YIN is direct, commercial versions. Conversion between YANG and YIN is direct,
loss-less and reversible. YANG statements are converted to XML loss-less and reversible. YANG statements are converted to XML
elements, preserving the structure and content of YANG, but enabling elements, preserving the structure and content of YANG, but enabling
the use of off-the-shelf XML parsers rather than requiring the the use of off-the-shelf XML parsers rather than requiring the
integration of a YANG parser. YIN maintains complete semantic integration of a YANG parser. YIN maintains complete semantic
equivalence with YANG. equivalence with YANG.
BL: use of xslt is a key use
4.2. DSDL (Relax NG) 4.2. DSDL (Relax NG)
Since NETCONF content is encoded in XML, it is natural to use XML Since NETCONF content is encoded in XML, it is natural to use XML
schema languages for their validation. To facilitate this, YANG schema languages for their validation. To facilitate this, YANG
offers a standardized mapping of YANG modules into Document Schema offers a standardized mapping of YANG modules into Document Schema
Description Languages (DSDL) [DSDL]. Description Languages (DSDL) [DSDL].
DSDL is considered to be the best choice for the given purpose DSDL is considered to be the best choice for the given purpose
because it addresses not only grammar and datatypes of XML documents because it addresses not only grammar and datatypes of XML documents
but also semantic constraints and rules for modifying information set but also semantic constraints and rules for modifying information set
skipping to change at page 16, line 26 skipping to change at page 16, line 26
treating that data without specific understanding. treating that data without specific understanding.
YANG modules may be used to drive the operation of the YANG YANG modules may be used to drive the operation of the YANG
equivalent of a "MIB Browser". Such an application manipulates the equivalent of a "MIB Browser". Such an application manipulates the
device's configuration data based on the data organization contained device's configuration data based on the data organization contained
in the YANG module. For example, a GUI may present a straight- in the YANG module. For example, a GUI may present a straight-
forward visualization where elements of the YANG hierarchy are forward visualization where elements of the YANG hierarchy are
depicted in a hierarchy of folders or GUI panels. Clicking on a line depicted in a hierarchy of folders or GUI panels. Clicking on a line
expands to the contents of the matching content. expands to the contents of the matching content.
BL: GUI comments don't need to be here
This type of GUI can easily be built by generating XSLT stylesheets This type of GUI can easily be built by generating XSLT stylesheets
from the YANG data models. An XSLT engine can then be used to turn from the YANG data models. An XSLT engine can then be used to turn
configuration data into a set of web pages. configuration data into a set of web pages.
The YANG modules allows the application to enforce a set of The YANG modules allows the application to enforce a set of
constraints without understanding the semantics of the YANG module. constraints without understanding the semantics of the YANG module.
5.4.3. Top Down 5.4.3. Top Down
In contrast to the bottom-up approach, the top-down approach allows In contrast to the bottom-up approach, the top-down approach allows
 End of changes. 6 change blocks. 
11 lines changed or deleted 5 lines changed or added

This html diff was produced by rfcdiff 1.35. The latest version is available from http://tools.ietf.org/tools/rfcdiff/