draft-ietf-nfsv4-rfc3530bis-dot-x-22.txt   draft-ietf-nfsv4-rfc3530bis-dot-x-23.txt 
NFSv4 T. Haynes, Ed. NFSv4 T. Haynes, Ed.
Internet-Draft Primary Data Internet-Draft Primary Data
Intended status: Standards Track D. Noveck, Ed. Intended status: Standards Track D. Noveck, Ed.
Expires: October 13, 2014 Expires: June 7, 2015 Dell
April 11, 2014 December 04, 2014
Network File System (NFS) Version 4 Network File System (NFS) Version 4
External Data Representation Standard (XDR) Description External Data Representation Standard (XDR) Description
draft-ietf-nfsv4-rfc3530bis-dot-x-22.txt draft-ietf-nfsv4-rfc3530bis-dot-x-23.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 its heritage to NFS protocol version 2, RFC 1094, protocol which owes its heritage to NFS protocol version 2, RFC 1094,
and version 3, RFC 1813. Unlike earlier versions, the NFS version 4 and 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 1, line 44 skipping to change at page 1, line 44
Internet-Drafts are working documents of the Internet Engineering Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet- working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/. Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months Internet-Drafts are draft documents valid for a maximum of six months
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."
This Internet-Draft will expire on October 13, 2014. This Internet-Draft will expire on June 7, 2015.
Copyright Notice Copyright Notice
Copyright (c) 2014 IETF Trust and the persons identified as the Copyright (c) 2014 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
skipping to change at page 2, line 40 skipping to change at page 2, line 40
than English. than English.
Table of Contents Table of Contents
1. XDR Description of NFSv4.0 . . . . . . . . . . . . . . . . . 2 1. XDR Description of NFSv4.0 . . . . . . . . . . . . . . . . . 2
2. Security Considerations . . . . . . . . . . . . . . . . . . . 36 2. Security Considerations . . . . . . . . . . . . . . . . . . . 36
3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 36 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 36
4. Normative References . . . . . . . . . . . . . . . . . . . . 36 4. Normative References . . . . . . . . . . . . . . . . . . . . 36
Appendix A. Acknowledgments . . . . . . . . . . . . . . . . . . 36 Appendix A. Acknowledgments . . . . . . . . . . . . . . . . . . 36
Appendix B. RFC Editor Notes . . . . . . . . . . . . . . . . . . 36 Appendix B. RFC Editor Notes . . . . . . . . . . . . . . . . . . 36
Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 36 Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . 37
1. XDR Description of NFSv4.0 1. XDR Description of NFSv4.0
This document contains the XDR ([RFC4506]) description of NFSv4.0 This document contains the XDR ([RFC4506]) description of NFSv4.0
protocol ([RFCNFSv4]). protocol ([RFCNFSv4]).
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 it into ready to compile form. it simple for the reader to extract it into ready to compile form.
The reader can feed this document in the following shell script to The 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 3, line 20 skipping to change at page 3, line 20
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-33 /// * [RFCNFSv4]
/// * Last updated Fri Apr 11 09:17:12 PDT 2014 /// * [RFC Editor: please update the citation on the line above]
/// * Last updated Thu Dec 4 11:17:20 PST 2014
/// */ /// */
/// /* /// /*
/// * Copyright (C) The IETF Trust (2009-2011) /// * Copyright (C) The IETF Trust (2009-2011)
/// * All Rights Reserved. /// * All Rights Reserved.
/// * /// *
/// * Copyright (C) The Internet Society (1998-2011). /// * Copyright (C) The Internet Society (1998-2011).
/// * All Rights Reserved. /// * All Rights Reserved.
/// */ /// */
/// ///
/// /* /// /*
skipping to change at page 6, line 18 skipping to change at page 6, line 19
/// */ /// */
/// typedef opaque attrlist4<>; /// typedef opaque attrlist4<>;
/// typedef uint32_t bitmap4<>; /// typedef uint32_t bitmap4<>;
/// typedef uint64_t changeid4; /// typedef uint64_t changeid4;
/// typedef uint64_t clientid4; /// typedef uint64_t clientid4;
/// typedef uint32_t count4; /// typedef uint32_t count4;
/// typedef uint64_t length4; /// typedef uint64_t length4;
/// typedef uint32_t mode4; /// typedef uint32_t mode4;
/// typedef uint64_t nfs_cookie4; /// typedef uint64_t nfs_cookie4;
/// typedef opaque nfs_fh4<NFS4_FHSIZE>; /// typedef opaque nfs_fh4<NFS4_FHSIZE>;
/// typedef uint32_t nfs_lease4;
/// typedef uint64_t offset4; /// typedef uint64_t offset4;
/// typedef uint32_t qop4; /// typedef uint32_t qop4;
/// typedef opaque sec_oid4<>; /// typedef opaque sec_oid4<>;
/// typedef uint32_t seqid4; /// typedef uint32_t seqid4;
/// typedef opaque utf8string<>; /// typedef opaque utf8string<>;
/// typedef utf8string utf8str_cis; /// typedef utf8string utf8str_cis;
/// typedef utf8string utf8str_cs; /// typedef utf8string utf8str_cs;
/// typedef utf8string utf8str_mixed; /// typedef utf8string utf8str_mixed;
/// typedef utf8str_cs component4; /// typedef utf8str_cs component4;
/// typedef opaque linktext4; /// typedef opaque linktext4<>;
/// typedef utf8string ascii_REQUIRED4; /// typedef utf8string ascii_REQUIRED4;
/// typedef component4 pathname4<>; /// typedef component4 pathname4<>;
/// typedef uint64_t nfs_lockid4; /// typedef uint64_t nfs_lockid4;
/// typedef opaque verifier4[NFS4_VERIFIER_SIZE]; /// typedef opaque verifier4[NFS4_VERIFIER_SIZE];
/// ///
/// ///
/// /* /// /*
/// * Timeval /// * Timeval
/// */ /// */
/// struct nfstime4 { /// struct nfstime4 {
skipping to change at page 7, line 7 skipping to change at page 7, line 9
/// }; /// };
/// ///
/// union settime4 switch (time_how4 set_it) { /// union settime4 switch (time_how4 set_it) {
/// case SET_TO_CLIENT_TIME4: /// case SET_TO_CLIENT_TIME4:
/// nfstime4 time; /// nfstime4 time;
/// default: /// default:
/// void; /// void;
/// }; /// };
/// ///
/// ///
/// typedef uint32_t nfs_lease4;
/// ///
/// /* /// /*
/// * File attribute definitions /// * File attribute definitions
/// */ /// */
/// ///
/// /* /// /*
/// * FSID structure for major/minor /// * FSID structure for major/minor
/// */ /// */
/// struct fsid4 { /// struct fsid4 {
/// uint64_t major; /// uint64_t major;
skipping to change at page 11, line 8 skipping to change at page 11, line 11
/// typedef bitmap4 fattr4_supported_attrs; /// typedef bitmap4 fattr4_supported_attrs;
/// typedef nfs_ftype4 fattr4_type; /// typedef nfs_ftype4 fattr4_type;
/// typedef uint32_t fattr4_fh_expire_type; /// typedef uint32_t fattr4_fh_expire_type;
/// typedef changeid4 fattr4_change; /// typedef changeid4 fattr4_change;
/// typedef uint64_t fattr4_size; /// typedef uint64_t fattr4_size;
/// typedef bool fattr4_link_support; /// typedef bool fattr4_link_support;
/// typedef bool fattr4_symlink_support; /// typedef bool fattr4_symlink_support;
/// typedef bool fattr4_named_attr; /// typedef bool fattr4_named_attr;
/// typedef fsid4 fattr4_fsid; /// typedef fsid4 fattr4_fsid;
/// typedef bool fattr4_unique_handles; /// typedef bool fattr4_unique_handles;
/// typedef uint32_t fattr4_lease_time; /// typedef nfs_lease4 fattr4_lease_time;
/// typedef nfsstat4 fattr4_rdattr_error; /// typedef nfsstat4 fattr4_rdattr_error;
/// ///
/// typedef nfsace4 fattr4_acl<>; /// typedef nfsace4 fattr4_acl<>;
/// typedef uint32_t fattr4_aclsupport; /// typedef uint32_t fattr4_aclsupport;
/// typedef bool fattr4_archive; /// typedef bool fattr4_archive;
/// typedef bool fattr4_cansettime; /// typedef bool fattr4_cansettime;
/// typedef bool fattr4_case_insensitive; /// typedef bool fattr4_case_insensitive;
/// typedef bool fattr4_case_preserving; /// typedef bool fattr4_case_preserving;
/// typedef bool fattr4_chown_restricted; /// typedef bool fattr4_chown_restricted;
/// typedef uint64_t fattr4_fileid; /// typedef uint64_t fattr4_fileid;
skipping to change at page 36, line 24 skipping to change at page 36, line 27
This document does not have any IANA considerations. This document does not have any IANA considerations.
4. Normative References 4. Normative References
[RFC4506] Eisler, M., "XDR: External Data Representation Standard", [RFC4506] Eisler, M., "XDR: External Data Representation Standard",
STD 67, RFC 4506, May 2006. STD 67, RFC 4506, May 2006.
[RFCNFSv4] [RFCNFSv4]
Haynes, T. and D. Noveck, "NFS Version 4 Protocol", draft- Haynes, T. and D. Noveck, "NFS Version 4 Protocol", draft-
ietf-nfsv4-rfc3530bis-33 (work in progress), Apr 2014. ietf-nfsv4-rfc3530bis-35 (work in progress), Dec 2014.
Appendix A. Acknowledgments Appendix A. Acknowledgments
Tom Haynes would like to thank NetApp, Inc. for its funding of his Tom Haynes would like to thank NetApp, Inc. for its funding of his
time on this project. time on this project.
David Quigley tested the extraction of the .x file from this document David Quigley tested the extraction of the .x file from this document
and corrected the two resulting errors. and corrected the two resulting errors.
Appendix B. RFC Editor Notes Appendix B. RFC Editor Notes
skipping to change at page 37, line 14 skipping to change at page 37, line 17
Thomas Haynes (editor) Thomas Haynes (editor)
Primary Data, Inc. Primary Data, Inc.
4300 El Camino Real Ste 100 4300 El Camino Real Ste 100
Los Altos, CA 94022 Los Altos, CA 94022
USA USA
Phone: +1 408 215 1519 Phone: +1 408 215 1519
Email: thomas.haynes@primarydata.com Email: thomas.haynes@primarydata.com
David Noveck (editor) David Noveck (editor)
26 Locust Ave Dell
Lexington, MA 02421 300 Innovative Way
Nashua, NH 03062
US US
Phone: +1 781 572 8038 Phone: +1 781 572 8038
Email: davenoveck@gmail.com Email: dave_noveck@dell.com
 End of changes. 12 change blocks. 
12 lines changed or deleted 16 lines changed or added

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