draft-ietf-nfsv4-rfc3530bis-dot-x-03.txt   draft-ietf-nfsv4-rfc3530bis-dot-x-04.txt 
NFSv4 T. Haynes NFSv4 T. Haynes
Internet-Draft D. Noveck Internet-Draft D. Noveck
Intended status: Standards Track Editors Intended status: Standards Track Editors
Expires: January 13, 2011 July 12, 2010 Expires: August 7, 2011 February 03, 2011
NFS Version 4 Protocol External Data Representation Standard (XDR) NFS Version 4 Protocol External Data Representation Standard (XDR)
Description Description
draft-ietf-nfsv4-rfc3530bis-dot-x-03.txt draft-ietf-nfsv4-rfc3530bis-dot-x-04.txt
Abstract Abstract
The Network File System (NFS) version 4 is a distributed filesystem The Network File System (NFS) version 4 is a distributed filesystem
protocol which owes heritage to NFS protocol version 2, RFC 1094, and protocol which owes heritage to NFS protocol version 2, RFC 1094, and
version 3, RFC 1813. Unlike earlier versions, the NFS version 4 version 3, RFC 1813. Unlike earlier versions, the NFS version 4
protocol supports traditional file access while integrating support protocol supports traditional file access while integrating support
for file locking and the mount protocol. In addition, support for for file locking and the mount protocol. In addition, support for
strong security (and its negotiation), compound operations, client strong security (and its negotiation), compound operations, client
caching, and internationalization have been added. Of course, caching, and internationalization have been added. Of course,
skipping to change at page 2, line 8 skipping to change at page 2, line 8
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 January 13, 2011. This Internet-Draft will expire on August 7, 2011.
Copyright Notice Copyright Notice
Copyright (c) 2010 IETF Trust and the persons identified as the Copyright (c) 2011 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 Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of (http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents publication of this document. Please review these documents
carefully, as they describe your rights and restrictions with respect carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as the Trust Legal Provisions and are provided without warranty as
skipping to change at page 3, line 11 skipping to change at page 3, line 11
not be created outside the IETF Standards Process, except to format not be created outside the IETF Standards Process, except to format
it for publication as an RFC or to translate it into languages other it for publication as an RFC or to translate it into languages other
than English. than English.
Table of Contents Table of Contents
1. XDR Description of NFSv4.0 . . . . . . . . . . . . . . . . . . 3 1. XDR Description of NFSv4.0 . . . . . . . . . . . . . . . . . . 3
2. Security Considerations . . . . . . . . . . . . . . . . . . . 36 2. Security Considerations . . . . . . . . . . . . . . . . . . . 36
3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 36 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 36
4. Normative References . . . . . . . . . . . . . . . . . . . . . 36 4. Normative References . . . . . . . . . . . . . . . . . . . . . 36
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 36 Appendix A. Acknowledgments . . . . . . . . . . . . . . . . . . . 36
Appendix B. RFC Editor Notes . . . . . . . . . . . . . . . . . . 36
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 37
1. XDR Description of NFSv4.0 1. XDR Description of NFSv4.0
This document contains the XDR ([2]) description of NFSv4.0 protocol This document contains the XDR ([2]) description of NFSv4.0 protocol
([3]). ([3]).
The XDR description is provided in this document in a way that makes The XDR description is provided in this document in a way that makes
it simple for the reader to extract into ready to compile form. The it simple for the reader to extract into ready to compile form. The
reader can feed this document in the following shell script to reader can feed this document in the following shell script to
produce the machine readable XDR description of NFSv4.0: produce the machine readable XDR description of NFSv4.0:
skipping to change at page 4, line 30 skipping to change at page 4, line 30
sh extract.sh < spec.txt > nfs4_prot.x sh extract.sh < spec.txt > nfs4_prot.x
The effect of the script is to remove leading white space from each The effect of the script is to remove leading white space from each
line, plus a sentinel sequence of "///". line, plus a sentinel sequence of "///".
The XDR description, with the sentinel sequence follows: The XDR description, with the sentinel sequence follows:
/// /* /// /*
/// * This file was machine generated for /// * This file was machine generated for
/// * draft-ietf-nfsv4-rfc3530bis- /// * draft-ietf-nfsv4-rfc3530bis-05
/// * Last updated Mon Jul 12 18:34:38 CDT 2010 /// * Last updated Wed Jan 12 16:26:38 PST 2011
/// */ /// */
/// /* /// /*
/// * Copyright (C) The IETF Trust (2009-2010) /// * Copyright (C) The IETF Trust (2009-2010)
/// * All Rights Reserved. /// * All Rights Reserved.
/// * /// *
/// * Copyright (C) The Internet Society (1998-2010). /// * Copyright (C) The Internet Society (1998-2010).
/// * All Rights Reserved. /// * All Rights Reserved.
/// */ /// */
/// ///
/// /* /// /*
skipping to change at page 8, line 31 skipping to change at page 8, line 31
/// struct fsid4 { /// struct fsid4 {
/// uint64_t major; /// uint64_t major;
/// uint64_t minor; /// uint64_t minor;
/// }; /// };
/// ///
/// ///
/// /* /// /*
/// * Filesystem locations attribute for relocation/migration /// * Filesystem locations attribute for relocation/migration
/// */ /// */
/// struct fs_location4 { /// struct fs_location4 {
/// utf8val_must server<>; /// utf8must server<>;
/// pathname4 rootpath; /// pathname4 rootpath;
/// }; /// };
/// ///
/// struct fs_locations4 { /// struct fs_locations4 {
/// pathname4 fs_root; /// pathname4 fs_root;
/// fs_location4 locations<>; /// fs_location4 locations<>;
/// }; /// };
/// ///
/// ///
/// /* /// /*
skipping to change at page 21, line 43 skipping to change at page 21, line 43
/// const OPEN4_SHARE_DENY_NONE = 0x00000000; /// const OPEN4_SHARE_DENY_NONE = 0x00000000;
/// const OPEN4_SHARE_DENY_READ = 0x00000001; /// const OPEN4_SHARE_DENY_READ = 0x00000001;
/// const OPEN4_SHARE_DENY_WRITE = 0x00000002; /// const OPEN4_SHARE_DENY_WRITE = 0x00000002;
/// const OPEN4_SHARE_DENY_BOTH = 0x00000003; /// const OPEN4_SHARE_DENY_BOTH = 0x00000003;
/// /* /// /*
/// * Various definitions for OPEN /// * Various definitions for OPEN
/// */ /// */
/// enum createmode4 { /// enum createmode4 {
/// UNCHECKED4 = 0, /// UNCHECKED4 = 0,
/// GUARDED4 = 1, /// GUARDED4 = 1,
/// EXCLUSIVE4 = 2, /// EXCLUSIVE4 = 2
/// }; /// };
/// ///
/// union createhow4 switch (createmode4 mode) { /// union createhow4 switch (createmode4 mode) {
/// case UNCHECKED4: /// case UNCHECKED4:
/// case GUARDED4: /// case GUARDED4:
/// fattr4 createattrs; /// fattr4 createattrs;
/// case EXCLUSIVE4: /// case EXCLUSIVE4:
/// verifier4 createverf; /// verifier4 createverf;
/// }; /// };
/// ///
skipping to change at page 22, line 49 skipping to change at page 22, line 49
/// enum open_delegation_type4 { /// enum open_delegation_type4 {
/// OPEN_DELEGATE_NONE = 0, /// OPEN_DELEGATE_NONE = 0,
/// OPEN_DELEGATE_READ = 1, /// OPEN_DELEGATE_READ = 1,
/// OPEN_DELEGATE_WRITE = 2 /// OPEN_DELEGATE_WRITE = 2
/// }; /// };
/// ///
/// enum open_claim_type4 { /// enum open_claim_type4 {
/// CLAIM_NULL = 0, /// CLAIM_NULL = 0,
/// CLAIM_PREVIOUS = 1, /// CLAIM_PREVIOUS = 1,
/// CLAIM_DELEGATE_CUR = 2, /// CLAIM_DELEGATE_CUR = 2,
/// CLAIM_DELEGATE_PREV = 3, /// CLAIM_DELEGATE_PREV = 3
/// }; /// };
/// ///
/// struct open_claim_delegate_cur4 { /// struct open_claim_delegate_cur4 {
/// stateid4 delegate_stateid; /// stateid4 delegate_stateid;
/// component4 file; /// component4 file;
/// }; /// };
/// ///
/// union open_claim4 switch (open_claim_type4 claim) { /// union open_claim4 switch (open_claim_type4 claim) {
/// /* /// /*
/// * No special rights to file. /// * No special rights to file.
skipping to change at page 37, line 34 skipping to change at page 37, line 34
[1] Bradner, S., "Key words for use in RFCs to Indicate Requirement [1] Bradner, S., "Key words for use in RFCs to Indicate Requirement
Levels", March 1997. Levels", March 1997.
[2] Eisler, M., "XDR: External Data Representation Standard", [2] Eisler, M., "XDR: External Data Representation Standard",
STD 67, RFC 4506, May 2006. STD 67, RFC 4506, May 2006.
[3] Haynes, T. and D. Noveck, "NFS Version 4 Protocol", [3] Haynes, T. and D. Noveck, "NFS Version 4 Protocol",
draft-ietf-nfsv4-rfc3530bis-04 (work in progress), July 2010. draft-ietf-nfsv4-rfc3530bis-04 (work in progress), July 2010.
Appendix A. Acknowledgments
David Quigley tested the extraction of the .x file from this document
and corrected the two resulting errors.
Appendix B. RFC Editor Notes
[RFC Editor: please remove this section prior to publishing this
document as an RFC]
[RFC Editor: prior to publishing this document as an RFC, please
replace all occurrences of RFCTBD10 with RFCxxxx where xxxx is the
RFC number of this document]
Authors' Addresses Authors' Addresses
Thomas Haynes Thomas Haynes
Oracle Corporation NetApp
9110 E 66th St 9110 E 66th St
Tulsa, OK 74133 Tulsa, OK 74133
USA USA
Phone: +1-918-307-1415 Phone: +1-918-307-1415
Email: tom.haynes@oracle.com Email: thomas@netapp.com
David Noveck David Noveck
EMC EMC
32 Coslin Drive 32 Coslin Drive
Southborough, MA 01772 Southborough, MA 01772
US US
Phone: +1 508 305 8404 Phone: +1 508 305 8404
Email: novecd@emc.com Email: novecd@emc.com
 End of changes. 12 change blocks. 
12 lines changed or deleted 29 lines changed or added

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