draft-ietf-nfsv4-minorversion1-dot-x-03.txt   draft-ietf-nfsv4-minorversion1-dot-x-04.txt 
NFSv4 S. Shepler NFSv4 S. Shepler
Internet-Draft M. Eisler Internet-Draft M. Eisler
Intended status: Standards Track D. Noveck Intended status: Standards Track D. Noveck
Expires: August 1, 2008 Editors Expires: August 28, 2008 Editors
January 29, 2008 February 25, 2008
NFSv4 Minor Version 1 XDR Description NFSv4 Minor Version 1 XDR Description
draft-ietf-nfsv4-minorversion1-dot-x-03.txt draft-ietf-nfsv4-minorversion1-dot-x-04.txt
Status of this Memo Status of this Memo
By submitting this Internet-Draft, each author represents that any By submitting this Internet-Draft, each author represents that any
applicable patent or other IPR claims of which he or she is aware 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 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. aware will be disclosed, in accordance with Section 6 of 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
skipping to change at page 1, line 35 skipping to change at page 1, line 35
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 August 1, 2008. This Internet-Draft will expire on August 28, 2008.
Copyright Notice Copyright Notice
Copyright (C) The IETF Trust (2008). Copyright (C) The IETF Trust (2008).
Abstract Abstract
This Internet-Draft provides the XDR description for NFSv4 minor This Internet-Draft provides the XDR description for NFSv4 minor
version one. version one.
skipping to change at page 3, line 23 skipping to change at page 3, line 23
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.1: produce the machine readable XDR description of NFSv4.1:
#!/bin/sh #!/bin/sh
grep "^ *///" | sed 's?^ *///??' grep "^ *///" | sed 's?^ *///??'
I.e. if the above script is stored in a file called "extract.sh", and 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 do: this document is in a file called "spec.txt", then the reader can do:
sh extract.sh < spec.txt > nfsv41.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-minorversion1-19 /// * draft-ietf-nfsv4-minorversion1-20
/// * Last updated Tue Jan 29 02:57:06 CST 2008 /// * Last updated Mon Feb 25 08:54:03 CST 2008
/// */ /// */
////* ////*
/// * Copyright (C) The IETF Trust (2007-2008) /// * Copyright (C) The IETF Trust (2007-2008)
/// * 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 13, line 38 skipping to change at page 13, line 38
/// ///
////* ////*
/// * Stateid /// * Stateid
/// */ /// */
///struct stateid4 { ///struct stateid4 {
/// uint32_t seqid; /// uint32_t seqid;
/// opaque other[12]; /// opaque other[12];
///}; ///};
/// ///
///enum layouttype4 { ///enum layouttype4 {
/// LAYOUT4_NFSV4_1_FILES = 1, /// LAYOUT4_NFSV4_1_FILES = 0x1,
/// LAYOUT4_OSD2_OBJECTS = 2, /// LAYOUT4_OSD2_OBJECTS = 0x2,
/// LAYOUT4_BLOCK_VOLUME = 3 /// LAYOUT4_BLOCK_VOLUME = 0x3
///}; ///};
/// ///
///struct layout_content4 { ///struct layout_content4 {
/// layouttype4 loc_type; /// layouttype4 loc_type;
/// opaque loc_body<>; /// opaque loc_body<>;
///}; ///};
/// ///
/// ///
///%/* ///%/*
///%/* LAYOUT4_OSD2_OBJECTS loc_body description ///%/* LAYOUT4_OSD2_OBJECTS loc_body description
skipping to change at page 14, line 39 skipping to change at page 14, line 39
///const NFS4_DEVICEID4_SIZE = 16; ///const NFS4_DEVICEID4_SIZE = 16;
/// ///
///typedef opaque deviceid4[NFS4_DEVICEID4_SIZE]; ///typedef opaque deviceid4[NFS4_DEVICEID4_SIZE];
/// ///
///struct device_addr4 { ///struct device_addr4 {
/// layouttype4 da_layout_type; /// layouttype4 da_layout_type;
/// opaque da_addr_body<>; /// opaque da_addr_body<>;
///}; ///};
/// ///
/// ///
///struct devlist_item4 {
/// deviceid4 dli_id;
/// device_addr4 dli_device_addr;
///};
///
///struct layoutupdate4 { ///struct layoutupdate4 {
/// layouttype4 lou_type; /// layouttype4 lou_type;
/// opaque lou_body<>; /// opaque lou_body<>;
///}; ///};
/// ///
///% ///%
////* Constants used for LAYOUTRETURN and CB_LAYOUTRECALL */ ////* Constants used for LAYOUTRETURN and CB_LAYOUTRECALL */
///const LAYOUT4_RET_REC_FILE = 1; ///const LAYOUT4_RET_REC_FILE = 1;
///const LAYOUT4_RET_REC_FSID = 2; ///const LAYOUT4_RET_REC_FSID = 2;
///const LAYOUT4_RET_REC_ALL = 3; ///const LAYOUT4_RET_REC_ALL = 3;
skipping to change at page 15, line 34 skipping to change at page 15, line 29
/// default: /// default:
/// void; /// void;
///}; ///};
///% ///%
/// ///
///enum fs4_status_type { ///enum fs4_status_type {
/// STATUS4_FIXED = 1, /// STATUS4_FIXED = 1,
/// STATUS4_UPDATED = 2, /// STATUS4_UPDATED = 2,
/// STATUS4_VERSIONED = 3, /// STATUS4_VERSIONED = 3,
/// STATUS4_WRITABLE = 4, /// STATUS4_WRITABLE = 4,
/// STATUS4_ABSENT = 5 /// STATUS4_REFERRAL = 5
///}; ///};
/// ///
///struct fs4_status { ///struct fs4_status {
/// bool fss_absent;
/// fs4_status_type fss_type; /// fs4_status_type fss_type;
/// utf8str_cs fss_source; /// utf8str_cs fss_source;
/// utf8str_cs fss_current; /// utf8str_cs fss_current;
/// int32_t fss_age; /// int32_t fss_age;
/// nfstime4 fss_version; /// nfstime4 fss_version;
///}; ///};
/// ///
/// ///
///const TH4_READ_SIZE = 0; ///const TH4_READ_SIZE = 0;
///const TH4_WRITE_SIZE = 1; ///const TH4_WRITE_SIZE = 1;
skipping to change at page 53, line 17 skipping to change at page 53, line 13
///const SEQ4_STATUS_EXPIRED_ALL_STATE_REVOKED = 0x00000008; ///const SEQ4_STATUS_EXPIRED_ALL_STATE_REVOKED = 0x00000008;
///const SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED = 0x00000010; ///const SEQ4_STATUS_EXPIRED_SOME_STATE_REVOKED = 0x00000010;
///const SEQ4_STATUS_ADMIN_STATE_REVOKED = 0x00000020; ///const SEQ4_STATUS_ADMIN_STATE_REVOKED = 0x00000020;
///const SEQ4_STATUS_RECALLABLE_STATE_REVOKED = 0x00000040; ///const SEQ4_STATUS_RECALLABLE_STATE_REVOKED = 0x00000040;
///const SEQ4_STATUS_LEASE_MOVED = 0x00000080; ///const SEQ4_STATUS_LEASE_MOVED = 0x00000080;
///const SEQ4_STATUS_RESTART_RECLAIM_NEEDED = 0x00000100; ///const SEQ4_STATUS_RESTART_RECLAIM_NEEDED = 0x00000100;
///const SEQ4_STATUS_CB_PATH_DOWN_SESSION = 0x00000200; ///const SEQ4_STATUS_CB_PATH_DOWN_SESSION = 0x00000200;
///const SEQ4_STATUS_BACKCHANNEL_FAULT = 0x00000400; ///const SEQ4_STATUS_BACKCHANNEL_FAULT = 0x00000400;
///const SEQ4_STATUS_DEVID_CHANGED = 0x00000800; ///const SEQ4_STATUS_DEVID_CHANGED = 0x00000800;
///const SEQ4_STATUS_DEVID_DELETED = 0x00001000; ///const SEQ4_STATUS_DEVID_DELETED = 0x00001000;
///const SEQ4_STATUS_DEVID_DELETED_ALL = 0x00002000;
/// ///
///struct SEQUENCE4resok { ///struct SEQUENCE4resok {
/// sessionid4 sr_sessionid; /// sessionid4 sr_sessionid;
/// sequenceid4 sr_sequenceid; /// sequenceid4 sr_sequenceid;
/// slotid4 sr_slotid; /// slotid4 sr_slotid;
/// slotid4 sr_highest_slotid; /// slotid4 sr_highest_slotid;
/// slotid4 sr_target_highest_slotid; /// slotid4 sr_target_highest_slotid;
/// uint32_t sr_status_flags; /// uint32_t sr_status_flags;
///}; ///};
/// ///
skipping to change at page 61, line 30 skipping to change at page 61, line 25
/// case OP_SEQUENCE: SEQUENCE4res opsequence; /// case OP_SEQUENCE: SEQUENCE4res opsequence;
/// case OP_SET_SSV: SET_SSV4res opset_ssv; /// case OP_SET_SSV: SET_SSV4res opset_ssv;
/// case OP_TEST_STATEID: TEST_STATEID4res optest_stateid; /// case OP_TEST_STATEID: TEST_STATEID4res optest_stateid;
/// ///
/// case OP_WANT_DELEGATION: /// case OP_WANT_DELEGATION:
/// WANT_DELEGATION4res /// WANT_DELEGATION4res
/// opwant_delegation; /// opwant_delegation;
/// ///
/// case OP_DESTROY_CLIENTID: /// case OP_DESTROY_CLIENTID:
/// DESTROY_CLIENTID4res /// DESTROY_CLIENTID4res
/// opwant_destroy_clientid; /// opdestroy_clientid;
/// ///
/// case OP_RECLAIM_COMPLETE: /// case OP_RECLAIM_COMPLETE:
/// RECLAIM_COMPLETE4res /// RECLAIM_COMPLETE4res
/// opreclaim_complete; /// opreclaim_complete;
/// ///
/// /* Operations not new to NFSv4.1 */ /// /* Operations not new to NFSv4.1 */
/// case OP_ILLEGAL: ILLEGAL4res opillegal; /// case OP_ILLEGAL: ILLEGAL4res opillegal;
///}; ///};
/// ///
///struct COMPOUND4args { ///struct COMPOUND4args {
 End of changes. 11 change blocks. 
18 lines changed or deleted 13 lines changed or added

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