Skip to content

Commit

Permalink
OS-1148 rename zfs_storage_pool_name to zpool, include deprecation wa…
Browse files Browse the repository at this point in the history
…rning and backward compat.
  • Loading branch information
joshwilsdon committed May 3, 2012
1 parent 7695691 commit d411aae
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 28 deletions.
26 changes: 13 additions & 13 deletions src/vm/man/vmadm.1m.md
Original file line number Diff line number Diff line change
Expand Up @@ -1340,19 +1340,6 @@ tab-complete UUIDs rather than having to type them out for every command.
update: yes (live update)
default: 100

zfs_storage_pool_name:

This defines which ZFS pool the VM's zone dataset will be created in
For OS VMs, this dataset is where all the data in the zone will live.
For KVM VMs, this is only used by the zone shell that the VM runs in.

type: string (zpool name)
vmtype: OS,KVM
listable: yes
create: yes
update: no
default: zones

zone_state:

This property will show up when fetching a VMs JSON. this shows the
Expand Down Expand Up @@ -1404,6 +1391,19 @@ tab-complete UUIDs rather than having to type them out for every command.
create: no
update: no

zpool:

This defines which ZFS pool the VM's zone dataset will be created in
For OS VMs, this dataset is where all the data in the zone will live.
For KVM VMs, this is only used by the zone shell that the VM runs in.

type: string (zpool name)
vmtype: OS,KVM
listable: yes
create: yes
update: no
default: zones


## EXAMPLES

Expand Down
39 changes: 26 additions & 13 deletions src/vm/node_modules/VM.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/vm/sbin/vmadm.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ var LIST_FIELDS = {
uuid: {header: 'UUID', width: 36},
vcpus: {header: 'VCPUS', width: 5},
zfs_io_priority: {header: 'IO_PRIORITY', width: 11},
zfs_storage_pool_name: {header: 'ZFS_POOL', width: 12},
zpool: {header: 'ZPOOL', width: 12},
zonename: {header: 'ZONENAME', width: 12},
zonepath: {header: 'ZONEPATH', width: 40},
zoneid: {header: 'ZONEID', width: 6}
Expand Down
2 changes: 1 addition & 1 deletion src/vm/tests/test-defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ var zone_defaults = {
'quota': [10],
'cpu_shares': [100],
'zfs_io_priority': [100],
'zfs_storage_pool_name': ['zones'],
'zpool': ['zones'],
'max_lwps': [2000],
'tmpfs': ['max_physical_memory', zone_property],
'max_locked_memory': ['max_physical_memory', zone_property],
Expand Down

0 comments on commit d411aae

Please sign in to comment.