draft-ietf-nfsv4-minorversion2-dot-x-28.txt   draft-ietf-nfsv4-minorversion2-dot-x-29.txt 
NFSv4 T. Haynes NFSv4 T. Haynes
Internet-Draft Primary Data Internet-Draft Primary Data
Intended status: Standards Track November 24, 2014 Intended status: Standards Track December 08, 2014
Expires: May 28, 2015 Expires: June 11, 2015
NFSv4 Minor Version 2 Protocol External Data Representation Standard NFSv4 Minor Version 2 Protocol External Data Representation Standard
(XDR) Description (XDR) Description
draft-ietf-nfsv4-minorversion2-dot-x-28.txt draft-ietf-nfsv4-minorversion2-dot-x-29.txt
Abstract Abstract
This Internet-Draft provides the XDR description for NFSv4 minor This Internet-Draft provides the XDR description for NFSv4 minor
version two. version two.
Requirements Language Requirements Language
The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
"SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
skipping to change at page 1, line 38 skipping to change at page 1, line 38
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 May 28, 2015. This Internet-Draft will expire on June 11, 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 17 skipping to change at page 2, line 17
described in the Simplified BSD License. described in the Simplified BSD License.
Table of Contents Table of Contents
1. XDR Description of NFSv4.2 . . . . . . . . . . . . . . . . . 2 1. XDR Description of NFSv4.2 . . . . . . . . . . . . . . . . . 2
2. Security Considerations . . . . . . . . . . . . . . . . . . . 79 2. Security Considerations . . . . . . . . . . . . . . . . . . . 79
3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 79 3. IANA Considerations . . . . . . . . . . . . . . . . . . . . . 79
4. Normative References . . . . . . . . . . . . . . . . . . . . 79 4. Normative References . . . . . . . . . . . . . . . . . . . . 79
Appendix A. Acknowledgments . . . . . . . . . . . . . . . . . . 79 Appendix A. Acknowledgments . . . . . . . . . . . . . . . . . . 79
Appendix B. RFC Editor Notes . . . . . . . . . . . . . . . . . . 79 Appendix B. RFC Editor Notes . . . . . . . . . . . . . . . . . . 79
Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 79 Author's Address . . . . . . . . . . . . . . . . . . . . . . . . 80
1. XDR Description of NFSv4.2 1. XDR Description of NFSv4.2
This document contains the XDR ([RFC4506]) description of NFSv4.2 This document contains the XDR ([RFC4506]) description of NFSv4.2
protocol ([NFSv42]). In order to facilitate implementations that protocol ([NFSv42]). In order to facilitate implementations that
support all of NFSv4.0, NFSv4.1, and NFSv4.2, the description support all of NFSv4.0, NFSv4.1, and NFSv4.2, the description
includes operations, and other features of NFSv4.0 and NFSv4.1 that includes operations, and other features of NFSv4.0 and NFSv4.1 that
do not apply to NFSv4.2. do not apply to NFSv4.2.
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.2: produce the machine readable XDR description of NFSv4.2:
<CODE BEGINS>
#!/bin/sh #!/bin/sh
grep "^ *///" | sed 's?^ */// ??' | sed 's?^ *///$??' grep "^ *///" | sed 's?^ */// ??' | sed 's?^ *///$??'
<CODE ENDS>
I.e., if the above script is stored in a file called "extract.sh", I.e., if the above script is stored in a file called "extract.sh",
and this document is in a file called "spec.txt", then the reader can and this document is in a file called "spec.txt", then the reader can
do: do:
<CODE BEGINS>
sh extract.sh < spec.txt > nfs4_prot.x sh extract.sh < spec.txt > nfs4_prot.x
<CODE ENDS>
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:
<CODE BEGINS>
/// /* /// /*
/// * This file was machine generated for /// * This file was machine generated for
/// * draft-ietf-nfsv4-minorversion2-28 /// * draft-ietf-nfsv4-minorversion2-29
/// * Last updated Mon Nov 24 11:26:07 PST 2014 /// * Last updated Mon Dec 8 10:43:24 PST 2014
/// */ /// */
/// /* /// /*
/// * Copyright (C) The IETF Trust (2007-2014) /// * Copyright (C) The IETF Trust (2007-2014)
/// * All Rights Reserved. /// * All Rights Reserved.
/// * /// *
/// * Copyright (C) The Internet Society (1998-2006). /// * Copyright (C) The Internet Society (1998-2006).
/// * All Rights Reserved. /// * All Rights Reserved.
/// */ /// */
/// ///
/// /* /// /*
skipping to change at page 62, line 50 skipping to change at page 63, line 12
/// uint64_t ii_bytes; /// uint64_t ii_bytes;
/// }; /// };
/// ///
/// struct LAYOUTSTATS4args { /// struct LAYOUTSTATS4args {
/// /* CURRENT_FH: file */ /// /* CURRENT_FH: file */
/// offset4 lsa_offset; /// offset4 lsa_offset;
/// length4 lsa_length; /// length4 lsa_length;
/// stateid4 lsa_stateid; /// stateid4 lsa_stateid;
/// io_info4 lsa_read; /// io_info4 lsa_read;
/// io_info4 lsa_write; /// io_info4 lsa_write;
/// deviceid4 lsa_deviceid;
/// layoutupdate4 lsa_layoutupdate; /// layoutupdate4 lsa_layoutupdate;
/// }; /// };
/// ///
/// struct LAYOUTSTATS4res { /// struct LAYOUTSTATS4res {
/// nfsstat4 lsr_status; /// nfsstat4 lsr_status;
/// }; /// };
/// ///
/// struct READ_PLUS4args { /// struct READ_PLUS4args {
/// /* CURRENT_FH: file */ /// /* CURRENT_FH: file */
/// stateid4 rpa_stateid; /// stateid4 rpa_stateid;
skipping to change at page 79, line 7 skipping to change at page 79, line 18
/// */ /// */
/// program NFS4_CALLBACK { /// program NFS4_CALLBACK {
/// version NFS_CB { /// version NFS_CB {
/// void /// void
/// CB_NULL(void) = 0; /// CB_NULL(void) = 0;
/// CB_COMPOUND4res /// CB_COMPOUND4res
/// CB_COMPOUND(CB_COMPOUND4args) = 1; /// CB_COMPOUND(CB_COMPOUND4args) = 1;
/// } = 1; /// } = 1;
/// } = 0x40000000; /// } = 0x40000000;
<CODE ENDS>
2. Security Considerations 2. Security Considerations
See the Security Considerations section of [NFSv42]. See the Security Considerations section of [NFSv42].
3. IANA Considerations 3. IANA Considerations
See the IANA Considerations section of [NFSv42]. See the IANA Considerations section of [NFSv42].
4. Normative References 4. Normative References
[NFSv42] Haynes, T., "NFS Version 4 Minor Version 2", draft-ietf- [NFSv42] Haynes, T., "NFS Version 4 Minor Version 2", draft-ietf-
nfsv4-minorversion2-28 (Work In Progress), November 2014. nfsv4-minorversion2-29 (Work In Progress), December 2014.
[RFC2119] Bradner, S., "Key words for use in RFCs to Indicate [RFC2119] Bradner, S., "Key words for use in RFCs to Indicate
Requirement Levels", March 1997. Requirement Levels", March 1997.
[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.
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
 End of changes. 13 change blocks. 
8 lines changed or deleted 21 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/