Name |
Date |
Size |
#Lines |
LOC |
||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | H A D | 10-Dec-2013 | 1.6 KiB | 91 | 65 | |
README.config | H A D | 10-Dec-2013 | 2.1 KiB | 68 | 64 | |
README.state | H A D | 10-Dec-2013 | 4.3 KiB | 110 | 106 | |
cleanup.ksh | H A D | 10-Dec-2013 | 1 KiB | 36 | 3 | |
config001.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config002.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config003.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config004.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config005.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config006.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config007.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config008.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config009.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config010.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config011.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config012.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config013.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config014.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config015.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config016.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config017.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config018.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config019.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config020.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config021.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config022.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config023.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
config024.cfg | H A D | 10-Dec-2013 | 1.1 KiB | 34 | 30 | |
inherit.kshlib | H A D | 10-Dec-2013 | 3.1 KiB | 115 | 50 | |
inherit_001_pos.ksh | H A D | 10-Dec-2013 | 11.1 KiB | 438 | 239 | |
state001.cfg | H A D | 10-Dec-2013 | 1.4 KiB | 45 | 41 | |
state002.cfg | H A D | 10-Dec-2013 | 1.4 KiB | 46 | 42 | |
state003.cfg | H A D | 10-Dec-2013 | 1.3 KiB | 44 | 40 | |
state004.cfg | H A D | 10-Dec-2013 | 1.4 KiB | 45 | 41 | |
state005.cfg | H A D | 10-Dec-2013 | 1.4 KiB | 46 | 42 | |
state006.cfg | H A D | 10-Dec-2013 | 1.4 KiB | 48 | 44 | |
state007.cfg | H A D | 10-Dec-2013 | 1.3 KiB | 46 | 42 | |
state008.cfg | H A D | 10-Dec-2013 | 1.3 KiB | 45 | 41 | |
state009.cfg | H A D | 10-Dec-2013 | 1.4 KiB | 58 | 54 | |
state010.cfg | H A D | 10-Dec-2013 | 1.4 KiB | 57 | 53 | |
state011.cfg | H A D | 10-Dec-2013 | 1.5 KiB | 59 | 55 | |
state012.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 63 | 59 | |
state013.cfg | H A D | 10-Dec-2013 | 1.5 KiB | 57 | 53 | |
state014.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 63 | 59 | |
state015.cfg | H A D | 10-Dec-2013 | 2 KiB | 67 | 63 | |
state016.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 63 | 59 | |
state017.cfg | H A D | 10-Dec-2013 | 2 KiB | 68 | 64 | |
state018.cfg | H A D | 10-Dec-2013 | 1.8 KiB | 65 | 61 | |
state019.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 64 | 60 | |
state020.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 65 | 61 | |
state021.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 65 | 61 | |
state022.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 64 | 60 | |
state023.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 66 | 62 | |
state024.cfg | H A D | 10-Dec-2013 | 1.7 KiB | 64 | 60 |
README.config
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# The configX.cfg files describe both the dataset hierarchy to 27# be created but also the initial source values for the datasets 28# properties, i.e. whether they should be left with their default values 29# or set locally. 30# 31# Format for this file is as follows: 32# <dataset name> <dataset type> <inital property setting> 33# 34# <dataset name> - must be the full dataset name 35# 36# <dataset type> - recognised types are POOL, CTR and FS 37# 38# 39# <initial property setting> - can have one of the following 40# values: 41# 42# default property values are left unchanged 43# 44# local property values are set locally 45# 46# - property values are left unchanged (has the 47# same effect as 'default' but is used to indicate 48# that the property 'source' field may be 'inherited 49# from..' depending on the actions further up the 50# dataset hierarchy. 51# 52# 53# The configuration below creates a three tier dataset layout, consisting 54# of a pool, container and filesystem. 55# 56# The top tier pool's properties being set locally, and the two 57# lower tier properties each inheriting their values from the next tier 58# up. 59# 60 61# 62# Copyright (c) 2013 by Delphix. All rights reserved. 63# 64 65TESTPOOL POOL local 66TESTPOOL/TESTCTR CTR - 67TESTPOOL/TESTCTR/TESTFS1 FS - 68
README.state
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# For every configX.cfg file there must be a corresponding stateX.cfg 28# file. The state file both drives the operations to be performed on the 29# dataset hierarchy which has been specified by the corresponding 30# configX.cfg file, and also specifies the expected state of the 31# properties after the operation has been completed. 32# 33# The format of the file is: 34# <target dataset>:<command> 35# <property source before command> <property src after command> 36# <property source before command> <property src after command> 37# .... .... 38# .... .... 39# 40# <target dataset> - dataset upon which the <command> is to be executed. Can 41# be any of the datasets specified in the corresponding 42# configX.cfg file. If no command is to be executed 43# then must be set to '-' 44# 45# 46# <command> - command to be executed upon the specified dataset. 47# Currently the only supported commands are 'inherit' 48# or 'inherit -r'. If no command is to be executed, 49# then must be set to '-'. 50# 51# <property src before command> 52# - the 'source' (as reported in 'zfs get') for the 53# the properties before <command> is executed. This 54# can be 'default', 'local' or the name of a dataset 55# from which the property is inherited. (The code 56# automatically adds in the 'inherited from..' part 57# of the string when doing the check. 58# 59# This field is for informational purposes only, to 60# aid the user in seeing how the changes trickle down 61# the data hierarchy. 62# 63# <property src after command> 64# - the expected value of the 'source' field after the 65# <command> has been executed on the <target dataset>. 66# As above can be 'default', 'local', or the dataset 67# from which the property is inherited. 68# 69# Two important things to note: 70# 1) there must be a <property src..> line corresponding to each dataset 71# line specified in the configX.cfg file. 72# 73# 74# 2) There can be as many <command>/<property src> blocks as desired, but 75# there must be at least one, and the effect of each block is cumulative 76# (i.e. the properties are not reset back to their default values between 77# each block. If that is desired then each block must be placed in its 78# own state file with its own corresponding configX.cfg file). 79# 80# 81# Below are two sample <command>/<property src> blocks. 82# 83# The first simply verifies that the properties on the top level dataset 84# were set locally, and that the middle and bottom datasets properties 85# were inherited from the top level pool (called TESTPOOL). Note the '-:-' 86# which means that no command is to be executed, but simply that the 87# properties settings are to be verified. 88# 89 90# 91# Copyright (c) 2013 by Delphix. All rights reserved. 92# 93 94-:- 95# 96local local 97TESTPOOL TESTPOOL 98TESTPOOL TESTPOOL 99# 100# 101# The block below describes the expected state of the properties after 102# an 'inherit -r' command has been run on the top level pool (called 103# TESTPOOL). 104# 105TESTPOOL:inherit -r 106# 107local default 108TESTPOOL default 109TESTPOOL default 110