1 #
   2 # CDDL HEADER START
   3 #
   4 # The contents of this file are subject to the terms of the
   5 # Common Development and Distribution License (the "License").
   6 # You may not use this file except in compliance with the License.
   7 #
   8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   9 # or http://www.opensolaris.org/os/licensing.
  10 # See the License for the specific language governing permissions
  11 # and limitations under the License.
  12 #
  13 # When distributing Covered Code, include this CDDL HEADER in each
  14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  15 # If applicable, add the following below this CDDL HEADER, with the
  16 # fields enclosed by brackets "[]" replaced with your own identifying
  17 # information: Portions Copyright [yyyy] [name of copyright owner]
  18 #
  19 # CDDL HEADER END
  20 #
  21 
  22 #
  23 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
  24 # Use is subject to license terms.
  25 #
  26 
  27 #
  28 # NFS server log configuration file.
  29 #
  30 # <tag> [ defaultdir=<dir_path> ] \
  31 #       [ log=<logfile_path> ] [ fhtable=<table_path> ] \
  32 #       [ buffer=<bufferfile_path> ] [ logformat=basic|extended ]
  33 #
  34 # NOTE:
  35 # Because of the the "awk" (patten match) function in the tests
  36 # each tag is limited to one line. (even though the config file
  37 # allows to use '\' for multiple lines)
  38 #
  39 
  40 global  defaultdir=/var/nfs/smtest log=defaults/nfslog fhtable=defaults/fhtable buffer=defaults/nfslog_workbuffer logformat=extended
  41 
  42 # This tag is used for testing default_dir plus a tag specific log path.
  43 Sok_Lok         log=results/Sok_Lok_log 
  44 
  45 # This tag is used for testing default_dir plus tag specific log 
  46 # and buffer files.
  47 Sok_L_Bok       log=results/Sok_L_Bok_log buffer=results/Sok_L_Bok_buf
  48 
  49 # This tag is used for testing default_dir plus tag specific log, fhtable 
  50 # and buffer files.
  51 Sok_L_B_FHok    log=results/Sok_L_B_FHok_log buffer=results/Sok_L_B_FHok_buf fhtable=results/Sok_L_B_FHok_fhtable
  52 
  53 # This tag is used for testing absolute path for the fhtable file.
  54 Sok_FH_B_Labst  log=results/Sok_FH_B_Labst_log buffer=results/Sok_FH_B_Labst_buf fhtable=/var/nfs/smtest/absolute/Sok_FH_B_Labst_fhtable
  55 
  56 # This tag is used for testing absolute paths for the log and buffer files.
  57 Sok_L_Babst     log=/var/nfs/smtest/absolute/Sok_L_Babst_log buffer=/var/nfs/smtest/absolute/Sok_L_Babst_buf fhtable=results/Sok_L_Babst_fhtable
  58 
  59 # This tag is used for testing absolute paths for the buffer and fhtable files.
  60 Sok_Ldef_FH_Babst       log=defaults/Sok_Ldef_FH_Babst_log buffer=/var/nfs/smtest/absolute/Sok_Ldef_FH_Babst_buf fhtable=/var/nfs/smtest/absolute/Sok_Ldef_FH_Babst_fhtable
  61 
  62 # This tag is used for testing an absolute path for the fhtable file.
  63 Sok_L_Bdef_FHabst       log=defaults/Sok_L_Bdef_FHabs_log buffer=defaults/Sok_L_Bdef_FHabs_buf  fhtable=/var/nfs/smtest/absolute/Sok_L_Bdef_FHabs_fhtable
  64 
  65 # This tag is used for testing absolute paths.
  66 Sok_Labst       log=/var/nfs/smtest/absolute/Sok_Labst_log fhtable=/var/nfs/smtest/absolute/Sok_Labst_fhtable buffer=/var/nfs/smtest/absolute/Sok_Labst_buf
  67 
  68 # This tag is used for testing use of global values for the fhtable file 
  69 # and an absolute path for the buffer file.
  70 Sok_Babst       log=results/Sok_Babst_log buffer=/var/nfs/smtest/absolute/Sok_Babst_buf
  71 
  72 # This tag is used for testing the use of an absolute path for the fhtable
  73 # and the global value for the buffer.
  74 Sok_FHabst      log=results/Sok_FHabst_log fhtable=/var/nfs/smtest/absolute/Sok_FHabst_fhtable
  75 
  76 # This tag is used for testing a tag with a new default_dir specified.
  77 Sok_DFT_RES     defaultdir=/var/nfs/smtest/results log=Sok_DFT_RES_log buffer=Sok_DFT_RES_buf fhtable=Sok_DFT_RES_fhtable
  78 
  79 # This tag is used for testing a tag with a new default_dir specified.
  80 Sok_DFT_ABST    defaultdir=/var/nfs/smtest/absolute log=Sok_DFT_ABST_log buffer=Sok_DFT_ABST_buf fhtable=Sok_DFT_ABST_fhtable
  81 
  82 # This tag is used for testing a tag with a new default_dir specified.
  83 Sok_DFT_DFLT    defaultdir=/var/nfs/smtest/defaults log=Sok_DFT_DFLT_log buffer=Sok_DFT_DFLT_buf fhtable=Sok_DFT_DFLT_fhtable
  84 
  85 # This tag is used for testing a tag with a new default_dir specified as
  86 # well as an absolute path to the fhtable file.
  87 Sok_B_Lres_FHabst       defaultdir=/var/nfs/smtest/results log=Sok_B_Lres_FHabst_log buffer=Sok_B_Lres_FHabst_buf fhtable=/var/nfs/smtest/absolute/Sok_B_Lres_FHabst_fhtable
  88 
  89 # This tag is used for testing a tag with a new default_dir specified as
  90 # well as an absolute path to the log file.
  91 Sok_B_FHres_Labst       defaultdir=/var/nfs/smtest/results log=/var/nfs/smtest/absolute/Sok_B_FHres_Labst_log buffer=Sok_B_FHres_Labst_buf fhtable=Sok_B_FHres_Labst_fhtable
  92 
  93 # This tag is used for testing a tag with a new default_dir specified as
  94 # well as an absolute path to the buffer file.
  95 Sok_L_FHres_Babst       defaultdir=/var/nfs/smtest/results log=Sok_L_FHres_Bdef_log buffer=/var/nfs/smtest/absolute/Sok_L_FHres_Bdef_buf fhtable=Sok_L_FHres_Bdef_fhtable
  96