Shared SRs.
This commit is contained in:
parent
1c98a05b4f
commit
2ef2f9bbc3
@ -106,8 +106,9 @@ module.exports = (refsToUUIDs) ->
|
||||
|
||||
SRs: @dynamic [],
|
||||
SR:
|
||||
enter: (value) ->
|
||||
if value.$pool is @value.UUID
|
||||
update: (value) ->
|
||||
remove @field, value.UUID
|
||||
if value.$shared and value.$pool is @value.UUID
|
||||
@field.push value.UUID
|
||||
exit: (value) -> remove @field, value.UUID
|
||||
|
||||
@ -401,6 +402,10 @@ module.exports = (refsToUUIDs) ->
|
||||
|
||||
$VDIs: get('VDIs')
|
||||
|
||||
# FIXME: only here for pools.
|
||||
$pool: get '$pool'
|
||||
$shared: get 'shared'
|
||||
|
||||
PBD:
|
||||
|
||||
test: test
|
||||
|
Loading…
Reference in New Issue
Block a user